init-agents

init-agents is a skill for Claude Code from Jewgah/claude-code-skills. It costs 43 tokens per session (2,171 once invoked), scanned B, original, MIT.

An installer that creates a project-specific Claude Code agent team. It detects the technology stack, then can add specialized agents, workflow commands, quality hooks, settings, and documentation under the project's .claude directory.

In plain words
What is it for?
Use it to scaffold a minimal or full agent team for a repository. It can also uninstall the generated setup when that is requested.
Why use it?
It removes the manual setup needed to give a repository repeatable agent roles and workflows. The detection phase helps tailor the generated setup to the project's languages and tools.

Skill for Claude Code

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

Good fit Use it to scaffold a minimal or full agent team for a repository. It can also uninstall the generated setup when that is requested.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jewgah/claude-code-skills/init-agents
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 Jewgah/claude-code-skills --skill init-agents
Clone the repo
git clone --depth 1 https://github.com/Jewgah/claude-code-skills

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 init-agents

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jewgah/claude-code-skills/init-agents"><img src="https://agentmods.dev/badge/skills/jewgah/claude-code-skills/init-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,171 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00043 $0.02171
Opus 5.5 $0.00017 $0.00868
Sonnet 5.5 $0.00009 $0.00434
Haiku 4.5 $0.00004 $0.00217

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

Security

Grade B, and why

init-agents scanned grade B with 1 finding 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 10d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (templates/hooks/format.sh, templates/hooks/guard.sh), 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.

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

3. Cross-cutting: `docker-compose*.yml`, `.mcp.json` (MCP servers), existing `.claude/` (note what's already there), and which review skills exist (`ls ~/.claude/skills` for `review`, `review-deep`, `security-audit`, `co
skills/init-agents/SKILL.md · 81 lines

How it starts

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

Init Agents

You are an agent-architecture installer. You set up a project-level Claude Code agent team in the current repo: specialized subagents (.claude/agents/), pipeline commands (.claude/commands/), quality hooks (.claude/hooks/ + .claude/settings.json), and a documented section in CLAUDE.md. Everything is committed to git and shared with the team.

Templates live in ${CLAUDE_SKILL_DIR}/templates/ (i.e. ~/.claude/skills/init-agents/templates/). You render them by substituting {{PLACEHOLDERS}} from a detected stack profile.

Core idea (don't break it): the main session orchestrates; subagents are scoped workers. Subagents cannot spawn subagents, so there is no spawnable "orchestrator" - the optional orchestrator.md only works when run AS the main session (claude --agent orchestrator).

$ARGUMENTS may contain: a scope (project default | user), a tier (minimal default | full), or the word uninstall. If uninstall is present, jump to the Uninstall section.

Phase 1 - Detect (read-only)

Do not write anything yet. Inspect the repo and build a stack profile:

  1. git rev-parse --show-toplevel for the repo root; read CLAUDE.md if present (for project name + gotchas).
  2. Detect stack(s) from signal files - a repo may have several (monorepo):
    • JS/TS - package.json (framework via deps: next/vite/etc.; pkg mgr via lockfile: pnpm-lock.yaml→pnpm, yarn.lock→yarn, else npm; turbo.json→turborepo). Read scripts for build/test/lint. Formatter: prettier if in deps, else eslint --fix.
    • PHP - composer.json (slim/laravel/symfony). Test: phpunit/pest. Formatter: php-cs-fixer fix or pint.
    • Python - pyproject.toml/requirements.txt. Test: pytest. Formatter: ruff format or black.
    • Go - go.mod → go test ./..., gofmt -w. Rust - Cargo.toml → cargo test, rustfmt.
  3. Cross-cutting: docker-compose*.yml, .mcp.json (MCP servers), existing .claude/ (note what's already there), and which review skills exist (ls ~/.claude/skills for review, review-deep, security-audit, code-review).
  4. Empty/unknown repo → use a stack-agnostic default and leave {{…_CMD}} as TODO: markers.

Read the full file on GitHub · 81 lines

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. 10d ago Changed 1ee89808a47a
  2. 3mo ago First seen · 81 lines · 43 tokens per session scan B 68631d410689

Subscribe to this mod's changes

init-agents is a skill published in the GitHub repository Jewgah/claude-code-skills (2 stars, last pushed 6d ago), licensed MIT. It adds 43 tokens to every session and 2,171 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

init-agents compared with skills from other repositories

init-agents next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
init-agentsJewgah/claude-code-skillsSkill26d agoMITB43Claude Code
self-reviewhamr0/liteagentsSkill283d agoApache-2.0A20Claude Code
branch-reviewhamr0/liteagentsSkill283d agoApache-2.0A0Claude Code
agent-watchdogBuilderIO/skillsSkill4.7k4d agoMITA115Claude Code, Codex
comet-verifyrpamis/cometSkill3.3kyesterdayMITA32Claude Code, Codex
no-commentsbacknotprop/pstackSkill5.5ktodayMITA20Claude Code, Codex, Cursor
interrogatebacknotprop/pstackSkill5.5ktodayMITA61Claude Code, Codex, Cursor