Agent skill
agent-memory
Bootstrap skill that teaches Claude about the shared Agent-memory system for cross-session and cross-team knowledge
Install this agent skill to your Project
npx add-skill https://github.com/KienVu2368/claude-memory-bootstrap/tree/main/skills/agent-memory
SKILL.md
Agent Memory System
This skill teaches you about the shared Agent-memory repository - a system for maintaining knowledge and skills across sessions and team members.
On Session Start (IMPORTANT - DO THIS FIRST)
-
Check if Agent-memory exists, if not clone it:
bashgit clone https://github.com/KienVu2368/Agent-memory.git -
Pull latest changes:
bashcd Agent-memory && git pull -
Read the README.md to understand the current state:
bashcat Agent-memory/README.md -
Check project CLAUDE.md - if outdated compared to
Agent-memory/skills/CLAUDE.md, update it
Repository Structure
Agent-memory/
├── README.md # System overview, project list, behavior
├── knowledge/ # Project-specific info (writable)
│ └── {project_name}/ # Each project has its own folder
│ └── knowledge.md # Index of knowledge files
├── skills/ # Reusable patterns (writable)
│ ├── CLAUDE.md # Template for project CLAUDE.md
│ ├── implement/ # Implementation patterns
│ ├── plan/ # Planning patterns
│ ├── prd/ # PRD patterns
│ ├── test/ # Testing patterns
│ └── oracle/ # Knowledge management
When to Update Memory
Proactively propose updates when:
- You implement a reusable pattern → Add to
skills/ - You discover project config/pitfalls → Add to
knowledge/{project_name}/ - You fix a bug others might encounter → Document it
- You learn a better approach → Share it
Decision Guide
| What you learned | Where to put it |
|---|---|
| Project-specific (IDs, configs, file paths) | knowledge/{project_name}/ |
| Reusable pattern (how-to, template) | skills/{category}/ |
| Both specific AND reusable | Update both |
How to Update
- Make changes to the appropriate file in Agent-memory/
- Commit and push:
bash
cd Agent-memory && git add . && git commit -m "Description" && git push
Quick Reference
Skills = HOW to do something (reusable, generic)
Knowledge = WHAT was done in a project (specific, contextual)
Workflow
prd -> plan -> implement -> test -> oracle
The oracle skill updates knowledge after tasks complete.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
setup-pre-commit
Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.
git-guardrails-claude-code
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.
migrate-to-shoehorn
Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.
scaffold-exercises
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
handoff
Compact the current conversation into a handoff document for another agent to pick up.
obsidian-vault
Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.
Didn't find tool you were looking for?