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 $0.00022 $0.01086
Sonnet 5 $0.00009 $0.00434
Haiku 4.5 $0.00004 $0.00217

Measured 8d ago against content hash 68631d410689, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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/TSpackage.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.
    • PHPcomposer.json (slim/laravel/symfony). Test: phpunit/pest. Formatter: php-cs-fixer fix or pint.
    • Pythonpyproject.toml/requirements.txt. Test: pytest. Formatter: ruff format or black.
    • Gogo.modgo test ./..., gofmt -w. RustCargo.tomlcargo 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. 8d 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 1mo ago), licensed MIT. It adds 43 tokens to every session and 2,171 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

claude-md-improver

Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files. Scans for all CLAUDE.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "CLAUDE.md maintenance" or "project…

anthropics/claude-plugins-official · 82 tokens

agent-platform-rag-engine-management

Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…

google/skills · 85 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

agent-platform-model-registry

Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.

google/skills · 60 tokens

google-cloud-solution-agentic-analytics-spark-knowledge-catalog

Discovers requirements and generates guidance to design and deploy a governed, secure agentic-analytics solution for data that's distributed across Google Cloud, other cloud providers, or on-premises. Data that's outside Google Cloud (such as data from Databricks, Snowflake, Salesforce, SAP, or Oracle systems) is…

google/skills · 138 tokens