Claude Commands Check — AI skill for Claude Code
Linter for Claude Code slash-command files.
How to install Claude Commands Check
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open MukundaKatta/claude-commands-check and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Commands Check does
Linter for Claude Code slash-command files. Python, CLI + library. Validates frontmatter, tools, model, and flags secrets.
Alternatives in AI
- Scipilot Writing Skill — SciPilot family: academic writing and polishing co-pilot, with a machine-checked writing-quality evidence chai 220 ★
- Sloptrim — A local detector for AI-writing patterns 196 ★
- Lamoom Python — by LamoomAI - Serves as reference for production prompt engineering library with load balancing of AI Models 98 ★
README
claude-commands-check
[](https://github.com/MukundaKatta/claude-commands-check/actions/workflows/ci.yml) [](https://pypi.org/project/claude-commands-check/) [](https://pypi.org/project/claude-commands-check/) [](LICENSE)
A small Python linter for [Claude Code](https://claude.ai/code) **slash-command files** (`.claude/commands/*.md`).
It checks:
- filename is a valid command name (lowercase kebab-case)
- YAML frontmatter parses cleanly (when present — frontmatter is optional)
descriptionis present, reasonably long, and a stringallowed-tools/disallowed-toolsare a string or list of stringsargument-hintis a stringmodelis a recognized value (opus,sonnet,haiku,inherit,default, or a full model id)disable-model-invocationis a boolean- command body is not empty (otherwise there's no prompt for Claude to run)
- no hardcoded API keys slipped into the body or frontmatter
Install
pip install claude-commands-check
Usage
Lint a single file:
claude-commands-check .claude/commands/my-cmd.md
Lint an entire commands directory:
claude-commands-check .claude/commands/
claude-commands-check ~/.claude/commands/
Exit status: `0` on no errors, `1` on any errors, `2` when no command files were found.
Library API
from claude_commands_check import validate_command_file
result = validate_command_file(".claude/commands/my-cmd.md")
for issue in result.errors:
print(issue.code, issue.message)
Issue codes
| Code | Severity | Meaning |
|---|---|---|
| E000 | error | file-level problem (missing, empty, not UTF-8) |
| E001 | error | filename is not a valid com |
Related Skills
Agentic Boilerplates
Library of agentic-engineering-ready boilerplates (Node, Python, Go, Next.js, Turborepo, AI agent app, MCP ser
Ritchie
Agentic linter for Claude Code best practices. Catches prompt anti-patterns, audits workspace structure, valid
Forum
Python CLI and library that splits a request across AI agents, runs the tasks on any model (Ollama, OpenAI-com
Autoconst Claude Boq From Ifc
Turn a BIM model (IFC) into a priced Excel Bill of Quantities. Bring your own rate library — HIGH/LOW confiden
Claude Mod Heads Up
A second check that flags what you might miss after longer turns (like Anthropic's You Should Know), switched
Secret Preflight
Go/no-go check for leaked secrets before you commit or push. A Claude Code skill with a masking scanner: raw v
Related Agents
Markdown Linter
Validates Claude Code agent and command markdown files for proper YAML frontmatter, syntax, and structure. Use
Go CLI Builder
Implements CLI applications and commands in Go using cobra or standard library flags. Delegate CLI feature imp
API Contract Watcher
Use to detect breaking changes to public APIs (HTTP endpoints, library exports, gRPC methods, CLI flags) betwe