agentleFS
sendbirdsendbird/cc-plugin-codex/skills/setup/SKILL.md

setup

Skill219 starsChanged 4 months agoApache-2.0View on GitHub

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.

  • Installs packages

193 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use add-slack, add-parallel and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    add-slack

    Add Slack channel integration via Chat SDK.

    Also in 6 projects that use this

  • MicrosoftSkill

    add-parallel

    Also in 5 projects that use this

  • sskarzSkill

    add-telegram-swarm

    Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".

    Also in 5 projects that use this

  • +9 more from microsoft

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 3 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 171 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

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

    line 8
  2. Very specific:

    If it reports that Claude Code is unavailable and npm is available, ask whether to install Claude Code now.

    line 19
  3. Very specific:

    If the user agrees, run npm install -g @anthropic-ai/claude-code and rerun setup.

    line 20
  4. Very specific:

    If Claude Code is already installed or npm is unavailable, do not ask about installation.

    line 21
  5. Very specific:

    If setup reports missing native plugin hook features or hook trust, rerun setup once.

    line 22
  6. Distinctive:

    If setup adds the plugin-data destination or legacy migration roots to the writable-root list, do not retry in the same Codex session.

    line 23
  7. Very specific:

    After the decision flow is complete, run the final user-facing command without --json: node "<plugin-root>/scripts/claude-companion.mjs" …

    line 24
  8. Distinctive:

    Use the JSON form only for branching logic such as install or auth decisions.

    line 29

“Common” is measured: kept by at least 6 in 10 of the 171 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.