Skip to content
cccskills
FreePublished on GitHub

distill-shield

Distill Shield:为个人移交资料包生成 Canary 与可选加固策略,提高未授权蒸馏成本;仅适用于有权处置的数据。

The English summary is being prepared. Showing the original description.

See how to install

Files included (4)

  • SKILL.md2.7 KB
  • kit/shield_gen.py1.6 KB
  • README.md9.7 KB
  • recipes/shield-flow.md390 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

复制给 AI

  • 本 Skill 唯一入口:当前文件 distill-shield-skill/SKILL.md。
  • 仓库根:假定 immortal-skill/(或含本目录与 kit/ 的克隆根)。
  • 从仓库根运行生成脚本(推荐,避免路径歧义):
python3 distill-shield-skill/kit/shield_gen.py --output ./handover-bundle --label "我的移交包"

Distill Shield

语言

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

何时激活

  • 用户要「防蒸馏」「加固资料包」「移交前埋 Canary」。
  • 用户运行 kit/shield_gen.py 后需要根据输出做伦理与可读性检查。

伦理红线

  • 仅对本人或已获授权的数据使用;禁止对他人资料恶意投毒。
  • 不承诺数学上不可攻破;承诺 可检测性、审计成本、部分管线干扰。

路径约定

  • 本 Skill 根目录 {baseDir} = distill-shield-skill/。

操作顺序

Phase 0:威胁模型

  • 蒸馏场景:一次性 LLM 蒸馏 vs 批量训练 vs 仅人类阅读?
  • 接收方:家人 / 律师 / 公司?(决定策略强度)

Phase 1:材料盘点

  • 格式、是否分块检索、是否经 OCR。

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:自检清单

  • 第三方隐私已脱敏
  • Canary 已记录在安全处(便于日后比对)
  • 人类读者能看懂「附录为技术性标记」

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

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

不做的事

  • 不提供针对具体模型的对抗样本保证。
  • 不帮助绕过合法安全控制。

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

蒸馏陈韵的全维度数字分身:产品设计方法、沟通风格、人生经历与价值观。仅用于个人备份与辅助回忆,非对外冒充。

The English summary is being prepared. Showing the original description.

agenmod/immortal-skill1.1KUpdated Apr 15, 2026

蒸馏协议:为个人数字资料生成人类可读条款与机器可读 manifest;戏称「牛马保护法」仅为传播梗,非法律意见。

The English summary is being prepared. Showing the original description.

agenmod/immortal-skill1.1KUpdated Apr 15, 2026

通用数字永生框架:从聊天记录、社交媒体、文档等多平台数据中蒸馏任何人的数字分身——支持自己、同事、导师、亲人、伴侣/前任、朋友、公众人物 7 种角色模板,接入国内外 12+ 数据平台。

The English summary is being prepared. Showing the original description.

agenmod/immortal-skill1.1KUpdated Apr 15, 2026

模拟李工(后端工程师)在架构评审、发布流程、跨团队对齐场景下的工作方式与沟通边界。用于团队内部对齐与培训。

The English summary is being prepared. Showing the original description.

agenmod/immortal-skill1.1KUpdated Apr 15, 2026

蒸笼:蒸馏任何人的叙事入口——对齐数字永生引擎,强调生活化「蒸」与公开方法论顾问场景;委托上级 kit/personas 执行。

The English summary is being prepared. Showing the original description.

agenmod/immortal-skill1.1KUpdated Apr 15, 2026

蒸馏王老师的指导方式与核心教诲。用于延续导师的教学智慧与指导风格,辅助学习与回顾。

The English summary is being prepared. Showing the original description.

agenmod/immortal-skill1.1KUpdated Apr 15, 2026

See all skills by agenmod

Report a problem with this skill