Commands
Reusable slash commands that automate repeatable workflows in Claude Code.
Slash commands are reusable prompts you invoke with /name. Each is a Markdown file you drop into ~/.claude/commands — automate repeatable workflows like reviews, commits, and refactors with a single keystroke.
28 results
Explain Error
Diagnose an error message or stack trace and propose a fix.
DB Migrate
Generate and apply a database migration the safe way — using the project's migration tool, with expand-contract discipline for breaking changes, lock-free DDL, and a reversible up/down.
Scaffold a pgvector Schema & HNSW Index
Scaffold a production-ready pgvector schema and HNSW index for a corpus — matching the project's migration tooling, distance metric, and embedding dimensions.
Add Docstrings
Add or improve docstrings for the public API of a file or symbol.
Explain Code
Explain what the given code does, in clear prose with a short summary.
Update README
Update the README to reflect the current scripts, structure, and features of the repo.
Create PR
Push the current branch and open a GitHub pull request with a generated title and body.
Sync Branch
Fetch and rebase the current branch onto its base, resolving conflicts and verifying the build.
Profile Postgres Queries
Profile a Postgres workload to find the queries actually costing you — rank by total time with pg_stat_statements, EXPLAIN the worst offenders, and recommend the highest-leverage fix.
Set Perf Budget
Define and enforce a cost and latency budget for an LLM feature or endpoint — set p95/p99 latency and cost-per-request ceilings, instrument to measure them against real traffic, and wire a check that fails when the budget is breached.
Breakdown Task
Decompose a task into an ordered checklist of small, verifiable steps.
Plan Feature
Explore the codebase and produce an implementation plan for a feature.
Extract Function
Extract a code region into a well-named function and update the call site.
Refactor
Refactor the target for readability and structure without changing behavior.
Benchmark Rerankers
Measure whether adding a reranker actually improves retrieval, by scoring reranked vs. un-reranked results on a labeled query set.
Find Bug
Investigate a reported symptom, form hypotheses, and locate the root cause.
Red Team LLM
Red-team an LLM app or agent for prompt injection, jailbreaks, and data leakage — probe the real attack surface (input, RAG, tools, system prompt) with adversarial inputs and report what got through and how to fix it.
Review PR
Review a pull request for correctness, security, and style, and summarize findings.
Security Scan
Scan the current diff or given paths for security vulnerabilities.
Add Human Approval Step
Scaffold a human-in-the-loop approval gate into an agent so it pauses before a consequential action and resumes after approval.
Add a Streaming LLM Endpoint
Scaffold a token-streaming LLM endpoint — server-side streaming plus the client handler — so responses render incrementally instead of after a long wait.
New Component
Scaffold a new UI component matching the project conventions.
Scaffold a vLLM Serving Config
Scaffold a vLLM serving config for a model on a target GPU — pick precision/quantization and parallelism to fit, set batching and context length, and expose an OpenAI-compatible server.
Fix Failing Test
Diagnose and fix a failing test by finding the real root cause.
Run Evals
Run the project's LLM evaluation suite (DeepEval, promptfoo, or RAGAS) and report scores against thresholds before a merge.
Write Tests
Generate tests covering the happy path and edge cases for the given target.
Add MCP Server
Add an MCP server to the current project the safe way — pick the transport and scope, wire secrets through env vars, vet provenance, and verify the connection before trusting it.
Frequently asked questions
- What is a Claude Code slash command?
- A slash command is a reusable prompt saved as a Markdown file and invoked with /name in Claude Code. It expands into instructions Claude follows, optionally using arguments via $ARGUMENTS.
- How do I install a slash command?
- Save the command to ~/.claude/commands/<name>.md for all your projects, or .claude/commands/<name>.md inside a single project. Then type /<name> in Claude Code to run it.
- Can commands take arguments?
- Yes. Reference $ARGUMENTS in the command body and anything you type after the command name is substituted in, so one command can handle many inputs.
- Are these commands free?
- Yes. Every slash command on AgentsCamp is free to copy, download, and install, with no signup required.
- How is a command different from an agent?
- A slash command is a prompt you trigger manually with /name in your main conversation. An agent is a subagent with its own context window that Claude can delegate to automatically. Commands are quick and explicit; agents are autonomous and isolated.