config-generator

config-generator is an agent for Claude Code from ApurvBazari/claude-plugins. It costs 44 tokens per session (5,216 once invoked), scanned A, original, MIT.

An automated configuration worker that turns a codebase analysis and setup answers into Claude Code files and settings. These can include project instructions, rules, skills, agents, hooks, tool connections, output styles, snapshots, and telemetry settings.

In plain words
What is it for?
Use it to generate Claude Code configuration after a project analysis, or to create a plan showing which configuration files would be produced without writing them yet.
Why use it?
It removes the manual work of translating repository findings into a complete assistant setup. Its checks also prevent it from running in the wrong context or changing files during planning.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

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 onboard plugin — 9 skills, 5 agents shipped together

Good fit Use it to generate Claude Code configuration after a project analysis, or to create a plan showing which configuration files would be produced without writing them yet.

Compare 6 agents 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 ApurvBazari/claude-plugins
Claude Code
/plugin install onboard

Made for: Claude Code.

Or install onboard, the plugin that ships this one along with the rest of its 9 skills, 5 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 config-generator

README.md
[![agentmods](https://agentmods.dev/badge/agents/apurvbazari/claude-plugins/config-generator/github.svg)](https://agentmods.dev/agents/apurvbazari/claude-plugins/config-generator)
Your own site
<a href="https://agentmods.dev/agents/apurvbazari/claude-plugins/config-generator"><img src="https://agentmods.dev/badge/agents/apurvbazari/claude-plugins/config-generator/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 config-generator

Your own site · 80×15
<a href="https://agentmods.dev/agents/apurvbazari/claude-plugins/config-generator"><img src="https://agentmods.dev/badge/agents/apurvbazari/claude-plugins/config-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,216 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.00044 $0.05216
Opus 5.5 $0.00018 $0.02086
Sonnet 5.5 $0.00009 $0.01043
Haiku 4.5 $0.00004 $0.00522

Measured 26d ago against content hash 443d4a30ddbe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

config-generator 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 26d 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.

onboard/agents/config-generator.md · 212 lines

How it starts

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

Config Generator Agent

You are a Claude tooling configuration specialist. Your job is to take a codebase analysis report and wizard answers, then generate all Claude Code artifacts tailored to the specific project.

Tools

  • Read
  • Write
  • Edit
  • Glob
  • Bash

Instructions

Step 0: Plan mode

If dispatched with planOnly: true: keep the dispatchedAsAgent hard-fail, perform the analysis/decision steps below, but DO NOT call Write or Edit on any artifact. Instead emit the generationManifest (per ../skills/generation/SKILL.md § Plan mode) as your structured return value, then stop. Any Write/Edit call while planOnly is true is a contract violation.

Step 1: Dispatch context check (HARD-FAIL)

Before doing anything else, verify your context contains "dispatchedAsAgent": true. This flag is set by the onboard:generate skill when it correctly dispatches you via the Agent tool, and by the /onboard:start flow when the wizard hands off generation.

# Conceptual check — actual mechanism: scan the prompt input for the flag.
if [[ "$(grep -c 'dispatchedAsAgent.*true' <<<"$AGENT_PROMPT")" -eq 0 ]]; then
  echo "HARD-FAIL: config-generator was invoked without dispatchedAsAgent=true."
  echo "This agent must be dispatched via the Agent tool, not invoked inline."
  echo "Refusing to write any artifacts. See ../skills/generate/SKILL.md DISPATCH CONTRACT."
  exit 1
fi

If the flag is absent, hard-fail immediately. Do NOT call Write or Edit. Do NOT touch the filesystem. Return the failure message above to the caller.

This is the safety net that prevents silent inline-write degradation when a calling skill bypasses the dispatch contract (the bug observed in the 2026-04-16 release-gate run).

Inputs

You will receive:

  1. A codebase analysis report (from the codebase-analyzer agent OR pre-seeded context in programmatic mode)
  2. Wizard answers (structured JSON from the interactive wizard OR pre-seeded context)
  3. The project root path
  4. A sanitized research object (v3 only; absent in research-absent / regenerateOnly mode) — the synthesized dossier per onboard/schemas/research-dossier.json, already envelope-validated and per-dimension-sanitized by generate Step 0.1. Its evidence strings are codebase-derived (file:line) data, not untrusted user input. When present, apply the two presence-gated specs below; when absent, generate exactly as today.
  5. An optional callerExtras.reResearch marker (v3 re-research only — built by onboard:update / onboard:evolve). When present, this is a re-research regen: apply ../skills/generation/references/research/re-research-merge.md across the generation order (customization floor + marker surgery) and merge (not reseed) the verify backlog. When absent (first onboard / regenerateOnly), generate exactly as 4b does.

Read the full file on GitHub · 212 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. 26d ago Changed · -25 tokens per session 443d4a30ddbe
  2. 1mo ago Changed 36c099a75b5a
  3. 3mo ago First seen · 212 lines · 69 tokens per session scan A 13805e9bcf11

Subscribe to this mod's changes

config-generator is an agent published in the GitHub repository ApurvBazari/claude-plugins (3 stars, last pushed 26d ago), licensed MIT. It adds 44 tokens to every session and 5,216 once invoked, about $0.0002 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-08-31.

Related

config-generator compared with agents from other repositories

config-generator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
config-generatorApurvBazari/claude-pluginsAgent326d agoMITA44Claude Code
ap-preflight-probeSpielewoy/autoprompt-skillAgent1.3k1mo agoMITA23Claude Code
implementation-agents977043/PlanGateAgent3yesterdayMITA81Claude Code
scope-strategistTeamManagementPlugin/claude-pluginAgent61mo agoMITA33Claude Code
mac-apptomcounsell/aiAgent31yesterdayGPL-3.0A39Claude Code
delivery-orchestratorXipher-Labs/walter-osAgent91mo agoAGPL-3.0A27Claude Code
backend-engineerevgenii-studitskikh/Claude-Code-SaaS-StudioAgent25mo agoMITA29Claude Code