agentleFS
WillInvestWillInvest/ClaudeX/skills/setup/SKILL.md

setup

Skill4 starsChanged 6 months agoMITView on GitHub

Use when the user runs /claudex:setup or asks to install/bootstrap claudex's dependencies (the Codex plugin and superpowers). Installs both plugins, then verifies the Codex CLI via codex:setup.

  • Installs packages

191 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use add-voice-transcription, add-discord 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.
  • juancruzmunozalbeloSkill

    add-voice-transcription

    Add voice message transcription to NanoClaw using OpenAI's Whisper API. Automatically transcribes WhatsApp voice notes so the agent can read and respond to them.

    Also in 5 projects that use this

  • MicrosoftSkill

    add-discord

    Add Discord bot channel integration via Chat SDK.

    Also in 11 projects that use this

  • MicrosoftSkill

    add-slack

    Add Slack channel integration via Chat SDK.

    Also in 11 projects that use this

  • juancruzmunozalbeloSkill

    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 7 projects that use this

  • +8 more from microsoft

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 170 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check first, then add the marketplace and install only if missing:

    line 33
  2. Very specific:

    If a marketplace add fails (e.g.

    line 51
  3. Very specific:

    Run claude plugin list and confirm claudex, codex, and superpowers are all enabled.

    line 75
  4. Distinctive:

    Already set up: if all three plugins are enabled on the first run, skip straight to step 4 (the Codex CLI check) and report that nothing …

    line 82

“Common” is measured: kept by at least 6 in 10 of the 170 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

claudex:setup — bootstrap claudex's dependencies

claudex's /claudex:think needs two other plugins: the Codex plugin (openai/codex-plugin-cc, for the Codex runtime) and superpowers (anthropics/claude-plugins-official, for the brainstorming flow). This skill installs both, then runs the Codex CLI check.

This skill depends only on the claude CLI and Bash, so it works even before either dependency exists. Every step is idempotent — re-running /claudex:setup is safe and resumes cleanly.

Order (important)

Install both plugins first, so the user reloads once — only then is codex:setup invokable, and you run it last.

1. install codex plugin   (CLI, no reload needed yet)
2. install superpowers     (CLI, no reload needed yet)
3. ONE reload gate         (user runs /reload-plugins → both go live)
4. invoke codex:setup      (now available; verifies the Codex CLI)

Steps

1. Install the Codex plugin

Check first, then add the marketplace and install only if missing:

claude plugin marketplace list 2>/dev/null | grep -q openai-codex \
  || claude plugin marketplace add openai/codex-plugin-cc
claude plugin list 2>/dev/null | grep -q 'codex@' \
  || claude plugin install codex@openai-codex

2. Install superpowers

claude plugin marketplace list 2>/dev/null | grep -q claude-plugins-official \
  || claude plugin marketplace add anthropics/claude-plugins-official
claude plugin list 2>/dev/null | grep -q 'superpowers@' \
  || claude plugin install superpowers@claude-plugins-official

If a marketplace add fails (e.g. no network), report it and stop — the install in that step can't succeed. The two plugins are independent, so a failure on one doesn't invalidate the other.

3. Reload gate (one time)

Plugins installed via the CLI are not live in the running session — their skills (like codex:setup) aren't invokable until a reload. Check whether codex:setup is available to you now:

  • Not available → tell the user: "Codex and superpowers are installed. Run /reload-plugins (or restart Claude Code) once, then re-run /claudex:setup to finish — it'll skip the already-installed plugins and run the Codex CLI check." Then stop. The idempotent checks in steps 1–2 make the re-run cheap.
  • Available → continue to step 4.

4. Verify the Codex CLI

Invoke codex:setup (via the Skill tool). It checks the local Codex CLI, offers to npm install -g @openai/codex if missing, and prints !codex login guidance if the CLI is installed but not authenticated. Present its output to the user.

5. Confirm

Run claude plugin list and confirm claudex, codex, and superpowers are all enabled. Report the final state. /claudex:think is now ready to use.

Notes

  • Scope: installs default to user scope. Pass --scope project to the install commands if the user wants the deps tied to this project instead.
  • Already set up: if all three plugins are enabled on the first run, skip straight to step 4 (the Codex CLI check) and report that nothing needed installing.
  • Don't write to ~/.claude directly to fake plugin state — let the CLI manage it.

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.