single-file-wbs: Instructions file for Claude Code

CLAUDE.md

single-file-wbs CLAUDE.md is an instructions file for Claude Code from piguo45/single-file-wbs. It costs 11,871 tokens per session, scanned A, original, MIT.

A guide for a local work-breakdown and Gantt-chart tool driven by JSON. A work-breakdown structure is a task plan, and a Gantt chart shows tasks across time.

In plain words
What is it for?
It helps team leads manage tasks, dates, dependencies, progress, workload, and archived completed work.
Why use it?
It keeps the JSON plan as the shared source of truth for people and AI agents, reducing conflicts between the visual interface and automated edits.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md.

This is piguo45/single-file-wbs's own configuration. It tells Claude Code how to work on single-file-wbs 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 single-file-wbs configures →

Reuse

Borrowing it

Nothing to install: this file belongs to piguo45/single-file-wbs. 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/piguo45/single-file-wbs/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/piguo45/single-file-wbs

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 single-file-wbs CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/piguo45/single-file-wbs/claude-md.svg)](https://agentmods.dev/instructions/piguo45/single-file-wbs/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/piguo45/single-file-wbs/claude-md"><img src="https://agentmods.dev/badge/instructions/piguo45/single-file-wbs/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 11,871 This file is loaded in full into every session.
When invoked 11,871 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.11871 $0.11871
Opus 5 $0.05935 $0.05935
Sonnet 5 $0.02374 $0.02374
Haiku 4.5 $0.01187 $0.01187

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

Security

Grade A, and why

single-file-wbs 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 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.

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 · 325 lines

How it starts

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

WBS ツール - CLAUDE.md

English: CLAUDE.en.md(本ファイルが正。仕様を変更したら ja/en を同じコミットで更新すること)

テキスト(JSON)駆動の WBS/ガント+イナズマ線ツール。 wbs.json(データ)を single source of truth とし、JS内蔵の単一HTML wbs_viewer.html が描画する。


製品ビジョン・設計指針(#67)

AI時代の管理者(PL/テックリード)が、AIを含む少数精鋭チームを率いるためのローカルWBS。人間はGUIで、AIは素のJSONと CLAUDE.md で、同じ計画を編集する。

  • 対象ユーザー:巨大プロジェクトのエンタープライズPMではなく、AIを含む10人規模の少数精鋭を率いる管理者(PL/テックリード)。作者自身がこのペルソナ=ドッグフーディング。
  • ビジョン(賭けと自覚):AI台頭で少数精鋭がAIを使いこなすのが主流になり、全員がPL/TL化する。そのリード(人間 and PL/TLエージェント)が計画を管理する道具。未来への賭けだが、外れても今日のリードに刺さる=ヘッジ済み。
  • 核の差別化=2つの第一級インターフェース:人間=GUI/AI=素のJSON+AI可読な CLAUDE.md両方が第一級。全機能が GUI経路 と AI/JSON経路 の両方で動く(カスタムキー保持・round-trip)。
  • CLAUDE.md は"ドキュメント"でなく"AIのAPI仕様":AIがフォーマットに依存するため、スキーマはほぼ動かさないを厳守。
  • 作る:AIネイティブ(進捗査定・依存推定)/誠実なview(見栄えでなく真実の状態)/担当別の負荷(人間 vs AI の内訳)/コスト(_aiトークン・_money)。
  • 作らない:エンタープライズPM(ポートフォリオ・複雑権限)/大規模リアルタイム協業/重いワークフローエンジン/承認フロー。
  • 背景の論考 → WBSという至高ツールで、このAI時代をサバイブする

取り扱いの原則(重要)

  • wbs_viewer.html(ビューア)は原則さわらない。 表示ロジックは完成済み。
  • 変更は wbs.json(データ)の編集のみ。 AI に作業を頼むときも、原則 JSON を直す。
    • 表示仕様そのものを変えたい場合に限り HTML を触る(その時は明示的に依頼)。

アーカイブ運用(過去タスクの整理)

項目が増えすぎないよう、古い完了タスクは current から退避する:

  • トリガー:ガントの表示が進み、過去の月(例:2026年5月以前)の完了タスクが 「過去日付以前」になったら実施。
  • 手順
    1. 同じフォルダ内にバックアップを作成(例:wbs-archive-2026-05.json に退避分をまとめる)。
    2. wbs.json から該当の実施済み(完了)タスクを削除する。
  • → current の wbs.json は「今と未来」に集中。履歴はアーカイブ JSON に保全。
  • 大量項目対策は 折りたたみ(表示)+このアーカイブ運用(データ) の二段で行う。

動作環境

  • Google Chrome(最新版)推奨。Edge 等の Chromium 系でも動作(検証は Chrome で実施)。Firefox/Safari は不可(File System Access API 未対応)。
  • 会社管理ブラウザはポリシーで File System Access が無効だと編集不可(閲覧は可)。
  • HTTPサーバー不要・外部ライブラリ/CDN不要。wbs_viewer.htmlfile:// でそのまま開く

開き方・更新

  1. Chrome で wbs_viewer.html を開く。
  2. 「ファイルを開く」wbs.json を選ぶ(同じボタンへのドラッグ&ドロップでも読み込める)。
  3. wbs.json を編集して保存 → 「更新」ボタンで再読込・再描画(再選択不要 / File System Access API)。
  4. 折りたたみ:◆プロジェクト・1L・2L の ▼/▶〜名前をクリック作業項目ヘッダの ▼/▶ で全展開/全たたみ(▼=全部開いている→押すと全たたみ/▶=どこか閉じている→押すと全展開)。 ヘッダ操作の誤りは Ctrl+Z で直前の表示状態に復元(入力フォーカス中は無効)。
  5. スクロール位置は折りたたみ・更新では保持新規ファイル読込時のみ本日へセンタリング+折りたたみリセット

Read the full file on GitHub · 325 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 · +6 lines · +381 tokens per session 20d02d238e08
  2. 8d ago First seen · 319 lines · 11,490 tokens per session scan A 790c8993e306

Subscribe to this mod's changes

single-file-wbs CLAUDE.md is an instructions file published in the GitHub repository piguo45/single-file-wbs (123 stars, last pushed yesterday), licensed MIT. It adds 11,871 tokens to every session, about $0.0594 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-30.

Related

Other instructions, from other repositories

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

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

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

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

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