init

init is a skill for Claude Code, Codex from duthaho/claudekit. It costs 57 tokens per session (1,305 once invoked), scanned C, original, MIT.

An interactive setup wizard for Claudekit, which adds project configuration for coding-agent rules, hooks, and connected services. It can create files for API, frontend, migration, security, and testing guidance, plus safety hooks and MCP settings.

In plain words
What is it for?
Use it when setting up or reconfiguring a Claudekit project, especially when you want shared coding rules, automatic checks, protection for sensitive files, notifications, or configured MCP servers.
Why use it?
It provides a consistent starting configuration for a project without requiring each file to be created manually. The wizard lets you install all, selected, or none of the available rule groups.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the claudekit plugin — 15 skills, 8 agents shipped together

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.

agentmods
npx agentmods add skills/duthaho/claudekit/init
Any agent
npx skills add duthaho/claudekit --skill init
Clone the repo
git clone --depth 1 https://github.com/duthaho/claudekit

Made for: Claude Code, Codex.

Or install claudekit, the plugin that ships this one along with the rest of its 15 skills, 8 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/duthaho/claudekit/init.svg)](https://agentmods.dev/skills/duthaho/claudekit/init)
Your own site
<a href="https://agentmods.dev/skills/duthaho/claudekit/init"><img src="https://agentmods.dev/badge/skills/duthaho/claudekit/init.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,305 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
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 $0.00057 $0.01305
Opus 5 $0.00028 $0.00652
Sonnet 5 $0.00011 $0.00261
Haiku 4.5 $0.00006 $0.00130

Measured 4d ago against content hash 96fb5b113f7c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

init scanned grade C 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 4d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- b) Block dangerous commands (prevents rm -rf /, force push main, etc.)
skills/init/SKILL.md · 140 lines

How it starts

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

Claudekit Init

Interactive setup wizard that scaffolds project-level configuration files into the user's .claude/ directory.

Output styles ship with the plugin and are auto-discovered by Claude Code (no init step needed for them — see output-styles/ at the plugin root).

What It Generates

Category Files Location
Rules api.md, frontend.md, migrations.md, security.md, testing.md .claude/rules/
Hooks auto-format, block-dangerous-commands, detect-secrets, guard-sensitive-files, notify .claude/hooks/ + settings.local.json
MCP Servers context7, sequential, playwright, memory, filesystem .mcp.json

Wizard Flow

When invoked, ask the user ONE question at a time:

Step 1: Rules

"Which rules do you want to install?"

  • a) All rules (api, frontend, migrations, security, testing)
  • b) Let me pick individually
  • c) Skip rules

If (b), list each rule with a one-line description and let user select:

  • api.md — REST API design conventions (naming, versioning, error responses)
  • frontend.md — React/Next.js component patterns and file organization
  • migrations.md — Database migration safety rules (backward compatibility, rollback)
  • security.md — OWASP-aligned security rules (no hardcoded secrets, parameterized queries)
  • testing.md — Test naming, coverage thresholds, mocking conventions

For each selected rule, read the template from ${CLAUDE_PLUGIN_ROOT}/skills/init/templates/rules/<name>.md and write it to .claude/rules/<name>.md.

Step 2: Hooks

"Which hooks do you want to install?"

  • a) Auto-format (runs linter after Write/Edit)
  • b) Block dangerous commands (prevents rm -rf /, force push main, etc.)
  • c) Detect secrets (blocks writes containing API keys, tokens, private key blocks)
  • d) Guard sensitive files (blocks edits to .env files, key material, credential dotfiles)
  • e) Notifications (desktop notifications on completion)
  • f) All of the above
  • g) Skip hooks

Read the full file on GitHub · 140 lines

Files

What ships with it

7 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. 4d ago First seen · 140 lines · 57 tokens per session scan C 96fb5b113f7c

Subscribe to this mod's changes

init is a skill published in the GitHub repository duthaho/claudekit (97 stars, last pushed 1mo ago), licensed MIT. It adds 57 tokens to every session and 1,305 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

writing-workflow-skills

Use when adding a new workflow skill to pi-thinkrail-workflow, changing an existing workflow skill's role, trigger, handoff, or structure, or checking a workflow skill against the workflow system's rules. Not for authoring general-purpose skills outside this package.

JetBrains/thinkrail · 60 tokens

writing-specs

Use when a workflow step drafts or revises a spec artifact — a goal-and-requirements, an architecture, or a module SPEC — or when a workflow skill names it at such a step. The shared quality bar for specs — not a workflow, nothing to execute.

JetBrains/thinkrail · 59 tokens

self-assessment

Interactive skill assessment with personalized learning path generation.

FlorianBruniaux/claude-code-ultimate-guide · 12 tokens

source-command-methodology-advisor

Analyzes your codebase and asks 3 targeted questions to recommend the right AI-assisted development methodology stack.

FlorianBruniaux/claude-code-ultimate-guide · 27 tokens

containing-active-breach

Executes containment strategies to stop active adversary operations and prevent lateral movement during a confirmed security breach. Implements short-term and long-term containment using network segmentation, endpoint isolation, credential revocation, and access control modifications. Activates for requests involving…

adriannoes/awesome-agentic-ai · 73 tokens

api-integration-test

Create, maintain, and run gated Go integration tests for internal APIs and service-to-service clients (HTTP/gRPC). Use for endpoint verification, contract checks with real runtime config, opt-in execution, timeout/retry safety, and integration failure triage in Go services.

johnqtcg/awesome-skills · 58 tokens