From prism
Audits CLAUDE.md files using PRISM session data to ADD, TRIM, WARN, or RESTRUCTURE rules for better adherence and token efficiency.
How this skill is triggered — by the user, by Claude, or both
Slash command
/prism:prism-adviseThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Get concrete CLAUDE.md recommendations based on real session data.
Get concrete CLAUDE.md recommendations based on real session data.
When the user asks to audit their CLAUDE.md, fix their CLAUDE.md, improve their CLAUDE.md, or understand what is wrong with it.
First check if PRISM is installed:
prism --version
If the command is not found, install it first:
pip install prism-cc
Then verify it installed correctly:
prism --version
Once confirmed installed, proceed with the advise command.
Run the advisor for the current project:
prism advise --project .
For a different project:
prism advise --project <path>
From an agentsview database (real API token counts, richer data):
prism advise --source agentsview
prism advise --source agentsview --agentsview-db /path/to/sessions.db
DB path resolution: AGENTSVIEW_DATA_DIR → AGENT_VIEWER_DATA_DIR → ~/.agentsview/sessions.db.
Note: --project cannot be used with --source agentsview.
PRISM prints recommendations with four action types:
Each recommendation includes an impact level (High, Medium, Low) and evidence from actual session data.
If the user wants to apply the ADD recommendations automatically:
prism advise --project . --apply
This adds new rules to the CLAUDE.md file. It will show a preview and ask for confirmation before writing anything. Only ADD recommendations are applied automatically. TRIM and RESTRUCTURE changes must be done by hand.
npx claudepluginhub jakeefr/prism --plugin prismAudits and restructures CLAUDE.md files to reduce token bloat and improve Claude compliance. Targets 2,500–3,500 tokens with a hard 5,000 limit.
Analyzes Claude Code session health using PRISM: token usage, CLAUDE.md audits, session failures, and project listings.
Optimizes CLAUDE.md hierarchies, .claude/rules, ecosystem files, and docs/ folders per Anthropic best practices. Detects redundancies, conflicts, and suggests improvements.