计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
tecoa_zeroshot_prompt_protocol【效率与协作】Build deterministic CLIP-style zero-shot text prompts for TeCoA image-text adversarial robustness experiments.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a recovery or evaluation needs CLIP-style text prompts from class labels for zero-shot adversarial robustness. It preserves the paper's language-supervised contract: labels are represented as natural-language prompts that can be encoded as text embeddings, not as a new task-specific classifier head.
Do not use this skill to score predictions, create adversarial examples, or emit final answers. Its output is only prompt metadata consumed by contrastive and recovery modules.
labels: ordered non-empty class labels.template: a prompt template with exactly one replacement field, for example a photo of a {}.prompts: ordered prompt strings.mapping: ordered label/prompt pairs.metadata: template, count, and normalization rules.Run python tests/test_prompt_protocol.py or validate the skill tree with python <distiller>/module-to-skill/scripts/validate_skill_tree.py <skill_dir> --run-tests.
This skill does not tokenize prompts with CLIP, download models, or infer dataset-specific aliases unless the caller supplies the labels. It is safe for reduced recovery because it uses only standard-library logic.