klh-project-memory

Creates and maintains structured project memory files tracking bugs, decisions, facts, and work history.

1|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/klh/skills --skill klh-project-memory-klh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: klh-project-memory
Source: https://github.com/klh/skills/tree/main/.well-known/agent-skills/klh-project-memory
Command: npx skills add https://github.com/klh/skills --skill klh-project-memory-klh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Projects lose institutional knowledge between sessions and across AI tools, causing repeated bugs, contradictory architectural choices, and forgotten configuration details. This Skill establishes a persistent memory system in docs/project_notes/ so decisions, bug solutions, and key facts survive across sessions and tools. ## Core Features & Use Cases - Memory Infrastructure Setup: Creates four structured files (bugs.md, decisions.md, key_facts.md, issues.md) from ready-made templates. - CLAUDE.md and AGENTS.md Configuration: Adds memory-aware protocols so Claude Code, Cursor, and other AI tools check memory before proposing changes. - Search and Update Workflows: Provides grep-based search patterns and entry formats for logging bugs, ADRs, key facts, and ticket work. - Use Case: When a familiar "connection refused" error appears, the assistant searches bugs.md, finds the previously documented fix, and applies it instead of debugging from scratch. ## Quick Start Ask the assistant to set up project memory for this repository so it creates the docs/project_notes files and configures CLAUDE.md to track bugs and decisions.

Frequently Asked Questions about klh-project-memory

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up project memory for an AI coding assistant?

Invoke the skill to create a docs/project_notes/ directory containing bugs.md, decisions.md, key_facts.md, and issues.md from templates. It also adds a Project Memory System section to CLAUDE.md so the assistant checks these files before proposing changes.

How do I log a bug fix so AI tools remember it?

Add an entry to docs/project_notes/bugs.md with the date, issue, root cause, solution, and prevention notes. The skill defines this exact format, and the configured CLAUDE.md protocols make the assistant search this file when similar errors appear.

Does project memory work with Cursor and other AI tools besides Claude Code?

Yes, the skill configures AGENTS.md with the same memory protocols as CLAUDE.md, so tools like Cursor and GitHub Copilot follow identical memory-aware behavior. If AGENTS.md does not exist, the skill asks whether to create one.

What is an ADR and how do I record architectural decisions?

An ADR (Architectural Decision Record) documents context, the chosen decision, alternatives considered, and consequences. Add entries to decisions.md using the ADR-XXX format from the decisions template, and the assistant will check it before proposing conflicting changes.

What should not be stored in project memory files?

The key_facts template includes security guidelines on what not to store, such as sensitive credentials. Memory files should hold configuration references, ports, URLs, and service details, with concise dated entries rather than secrets.