计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
toxigen_prompt_protocol【效率与协作】Build and validate ToxiGen-style balanced identity-label demonstration prompts for implicit toxicity generation and recovery experiments.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a task needs to construct or audit ToxiGen-style prompts from labeled demonstrations. It is appropriate for paper recovery, dataset construction checks, and controlled prompt fixtures where identity group and toxic/benign label balance matter.
Do not use this skill to generate model continuations, run ALICE decoding, score classifier outputs, or train toxicity classifiers. Those are downstream modules.
text, group, label, and optional source.prompt_id, group, label, sampled demonstrations, prompt text, and source provenance.toxic and benign.(group, label).Run:
python scripts/prompt_protocol.py --self-test
python tests/test_prompt_protocol.py
The test fixture checks deterministic sampling, identity coverage, explicit-term detection, and balance accounting without external packages.
This skill only constructs prompt records. It does not guarantee generated text quality, human-likeness, classifier attack success, or downstream classifier improvement.