init

A command that creates the initial files for a plugin marketplace or for one standalone plugin. A marketplace is a repository that catalogues plugins for agents to install.

In plain words
What is it for?
Use it to start a new marketplace or standalone plugin, choose its name and owner, set a Git remote, select supported agents, and create files non-interactively.
Why use it?
It removes the repetitive setup work and prepares project metadata, supported agent targets, repository details, and optional continuous-integration settings.

Command

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 commands/agent-marketplace-kit/cli/init
Clone the repo
git clone --depth 1 https://github.com/AGent-marketplace-KIT/cli
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 897 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00012 $0.00897
Opus 5 $0.00006 $0.00449
Sonnet 5 $0.00002 $0.00179
Haiku 4.5 $0.00001 $0.00090

Measured yesterday against content hash ce37ffd0ad23, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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.

docs/commands/init.md · 89 lines

How it starts

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

agmk init

Scaffold a new, push-ready plugin marketplace (git-first) — or, with --plugin, a standalone plugin with no marketplace around it.

agmk init [dir] [options]

Arguments

Argument Description
[dir] Target directory. Defaults to the current directory. Created if missing.

Options

Option Description
-n, --name <name> Marketplace (or plugin) name, kebab-case. Defaults to the directory name.
-o, --owner <owner> Owner / author name.
-e, --email <email> Owner email.
-d, --description <text> Marketplace (or plugin) description.
-r, --repo <url> Git remote URL (any forge). Used to fill in install docs and team settings.
--ci <ci> CI workflow: github | gitlab | none. Default github.
--agents <list> Comma-separated target agents. Default claude-code,copilot.
--plugin [template] Scaffold a standalone plugin in [dir] instead of a marketplace.
-y, --yes Non-interactive: accept defaults for anything not passed.

Known agent ids for --agents: claude-code, copilot, codex, cursor, gemini, opencode, windsurf, kiro. Unknown ids are ignored with a warning.

What it scaffolds (marketplace mode)

<dir>/
├── .claude-plugin/marketplace.json   # $schema, name, owner, metadata{version:"1.0.0", pluginRoot:"./plugins", targets}, plugins:[]
├── plugins/.gitkeep
├── README.md                         # install + team sections composed from --agents
├── AGENTS.md                         # repo context for agents
├── examples/team-settings.json       # extraKnownMarketplaces block
├── .github/workflows/validate.yml    # or .gitlab-ci.yml (--ci gitlab); none with --ci none
└── .gitignore
  • Runs git init automatically (unless already inside a repo).
  • Interactive mode additionally offers to add a starter plugin (runs agmk add for you).
  • Rejects the reserved marketplace names.

Read the full file on GitHub · 89 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. yesterday First seen · 89 lines · 12 tokens per session scan A ce37ffd0ad23

Subscribe to this mod's changes

init is a command published in the GitHub repository AGent-marketplace-KIT/cli (6 stars, last pushed 1mo ago), licensed MIT. It adds 12 tokens to every session and 897 once invoked, about $0.0001 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-31.