distill-protocol

distill-protocol is a skill for Claude Code, Codex from agenmod/immortal-skill. It costs 46 tokens per session (783 once invoked), scanned A, original, MIT.

A protocol for creating a usage document and manifest that state who may use a supplied information package and whether AI training or commercial distillation is allowed. Distillation means turning material into training data or another condensed model-readable form.

In plain words
What is it for?
Use it to choose a permitted-use tier, record the owner and covered files, and generate LICENSE-DISTILL.md and manifest.json.
Why use it?
It makes usage limits explicit and provides generated files that can travel with the package. It also notes that the result is not legal advice.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to choose a permitted-use tier, record the owner and covered files, and generate LICENSE-DISTILL.md and manifest.json.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agenmod/immortal-skill/distill-protocol-skill
About the project

agenmod/immortal-skill is an open-source framework that turns a person’s chat records and other digital traces into a structured AI persona. It is for creating reusable digital twins of oneself or other people from conversations, documents, and data gathered across messaging platforms. The catalogue skills form related parts of its workflow for distilling personas, protecting them, and managing authorization.

agenmod/immortal-skill · 1,030 stars · on GitHub · agenworld.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add agenmod/immortal-skill --skill distill-protocol-skill
Clone the repo
git clone --depth 1 https://github.com/agenmod/immortal-skill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for distill-protocol

README.md
[![agentmods](https://agentmods.dev/badge/skills/agenmod/immortal-skill/distill-protocol-skill.svg)](https://agentmods.dev/skills/agenmod/immortal-skill/distill-protocol-skill)
Your own site
<a href="https://agentmods.dev/skills/agenmod/immortal-skill/distill-protocol-skill"><img src="https://agentmods.dev/badge/skills/agenmod/immortal-skill/distill-protocol-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 783 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.00783
Opus 5 $0.00023 $0.00392
Sonnet 5 $0.00009 $0.00157
Haiku 4.5 $0.00005 $0.00078

Measured 8d ago against content hash b07607ff0e0c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

distill-protocol scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (kit/protocol_gen.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

distill-protocol-skill/SKILL.md · 86 lines

What it actually says

复制给 AI

  • 本 Skill 唯一入口:当前文件 distill-protocol-skill/SKILL.md
  • 仓库根:假定 immortal-skill/
  • 从仓库根运行生成脚本
python3 distill-protocol-skill/kit/protocol_gen.py --owner "你的名字" --tier human_only --output ./my-protocol

--tierhuman_only | no_commercial_distill | research_ok

Distill Protocol

语言

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

何时激活

  • 用户要为资料包附加 使用范围、生成 LICENSE-DISTILL.md + manifest.json
  • 用户提及 「牛马保护法」:视为本协议的中文梗名,正文仍使用正式免责声明。

重要声明

  • 本文档 不构成法律意见;效力因法域与合同而异。
  • 「牛马保护法」 仅为自嘲式传播用语,勿暗示具有真实法律效力。

路径约定

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

操作顺序

Phase 0:选择档位

档位 含义(摘要)
human_only 仅供人类阅读,禁止用于模型训练与自动化蒸馏
no_commercial_distill 允许个人学习,禁止商用蒸馏产物
research_ok 允许研究用途,禁止商用
custom 用户自定义条款(需人工审阅)

Phase 1:填写变量

  • 资料所有者名称 / 代号
  • 覆盖的文件范围(路径或描述)
  • 生效与更新日期

Phase 2–3:生成

distill-protocol-skill/

python3 kit/protocol_gen.py --tier human_only --owner "张三" --output ./my-protocol

仓库根(推荐):

python3 distill-protocol-skill/kit/protocol_gen.py --tier human_only --owner "张三" --output ./my-protocol

检查生成的 LICENSE-DISTILL.mdmanifest.json

Phase 4:(可选)站点片段

若用户有个人网站,可复制 templates/robots-snippet.txt 思路,拒绝特定 AI 爬虫(示例见 templates/)。

Phase 5:附署

建议将协议与资料包放在同一目录,并在 README 中链接;可选记录文件哈希(文档说明即可)。

不做的事

  • 不保证对第三方产生约束力;合同/授权场景请咨询律师
Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 86 lines · 46 tokens per session scan A b07607ff0e0c

Subscribe to this mod's changes

distill-protocol is a skill published in the GitHub repository agenmod/immortal-skill (1,030 stars, last pushed 4mo ago), licensed MIT. It adds 46 tokens to every session and 783 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

yuwen-publish-precheck

A Chinese-language review workflow for checking content before publishing it on Douyin, Xiaohongshu, or WeChat Channels.

yuwen-cool/yuwen-publish-precheck · 206 tokens

legal-drafting

A guide for drafting common legal documents used in mainland China, including court filings, lawyer letters, legal opinions, and contract drafts. It marks facts, amounts, legal grounds, and other details that still need verification.

open-octo/octo-agent · 159 tokens

contract-review

A contract review guide that examines agreements for risky or missing terms. It explains concerns in plain language and suggests possible changes, but is not a lawyer’s final legal opinion.

open-octo/octo-agent · 137 tokens

lov-china-website-filing

A workflow for preparing and launching websites in mainland China, including ICP filing and public-security filing. ICP filing is the registration required for many mainland websites, while public-security filing is a separate police registration.

lovstudio/skills · 75 tokens

telnyx-email-suppressions-curl

Manage email suppressions (blocks), import and export suppression lists, and manage unsubscribe groups. Use for deliverability compliance and bounce handling.

team-telnyx/ai · 37 tokens

healthcare-providers-verify

Validates practitioner credentials and license status against the NPI registry. Cross-references specialties, credentials, and practice addresses against official records. Returns Verified / Partially Verified / Unverified / Flagged per practitioner with mismatch details and source URLs. Triggers: "verify these…

Nimbleway/agent-skills · 186 tokens