aggregate-roadmap
Regenerate the cross-repo roadmap aggregate in your Claude memory directory by walking every curated repo's `docs/specs/**` frontmatter. Run at session start for cross-repo orientation or after any `spec-new`/`spec-ship` in any repo.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 1
- Forks
- 1
01 前言 Front Matter
- name
- aggregate-roadmap
- type
- skill
- description
- Regenerate the cross-repo roadmap aggregate in your Claude memory directory by walking every curated repo's `docs/specs/**` frontmatter. Run at session start for cross-repo orientation or after any `spec-new`/`spec-ship` in any repo.
03 SKILL.md 正文
aggregate-roadmap
Cross-repo TL;DR — one file, every curated repo's active/proposed/recently-shipped specs.
Usage
~/.claude/rag-index/venv/bin/python ~/.claude/rag-index/aggregate_roadmap.py
Writes to OUTPUT_PATH when set, otherwise to the first ~/.claude/projects/*/memory/roadmap-all.md directory found.
The PostToolUse hook reindexes it automatically; rag_query "what's in flight across my repos" finds it top-1.
When to run
- Start of a session when you need a bird's-eye view of all active work.
- After any
spec-neworspec-ship— keeps the aggregate in sync with per-repo roadmaps. - Before planning the next sprint.
Data source
CURATED_REPOSfrom~/.claude/rag-index/build.py— single source of truth. Add a repo there to have it appear in aggregates.- Spec frontmatters (
status:,tags:,pr:) drive the buckets. Hand-editing the aggregate file gets overwritten.
Output shape
# Cross-repo roadmap — YYYY-MM-DD
## Lucky
### Active — …
### Proposed — …
### Recently shipped — …
## homelab
…
See also
spec-new,spec-ship,roadmap-refresh(per-repo).
04 同仓库更多 Skills
token-audit
Audit historical Claude Code token usage from JSONL session files — shows total spend, cache hit rates, top costly sessions, weekly trends, and where tokens are going. Run after heavy sessions or weekly to measure optimization impact. Answers how many tokens a session used, how expensive was that session, session cost, and token usage report.
smart-model-route
Auto-classify prompt complexity via Haiku (with heuristic fallback) and inject model routing hints for Agent tool calls. Wired as a UserPromptSubmit hook — fires on every prompt, routes low tasks to Haiku, standard to Sonnet, complex to Sonnet with thorough reasoning, and critical (security/arch/migrations) to Opus. Handles model selection, for example choose model by task complexity.
smart-commands
Decision guide for when to proactively use Claude Code slash commands — /think, /model, /compact, /clear. Use when choosing whether to invoke a command before or during a task, or when a complexity-classifier hook has flagged a task as high or critical. Pairs with the complexity-classifier UserPromptSubmit hook. Answers when to compact, should I switch models, and whether to use extended thinking. Use to pick the right /model command and switch model.
spec-ship
暂无简介
spec-new
Create a committed per-feature spec under `docs/specs/YYYY-MM-DD-<slug>/{spec,tasks}.md` with frontmatter (status, created, owner, pr, tags). Promotes an ephemeral `.claude/plans/<name>.md` into a persistent, searchable artifact. Use when starting a feature that's larger than a one-shot PR.
roadmap-refresh
Regenerate `docs/roadmap.md` for a repo from all specs under `docs/specs/` + their frontmatter (status, tags, pr). Produces Now/Next/Recently-shipped sections. Run after creating / shipping a spec, or at the start of a new session for orientation.