microagent-create

microagent-create is a skill for Claude Code from automagik-dev/genie. It costs 194 tokens per session (2,638 once invoked), scanned A, original, MIT.

A proposal-only skill that examines recent coding-agent transcripts for repeated work and drafts one small helper agent for user approval. The draft is kept unpublished until the user renames it.

In plain words
What is it for?
It helps discover repeated repository tasks, measure their context cost, and prepare a proposed microagent with supporting evidence.
Why use it?
It identifies recurring work that repeatedly fills the agent's context without changing the live setup automatically. The approval boundary prevents an unreviewed helper from becoming available.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: reads .claude/ paths; positional $N argument; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the mikro plugin — 2 skills, 1 MCP server shipped together

Good fit It helps discover repeated repository tasks, measure their context cost, and prepare a proposed microagent with supporting evidence.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add automagik-dev/genie
Claude Code
/plugin install mikro

Made for: Claude Code.

Or install mikro, the plugin that ships this one along with the rest of its 2 skills, 1 MCP server.

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 microagent-create

README.md
[![agentmods](https://agentmods.dev/badge/skills/automagik-dev/genie/microagent-create/github.svg)](https://agentmods.dev/skills/automagik-dev/genie/microagent-create)
Your own site
<a href="https://agentmods.dev/skills/automagik-dev/genie/microagent-create"><img src="https://agentmods.dev/badge/skills/automagik-dev/genie/microagent-create/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 microagent-create

Your own site · 80×15
<a href="https://agentmods.dev/skills/automagik-dev/genie/microagent-create"><img src="https://agentmods.dev/badge/skills/automagik-dev/genie/microagent-create.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 194 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,638 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.00194 $0.02638
Opus 5.5 $0.00078 $0.01055
Sonnet 5.5 $0.00039 $0.00528
Haiku 4.5 $0.00019 $0.00264

Measured today against content hash 592a7198dcff, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

microagent-create 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 today.

The scan reads SKILL.md. This mod also ships 1 executable file (scan-transcripts.mjs), 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.

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.

mikro/plugins/claude-code/skills/microagent-create/SKILL.md · 199 lines

How it starts

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

Proposing an mikro microagent from real usage

The contract, first

You measure, you draft, you stop. The draft goes into .mikro/agents/<name>.proposed/ and nowhere else. You do not rename it, you do not copy it somewhere it would load, and you do not offer to. The rename is the user's, and it is the entire approval step.

The boundary is mechanical, not a promise: discoverAgents skips any directory whose name ends .proposed, case-insensitively (src/mcp/agents.ts — isProposedDir, applied in the discovery loop). Because tools/call dispatches from the same scan that builds tools/list (src/mcp/server.ts:252, src/mcp/server.ts:771), a draft is neither listed nor callable; calling it by its would-be name answers Unknown tool: mikro_<name>_proposed. Renaming publishes it on the next request, without a reconnect. tests/mcp-agents.test.ts pins all of that.

Two consequences worth stating to the user:

  • .proposed is reserved. An agent legitimately named foo.proposed would be permanently invisible. The skip's error surface is silence by design, so say so rather than letting them find out.
  • Nothing you write is live. Do not describe the draft as "installed", "created", or "ready to use". It is a proposal on disk.

Step 1 — measure, do not read

Run the bundled scanner. Do not open transcripts yourself: on an active host they are ~100 MB a day, and reading them into this session to find out what is filling this session would be the joke telling itself.

node "${CLAUDE_PLUGIN_ROOT}/skills/microagent-create/scan-transcripts.mjs" --hours 24

It streams ~/.claude/projects/**/*.jsonl and returns about a page: every tool call bucketed into an offload family, ranked by the context that family's results returned. Useful flags: --hours N (widen a quiet window), --min-calls N (default 5), --project <substring>, --json, and --explain <family> --examples N for the per-call drill-down with transcript:line references.

Read the full file on GitHub · 199 lines

Files

What ships with it

1 file 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. today First seen · 199 lines · 194 tokens per session scan A 592a7198dcff

Subscribe to this mod's changes

microagent-create is a skill published in the GitHub repository automagik-dev/genie (346 stars, last pushed today), licensed MIT. It adds 194 tokens to every session and 2,638 once invoked, about $0.0008 per session on Opus 5.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-10-16.