From code-reviewer
Add a review agent to the active agent list. Supported agents are claude, codex, gemini, and opencode.
How this skill is triggered — by the user, by Claude, or both
Slash command
/code-reviewer:code-reviewer-add-agent <agent-name><agent-name>This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Agent name: $ARGUMENTS
Agent name: $ARGUMENTS
Supported agents: claude, codex, gemini, opencode
Read ~/.code-reviewer/config.json. If it does not exist, tell the user:
"code-reviewer has not been set up yet. Run
/code-reviewer:setupfirst." Then stop.
Run a quick smoke test to confirm the CLI tool is available and working.
claude: Already running (you are Claude). Skip the smoke test — just add it.
codex:
echo "Say hello" | codex -a never exec -s read-only --ephemeral --color never -
gemini: Read ~/.code-reviewer/config.json to get gemini_model (default: gemini-2.5-flash), then run:
echo "Say hello" | gemini -p "" -m <model> -o text --approval-mode yolo
opencode:
printf 'Reply with exactly: HELLO\n' | timeout 30 opencode run --model openai/gpt-5.5 --format json | jq -r 'select(.type == "text") | .part.text'
opencode reads OPENAI_API_KEY from the environment. If the smoke test fails
with an auth error, remind the user to either export OPENAI_API_KEY=sk-...
in their shell rc or run opencode auth.
Succeeded (exit 0, produced output): proceed to Step 3.
Failed / command not found: tell the user the CLI is not installed or not working. Install hints:
npm install -g @openai/codex. Verify with codex --version.npm install -g @anthropic-ai/gemini-cli. Verify with gemini --version.npm install -g opencode-ai, then verify with opencode --version and ensure OPENAI_API_KEY is exported.Ask the user whether to add the agent anyway (they may plan to install it later) or cancel.
${CLAUDE_PLUGIN_ROOT}/scripts/agents.sh add $ARGUMENTS
${CLAUDE_PLUGIN_ROOT}/scripts/agents.sh list
Show the active agents to the user.
npx claudepluginhub cfactolerin/code_reviewer --plugin code-reviewerCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.