From fabric-cli
Audits project context and agent config files (CLAUDE.md, AGENTS.md, settings.json, etc.) for structure, relevance, conventions, and improvements, with optional additional instructions.
How this command is triggered — by the user, by Claude, or both
Slash command
/fabric-cli:audit-context additional instructionssonnetThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Audit context Audit the project's context configuration files with additional instructions $ARGUMENTS Do not modify any files. Use your `Explore` subagent if there are more than three markdowns to read. ## Agent configuration and memory files Search for and read: 1. `CLAUDE.md` files (root, .claude/, nested directories) 2. `AGENTS.md` or similar agent configuration files 3. `.claude/settings.json` and `.claude/settings.local.json` 4. Any `SKILL.md` files in the project For each file found, report: 1. Are memory and agent configuration files sufficiently short (ideally less than 500...
Audit the project's context configuration files with additional instructions $ARGUMENTS
Do not modify any files. Use your Explore subagent if there are more than three markdowns to read.
Search for and read:
CLAUDE.md files (root, .claude/, nested directories)AGENTS.md or similar agent configuration files.claude/settings.json and .claude/settings.local.jsonSKILL.md files in the projectFor each file found, report:
fabric-cli or others?Search for other context like spec.md or task.md, or other markdown, txt, yaml, or similar files that provide context, and evaluate:
When complete, provide the user a concise summary with recommendations about how to improve their context. Focus on recommendations that follow Anthropic's documentation and best practices. Retrieve and read the following articles, and evaluate the context with this input:
Remind the user that context evaluation is ambiguous unless they have evaluations (evals) with specific, re-usable prompts that they can run multiple times to assess the performance of the agent. Remind the user that agent- or AI-generated context has a high probability of being inappropriate, verbose, or even incorrect. Remind them of the risk of attractor basins/sinks based on agent training data or existing memory files, and hermeneutic reasoning circles that can arise in context and funnel outputs in unproductive directions. Remind users that creating good context is an important but iterative skill that is essential to get good outputs from AI and agents.
npx claudepluginhub data-goblin/power-bi-agentic-development --plugin fabric-cli/audit-claude-componentsAudits .claude/ folder for structure, component quality, antipatterns, cross-references, and refactoring recommendations. Supports quick/standard/deep levels and meta-instructions.
/audit-agentAudits Claude Code agent definitions for triggering accuracy, system prompt quality, tool appropriateness, and example coverage. Supports --full and --mini audit depths.
/sync-contextAnalyzes codebase structure and patterns to auto-update CLAUDE.md, preserving manual customizations. Also supports --section and --dry-run flags.
/generate-AGENTS-fileGenerates or updates AGENTS.md with project-specific context, domain knowledge, constraints, rules, and git patterns for AI coding assistants like Claude Code, Cursor, and Copilot.
/enhance-claude-mdInitializes or enhances CLAUDE.md files for the project, chaining to existing AGENTS.md/.cursorrules/.windsurfrules via @-imports. Delegates codebase scans to the Explore subagent and enforces a 150-line cap.
/audit-contextBuilds deep architectural context for vulnerability hunting in a specified codebase. Requires <codebase-path> argument and accepts optional --focus <module> flag.