用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Jasonzhangf/routecodex --skill project-memory命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
RouteCodex V3 evidence-first development: query resource/function/mainline/verification maps, prove first divergence, patch one owner, then run mapped gates and installed same-entry replay. Use for debug, protocol, provider, routing, continuation, SSE, servertool, or runtime changes.
Bootstrap, migrate, plan, execute, verify, review, deliver, freeze, and clean projects through AppSDK. Use for AppSDK governance, Development Process Control Harness, persistent agent plans, project lifecycle evidence, or governance recovery.
RouteCodex V3 architecture lookup: use AGENTS.md for project truth, then query resource/function/mainline/verification maps for the unique owner, boundaries, caller edges, and gates. Use before architecture or ownership decisions; use rcc-dev-skills for implementation and debugging.
正在显示 SKILL.md
| name | project-memory |
| description | Local, layered project memory with deterministic query, compaction, and reviewed write-back. |
Use the independent project-memory command for memory only. It is available
at any time and is not a debug/develop gate.
memory/index.md anchors and four entrances.memory/{plan,path,knowledge,lesson}.jsonl entries.Classify every durable entry as exactly one of:
plan: project goal, architecture, owner, boundaries, constraints.path: node, edge, flow, checklist, or execution rule.knowledge: one discrete fact, contract, function, resource, or setting.lesson: verified historical experience, root cause, pitfall, or resolution.Keep result groups in this order: L1 anchors, exact ID, node/function/resource, category/tag, declared relations, lesson references, FTS5 keywords, WeMM semantic candidates, then importance and updated time. Semantic candidates are advisory and never change explicit flow edges or active process revisions.
project-memory query <text> [project]
project-memory get <memory-id> [project]
project-memory entry --id <id> --category <category> --text <text> [--tag <tag>]
project-memory review --run <run-id>
project-memory migrate [project]
project-memory reentry [project] --run <run-id>
project-memory index
project-memory compact
project-memory verify
review is the only task-end write-back path. It checks run notes, deduplicates,
classifies, preserves source references and tag unions, and updates the
rebuildable index. Global promotion is explicit (--global on an entry); a
project review never writes global memory.
compact only compacts the rebuildable projection. It never rewrites, deletes,
or drops events from the JSONL sources. The effective node is the last event
for an ID with monotonic tag/source-reference/relation unions; changing an ID
across categories is rejected.
Migration is explicit and source-preserving. project-memory migrate accepts
the supported legacy flat sources (memory/entries.jsonl or
memory/memories.jsonl), validates every line before writing, records a
versioned memory/migration.json marker, appends new entries or
metadata-completing events when the effective version lacks incoming tags or
source references, and rebuilds the SQLite projection. The legacy source is
never deleted or overwritten. A marker in in_progress can be run again with
the same source digest; completed migration is idempotent. A changed source or
an ID/content conflict is reported instead of silently replacing project
truth.
Re-entry is read-only apart from rebuilding a missing SQLite projection. Run
project-memory reentry [project] --run <run-id> after an interruption (the
project path is optional and may also follow the --run value). It keeps the
same run ID, reads the last note as resume_from, checks the migration marker,
rebuilds a missing index, and returns L1 anchors plus bounded next_queries
for the next L2/L3 lookup. If migration is absent or unfinished, re-entry is
blocked with the exact migration command; it never invents a new run or state.
The WeMM adapter is optional. Until a pinned local inference backend is configured, it reports candidate-only status and does not mock semantic edges.