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 dkgit 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/dk)<a href="https://agentmods.dev/skills/duanzgit/d-hub/dk"><img src="https://agentmods.dev/badge/skills/duanzgit/d-hub/dk/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/dk"><img src="https://agentmods.dev/badge/skills/duanzgit/d-hub/dk.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.00087 | $0.03216 |
| Opus 5.5 | $0.00035 | $0.01286 |
| Sonnet 5.5 | $0.00017 | $0.00643 |
| Haiku 4.5 | $0.00009 | $0.00322 |
Grade A, and why
DK 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 186 lines — stays where its author put it; the contents beside it link to each section on GitHub.
触发条件与边界
- 显式触发:用户提到
dk或DK。 - 意图触发:用户询问家庭做菜/食谱搭配、食材库存,或需要对日用家电、数码产品、家居用品做购买选型与 A vs B 决策取舍时,自动套用本技能框架。
不触发 DK 的情况:
- 纯代码/技术开发排障 → 走工程技能
- 股票/行情/基金 → 走 gushen
- 深度代码审阅/全网学术调研 → 走 research / code-review
- 纯网络搜索且不涉及家庭/选品取舍 → 走 d-reach
触发子模式:
- 「今晚做 XX / 拼菜单」→ 晚餐合集极简操作工作流
- 「冰箱有… / 更新库存」→ 食材库存同步工作流
- 「做菜翻车了 / 改一下」→ 实测反馈与技能修订工作流
- 「买哪个 / A vs B / 怎么选」→ 决策与取舍工作流(docs/decision-model.md)生成交互式决策台
家庭默认参数(静默套用,勿反复询问确认)
以下为用户已多次确认的固定习惯,直接静默套用,不再弹出身份澄清或复述确认:
| 项目 | 默认值 |
|---|---|
| 用户角色 | 用户本人(断就),老婆(小豆) |
| base 地点 | 杭州(偏好国内在售,淘宝 VIP / 京东) |
| 做饭份数 | 每道菜 1 份的实际食材量 |
| 分食规则 | 断就当晚 1/3 + 小豆当晚 1/3 + 小豆次日午餐带饭 1/3 |
| 米饭 | 3/4 碗/人 |
| 早午估算 | 早餐 400 kcal + 午餐 580 kcal(通用标准,不细问) |
| 营养输出 | 只报 3 个数:应摄入(TDEE)/ 实摄入 / 能量缺口 |
营养档案:raw/misc/小豆-用户营养档案.md
食材库存:raw/misc/小豆-家庭食材库存.md
决策环境(用户事实,勿再询问)
当进入决策/取舍时,默认以下用户约束(详见 docs/decision-model.md):
| 项目 | 约定 |
|---|---|
| 所在地 | base 杭州 |
| 渠道 | 京东 + 淘宝 VIP(国内主渠道);另有 Visa/Mastercard 可跨境海淘 |
| 可得性 | 强偏好国内在售;值得的东西可接受跨境,但售后/保修/物流折损 |
| 安全 vs 价值 | 安全一律走权威/循证(WHO/卫健委/GB),价值走 KOL 测评 + 评论区(靠多看) |
| 反恰饭 | 挺难防,靠多看(多来源交叉、看真实差评/缺点、看是否真解决日常痛点),不粉饰成严谨方法论 |
| 新旧/迭代 | 默认选新不选旧(新品=新工艺/更强参数/更长售后),但旧款口碑特别好且持续被验证(跨年销量靠前、多年仍是该档标杆),可抵消「旧」的减分。新旧是权重不是一刀切 |
| 价格敏感 | 哪个便宜买哪个是常态决策:同类产品价格差显著(如 ¥400 vs ¥686)时,默认偏便宜款;贵的那个只有"真实体验提升"明确才追。⚠️ 价格锚点心理:见过历史低价(如 618 曾 ¥4xx)后,对当前价(¥686)会产生"不舒服"——决策时看当前到手价与功能差值,别被历史锚点绑架;要追低价就明确走"等大促/蹲价"策略并设定目标价 |
日常知识问答
覆盖范围
- 食谱与烹饪科学:食谱生成、食材处理、调味时机、食品化学反应(因子模型)
- 另有老乡鸡菜谱子库(
wiki/laoxiangji/,339 条,来自《老乡鸡菜品溯源报告》):中央厨房批量口径,引用时必须给缩放系数并提示盐油下调;详见 references/knowledge-base.md
- 另有老乡鸡菜谱子库(
- 饮食、健康与营养:膳食指南、营养素知识、食品安全、疾病饮食、循证营养学
- 生活技巧:清洁收纳、工具使用、时间管理、效率方法
- 科学常识:物理/化学/生物/医学常识,日常现象解释
- 家居维护:家电使用、维修常识、选购指南
- 其他日常大小事:任何用户关心的日常生活问题
入站分类器(强制第一步)
收到用户问题后,先判断类型,选择对应框架:
| 类型 | 标识词 | 后续框架 |
|---|---|---|
| 食谱/烹饪 | 做法、怎么炒、炖、蒸、烤、调料、下锅时机 | 因子模型(docs/factor-model.md) |
| 饮食/健康/营养 | 功效、能不能吃、过敏、膳食、维生素、疾病、摄入量 | 循证营养/医学框架 |
| 科学常识 | 为什么、原理、现象、物理/化学/生物 | 科学原理解释框架 |
| 生活技巧 | 怎么洗、怎么修、怎么选、清洁、收纳 | 最佳实践 + 科学验证框架 |
| 晚餐合集 | 今晚做、给我一份晚餐、拼菜单 | 晚餐合集生成工作流 |
| 食材库存 | 冰箱有…、更新库存、买了/用了/扔了 | 食材库存同步工作流 |
| 营养估算 | 今天吃了什么、能量够不够、估算一下 | 营养估算工作流 |
| 实测反馈 | 出问题了、没成功、改一下、修订 | 技能修订工作流 |
| 决策/取舍 | 选/买/换/推荐、哪个好、怎么挑、A 还是 B、该不该做某事 | 决策模型(docs/decision-model.md) |
| 其他 | — | 通用知识框架 |
What ships with it
60 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.
- .gitignore 25 B
- config/success/test-source.sh 803 B runs code
- db/cooking-knowledge.db 140 KB
- db/dishes-v2-schema.sql 2.6 KB
- db/dishes-v2.db 104 KB
- db/migrations/v2_cooking-knowledge.sql 1.1 KB
- db/migrations/v2_dishes-v2.sql 593 B
- db/migrations/v2_nutrition-v2.sql 1.0 KB
- db/nutrition-schema.sql 8.5 KB
- db/nutrition-v2-schema.sql 9.6 KB
- db/nutrition-v2.db 128 KB
- docs/anti-patterns.md 4.7 KB
- docs/confidence-standards.md 1.1 KB
- docs/decision-model.md 19 KB
- docs/decision-report-html.md 4.0 KB
- docs/dk-appliances-migration-acceptance.md 4.5 KB
- docs/dk-appliances-migration-summary.md 2.3 KB
- docs/evidence-and-warnings-guide.md 8.1 KB
- docs/factor-model.md 4.6 KB
- docs/knowledge-base-research.md 5.0 KB
- docs/权威信息源索引.md 14 KB
- docs/通用问题分析方法论.md 6.9 KB
- raw/appliances/2026-06-09-冰箱清洁.md 668 B
- raw/appliances/2026-06-09-刀具打磨.md 734 B
- raw/appliances/2026-06-09-咖啡机清洁.md 8.2 KB
- raw/appliances/2026-06-09-微波炉清洁.md 729 B
- raw/appliances/2026-06-09-水龙头清洁.md 735 B
- raw/appliances/2026-06-09-烤箱清洁.md 650 B
- raw/appliances/2026-06-09-烤面包机清洁.md 738 B
- raw/appliances/2026-06-09-皮鞋清洁.md 742 B
- raw/appliances/2026-06-09-砧板清洁.md 742 B
- raw/appliances/2026-06-09-窗帘清洁.md 732 B
- raw/appliances/archive/2026-06-09-油烟机清洁.md 741 B
- raw/appliances/archive/2026-06-09-洗碗机清洁.md 729 B
- raw/appliances/archive/2026-06-09-洗衣机清洁.md 723 B
- raw/appliances/archive/2026-06-09-运动鞋清洁.md 735 B
- raw/appliances/archive/2026-06-09-鞋子除臭.md 734 B
- raw/appliances/archive/wikihow-Clean-a-Dishwasher.md 12 KB
- raw/appliances/archive/wikihow-Clean-a-Toaster-Oven.md 8.4 KB
- raw/appliances/archive/wikihow-Clean-a-Washing-Machine.md 683 B
- raw/appliances/archive/wikihow-refrigerator-cleaning.md 16 KB
- raw/appliances/README.md 1.8 KB
- raw/chemistry/2026-06-04-美拉德反应.md 1.8 KB
- raw/cooklikehoc/README.md 3.0 KB
- raw/cooklikehoc/主食/Q 弹虾滑馄饨.md 749 B
- raw/cooklikehoc/主食/五彩鸡丝拌面.md 1.1 KB
- raw/cooklikehoc/主食/大大大块牛腩面.md 1.3 KB
- raw/cooklikehoc/主食/大排面.md 876 B
- raw/cooklikehoc/主食/大盘肥肠鸡手工面.md 1.5 KB
- raw/cooklikehoc/主食/姬松茸菌子鸡汤面.md 640 B
- raw/cooklikehoc/主食/杂粮饭.md 443 B
- raw/cooklikehoc/主食/泡椒鸡杂面.md 1.2 KB
- raw/cooklikehoc/主食/浓香整块鸡汤面.md 903 B
- raw/cooklikehoc/主食/炸鸡腿时蔬面.md 611 B
- raw/cooklikehoc/主食/特色鸡汤馄饨.md 716 B
- raw/cooklikehoc/主食/番茄鸡蛋面.md 579 B
- raw/cooklikehoc/主食/砂锅荠菜鲜肉馄饨.md 520 B
- raw/cooklikehoc/主食/笋子鸡丁盖饭(包菜版).md 1.2 KB
- raw/cooklikehoc/主食/笋子鸡丁盖饭(菜苔版).md 1.2 KB
- raw/cooklikehoc/主食/米饭.md 298 B
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.
- 11d ago Changed ca3489b121b2
- 29d ago First seen · 186 lines · 87 tokens per session scan A 981305314d62
DK is a skill published in the GitHub repository DuanZGit/D-Hub (0 stars, last pushed yesterday), licensed MIT. It adds 87 tokens to every session and 3,216 once invoked, about $0.0003 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.
DK compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| DKDuanZGit/D-Hub | Skill | 0 | yesterday | MIT | A | 87 | Claude Code |
| edgeone skill scannerTencent/AI-Infra-Guard | Skill | 7.9k | 3d ago | 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 |
| project-wikiGeminiLight/MindOS | Skill | 707 | yesterday | MIT | A | 63 | Claude Code, Codex |
| mindos-zhGeminiLight/MindOS | Skill | 707 | yesterday | MIT | A | 490 | Claude Code |
| mindos-maxGeminiLight/MindOS | Skill | 707 | yesterday | MIT | A | 145 | Claude Code |