danshari-skill
断舍离.skill — 审计当前 agent 装的全部 skill,对照现在的模型能力、harness 内建功能和已接入的 MCP 工具,找出不再需要的那些:证据化判决(能力型先盲测)→ 用户确认 → 归档移除(一键可恢复),并报告每轮省下的 token。模型每变强一代,就该跑一次。 触发词:「skill…
Skill by swaylq
Chalk Labs
Need help deploying danshari-skill?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code. Read the repository before you give any tool access to your data.
npx agentmarket install skill/swaylq-danshari-skill
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/danshari-skill
Tools it pre-approves 7
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Read,Write,Edit,Bash,Glob,Grep,Task
What's inside
- Skill name
danshari-skill- Description
- 断舍离.skill — 审计当前 agent 装的全部 skill,对照现在的模型能力、harness 内建功能和已接入的 MCP 工具,找出不再需要的那些:证据化判决(能力型先盲测)→ 用户确认 → 归档移除(一键可恢复),并报告每轮省下的 token。模型每变强一代,就该跑一次。 触发词:「skill 断舍离」「清理 skill」「skill 太多了」「移除不需要的 skill」「审计 skill」「换了新模型清理一下」「prune skills」「declutter skills」「skill audit」。
- License
- MIT
- Allowed tools
- Read,, Write,, Edit,, Bash,, Glob,, Grep,, Task
- Instructions
- 106 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Pre-approves some shell commands
- Instructions call the network
Files (21)
- .gitignore
- LICENSE
- README.md
- README_en.md
- ROADMAP.md
- SKILL.md
- .nojekyll · docs/
- favicon.svg · docs/assets/
- og.png · docs/assets/
- site.css · docs/assets/
- index.html · docs/en/
- fb510557ecf1524531ae67aa665df004.txt · docs/
- google8fcd9991381cbf50.html · docs/
- index.html · docs/
- robots.txt · docs/
- sitemap.xml · docs/
- report.md · examples/2026-08-17-demo/
- report-template.md · references/
- rubric.md · references/
- archive.sh · tools/
- inventory.py · tools/
SKILL.md (first lines)
# 断舍离 · skill 减法术 > 「别的 skill 都在教 agent 做更多事,这一个教它少背点东西。」 ## 核心理念 skill 不是免费的。每装一个,它的名字和描述就进每一轮的系统提示词——那是常驻的 token 税;描述之间还会互相抢触发,误触发一次比没有 skill 更糟;而模型每变强一代,就有一批「教模型做它已经会的事」的 skill 从资产变成负债。 三分法定生死: | 类型 | 定义 | 命运 | |------|------|------| | **能力型** | 教模型「怎么想 / 怎么做」的通用方法 | 模型升级会淘汰它——审计重点 | | **环境型** | 包装某个工具,或补 harness 缺的功能 | harness 与 MCP 演进会取代它 | | **知识型** | 记录模型不可能知道的私有事实(账号、路径、内部约定、口令流程) | 永不因模型变强而过时,只因事实变化而腐烂 | 判决要证据,不要直觉:能力型 skill 判死刑前先盲测(Phase 3)。 ## 执行流程 ### Phase 0 · 环境快照 审计基准是「现在的你」,先把它写下来: - **模型**:从系统提示词读当前 model id(如 `claude-fable-5`)与知识截止时间。 - **harness 内建**:清点本会话可用的内建工具与功能——网页搜索 / 抓取、子 agent、计划模式、自动记忆、定时任务、内建评审命令等。以会话内实际可见为准。 - **MCP**:列出已接入的 MCP server 及各自工具。优先读会话内已可见的 `mcp__*` 工具名或 harness 配置文件;别在活会话里跑注册表增删查命令,有的 harness 会因此重连、坏掉当前会话。 - **skill 清单**:跑 `tools/inventory.py`。默认扫个人(`~/.claude/skills`)、项目(`./.claude/skills`)与插件目录;其他 host 用 `--root` 指路径。得到每个 skill 的描述、粗估 token 税、体积、最后改动时间。 ### Phase 1 · 三分类 逐个读 SKILL.md(读头部与骨架即可,别全文精读大文件),按三分法归类。常见**混合型**——一层通用说教包着几行私有事实——单独标记,天然的修剪候选。 ### Phase 2 · 五问审判 逐个过堂,任何一问坐实即得判决候补: 1. **模型已内化?**(能力型)——拿掉这个 skill,当前模型裸做是否同样好?典型:分步思考脚手架、通用代码评审清单、commit 写法教程、总结 / 翻译模板、提示词格式指南。 2. **harness 已自带?**(环境型)——内建功能是否已覆盖?典型:手搓网页搜索 vs 内建搜索工具,「帮我记住」hack vs 自动记忆,手搓计划流程 vs 计划模式,手搓定时 vs 内建 schedule。 3. **MCP 已接管?**(环境型)——某个已接入的 MCP server 是否用真 API 提供了同样能力?典型:curl 拼 Slack / GitHub 请求的胶水 skill vs 对应 MCP。 4. **被吞并 / 重复?**——另一个已装 skill 是否为它的超集?两个 skill 的触发词是否互相打架、造成误触发? 5. **已腐烂?**——引用的路径 / 模型 / API 版本 / 主机还在吗?带的脚本还能跑吗?腐烂的 skill 比无用更糟:它触发后给出错误指引。 判据细则、典型与反例、边界案例 → `references/rubric.md`。 ### Phase 3 · 盲测(能力型死刑复核) 对没有十足把握的能力型 skill: 1. 取它最典型的触发任务; 2. 开一个**不加载该 skill** 的子 agent 裸做一遍; 3. 对照该 skill 承诺的产出标准打分。 裸做不逊色 → 「模型已内化」坐实;明显更差 → 保留,并记下差距在哪。一个 skill 测一次即可——几分钟成本,换一个有证据的判决。 ### Phase 4 · 判决与报告 按 `references/report-template.md` 出报告。五种判决: | 判决 | 含义 | 执行 | |------|------|------| | ✂️ 移除 | 证据确凿,不再需要 | 挪入归档目录(可恢复),**永不 rm** | | 🔧 修剪 | 混合型:说教过时,事实仍值钱 | 删说教留事实,常见 200 行剪成 10 行 | | 🔗 合并 | 与另一 skill 重复 | 并入较优者,空壳归档 | | ⏳ 缓刑 | 证据不足 | 原地保留,记为下次审计重点 | | ✅ 保留 | 挣回了自己的 token 税 | 不动 | 报告必须带:环境快照、每条判决的依据(盲测结果 / 对应的内建功能或 MCP 工具名 / 腐烂证据)、省下的 token 数。 ### Phase 5 · 确认后执行 **没有用户明确确认,一个 skill 都不许动。** 展示判决表,逐条或整批确认,尊重任何否决。确认后: - **搜身先行**:移除 / 合并前扫一遍正文,里面埋着的私有事实(URL、路径、账号名、脚本)先迁出到该去的知识型 skill 或文档,再动手。 - 移除与合并后的空壳 → `tools/archive.sh <dir> --reason "…"`:挪入 `~/.claude/skills-archive/<日期>/`,写 MANIFEST,永不 rm。 - 修剪 → 直接 Edit,diff 给用户看。 - 收尾重跑 `inventory.py`,报告前后对比:「N 个 → M 个,每轮省 ~X token」。 - 恢复方式写进报告结尾:`tools/archive.sh --restore <name>`。 ### 尾声 · 立下节律 在报告结尾写明下次审计的触发条件:换模型、harness 大版本升级、新接 MCP、或距本次 90 天。**新模型发布日,就是 skill 断舍离日。** ## 红线(绝不移除) - **知识型私有事实**:账号、主机、内部流程、凭据的使用方式——模型再强也不可能知道你的基础设施。 - **政策型约定**:「在这里必须这样做」——它编码的是人的要求,不是模型的能力。 - 被别处引用的脚本 / 模板资产。 - 用户说留的,不再争辩。 - 拿不准 → ⏳ 缓刑。缓刑零成本,误删要重写。 ## 品味守则(速查) - 删的是「教模型做它已经会的事」,留的是「告诉模型它不可能知道的事」。 - 证据 > 直觉:能力型判死刑前必盲测。 - 混合型用修剪不用移除:留事实,删说教。 - 移除前搜身:埋在过时 skill 里的私有事实先迁出,再归档。 - 永不 rm:一切移除都是可恢复的归档。 - **本 skill 也在审判范围内**——若你的模型裸做审计已同样好,请把断舍离也断舍离。 ## 与其他 skill 的关系 - 各家 awesome 列表和 skill 市场做**加法**——给 agent 装上更多。 - 断舍离.skill 做**减法**——装上之后的日常代谢。加法越繁荣,减法越必要。
From swaylq/danshari-skill, MIT.
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit
- Aug 28, 2026 (2 months ago)
- Last release
- Aug 16, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/swaylq/danshari-skill
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from swaylq
- 0.606score
humanize-chinese
swaylq
中文去 AI 腔一整套(装完即用,零 API Key —— 装了本 skill 的 agent 自己就是那个 LLM)。 六个流程:① 生成即去 AI —— 写中文时按本 skill 的写作指南落笔,初稿就不带 AI 腔; ② 复查改写 —— 产出后对照本 skill 的清单再过一遍,定点拆模板句式; ③…
SkillBFreshness: B★ 29Claude Code +9 - 0.606score
rust-learn
swaylq
Rust 私教 — 从 0 带到「胜任」的有状态学习教练。加载结构化课程(15 模块,novice→competent)+ 教学法协议 + 学习者档案,按你的水平自适应出题、批改、排复习。 触发词:「学 rust」「教我 rust」「继续学 rust」「考我 rust」
SkillBFreshness: B★ 20Claude Code +9 - 0.606score
fitness-learn
swaylq
健身(力量 / 增肌训练)私教 — 从 0 带到「能独立设计并执行一套适合自己目标、渐进超负荷的训练计划」的有状态学习教练。13 模块 novice→competent,证据导向,按你的水平自适应出题、核对计划、追踪进度。 触发词:「学健身」「教我健身」「继续学健身」「帮我看训练计划」
SkillBFreshness: B★ 20Claude Code +9 - 0.606score
sijiao-skill
swaylq
私教.skill — 输入「我想学的技能」,自动完成 8 路深度调研(知识地图 / 正典教材 / 高手路径 / 刻意练习 / 常见卡点 / 能力评估 / 反馈社区 / 动机节奏),按学习科学蒸馏成一个有状态的「私教」skill。 生成的 {skill}-learn 是自包含目录(课程 + 教学协议 +…
SkillBFreshness: B★ 20Claude Code - 0.606score
english-reading-learn
swaylq
英语阅读理解私教 — 从 0 带到「能读懂真实英文长文」的有状态学习教练。12 模块 novice→competent,AI 按你水平现场生成分级文章 + 出题批改 + 排复习。 触发词:「学英语阅读」「练英文阅读理解」「继续学英语阅读」「考我阅读」
SkillBFreshness: B★ 20Claude Code +9 - 0.606score
skincare-learn
swaylq
皮肤管理(科学护肤)私教 — 从 0 带到「能独立搭一套适合自己肤质/诉求、可持续的护肤流程」的有状态学习教练。13 模块 novice→competent,证据导向、反智商税,按你的水平自适应出题、核对方案、追踪进度。 触发词:「学护肤」「教我科学护肤」「继续学护肤」「帮我看护肤流程」
SkillBFreshness: B★ 20Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get danshari-skill running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
danshari-skill. Agent Mart. https://agentmart.dev/skills/swaylq-danshari-skill (last updated 2026-10-24)