init

init is a command for Claude Code from claude-market/marketplace. It costs 7 tokens per session (2,403 once invoked), scanned A, original, MIT.

A guided command for starting a new Claude Code plugin, which is an add-on that extends Claude Code. It collects the plugin's author, name, description, version, license, links, keywords, and contact details.

In plain words
What is it for?
Use it when creating a plugin directory, gathering GitHub author information, preparing plugin metadata, and setting default values such as version and license.
Why use it?
It helps avoid missing required setup information or creating the plugin files in the wrong structure.

Command for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: mentions subagents; names the AskUserQuestion tool; mentions Claude Code.

Part of the plugin-builder plugin — 5 commands shipped together

Good fit Use it when creating a plugin directory, gathering GitHub author information, preparing plugin metadata, and setting default values such as version and license.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/claude-market/marketplace/init
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/claude-market/marketplace

Made for: Claude Code.

Or install plugin-builder, the plugin that ships this one along with the rest of its 5 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 init

README.md
[![agentmods](https://agentmods.dev/badge/commands/claude-market/marketplace/init.svg)](https://agentmods.dev/commands/claude-market/marketplace/init)
Your own site
<a href="https://agentmods.dev/commands/claude-market/marketplace/init"><img src="https://agentmods.dev/badge/commands/claude-market/marketplace/init.svg" alt="Measured on agentmods" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,403 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.00007 $0.02403
Opus 5 $0.00003 $0.01202
Sonnet 5 $0.00001 $0.00481
Haiku 4.5 $0.00001 $0.00240

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

Security

Grade A, and why

init 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 8d 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.

plugin-builder/commands/init.md · 282 lines

How it starts

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

You are helping a user create a new Claude Code plugin. Follow this workflow step by step:

Step 1: Get GitHub Username and Fetch Profile

Use the AskUserQuestion tool to ask for:

  • GitHub username - Will be used in CODEOWNERS and to fetch author information

Once you have the GitHub username, use WebFetch to fetch their profile:

  • URL: https://api.github.com/users/{username}
  • Extract the name field from the response
  • If name is present and not null, use it as the author name
  • If name is null or missing, use the GitHub username as the author name

Step 2: Collect Plugin Metadata

Ask the user for:

  • Plugin name (kebab-case identifier, unique)
  • Description (what does this plugin do?)
  • Version (default: "1.0.0" if not specified)
  • License (default: "MIT" if unsure)
  • Homepage (optional - documentation URL)
  • Repository (optional - source code URL, can default to GitHub repo if they want)
  • Keywords (optional - array of tags for discoverability)
  • Author email (optional - contact email)
  • Author URL (optional - personal website/profile)

Step 3: Create Plugin Directory

Create the directory structure at the top level:

./{plugin-name}/
./{plugin-name}/.claude-plugin/ # required
./{plugin-name}/commands/ # optional - only if 1 or more commands added
./{plugin-name}/agents/ # optional - only if 1 or more agents added
./{plugin-name}/hooks/ # optional - only if 1 or more hooks added
./{plugin-name}/skills/ # optional - only if 1 or more skills added
./{plugin-name}/mcp-servers/ # optional - only if 1 or more MCP servers added

Step 4: Select Components to Create

Use AskUserQuestion with multiSelect=true to ask what components they want to create:

  • Slash Command
  • Agent (Subagent)
  • Hook
  • Skill
  • MCP Server

Step 5: For Each Component Type, Collect Details

If they selected "Slash Command":

Ask these questions (you can ask multiple in one AskUserQuestion call):

  1. Command name (kebab-case, will be invoked as /plugin-name:command-name)
  2. Command description (one-line summary)
  3. What should this command do? (detailed explanation of the command's purpose and behavior)
  4. What files/resources will it need to read or modify?
  5. Should it use any specific tools? (e.g., Bash, Read, Edit, Grep, etc.)

Read the full file on GitHub · 282 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 · 282 lines · 7 tokens per session scan A b7c7ba6e5b49

Subscribe to this mod's changes

init is a command published in the GitHub repository claude-market/marketplace (22 stars, last pushed 10mo ago), licensed MIT. It adds 7 tokens to every session and 2,403 once invoked, about $0.0000 per session on Opus 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.