coffee-extraction

coffee-extraction is a skill for Claude Code from DuanZGit/D-Hub. It costs 41 tokens per session (968 once invoked), scanned A, original, MIT.

A coffee-brewing troubleshooting skill that records espresso measurements, checks equipment, changes one variable at a time, and keeps tested recipes. It includes guidance for diagnosing extraction problems.

In plain words
What is it for?
Use it to log shots, calibrate a machine and grinder, investigate issues such as slow flow or spraying, and preserve recipes that have been retested.
Why use it?
It replaces guesswork with repeatable records and separates equipment problems from grind, dose, pressure, and recipe problems.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to log shots, calibrate a machine and grinder, investigate issues such as slow flow or spraying, and preserve recipes that have been retested.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/duanzgit/d-hub/coffee-extraction
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 DuanZGit/D-Hub --skill coffee-extraction
Clone the repo
git clone --depth 1 https://github.com/DuanZGit/D-Hub

Made for: Claude Code.

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 coffee-extraction

README.md
[![agentmods](https://agentmods.dev/badge/skills/duanzgit/d-hub/coffee-extraction/github.svg)](https://agentmods.dev/skills/duanzgit/d-hub/coffee-extraction)
Your own site
<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.

agentmods 80×15 button for coffee-extraction

Your own site · 80×15
<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>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 968 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.
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.00041 $0.00968
Opus 5.5 $0.00016 $0.00387
Sonnet 5.5 $0.00008 $0.00194
Haiku 4.5 $0.00004 $0.00097

Measured 24d ago against content hash 1b32f4886c32, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

skills/coffee-extraction/SKILL.md · 100 lines

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 意式

技能层级

  1. 萃取记录模板
  2. 设备标定
  3. 排障决策树
  4. 个人配方沉淀

重要原则

  • 机器侧永远排第一
  • 只改一个变量
  • 标称刻度和实际刻度分开
  • 评论区经验不能替代实测
  • 研磨、粉量、压力、预浸泡不要同时改

技能相关文件

  • references/espresso-troubleshooting.md:常见喷溅、压力慢处理
  • references/measurement-template.md:萃取记录模板
  • profiles/duanz-coffee-setup.md:个人设备数据区

技能使用

当你输入 dk 萃取 或 dk 咖啡 时,技能会引导你完成一次完整萃取记录,并给出下次只调整一个变量的建议。

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. 24d ago First seen · 100 lines · 41 tokens per session scan A 1b32f4886c32

Subscribe to this mod's changes

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.

Related

coffee-extraction compared with skills from other repositories

coffee-extraction next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
coffee-extractionDuanZGit/D-HubSkill03d agoMITA41Claude Code
edgeone skill scannerTencent/AI-Infra-GuardSkill7.8ktodayApache-2.0A148Claude Code, Codex
babysitkirodotdev/KiroCrewSkill5.2ktodayApache-2.0A45Claude Code
rubber-duckkirodotdev/KiroCrewSkill5.2ktodayApache-2.0A161Claude Code, Codex
pi-ralph-wiggumtmustier/pi-extensionsSkill5064d agoMITA49Claude Code, Codex
project-wikiGeminiLight/MindOSSkill70822d agoMITA63Claude Code, Codex
mindosGeminiLight/MindOSSkill70822d agoMITA136Claude Code