Distill shield skill

From agenmod/immortal-skill · View interactive version

Distill shield skill is an AI agent skill from the GitHub repository agenmod/immortal-skill. Distill Shield:为个人移交资料包生成 Canary 与可选加固策略,提高未授权蒸馏成本;仅适用于有权处置的数据。

How to use this skill

Skill file

复制给 AI

python3 distill-shield-skill/kit/shield_gen.py --output ./handover-bundle --label "我的移交包"

Distill Shield

语言

根据用户第一条消息的语言,全程使用同一语言。

何时激活

伦理红线

路径约定

操作顺序

Phase 0:威胁模型

Phase 1:材料盘点

Phase 2:策略选择(准则)

| 策略 | 对人 | 对自动化管线 | 可被绕过 |

|------|------|--------------|----------|

| Canary 唯一字符串 | 低影响(可放附录) | 泄露时可检索 | 剔除后丢失 |

| 提示注入段 | 需标注阅读区 | 可能干扰单次 LLM 蒸馏 | 预处理可剥离 |

| 矛盾样本 | 可能困惑读者 | 污染蒸馏一致性 | 人工可识别 |

Phase 3:生成

在 distill-shield-skill/ 目录内时:

python3 kit/shield_gen.py --output ./handover-bundle --label "我的移交包"

在 仓库根(推荐,与「复制给 AI」一致):

python3 distill-shield-skill/kit/shield_gen.py --output ./handover-bundle --label "我的移交包"

将生成的 CANARY.txt 与说明合并进实际交付目录。

Phase 4:自检清单

Phase 5:(可选)给接收方的一页说明

解释「附录含技术性标记,用于完整性校验,非正文内容」。

不做的事

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.