Skip to main content
command CX Codex

audit-slash-command — Claude Code command: validate slash commands

Invokes a subagent to audit slash command files for compliance. Checks YAML syntax, arguments, dynamic context, tool restrictions, and content quality.

MIT ★ 1,988 updated 2026-04-01

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add glittercowboy/taches-cc-resources
/plugin install taches-cc-resources@taches-cc-resources
Open on GitHub

What audit-slash-command does

audit-slash-command calls the slash-command-auditor subagent to analyze a slash command at the path you provide. The subagent validates YAML structure, argument declarations, dynamic context handling, tool restrictions, and overall description quality.

The audit report includes detailed findings with file line numbers, compliance scores, and actionable recommendations. Use this when building custom slash commands to ensure they follow security and usability standards.

Works in Claude Code only; requires a valid command file path as the argument.

What it helps with

  • validate YAML structure in a slash command file
  • check argument and context declarations for correctness
  • identify issues with tool restrictions
  • assess command description clarity and quality

Example prompts for the agent

  • /audit-slash-command .claude/commands/deploy.md
  • /audit-slash-command path/to/my-custom-command.md
  • /audit-slash-command ./commands/review-pr.md

How to install audit-slash-command

1Plugin marketplace

/plugin marketplace add glittercowboy/taches-cc-resources
/plugin install taches-cc-resources@taches-cc-resources

2Manually: put the files in place

.claude/commands/audit-slash-command.md

Call it with /audit-slash-command. For all projects use ~/.claude/commands/

Questions about audit-slash-command

How do I install audit-slash-command in Claude Code?

Run /plugin marketplace add glittercowboy/taches-cc-resources and then /plugin install taches-cc-resources@taches-cc-resources. The command will be available at .claude/commands/audit-slash-command.md.

What does audit-slash-command check?

It validates YAML syntax, argument declarations, dynamic context behavior, tool restrictions, and content quality of a slash command file.

What argument should I pass?

Provide the path to your slash command file, such as .claude/commands/my-command.md or path/to/command.md. The subagent reads and audits it.

Source text

audit-slash-command.md · MIT
---
description: Audit slash command file for YAML, arguments, dynamic context, tool restrictions, and content quality
argument-hint: <command-path>
---

<objective>
Invoke the slash-command-auditor subagent to audit the slash command at $ARGUMENTS for compliance with best practices.

This ensures commands follow security, clarity, and effectiveness standards.
</objective>

<process>
1. Invoke slash-command-auditor subagent
2. Pass command path: $ARGUMENTS
3. Subagent will read best practices and evaluate the command
4. Review detailed findings with file:line locations, compliance scores, and recommendations
</process>

<success_criteria>
- Subagent invoked successfully
- Arguments passed correctly to subagent
</success_criteria>

© Lex Christopherson · MIT · glittercowboy/taches-cc-resources

Similar slash commands

All slash commands for Agent setup: memory, context, orchestration →
audit-quiz-coverage FlorianBruniaux The audit-quiz-coverage command for Claude Code and Codex compares recent releases and guide changes with quiz questions, then drafts questions for topics not yet covered. CX Codex +1 ★ 6,529repo stars audit-agents-skills FlorianBruniaux audit-agents-skills — a command for Claude Code and Codex that audits agent, skill, and command quality in a project. Scans files, scores them against criteria (identity, prompt, validation, design), and grades production readiness. CX Codex +1 ★ 6,529repo stars production-code-audit sickn33 production-code-audit — a skill for systematic code review covering security flaws, logic errors and performance issues before deployment. Identifies specific problems, proposes fixes and validates them. CX Codex +1 1,300installs command-development official Anthropic command-development is a Claude Code skill for building slash commands and shaping their structure. It covers argument handling, YAML fields, and file references. CX Codex +1 6,962installs audit-library-health MoizIbnYousaf audit-library-health — a skill for diagnosing a skills library: validates structure, finds stale elements, checks documentation sync. Run before publishing or updating. CX Codex +1 170installs skill-reviewer daymade skill-reviewer is a Claude Code skill that checks skill quality and supports repository audits. It runs automated checks on a single skill and provides a separate review process for collections. CX Codex +1 1,500installs

From the same set48

The whole set →
create-agent-skills create-agent-skills — a mentoring skill for writing and refining agent skills: SKILL.md structure, router pattern, progressive disclosure. CX Codex +1 508installs debug debug is a Claude Code command that sends an issue description to the debug-like-expert skill for investigation. It applies a methodical debugging process to a specific problem. CX Codex +1 ★ 1,988repo stars audit-subagent audit-subagent — a Claude Code command that runs a configuration audit for subagents: checks XML structure, settings, tool selection, and compliance with standards. Takes a path to the subagent .md file as argument. CX Codex +1 ★ 1,988repo stars audit-skill audit-skill is a Claude Code command that checks a skill against YAML, XML, and progressive disclosure requirements before structural changes or publication. CX Codex +1 ★ 1,988repo stars 5-whys 5-whys runs the five whys technique on the problem you hand it and returns a root cause with one action to take. Useful when a bug keeps coming back after a fix. CX Codex +1 ★ 1,988repo stars first-principles first-principles deconstructs problems down to irreducible truths, removes conventions, and designs solutions from the ground up. CX Codex +1 ★ 1,988repo stars one-thing one-thing is a Claude Code command that picks one action with the greatest effect on the rest of a goal. Run it with a goal or let it use the current discussion. CX Codex +1 ★ 1,988repo stars inversion Applies inversion thinking: instead of asking “how do I succeed”, it asks “what guarantees failure” and builds a plan by avoiding those traps. Surfaces risks that optimistic planning misses. CX Codex +1 ★ 1,988repo stars

Project sponsors

Companies that keep this analytics open