Agent skill
codex-project-memory
Tracks project knowledge, decisions, and patterns across sessions
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/codex-project-memory
SKILL.md
TL;DR
11 scripts for project knowledge persistence. Decision tree: Log -> decision/feedback/skill-usage. Generate -> changelog/session-summary/handoff/growth-report. Analyze -> patterns/knowledge-graph/project-genome. Maintain -> compact old context. Triggers: $changelog, $growth-report, $session-summary, $log-decision, $compact-context, $codex-genome.
Codex Project Memory
Activation
- Activate after complex tasks involving architecture, design decisions, or refactors.
- Activate on explicit
$codex-project-memoryor$memory. - Activate on explicit command
$log-decision. - Activate on
$handoffor when user asks to generate handoff context. - Activate on
$session-summaryor when user asks to summarize a coding session. - Activate on
$analyze-patternsor "learn project style". - Activate on
$log-feedbackor "track my fix". - Activate on
$feedback-summaryfor aggregated feedback recall. - Activate on
$skill-trackto record skill usage analytics. - Activate on
$skill-reportto generate skill evolution report. - Activate on
$build-graphor "map project" to generate project knowledge graph. - Activate on
$changelogto generate release-oriented commit summaries. - Activate on
$growth-reportto generate a developer growth report. - Activate on
$compact-contextor "clean up old sessions". - Activate on
$codex-genome,$generate-genome, or$genometo create layered project context docs.
Decision Tree Routing
User intent -> Memory action?
|- Log/record -> What?
| |- Decision -> decision_logger.py
| |- Feedback -> track_feedback.py
| `- Skill usage -> track_skill_usage.py
|
|- Generate/export -> What?
| |- Handoff -> generate_handoff.py
| |- Session recap -> generate_session_summary.py
| |- Changelog -> generate_changelog.py
| `- Growth report -> generate_growth_report.py
|
|- Analyze -> What?
| |- Patterns -> analyze_patterns.py
| |- Dependencies -> build_knowledge_graph.py
| `- Context genome -> generate_genome.py
|
|- Maintain -> What?
| `- Compact old memory -> compact_context.py
|
`- Not memory -> skip
Rules
- Use the decision tree to choose one memory action before invoking scripts.
- Run
--helpbefore invoking helper scripts and treat them as black-box tools unless customization or bug fixing is required. - Review existing files in
.codex/decisions/before logging a similar technical choice. - Use the default output paths and chaining guidance from
references/behavior-guide.mdunless the user requests overrides. - Return the created path plus the headline metrics from each script JSON payload.
- Xem
skills/.system/REGISTRY.mdđể biết đường dẫn đầy đủ.
Reference Files
references/decision-journal-spec.md: decision logging criteria and naming conventions.references/handoff-spec.md: handoff usage guidance.references/session-summary-spec.md: session summary workflow and retention guidance.references/changelog-spec.md: release-focused changelog generation rules.references/growth-report-spec.md: developer growth analytics and reporting behavior.references/pattern-learner-spec.md: project style learning behavior.references/feedback-tracker-spec.md: feedback logging and aggregate usage.references/skill-evolution-spec.md: skill usage analytics and optimization.references/knowledge-graph-spec.md: deep architecture mapping and refresh guidance.references/context-compactor-spec.md: retention policy, archive layout, and dry-run expectations.references/behavior-guide.md: detailed per-script behaviors, defaults, and chaining guidance.references/script-commands.mdreferences/output-schemas.md
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?