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.
npx skills add DuanZGit/D-Hub --skill coffee-extractiongit clone --depth 1 https://github.com/DuanZGit/D-HubWrote 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.
[](https://agentmods.dev/skills/duanzgit/d-hub/coffee-extraction)<a href="https://agentmods.dev/skills/duanzgit/d-hub/coffee-extraction"><img src="https://agentmods.dev/badge/skills/duanzgit/d-hub/coffee-extraction/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/duanzgit/d-hub/coffee-extraction"><img src="https://agentmods.dev/badge/skills/duanzgit/d-hub/coffee-extraction.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00041 | $0.00968 |
| Opus 5.5 | $0.00016 | $0.00387 |
| Sonnet 5.5 | $0.00008 | $0.00194 |
| Haiku 4.5 | $0.00004 | $0.00097 |
Grade A, and why
coffee-extraction 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 24d ago.
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.
What it actually says
咖啡萃取追踪与排障
核心:测机器 → 记录参数 → 找问题层级 → 只改一个变量 → 沉淀配方
触发词
dk 萃取 / dk 咖啡 / dk 磨豆机 / dk 意式
决策前置:购机/配件/参数取舍类决策,先明确目标与预算、列出候选与权衡再定;萃取参数实验遵守"只改一个变量"。
工作流
0. 先读固定记录与未结项
- records/duanz-coffee-log.md
- 先结账上一杯的待验证项,再开新参数实验
1. 设备状态确认
- 空放水量
- 盲碗压力
- 磨豆机零点/刻度体系
- 粉碗容量
2. 萃取参数记录
- 直接把用户口述追加到 records/duanz-coffee-log.md
- 缺失字段写「未记录」,不要求用户手填
- 豆子 + 烘焙日期/度/状态
- 粉量 / 出液重量 / 研磨刻度
- P1/P2 / 温度 / 压力
- 是否无底手柄 / WDT布粉
- 总时间 / 饮品配比 / 味道 / 喷溅
3. 问题层级判断
- 先机器,再粉饼,再配方,再风味
- 建压慢:先水路/设备标定,再粉饼
- 压力高流速慢:研磨过细/粉量过多
- 压力低流速快:研磨过粗/粉量不足/通道
- 喷溅:结块/布粉/WDT/粉碗/密封
4. 调整建议
- 只改一个变量
- 说明保持不变的字段
- 记录待验证项,不把推断写成事实
5. 沉淀配方
- 稳定参数后先记为阶段基准
- 至少重复两次且关键参数一致,才建议升级为已验证配方
固定文件分工
records/duanz-coffee-log.md:唯一长期追加的个人咖啡记录。references/measurement-template.md:空白逐杯记录模板,不放历史数据。references/recording-requirements.md:记录要求、问题层级、公式与输出规则。references/espresso-troubleshooting.md:机器排障参考。profiles/duanz-coffee-setup.md:设备与配方摘要。
技能入口
dk 萃取
dk 咖啡
dk 磨豆机
dk 意式
技能层级
- 萃取记录模板
- 设备标定
- 排障决策树
- 个人配方沉淀
重要原则
- 机器侧永远排第一
- 只改一个变量
- 标称刻度和实际刻度分开
- 评论区经验不能替代实测
- 研磨、粉量、压力、预浸泡不要同时改
技能相关文件
references/espresso-troubleshooting.md:常见喷溅、压力慢处理references/measurement-template.md:萃取记录模板profiles/duanz-coffee-setup.md:个人设备数据区
技能使用
当你输入 dk 萃取 或 dk 咖啡 时,技能会引导你完成一次完整萃取记录,并给出下次只调整一个变量的建议。
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.
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.
- 24d ago First seen · 100 lines · 41 tokens per session scan A 1b32f4886c32
coffee-extraction is a skill published in the GitHub repository DuanZGit/D-Hub (0 stars, last pushed 3d ago), licensed MIT. It adds 41 tokens to every session and 968 once invoked, about $0.0002 per session on Opus 5.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-11-06.
coffee-extraction compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| coffee-extractionDuanZGit/D-Hub | Skill | 0 | 3d ago | MIT | A | 41 | Claude Code |
| edgeone skill scannerTencent/AI-Infra-Guard | Skill | 7.8k | today | Apache-2.0 | A | 148 | Claude Code, Codex |
| babysitkirodotdev/KiroCrew | Skill | 5.2k | today | Apache-2.0 | A | 45 | Claude Code |
| rubber-duckkirodotdev/KiroCrew | Skill | 5.2k | today | Apache-2.0 | A | 161 | Claude Code, Codex |
| pi-ralph-wiggumtmustier/pi-extensions | Skill | 506 | 4d ago | MIT | A | 49 | Claude Code, Codex |
| project-wikiGeminiLight/MindOS | Skill | 708 | 22d ago | MIT | A | 63 | Claude Code, Codex |
| mindosGeminiLight/MindOS | Skill | 708 | 22d ago | MIT | A | 136 | Claude Code |