Skip to content
cccskills
FreePublished on GitHub

codex-project-memory

Use for project memory, decisions, handoffs, genome, knowledge index, changelog, and patterns that must persist across sessions.

The English summary is being prepared. Showing the original description.

See how to install

Files included (44)

  • SKILL.md5.5 KB
  • agents/openai.yaml201 B
  • references/artifact-lifecycle-policy.md3.5 KB
  • references/behavior-guide.md4.5 KB
  • references/changelog-spec.md1.0 KB
  • references/ci-readiness.md4.7 KB
  • references/codebase-index.schema.json2.3 KB
  • references/context-compactor-spec.md1.4 KB
  • references/decision-journal-spec.md1.0 KB
  • references/feedback-tracker-spec.md3.5 KB
  • references/growth-report-spec.md1.1 KB
  • references/handoff-spec.md5.4 KB
  • references/knowledge-graph-spec.md6.3 KB
  • references/knowledge-graph.schema.json4.0 KB
  • references/knowledge-index.schema.json2.9 KB
  • references/output-schemas.md10.4 KB
  • references/pattern-learner-spec.md4.3 KB
  • references/project-memory-tools.json9.0 KB
  • references/project-memory-tools.schema.json2.1 KB
  • references/scale-sla.md3.9 KB
  • references/script-commands.md8.0 KB
  • references/session-summary-spec.md3.5 KB
  • references/skill-evolution-spec.md4.3 KB
  • scripts/analyze_patterns.py27.7 KB
  • scripts/build_knowledge_graph.py58.0 KB
  • scripts/build_knowledge_index.py37.7 KB
  • scripts/codebase_indexer.py23.5 KB
  • scripts/compact_context.py13.4 KB
  • scripts/dashboard_template.html113.9 KB
  • scripts/decision_logger.py4.5 KB
  • scripts/generate_changelog.py8.0 KB
  • scripts/generate_genome.py3.2 KB
  • scripts/generate_growth_report.py14.0 KB
  • scripts/generate_handoff.py18.9 KB
  • scripts/generate_scale_fixture.py8.4 KB
  • scripts/generate_session_summary.py12.8 KB
  • scripts/genome_builder.py44.2 KB
  • scripts/memory_status.py15.4 KB
  • scripts/project_traversal.py18.0 KB
  • scripts/redaction.py4.1 KB
  • scripts/run_scale_gate.py15.5 KB
  • scripts/track_feedback.py10.8 KB
  • scripts/track_skill_usage.py12.4 KB
  • scripts/write_scale_gate_summary.py2.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

TL;DR

12 scripts for project knowledge persistence. Decision tree: Log -> decision/feedback/skill-usage. Generate -> changelog/session-summary/handoff/growth-report. Analyze -> patterns/knowledge-graph/knowledge-index/project-genome. Maintain -> compact old context. Triggers: $changelog, $growth-report, $session-summary, $log-decision, $compact-context, $knowledge, $codex-genome.

Codex Project Memory

Activation

  1. Activate after complex tasks involving architecture, design decisions, or refactors.
  2. Activate on explicit $codex-project-memory or $memory.
  3. Activate on explicit command $log-decision.
  4. Activate on $handoff or when user asks to generate handoff context.
  5. Activate on $session-summary or when user asks to summarize a coding session.
  6. Activate on $analyze-patterns or "learn project style".
  7. Activate on $log-feedback or "track my fix".
  8. Activate on $feedback-summary for aggregated feedback recall.
  9. Activate on $skill-track to record skill usage analytics.
  10. Activate on $skill-report to generate skill evolution report.
  11. Activate on $build-graph or "map project" to generate project knowledge graph.
  12. Activate on $changelog to generate release-oriented commit summaries.
  13. Activate on $growth-report to generate a developer growth report.
  14. Activate on $compact-context or "clean up old sessions".
  15. Activate on $codex-genome, $generate-genome, or $genome to create layered project context docs.
  16. Activate on $knowledge, "make tacit knowledge visible", or "build knowledge index" to generate .codex/knowledge/INDEX.md, .codex/knowledge/index.json, and .codex/knowledge/knowledge-graph.json. Pass --html only when an interactive dashboard is needed.
  17. Activate on "memory status", "validate project memory", or before CLI/tool-harness handoff to run scripts/memory_status.py against generated artifacts.

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
    |   |- Tacit knowledge index -> build_knowledge_index.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 --help before 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.md unless the user requests overrides.
  • Return the created path plus the headline metrics from each script JSON payload.
  • See skills/.system/REGISTRY.md for full script paths.

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.
  • build_knowledge_index.py: schema-versioned project knowledge index from genome, role docs, decisions, commits, config, and the structural knowledge graph; redacts secret-like values, stores provenance/confidence and a source fingerprint for staleness checks; --html optionally adds an offline interactive dashboard.
  • references/knowledge-index.schema.json: output contract for .codex/knowledge/index.json.
  • references/knowledge-graph.schema.json: output contract for .codex/knowledge/knowledge-graph.json and .codex/knowledge-graph.json.
  • 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.md
  • references/output-schemas.md
  • references/project-memory-tools.json: machine-readable tool manifest for CLI/MCP-style harness generation.
  • references/project-memory-tools.schema.json: schema for the tool manifest.
  • references/ci-readiness.md: release gate commands, strict mode, and Windows symlink deselection.
  • references/scale-sla.md: scale tiers, run_scale_gate.py report, and CI workflow mapping for large codebases.
  • references/artifact-lifecycle-policy.md: hybrid commit policy for schemas vs generated .codex/ artifacts.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work — guides completion of development work by presenting structured options for merge, PR, or cleanup

The English summary is being prepared. Showing the original description.

Bang-isme/CodexAI---Skills10Updated Oct 5, 2026

Use when a project has 50+ files, missing context, or explicit $codex-genome request; generates multi-layer project context to reduce hallucination.

The English summary is being prepared. Showing the original description.

Bang-isme/CodexAI---Skills10Updated Oct 5, 2026

Use for DESIGN.md visual identity contracts; author, scaffold, lint, diff, and export design contracts with the upstream spec and CLI.

The English summary is being prepared. Showing the original description.

Bang-isme/CodexAI---Skills10Updated Oct 5, 2026

Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts/render_docx.py` for visual checks.

The English summary is being prepared. Showing the original description.

Bang-isme/CodexAI---Skills10Updated Oct 5, 2026

Use when code changes may require documentation updates; maps git diff to candidate docs without auto-editing documentation.

The English summary is being prepared. Showing the original description.

Bang-isme/CodexAI---Skills10Updated Oct 5, 2026

Use for documents, reports, memos, guides, academic papers, or formal text that needs clear structure, reliable tone, formatting, and diagrams.

The English summary is being prepared. Showing the original description.

Bang-isme/CodexAI---Skills10Updated Oct 5, 2026

See all skills by Bang-isme

Report a problem with this skill