Skip to content
Agent Orchestration
Skill

/setup

Check whether Claude Code CLI is ready in this environment and optionally toggle the turn-end review gate. Args: --enable-review-gate, --disable-review-gate. Use for installation, authentication, or review-gate setup requests.

From plugin
cc-plugin-codex
1617 skills3 hooks
Install
$ npx -y skills add sendbird/cc-plugin-codex --skill setup --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/setup

Context preview

The summary Claude sees to decide when to auto-load this skill.

Check whether Claude Code CLI is ready in this environment and optionally toggle the turn-end review gate. Args: --enable-review-gate, --disable-review-gate. Use for installation, authentication, or review-gate setup requests.

SKILL.md

setup.SKILL.md
name: setup
description: 'Check whether Claude Code CLI is ready in this environment and optionally toggle the turn-end review gate. Args: --enable-review-gate, --disable-review-gate. Use for installation, authentication, or review-gate setup requests.'

Claude Code Setup

Use this skill when the user wants to verify Claude Code readiness or toggle the review gate.

Resolve `<plugin-root>` as two directories above this `SKILL.md` file. Always run the companion from that active plugin root.

Supported arguments:

  • `--enable-review-gate`
  • `--disable-review-gate`

Workflow:

  • First run the machine-readable probe:

`node "<plugin-root>/scripts/claude-companion.mjs" setup --json $ARGUMENTS`

  • If it reports that Claude Code is unavailable and `npm` is available, ask whether to install Claude Code now.
  • If the user agrees, run `npm install -g @anthropic-ai/claude-code` and rerun setup.
  • If Claude Code is already installed or `npm` is unavailable, do not ask about installation.
  • If setup reports missing native plugin hook features or hook trust, rerun setup once. The companion repairs `[features].hooks`, `[features].plugin_hooks`, and this plugin's native hook trust hashes itself.
  • If setup adds the plugin-data destination or legacy migration roots to the writable-root list, do not retry in the same Codex session. Tell the user to restart Codex and rerun the same setup command; any requested review-gate change is deliberately deferred until that restart.
  • After the decision flow is complete, run the final user-facing command without `--json`:

`node "<plugin-root>/scripts/claude-companion.mjs" setup $ARGUMENTS`

Output:

  • Present the final non-JSON setup output exactly as returned by the companion.
  • Use the JSON form only for branching logic such as install or auth decisions.
  • Preserve any authentication guidance if setup reports that login is still required.
Read more
Ships withcc-plugin-codex

An open-source plugin that runs inside Codex and lets you use Claude Code and Claude models for review, rescue, and tracked background workflows.

Get the whole plugin
Stats
172
Stars
31
Forks
Active
Maintenance
JavaScript
Language
Apache-2.0
License
1d ago
Last commit
4mo ago
Created

Repo: sendbird/cc-plugin-codex

Other skills on cc-plugin-codex.