enhance-claude-memory
FeaturedUse when improving CLAUDE.md or AGENTS.md project memory files.
AI & Automation 967 stars
111 forks Updated 4 days ago MIT
Install
Quality Score: 96/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# enhance-claude-memory
Analyze project memory files (CLAUDE.md, AGENTS.md) for optimization.
## Cross-Tool Detection
Searches for project memory files in order:
1. CLAUDE.md (Claude Code)
2. AGENTS.md (OpenCode, Codex)
3. .github/CLAUDE.md
4. .github/AGENTS.md
## File Hierarchy (Reference)
**CLAUDE.md** (Claude Code):
| Location | Scope |
|----------|-------|
| `~/.claude/CLAUDE.md` | Global (all projects) |
| `.claude/CLAUDE.md` or `./CLAUDE.md` | Project root |
| `src/.claude/CLAUDE.md` | Directory-specific |
**AGENTS.md** (OpenCode, Codex, and other AI tools):
| Location | Scope |
|----------|-------|
| `~/.config/opencode/AGENTS.md` or `~/.codex/AGENTS.md` | Global (all projects) |
| `.opencode/AGENTS.md` or `./AGENTS.md` | Project root |
| `src/AGENTS.md` | Directory-specific |
Both files serve the same purpose: project memory for AI assistants. Use CLAUDE.md for Claude Code projects, AGENTS.md for cross-tool compatibility, or both for maximum coverage.
## Workflow
1. **Find** - Locate CLAUDE.md or AGENTS.md in project
2. **Read** - Load content and README.md for comparison
3. **Analyze** - Run all pattern checks
4. **Validate** - Check file/command references against filesystem
5. **Measure** - Calculate token metrics and duplication
6. **Report** - Generate structured markdown output
## Detection Patterns
### 1. Structure Validation (HIGH Certainty)
#### Critical Rules Section
- Should have `## Critical Rules` or similar
- Rules should be prioritized (numb...
Details
- Author
- agent-sh
- Repository
- agent-sh/agentsys
- Created
- 7 months ago
- Last Updated
- 4 days ago
- Language
- JavaScript
- License
- MIT
Integrates with
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
brewdocmemory
Optimize Claude Code memory - dedupe, compress, organize CLAUDE.md. Triggers - optimize memory, memory cleanup.
31 Updated 4 days ago
kochetkov-ma AI & Automation Solid
agents-project-memory
Configure CLAUDE.md/AGENTS.md/CODEX.md for persistent agent context. Use when setting coding standards or architecture docs for a codebase.
80 Updated 1 weeks ago
vasilyu1983 AI & Automation Listed
craft-memory
Crafting effective CLAUDE.md files. Project memory that Claude won't ignore.
0 Updated today
attac-t