code-env-setup

code-env-setup is a skill for Claude Code from joaquimscosta/arkhe-claude-plugins. It costs 90 tokens per session (964 once invoked), scanned A, original, MIT.

An interactive setup guide for Claude Code, a coding assistant used from a development environment. It checks the current configuration and helps set up project instructions, tools, hooks, agents, shortcuts, and settings.

In plain words
What is it for?
Use it to inspect and configure Claude Code project scaffolding, global instructions, MCP servers, hooks, custom agents, keybindings, and settings.
Why use it?
It shows what is already configured and what may be missing, reducing guesswork when preparing Claude Code for a project.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the AskUserQuestion tool.

Good fit Use it to inspect and configure Claude Code project scaffolding, global instructions, MCP servers, hooks, custom agents, keybindings, and settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joaquimscosta/arkhe-claude-plugins/code-env-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.

Any agent
npx skills add joaquimscosta/arkhe-claude-plugins --skill code-env-setup
Clone the repo
git clone --depth 1 https://github.com/joaquimscosta/arkhe-claude-plugins

Made for: Claude Code.

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 code-env-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/joaquimscosta/arkhe-claude-plugins/code-env-setup/github.svg)](https://agentmods.dev/skills/joaquimscosta/arkhe-claude-plugins/code-env-setup)
Your own site
<a href="https://agentmods.dev/skills/joaquimscosta/arkhe-claude-plugins/code-env-setup"><img src="https://agentmods.dev/badge/skills/joaquimscosta/arkhe-claude-plugins/code-env-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 code-env-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/joaquimscosta/arkhe-claude-plugins/code-env-setup"><img src="https://agentmods.dev/badge/skills/joaquimscosta/arkhe-claude-plugins/code-env-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 964 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 71
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00090 $0.00964
Opus 5.5 $0.00036 $0.00386
Sonnet 5.5 $0.00018 $0.00193
Haiku 4.5 $0.00009 $0.00096

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

Security

Grade A, and why

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

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/detect_setup.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/devtools/skills/code-env-setup/SKILL.md · 88 lines

How it starts

The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Claude Code Setup Wizard

Interactive environment setup following the Claude Code Guide.

Pre-flight

Run the detection script to understand current state:

python3 ${CLAUDE_SKILL_DIR}/scripts/detect_setup.py

Two-Phase Workflow

Phase 1: Detect

  1. Run the detector on the project root:

    python3 ${CLAUDE_SKILL_DIR}/scripts/detect_setup.py <project-root>
    
  2. Fetch the guide via WebFetch:

    https://raw.githubusercontent.com/joaquimscosta/arkhe-claude-plugins/main/docs/CLAUDE_CODE_GUIDE.md
    

    If WebFetch fails (network error, 404), warn the user and proceed using LLM knowledge only.

  3. Cross-reference detection JSON against guide recommendations to identify what is missing or incomplete.

  4. Detect MCP servers separately via Bash:

    claude mcp list
    

Phase 2: Configure

  1. Present category selection using AskUserQuestion (multiSelect: true). Show detection status for each category (configured / partially configured / not configured):
# Category Guide Section What It Configures
1 Global CLAUDE.md Section 1 ~/.claude/CLAUDE.md — security NEVER rules, account config
2 Project Scaffolding Section 2 .claude/ dirs, .env.example, .gitignore, CLAUDE.md
3 MCP Servers Section 3 Install recommended servers via claude mcp add
4 Hooks Section 7 ~/.claude/hooks/block-secrets.py, hooks in settings.json
5 Custom Agents Section 10 ~/.claude/agents/ starter agent files
6 Keybindings Section 13 ~/.claude/keybindings.json
7 Settings Section 13 Language, background tasks in settings.json

If user passed a specific category as argument (e.g., /devtools:code-env-setup hooks), skip the selection and go directly to that category.

  1. Walk through each selected category with targeted AskUserQuestion calls. See WORKFLOW.md for per-category question flows.

Read the full file on GitHub · 88 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 88 lines · 90 tokens per session scan A 1cf5c234994f

Subscribe to this mod's changes

code-env-setup is a skill published in the GitHub repository joaquimscosta/arkhe-claude-plugins (21 stars, last pushed 9d ago), licensed MIT. It adds 90 tokens to every session and 964 once invoked, about $0.0004 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-08-30.