DK

DK is a skill for Claude Code from DuanZGit/D-Hub. It costs 87 tokens per session (3,216 once invoked), scanned A, original, MIT.

A household advice skill for recipes, nutrition, ingredient planning, and choosing everyday appliances, electronics, or home products. It can also compare options using stated safety and shopping preferences.

In plain words
What is it for?
Use it to plan dinner, update an ingredient inventory, assess a cooking problem, or compare products available through specified shopping channels.
Why use it?
It helps turn broad household questions into practical meal plans or buying decisions while accounting for safety, availability, trade-offs, and user constraints.

Skill for Claude Code

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

Good fit Use it to plan dinner, update an ingredient inventory, assess a cooking problem, or compare products available through specified shopping channels.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/duanzgit/d-hub/dk
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 dk
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 DK

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

agentmods 80×15 button for DK

Your own site · 80×15
<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>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,216 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.00087 $0.03216
Opus 5.5 $0.00035 $0.01286
Sonnet 5.5 $0.00017 $0.00643
Haiku 4.5 $0.00009 $0.00322

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

Security

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.

The scan reads SKILL.md. This mod also ships 1 executable file (config/success/test-source.sh), 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.

skills/DK/SKILL.md · 186 lines

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.

触发条件与边界

  1. 显式触发:用户提到 dk 或 DK。
  2. 意图触发:用户询问家庭做菜/食谱搭配、食材库存,或需要对日用家电、数码产品、家居用品做购买选型与 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)
其他 — 通用知识框架

Read the full file on GitHub · 186 lines

Files

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.

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. 11d ago Changed ca3489b121b2
  2. 29d ago First seen · 186 lines · 87 tokens per session scan A 981305314d62

Subscribe to this mod's changes

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.

Related

DK compared with skills from other repositories

DK next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
DKDuanZGit/D-HubSkill0yesterdayMITA87Claude Code
edgeone skill scannerTencent/AI-Infra-GuardSkill7.9k3d agoApache-2.0A148Claude Code, Codex
babysitkirodotdev/KiroCrewSkill5.2ktodayApache-2.0A45Claude Code
rubber-duckkirodotdev/KiroCrewSkill5.2ktodayApache-2.0A161Claude Code, Codex
project-wikiGeminiLight/MindOSSkill707yesterdayMITA63Claude Code, Codex
mindos-zhGeminiLight/MindOSSkill707yesterdayMITA490Claude Code
mindos-maxGeminiLight/MindOSSkill707yesterdayMITA145Claude Code