awareness-ledger
Institutional memory for your project. Commands: record, consult, review. Usage: /awareness-ledger [command] [args]
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Institutional memory for your project. Commands: record, consult, review. Usage: /awareness-ledger [command] [args]
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Evaluate code to prevent common AI coding mistakes — dead code, duplication, complexity hotspots, reinvented helpers, leftover scaffolding. Two functions plus a pre-write advisor. Use after writing or editing code, when asked to review code quality, clean up the codebase, find unused code, find duplicates, check complexity, or evaluate what an AI just wrote. Commands: review (post-write), sweep (full codebase).
Skill router. Pass a task description; route consults the index and dispatches to the right skill+function via the Skill tool. Usage: /route <task description>
Create, audit, optimize Claude Code skills. Commands: skills, list, new, strip, optimize, agents, hooks, verify, inline, ledger, cascade, checksums, convert, shell-safety, route, backup, restore
Evaluate text for AI-generated signatures (AI tells) — em-dash overuse, rhetorical colons, pipeline artifacts, hedging cadence, sycophancy leakage — before it ships. Use when reviewing, scrubbing, or finishing written/communication output. Commands: scan (mechanical), evaluate (judgment-class), scrub (bounded fix loop).
| name | awareness-ledger |
| description | Institutional memory for your project. Commands: record, consult, review. Usage: /awareness-ledger [command] [args] |
| allowed-tools | Read, Glob, Grep, Write, Edit, Task, TaskCreate, TaskUpdate, TaskList, TaskGet |
Institutional memory for this project — captures incidents (INC), decisions (DEC), patterns (PAT), and flows (FLW) so diagnostic findings and architectural decisions survive across sessions and teammates.
| Command | Action |
|---|---|
/awareness-ledger record [type] | Record a new INC / DEC / PAT / FLW entry |
/awareness-ledger consult [topic] | Consult the ledger before a plan/change (agent-assisted) |
/awareness-ledger review | Health check: stale entries, missing links, statistics |
During research and planning — before formulating any plan, recommendation, or code change proposal — automatically consult the ledger:
ledger/index.md and match tags against the files,
directories, and components under discussion. This is free — the index is small.references/consultation-protocol.md.Skip auto-consultation for: changes to .claude/ infrastructure files; trivial
edits (typos, formatting, comments); areas with no tag overlap in the index.
When the current conversation produces institutional knowledge, suggest recording it after resolving the immediate issue — never interrupt active problem-solving.
Suggest capture when you encounter:
Capture is always user-confirmed. Agents suggest, the user decides. Directives are sacred — never auto-record.
references/templates.md.TYPE-YYYY-MM-DD-slug and write the filled record to the matching
ledger/<incidents|decisions|patterns|flows>/ subdirectory.ledger/index.md (By Tag, By Status, Relationship Map, Statistics).Follow references/consultation-protocol.md: triage the topic → spawn agents
proportionally (one match → one agent, multiple → full panel, empty ledger → skip)
→ synthesize into the Consultation Briefing → suggest capture if warranted.
Scan all records for: stale active entries, broken Related: links, tag drift,
and proposed records never confirmed. Report statistics and recommended cleanups.
references/templates.md — record formats (INC/DEC/PAT/FLW), status lifecycle, index rulesreferences/consultation-protocol.md — triage, proportional agent spawning, synthesisreferences/capture-triggers.md — conversation signals that warrant a record vs. auto memory