Use BIRD Book Deconstructor 2.2 to apply the formal BIRD 2.1 Knowledge Address protocol to complex manuscript text and TheBrain Thoughts. Use when splitting books into chapter/section/item knowledge nodes, assigning Book Address, structured Knowledge Index (Weight, Type, Keyword, Alias), Routes, verified Deep Links, and Semantic Roles; producing BIRD Excel workbooks, TheBrain scaffolds, Roam JSON, monochrome printable double nine-grid cards, or a routed handoff from iMandalArt to A4 eight-page booklets; or auditing and migrating existing BIRD/TheBrain indexes.
npx skills add https://github.com/twhsi/skills --skill thebrain-bird-address
Convert complex structural text into addressable, searchable, cross-linked book nodes for TheBrain, Excel, Roam Research, Obsidian, and AI Agents.
Version 2.2 is the Skill integration release. Canonical interchange objects remain BIRD-2.1 for backward compatibility.
BIRD is the address and route king in the three-skill publishing chain:
iMandalArt 2.2 eight angles -> BIRD 2.2 Book Address + Index + Route + Deep Link -> A4 Booklet 2.2
W + T + K + A Knowledge Indexes.B = Book Address: stable book/project hierarchy address; answer "where in the book?"I = Knowledge Index: structured index object W + T + K + A; answer "what knowledge object?"R = Route: ordered cross-node or cross-chapter paths; answer "where does it lead?"D = Deep Link: exact permanent application address; answer "how is it opened?"Read references/bird-2.1-spec.md before assigning Index Weight, Index Type, or Semantic Role.
Do not use the old B = Branch or unstructured I = title interpretation. Mark legacy input as BIRD 1.x and map it into 2.1. Preserve valid BIRD 2.0 fields during migration; add Role only when evidence supports it.
StructuralType: book function, such as 部 / 章 / 節 / 項.IndexType: knowledge kind inside I, using C / M / P / B / T / O / E / L / S / A / X.Never put 章 into IndexType, or Concept into StructuralType.
.xlsx with BIRD analysis, manuscript Notes, and code tables.BIRD分析 rows into a Roam-importable page/block array.待編 only when no reliable address exists; do not silently renumber.章 and 節 as structural containers. Treat 項 as the normal manuscript unit: one claim, explanation, evidence/example, and transition.B;I.W, one I.T, one canonical I.K, and zero or more deduplicated I.A;R targets when supported;D byte-for-byte or leave it blank/pending for proposed nodes.待補; never fabricate support.Read references/manuscript-structuring.md for segmentation and output templates.
For every node, apply this order:
K: one canonical retrieval term, 4-10 Chinese characters or 2-4 English words.T: one code from the controlled Index Type table.W: importance to this specific book, not general fame.A: genuine synonyms, translations, abbreviations, or established alternate spellings. Exclude the canonical keyword itself.Role only when graph or hierarchy evidence supports it; otherwise leave blank.Do not turn every noun into an Index. Create an index object only when the term supports retrieval, interpretation, or routing.
B for the table-of-contents location and R for meaningful cross-links.FIRE -> 語意索引 -> AI對話.待建 rather than inventing its address.Copy each supplied D exactly from brain:// through the final character. Never decode, encode, normalize, shorten, repair, rename, or regenerate its slug. For a proposed Thought, use a blank cell in Excel and 待建立 Thought 後貼入 in prose.
Before returning, compare every displayed D with its source string. Do not claim tool verification unless a tool returned that exact value in the current run.
Read references/excel-schema.md. Create these sheets:
BIRD分析: one row per knowledge node with normalized BIRD fields.拆書正文: one row per item with Note text and BIRD JSON.代碼表: Weight, Index Type, Semantic Role, StructuralType, and Tag dictionaries.Use a real spreadsheet library. Freeze headers, enable filters, wrap long text, set practical widths, and validate the workbook after saving. Preserve legacy columns only in a separate 舊表對照 sheet when migration is requested.
Read references/roam-json-import.md, then use the deterministic converter:
node scripts/bird_to_roam_json.mjs bird.json roam-import.json
items, records, or flat Excel rows.uid by default; add UIDs only when preserving existing block references is explicitly required and collision risk has been audited.D_DeepLink byte-for-byte inside the D:: block.Read references/black-white-double-nine-grid.md whenever the user asks for a double nine-grid, print card, printable image, or left-directory/right-keyword visual.
Report the smallest correction for:
StructuralType and address-depth conflict;Do not move, rename, merge, or delete live Thoughts without explicit authorization.
【BIRD 2.1】
B: 全系統/第三部/3.4/3.4.D/3.4.D.B
I:
W: I3
T: S | Skill
K: 八領域週檢視
A: Weekly Review to 8 Rocks | 八岩週檢視
R: 週檢視 -> 八領域週檢視 -> 週計劃
D: brain://... or 待建立 Thought 後貼入
StructuralType: 項
Tag: 草稿
Role:
For Agent interchange, also output:
{
"version": "BIRD-2.1",
"bookAddress": "全系統/第三部/3.4/3.4.D/3.4.D.B",
"index": {
"weight": "I3",
"typeCode": "S",
"type": "Skill",
"keyword": "八領域週檢視",
"aliases": ["Weekly Review to 8 Rocks", "八岩週檢視"]
},
"route": ["週檢視", "週計劃"],
"deepLink": "brain://...",
"structuralType": "項",
"tag": "草稿",
"semanticRole": null
}
references/thebrain-instruction.md.references/thebrain-manuscript-instruction.md.references/thebrain-scaffold-import.md before creating any Thought, Type, Tag, or Link.This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.
Build agentic applications with GitHub Copilot SDK. Use when embedding AI agents in apps, creating custom tools, implementing streaming responses, managing sessions, connecting to MCP servers, or creating custom agents. Triggers on Copilot SDK, GitHub SDK, agentic app, embed Copilot, programmable agent, MCP server, custom agent.
Coding Agent Session Search - unified CLI/TUI to index and search local coding agent history from Claude Code, Codex, Gemini, Cursor, Aider, ChatGPT, Pi-Agent, Factory, and more. Purpose-built for AI agent consumption with robot mode.
Destructive Command Guard - High-performance Rust hook for Claude Code that blocks dangerous commands before execution. SIMD-accelerated, modular pack system, whitelist-first architecture. Essential safety layer for agent workflows.
Makepad UI development skills for Rust apps: setup, patterns, shaders, packaging, and troubleshooting.
Secure environment variable management ensuring secrets are never exposed in Claude sessions, terminals, logs, or git commits
Prompt for generating an AGENTS.md file for a repository
Take twhsi/thebrain-bird-address from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.