claw-household: Instructions file for Claude Code

CLAUDE.md

claw-household CLAUDE.md is an instructions file for Claude Code from buddhistrhythm/claw-household. It costs 2,055 tokens per session, scanned A, original, Apache-2.0.

A set of Claude Code instructions for a household management system that tracks supplies, meals, calendar events, and baby logs. It uses Notion, a workspace for storing and organizing information.

In plain words
What is it for?
Use it when developing or maintaining the household system, including inventory, shopping, meal records, calendars, preferences, and baby-related features.
Why use it?
It tells the coding agent where the household data lives, how the web navigation works, and which API routes support the application.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is buddhistrhythm/claw-household's own configuration. It tells Claude Code how to work on claw-household itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claw-household configures →

Reuse

Borrowing it

Nothing to install: this file belongs to buddhistrhythm/claw-household. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/buddhistrhythm/claw-household/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/buddhistrhythm/claw-household

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 claw-household CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/buddhistrhythm/claw-household/claude-md/github.svg)](https://agentmods.dev/instructions/buddhistrhythm/claw-household/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/buddhistrhythm/claw-household/claude-md"><img src="https://agentmods.dev/badge/instructions/buddhistrhythm/claw-household/claude-md/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 claw-household CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/buddhistrhythm/claw-household/claude-md"><img src="https://agentmods.dev/badge/instructions/buddhistrhythm/claw-household/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,055 This file is loaded in full into every session.
When invoked 2,055 The same file — it is already loaded in full.
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.02055 $0.02055
Opus 5 $0.01027 $0.01027
Sonnet 5 $0.00411 $0.00411
Haiku 4.5 $0.00205 $0.00205

Measured 8d ago against content hash f7738bb87379, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

claw-household CLAUDE.md 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 8d 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.

CLAUDE.md · 130 lines

How it starts

The opening of the file, as written. The whole thing — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Household Agent(家庭智能管理系统)

Cursor:Notion MCP

本仓库已配置官方 Notion MCP(.cursor/mcp.json)。重载 Cursor 后在 Settings → MCP 完成 OAuth;详见 .cursor/README.md

数据位置

  • 库存:~/家庭管理/data/inventory.json
  • 最近手动录入快捷块:~/家庭管理/data/manual_import_recent.json(最多 10 条)
  • 按品牌的尿裤段位:~/家庭管理/config/diaper_brand_segments.json
  • 消耗记录:~/家庭管理/data/consumption_history.json
  • 餐食日记(食材→菜→餐):~/家庭管理/data/meal_diary.json
  • 宝宝日志:~/家庭管理/data/baby_log.json
  • 品类配置:~/家庭管理/config/categories.json
  • 购买渠道候选项:~/家庭管理/config/purchase_channels.json(网页可追加新渠道)
  • 偏好设置:~/家庭管理/config/preferences.json(含 family.babies 多宝宝列表;未配置 babies 时由 baby_name / baby_log.jsonbaby 合并展示)

Web 底部导航

  • 库存 · 补货 · 做菜 · 日历 · 设置 · 宝宝(仅当存在宝宝时显示;Tab 文案为宝宝名字,多个用 · 连接)
  • 做菜:按 Notion 式餐食 log 记录「每餐」;数据结构为 食材库 → 菜谱(菜)→ 具体一餐;菜谱可「收藏」
  • 日历:按月查看每日聚合:入库purchase_date + 购买渠道)、宝宝事件三餐记录
  • 设置:维护多宝宝(保存空列表可关闭宝宝 Tab,不再自动从档案合并)

API 摘要

  • GET/PATCH /api/preferences(含 llm_cooking_ready:是否已配置大模型,做菜页可用)
  • GET /api/meal-diaryPOST /api/meal-diary/ingredients|dishes|mealsPATCH /api/meal-diary/dishes/:id(收藏)
  • GET /api/cooking-recommendations(常吃 Top、只差 1 样食材)
  • POST /api/cooking/llm-recommendations{ count?, hint? },需 preferences.jsonllm
  • POST /api/cooking/llm-expand-steps{ name, ingredients[], steps_brief? },展开更详细做法)
  • GET /api/calendar?from=&to= 日聚合

库存管理(核心命令)

# 入库(条码自动查 Open Food Facts)
node ~/家庭管理/skills/inventory.js add <条码或商品名>

# 记录消耗
node ~/家庭管理/skills/inventory.js consume <ID或名称> [数量] [备注]

# 查看所有库存
node ~/家庭管理/skills/inventory.js list

# 查看指定位置库存(如:冰箱冷藏)
node ~/家庭管理/skills/inventory.js list 冰箱冷藏

# 即将过期清单(默认7天)
node ~/家庭管理/skills/inventory.js expiring

# 总览看板
node ~/家庭管理/skills/inventory.js status

# 搜索
node ~/家庭管理/skills/inventory.js search 牛奶

常用交互场景

用户说 Claude 操作
扫码入库 / 发送条码 运行 add <条码> 入库
家里还有什么快过期的 运行 expiring 7
今晚吃什么 查库存 → 查菜谱 → 推荐
做好了 / 用掉了XX 运行 consume <名称> <数量>
看看家里有什么 运行 statuslist
生成购物清单 查 expiring + 库存不足 + 当前菜谱缺料

Read the full file on GitHub · 130 lines

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. 8d ago First seen · 130 lines · 2,055 tokens per session scan A f7738bb87379

Subscribe to this mod's changes

claw-household CLAUDE.md is an instructions file published in the GitHub repository buddhistrhythm/claw-household (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 2,055 tokens to every session, about $0.0103 per session on Opus 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-08-31.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens