Skip to content
Conduit

skill

project-memory-kit

Git-backed project memory for AI coding agents, with context-rot validation and portable setup.

jayandradeph/project-memory-kitcommunitylistedunreviewed

Set up

Skills are installed by placing their folder where your agent loads skills.

The download comes from github.com/jayandradeph/project-memory-kit itself, not from our server, so what you get is exactly what its author published.

Install instructions come from the README

Skills do not use an MCP config. Follow the steps in the README below.

README

synced Oct 22, 2026

Project Memory Kit

Project Memory Kit is a Git-backed memory system for AI-assisted software projects. It gives each new AI session a small, reliable entry point and keeps durable project knowledge close to the code it describes.

The kit is designed to reduce two different failures:

  • Context loss: a new session does not know what previous sessions learned.
  • Context rot: stored guidance becomes stale, duplicated, contradictory, or impossible to verify.

The repository works without a database, hosted service, account, or API key. For Codex, project-local hooks add a Hermes-style autonomous recall and learning loop while keeping the reviewed files in Git authoritative. Obsidian and Graphify are optional additions.

What is included

  • A concise AGENTS.md that enforces a memory-first workflow.
  • Structured project memory for UI, validation, security, and configuration practices.
  • Decision and known-solution templates with freshness and verification metadata.
  • Project-local hooks for automatic startup recall, prompt-time retrieval, end-of-task reflection, and validation.
  • A guarded learner skill that can curate corrections, verified fixes, decisions, and repeatable project procedures.
  • A standard-library Python validator that checks structure, metadata, links, placeholders, and likely secrets.
  • Cross-platform tests and GitHub Actions validation.
  • Optional guides for Obsidian and Graphify.

Quick start: use this as a new repository

  1. Clone or use this repository as a GitHub template.

  2. Replace the bracketed values in PROJECT-CONTEXT.md.

  3. Review the default practices and remove anything that does not apply.

  4. Run the validator:

    python tools/memory_check.py --strict
    

    On Windows, py -3 tools/memory_check.py --strict works as an alternative.

  5. In Codex, review and trust the project hooks with /hooks, then start a new session in the repository.

  6. Test the autonomous loop:

    python tools/project_memory_loop.py simulate
    
  7. Ask your coding agent:

    Read AGENTS.md and summarize the active project memory before making changes.

Add the kit to an existing repository

From a clone of this kit, run:

python scripts/install.py --target /path/to/your/project --project-name "My Project"

The installer is deliberately conservative:

  • It never overwrites an existing file.
  • It does not initialize Git, install dependencies, or modify agent settings.
  • If the target already has an AGENTS.md, it installs an integration snippet instead of replacing the file.
  • It reports every copied and skipped file.

After installation, review the generated project context and run:

python tools/memory_check.py --strict
python tools/project_memory_loop.py simulate

Codex asks each collaborator to review the repository's hook commands once on that machine. Open /hooks, inspect the commands, and trust them. This is intentionally not bypassed by the installer.

See docs/integration/CODEX-AUTONOMOUS-LEARNING.md for the complete learning loop and safety boundaries.

Daily workflow

New task
  -> SessionStart loads the project-memory map
  -> UserPromptSubmit retrieves relevant records
  -> inspect current code and tests
  -> implement and verify
  -> Stop triggers one evidence-gated learning pass
  -> update durable memory or explicitly record no durable learning
  -> SessionEnd validates the memory structure

Chat history is never the source of truth. Generated indexes are never the source of truth. The repository remains reviewable through normal pull requests.

Source-of-truth model

InformationAuthority
Required behavior and security policyApproved project documentation
Current implementationCode, tests, schemas, and configuration
Design intentAccepted decision records
Previous errors and fixesVerified known-solution records
Generated code relationshipsFresh generated graph output
Chat historyTemporary, non-authoritative context

If implementation and approved policy disagree, treat the discrepancy as work to reconcile. Do not silently choose one.

Optional tools

Obsidian

Open docs/project-memory/ as an Obsidian vault. Obsidian becomes a human-friendly editor and graph viewer over the same Markdown committed to Git. Do not create a separate copy of the memory.

See docs/integrations/OBSIDIAN.md.

Graphify

Graphify can generate a rebuildable code knowledge graph for dependency and impact questions. Its output is secondary evidence and must be checked against current code.

See docs/integrations/GRAPHIFY.md.

Semantic or temporal memory

Do not add a memory database by default. Consider Cognee or Graphiti only after the project has a demonstrated cross-repository, multi-agent, or temporal-retrieval requirement and an owner for memory lifecycle and security.

Validation

Run all checks locally:

python tools/memory_check.py --strict
python tools/project_memory_loop.py simulate
python -m unittest discover -s tests -v

The reusable GitHub Actions workflow validates memory on every push and pull request. This kit's own test workflow additionally runs the validator and installer tests on Linux, Windows, and macOS.

Compatibility

  • Python 3.9 or newer; no third-party Python packages are required.
  • GitHub Actions, Windows, macOS, and Linux.
  • Codex automatically discovers AGENTS.md, project-local skills, and trusted project hooks. Other coding agents can use the same Git-tracked memory, but must be configured with equivalent lifecycle triggers if they do not understand Codex hooks.

Reference documentation

Contributing and security

See CONTRIBUTING.md for development rules and SECURITY.md for responsible reporting and memory-safety guidance.

License

MIT. See LICENSE.

↑↓ navigate openesc close