claude-dd CLAUDE.md

claude-dd CLAUDE.md is an instructions file for Claude Code from kopp0510/claude-dd. It costs 4,482 tokens per session, scanned D, original, MIT.

Instructions for a portable Claude Code automation pipeline that installs and updates shared configuration, skills, and commands. It also defines checks, deployment lists, repository layout, and upgrade procedures.

In plain words
What is it for?
Use it to manage the DD Pipeline installation, run environment checks, update deployed skills and agents, follow the seven-step workflow, or maintain the repository’s promoted component lists.
Why use it?
It provides a repeatable way to install, update, inspect, or remove the pipeline while preserving backups and deploying only components with recorded usage.

Instructions file for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Installs and runs on its own, but its text points at files inside the plugin that ships it — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed.

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.

agentmods
npx agentmods add instructions/kopp0510/claude-dd/claude-md
Clone the repo
git clone --depth 1 https://github.com/kopp0510/claude-dd

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 claude-dd CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/kopp0510/claude-dd/claude-md.svg)](https://agentmods.dev/instructions/kopp0510/claude-dd/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/kopp0510/claude-dd/claude-md"><img src="https://agentmods.dev/badge/instructions/kopp0510/claude-dd/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,482 This file is loaded in full into every session.
When invoked 4,482 The same file — it is already loaded in full.
Security scan D 3 findings. Scan, not verified.
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.04482 $0.04482
Opus 5 $0.02241 $0.02241
Sonnet 5 $0.00896 $0.00896
Haiku 4.5 $0.00448 $0.00448

Measured today against content hash 3c7ab9f5ab4c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade D, and why

claude-dd CLAUDE.md scanned grade D with 3 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 today.

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.

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

find ~/.claude/skills -maxdepth 1 -name '*.zip' # 查 zip 殘留(zsh 下 glob 無匹配會直接報錯,故用 find)

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

確認非 DD pipeline 內容後手動 `rm` / `rm -rf` 清掉。

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

實作+測試 → commit → code-simplifier → code-review → 再測(curl/playwright) → commit
CLAUDE.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.

DD Pipeline — Claude Code 自動化開發流程

可攜式 Claude Code 設定庫,透過 install-dd-pipeline.sh 安裝到 ~/.claude/ 全域。

安裝 / 更新

./install-dd-pipeline.sh                    # 首次安裝
./install-dd-pipeline.sh --force            # 更新:差異檔覆蓋(內容相同不重寫);全域 CLAUDE.md 跳過詢問直接覆蓋(先備份)
./install-dd-pipeline.sh --check            # 只檢查環境
./install-dd-pipeline.sh --uninstall --yes  # 免確認解除安裝(自動化;非互動環境的詢問一律採預設值)

從舊版(全量部署 / 分桶時期)升級、既有專案升級到 8 步迴圈:見 UPGRADING.md

環境檢查(步驟 1 / --check)除必要工具外含可選項 ffmpeg:tech-diagram-gif 的 GIF 匯出用,缺少時警示並附安裝指令(brew / apt),該 skill 退化交付 SVG。 只偵測提示、不代裝系統套件。

部署清單(使用率盤點制)

repo 只保留有實證使用紀錄的元件(2026-08-04 盤點留存 9 skills、4 agents、 dd-init、workflow-review;2026-08-10 新增自製 tech-diagram-gif,實證來源為當次 對話的完整管線驗證),全部預設部署;清單定義在 install-dd-pipeline.sh 頂部的 PROMOTED_* 陣列。

  • 歷次盤點刪除(git 歷史可回溯):deprecated 桶(全歷史 0 次使用的 34 skills / 17 agents / 6 dd 指令 / 13 NS commands)與 misc 桶(SRE 備援性質但零實際調用的 11 skills / 5 NS commands)均於 2026-08-04 刪除;取回方式 git checkout pre-prune-2026-08-04 -- skills/<名字> 後加回陣列

目錄結構

  • skills/ — 10 個 Skills(每個子目錄含 SKILL.md 定義檔,全數部署;writing-great-skills 為 vendored 自 mattpocock/skills 的 skill 撰寫參考、tech-diagram-gif 的風格規範 vendored 自 fireworks-tech-graph)
  • agents/ — 4 個 Agents(code-simplifier、code-reviewer 官方備份 + senior-devops、security-auditor)
  • commands/ — 1 個 dd-* 指令(dd-init,.md 平面檔) + 1 個命名空間 command 目錄(workflow-review)
  • templates/global/ — 全域 CLAUDE.md 模板(經互動比對部署到 ~/.claude/CLAUDE.md
  • scripts/ — 輔助腳本(部署到 ~/.claude/scripts/;含 check-claude-md.sh pre-commit gate 與本 repo 自用的 githooks/,後者不部署)
  • diagrams/ — 兩份 README 嵌的 4 張 GIF(使用流程、8 步迴圈 × 中英); 來源腳本在 diagrams/src/(改圖改腳本再重出,勿手改 GIF)。 三層架構圖於 2026-08-31 移除 — 它畫的是目錄清單而非架構,資訊都在 DD_PIPELINE_ARCHITECTURE.md 的文字版裡,還多一份圖要維護
  • install-dd-pipeline.sh — 安裝腳本(部署到 ~/.claude/;唯一安裝路線,分享亦同)

新增 Skill 步驟

  1. skills/<skill-name>/ 建立 SKILL.md
  2. install-dd-pipeline.shPROMOTED_SKILLS 陣列加入名稱
  3. 執行 ./install-dd-pipeline.sh --force 部署

Skill hook 路徑規範(強制)

Read the full file on GitHub · 186 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. today Changed · +5 lines · +195 tokens per session 3c7ab9f5ab4c
  2. yesterday Changed · +8 lines · +245 tokens per session f8e9fbec006a
  3. 5d ago First seen · 173 lines · 4,042 tokens per session scan D 36ce37a322c6

Subscribe to this mod's changes

claude-dd CLAUDE.md is an instructions file published in the GitHub repository kopp0510/claude-dd (6 stars, last pushed yesterday), licensed MIT. It adds 4,482 tokens to every session, about $0.0224 per session on Opus 5. A static security scan graded it D with 3 findings (enumerates other installed skills, recursive force delete, makes network calls). 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

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

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

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,182 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

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