Claude-Code-Prompts
CLAUDE.md2 starsChanged 10 months agoMITView on GitHub
Prompt and skill collection for Claude AI. Primary skill: memory-init — persistent memory system using lifecycle hooks (SessionStart, Stop, PreCompact, SessionEnd). This project uses its own memory system. Memory at .claude/mem/ auto-loads on session start via hook. Update memory before ending sessions. The Stop hook will remind you if you forget. Mechanical enforcement > instruction compliance. If a behavior matters, enforce it with hooks, not instructions. @.claude/rules/skill-format.md @.claude/rules/prompt-format.md @.claude/rules/memory-taxonomy.md
In this repository2 other files it gives its agents.
- implementation-planSkill
- memory-initSkill
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
No co-author lines in commits
- Distinctive: line 16
Keep token efficiency as a design goal in all memory formats
- Distinctive: line 17
Prefer editing existing files over creating new ones
- Distinctive: line 18
Test hook scripts work on both macOS and Linux (stat, sed differences)
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Claude-Code-Prompts
Prompt and skill collection for Claude AI. Primary skill: memory-init — persistent memory system using lifecycle hooks (SessionStart, Stop, PreCompact, SessionEnd).
Memory Protocol
This project uses its own memory system. Memory at .claude/mem/ auto-loads on session start via hook. Update memory before ending sessions. The Stop hook will remind you if you forget.
Core Philosophy
Mechanical enforcement > instruction compliance. If a behavior matters, enforce it with hooks, not instructions.
Project Rules
- No co-author lines in commits
- Keep token efficiency as a design goal in all memory formats
- Prefer editing existing files over creating new ones
- Test hook scripts work on both macOS and Linux (stat, sed differences)
@.claude/rules/skill-format.md @.claude/rules/prompt-format.md @.claude/rules/memory-taxonomy.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

