Promptocop — AI skill for Claude Code
Promptocop is a prompt linter for your AI models.
How to install Promptocop
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open victor-aguilars/promptocop and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Promptocop does
Promptocop is a prompt linter for your AI models.
Alternatives in AI
- Repomix — 📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file 22.7k ★
- Qwen Code — A command-line AI workflow tool adapted from Gemini CLI, optimized for Qwen3-Coder models with enhanced parser 20.8k ★
- Deepreasoning — A high-performance LLM inference API and Chat UI that integrates DeepSeek R1's CoT reasoning traces with Anthr 5.4k ★
README
A prompt linter for Claude Code and Cursor. Analyzes your prompts for anti-patterns and surfaces issues as context for the model — like ESLint, but for the things you type.
Setup
There are two integration modes. Pick one — or use both.
Option 1: Agent Skill (recommended)
Installs a `SKILL.md` that Claude Code and Cursor load automatically. The editor applies the rules using its own reasoning — no shell execution, no `npx` on every prompt:
# Claude Code (default)
npx promptocop skill install
# Cursor
npx promptocop skill install --target cursor
This writes a `SKILL.md` to your editor's skills directory. Your editor picks it up immediately. To install at project scope instead:
npx promptocop skill install --project
npx promptocop skill install --target cursor --project
To remove:
npx promptocop skill uninstall
npx promptocop skill uninstall --target cursor
**Other editors:** If your editor supports agent skills but isn't listed above, print the `SKILL.md` to stdout and place it wherever your editor expects:
npx promptocop skill generate > /path/to/your/editor/skills/promptocop/SKILL.md
Option 2: Hook (shell-based)
Adds an editor hook that runs `npx promptocop lint --hook -` before every prompt. Regex-based, fast, zero Claude tokens:
# Claude Code (default)
npx promptocop hook install
# Cursor
npx promptocop hook install --target cursor
For Claude Code this adds a `UserPromptSubmit` hook to `~/.claude/settings.json`. For Cursor it adds a `beforeSubmitPrompt` hook to `~/.cursor/hooks.json`. When a prompt has issues, the lint results are injected as context so the model can factor them into its response — nothing is blocked by default.
To remove:
npx promptocop hook uninstall
Related Skills
Ritchie
Agentic linter for Claude Code best practices. Catches prompt anti-patterns, audits workspace structure, valid
Pilotfish
Multi-model orchestration layer for Claude Code — the frontier model plans, cheaper models execute, verificati
Lamoom Python
by LamoomAI - Serves as reference for production prompt engineering library with load balancing of AI Models,
Isbetter.Ai
⚔️ Compare AI models side by side — same prompt, streamed answers, live code previews, speed, tokens and cost.
Fight Prompt Director
AI动作导演Skill Fight-scene prompt choreography for Seedance, MiniMax-H3 and AI video models
Comfyui LLM Prompt Enhancer
A ComfyUI custom node that uses GPT, Claude, Gemini, or local LLMs to enhance your rompts with 50+ artistic st
Related Agents
Video Policy Screener
Use before spending credits on a multi-clip AI video script - predicts content-filter refusals (news/NPOV fram
PHP Review
Read-only reviewer for PHP code cleanliness a linter cannot catch. Returns findings; never edits. Dispatch wit
Proqi Architecture Reviewer
Independently audit the complete Proqi repository for domain ownership, module structure, duplication, test pl