setup

setup is a command for Claude Code from ccplugins/awesome-claude-code-plugins. It costs 14 tokens per session (363 once invoked), scanned A, original, Apache-2.0.

A prerequisite checker for ClauDex that verifies the Codex command-line tool, its login status, and whether the current directory is a Git repository.

In plain words
What is it for?
Use it to diagnose setup problems and get the commands needed to install, authenticate, or initialize the required tools.
Why use it?
It tells you what is missing before you start a workflow that depends on Codex and Git.

Command for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: mentions Codex.

Part of the claudex plugin — 1 skill, 6 commands shipped together

Good fit Use it to diagnose setup problems and get the commands needed to install, authenticate, or initialize the required tools.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/ccplugins/awesome-claude-code-plugins/setup
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/ccplugins/awesome-claude-code-plugins

Made for: Claude Code.

Or install claudex, the plugin that ships this one along with the rest of its 1 skill, 6 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/ccplugins/awesome-claude-code-plugins/setup/github.svg)](https://agentmods.dev/commands/ccplugins/awesome-claude-code-plugins/setup)
Your own site
<a href="https://agentmods.dev/commands/ccplugins/awesome-claude-code-plugins/setup"><img src="https://agentmods.dev/badge/commands/ccplugins/awesome-claude-code-plugins/setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setup

Your own site · 80×15
<a href="https://agentmods.dev/commands/ccplugins/awesome-claude-code-plugins/setup"><img src="https://agentmods.dev/badge/commands/ccplugins/awesome-claude-code-plugins/setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 363 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00014 $0.00363
Opus 5.5 $0.00006 $0.00145
Sonnet 5.5 $0.00003 $0.00073
Haiku 4.5 $0.00001 $0.00036

Measured 1mo ago against content hash c57f2e6a7ac1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • setup — 100% identical, 0 lines differ
plugins/claudex/commands/setup.md · 26 lines

What it actually says

Check each prerequisite and report it as ✅ or ❌ with the exact fix command:

  1. Codex CLI installed — codex --version (fix: npm i -g @openai/codex)
  2. Codex authenticated — codex login status or the equivalent for the installed version (fix: codex login)
  3. Inside a git repo — git rev-parse --is-inside-work-tree. Distinguish the two failure modes: git not installed (fix: xcode-select --install on macOS, apt install git/winget install Git.Git elsewhere) vs. not a repository (fix: git init — ClauDex reviews diffs, so it needs one)
  4. Optional: the official Codex plugin for /codex:* commands (/plugin marketplace add openai/codex-plugin-cc, then /plugin install codex@openai-codex)

When everything passes, reply: "ClauDex is ready. Claude writes, Codex reviews, you ship. 🧡🖤 First time? Run /claudex:demo — two minutes, zero risk: watch the two models argue over planted bugs before you point them at real code."

If the Codex CLI or its login is missing, end with: "It takes two to ClauDex. 🧡 Claude is here — 🖤 Codex is not. Run the fix commands above, then /claudex:setup again for the duet."

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 26 lines · 14 tokens per session scan A c57f2e6a7ac1

Subscribe to this mod's changes

setup is a command published in the GitHub repository ccplugins/awesome-claude-code-plugins (978 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 14 tokens to every session and 363 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other commands, from other repositories

create-pull-request

Provides comprehensive PR creation guidance with GitHub CLI, enforcing title conventions, following template structure, and offering concrete command examples with best practices.

xbim08/awesome-claude-code-plugins · 27 tokens

pr-issue-resolve

Follow these steps to analyze suggested changes (e.g., review comments, inline suggestions, or requested modifications) in a GitHub Pull Request (PR) and resolve them efficiently. The goal is to review, understand, plan fixes, apply changes, test, and update the PR while maintaining code quality and collaboration.

xbim08/awesome-claude-code-plugins · 14 tokens

github-issue-fix

This is a detailed way you can analyze the GitHub issues and let Claude handle them in best possible way.

xbim08/awesome-claude-code-plugins · 22 tokens

husky

Sets up and manages Husky Git hooks by configuring pre-commit hooks, establishing commit message standards, integrating with linting tools, and ensuring code quality on commits.

xbim08/awesome-claude-code-plugins · 33 tokens

create-pr

Streamlines pull request creation by handling the entire workflow: creating a new branch, committing changes, formatting modified files with Biome, and submitting the PR.

xbim08/awesome-claude-code-plugins · 0 tokens

create-worktrees

Creates git worktrees for all open PRs or specific branches, handling branches with slashes, cleaning up stale worktrees, and supporting custom branch creation for development.

xbim08/awesome-claude-code-plugins · 33 tokens