From solo
Audits Claude Code project memory hierarchy, lists files loaded at session start, measures total context budget, and suggests optimizations to stay under 40k chars.
npx claudepluginhub fortunto2/solo-factory --plugin soloThis skill is limited to using the following tools:
Audit Claude Code memory hierarchy for a project. Shows what files load at session start, total context budget, and optimization hints.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
Audit Claude Code memory hierarchy for a project. Shows what files load at session start, total context budget, and optimization hints.
Claude Code loads memory files at session start in this order:
/Library/Application Support/ClaudeCode/CLAUDE.md)~/.claude/CLAUDE.md)~/.claude/rules/*.md)~/.claude/projects/{key}/memory/MEMORY.md, first 200 lines)/ to CWD: CLAUDE.md, .claude/CLAUDE.md, .claude/rules/*.md)CLAUDE.local.md at each level)Rules with paths: frontmatter are conditional — loaded only when working on matching files. Rules without paths: always load and consume context budget.
Target: keep startup context under 40k chars. Large CLAUDE.md files should extract domain-specific sections into conditional .claude/rules/*.md files.
Determine target. Parse $ARGUMENTS:
. -> use CWDall -> scan CWD subdirectories that have CLAUDE.mdRun memory_map.py. Execute:
uv run python ${CLAUDE_PLUGIN_ROOT}/scripts/memory_map.py <path> --audit
If all argument, add --all-projects flag instead of path.
If uv is not available, fall back to:
python ${CLAUDE_PLUGIN_ROOT}/scripts/memory_map.py <path> --audit --plain
Analyze the output. Read the tree display and audit hints table. Key metrics:
paths: frontmatter) — add paths: to make conditional## Header in multiple files, extract to one placeGenerate recommendations. Based on audit hints, suggest concrete actions:
| Issue | Action |
|---|---|
| File > 300 lines | Extract domain sections to .claude/rules/{topic}.md with paths: frontmatter |
| Total > 40k chars | Identify largest files, move conditional content to rules |
| Unconditional rule > 30 lines | Add paths: frontmatter targeting relevant source files |
| Duplicate sections | Keep in the highest-level file, remove from children |
| No auto-memory | Normal for new projects, just informational |
| User-level rule is project-specific | Move from ~/.claude/rules/ to project's .claude/rules/ |
| Generic rule in project | Move up to ~/.claude/rules/ or parent CLAUDE.md |
Check hierarchy health. For the target project:
.claude/rules/ files have valid paths: frontmatter syntaxOutput report:
## Memory Audit Report
**Project:** [path]
**Startup context:** X files, ~Y chars (Z% of 40k budget)
### Tree
[paste tree output from memory_map.py]
### Issues Found
[from audit hints]
### Recommendations
1. [specific action with file path]
2. [specific action with file path]
### Hierarchy Health
- Inheritance chain: [OK / broken at level X]
- Auto-memory: [present / missing]
- Rules: X total (Y conditional, Z always-on)
Conditional rules load only when the agent works on files matching the glob pattern:
---
paths:
- "src/lib/analytics/**"
- "src/app/api/analytics/**"
---
# Analytics Module
...content only loaded when working on analytics files...
Without paths:, the rule always loads and consumes context budget.