generate

generate is a skill for Claude Code, Codex from ApurvBazari/claude-plugins. It costs 61 tokens per session (5,900 once invoked), scanned A, original, MIT.

An internal generation step in the Onboard system that turns previously prepared project information into Claude configuration files and other tooling setup. It is used by other onboarding commands, not directly by users.

In plain words
What is it for?
Use it indirectly through Onboard start, update, or evolve flows when configuration artifacts need to be created or repaired.
Why use it?
It keeps generation tied to validated onboarding information and prevents this step from repeating the interactive setup or project analysis.

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 onboard plugin — 8 skills, 5 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/apurvbazari/claude-plugins/generate
Any agent
npx skills add ApurvBazari/claude-plugins --skill generate
Clone the repo
git clone --depth 1 https://github.com/ApurvBazari/claude-plugins

Made for: Claude Code, Codex.

Or install onboard, the plugin that ships this one along with the rest of its 8 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 generate

README.md
[![agentmods](https://agentmods.dev/badge/skills/apurvbazari/claude-plugins/generate.svg)](https://agentmods.dev/skills/apurvbazari/claude-plugins/generate)
Your own site
<a href="https://agentmods.dev/skills/apurvbazari/claude-plugins/generate"><img src="https://agentmods.dev/badge/skills/apurvbazari/claude-plugins/generate.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,900 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.00061 $0.05900
Opus 5 $0.00030 $0.02950
Sonnet 5 $0.00012 $0.01180
Haiku 4.5 $0.00006 $0.00590

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

Security

Grade A, and why

generate 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 3d 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/skills/generate/SKILL.md · 330 lines

How it starts

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

Generate Skill — Internal v3 Tooling Generation

You are running the onboard generation skill. It turns a pre-built v3 context (analysis + wizardAnswers + optional research) into Claude tooling artifacts via the config-generator agent, without re-running the interactive wizard or codebase analysis.

This skill is an internal generation step, invoked through the Skill tool by onboard:start (after the grounded wizard) and by onboard:update / onboard:evolve (for missing-file repair). It is not an external API.

Onboard 3.x is v3-only. This skill accepts only version: 3 contexts and rejects everything else — the v3 research-grounded internal generation step replaced the earlier v2 path and its adapter in 3.0.0. There is no non-v3 path, no migration helper, and no fallback.

This skill's ONLY job is to dispatch the config-generator agent with a pre-seeded context. It MUST NOT call the Write or Edit tool from its own execution context, ever.

generate skill (this file)              config-generator agent
─────────────────────                   ──────────────────────
1. Read context input                   1. (dispatched by generate)
2. Validate                             2. Run full generation pipeline
3. Map to onboard format                3. Emit ALL artifacts
4. Build agent prompt                   4. Self-audit telemetry
5. DISPATCH AGENT  ───────────────────► 5. Return structured JSON response
6. Parse JSON response, return summary

FORBIDDEN patterns (every one observed in the 2026-04-16 release-gate run):

  • FORBIDDEN: Writing CLAUDE.md inline via Write tool from this skill's execution context.
  • FORBIDDEN: Calling Write or Edit tools from this skill at all (any file).
  • FORBIDDEN: Skipping the agent dispatch and running generation pipeline steps directly.
  • FORBIDDEN: Treating this skill as a Write-tool wrapper.

REQUIRED pattern:

  • REQUIRED: A single Agent dispatch with subagent_type: "config-generator" and the pre-seeded context object (Step 3 below).

If you find yourself reaching for the Write tool while executing this skill, STOP — that is the bug this contract is designed to prevent. The artifacts must be written by the dispatched agent, not by this skill.

Hard-fail safety net: The config-generator agent itself checks for dispatchedAsAgent: true in its context. If a caller bypasses dispatch (somehow invoking the agent's logic from the main session inline), the agent refuses to write anything and reports the violation. This is defense in depth — but it does NOT excuse violations of the contract above.

Plugin detection fallback: If callerExtras.installedPlugins is absent in the provided context, the generation skill probes the filesystem using the shared procedure in ../generation/references/plugins/plugin-drift-detection.md § Probe Procedure (generate runs probe-only — no baseline diff). This means internal callers that don't compile plugin data will still get Plugin Integration output if plugins are installed.


Read the full file on GitHub · 330 lines

Files

What ships with it

3 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. 3d ago First seen · 330 lines · 61 tokens per session scan A 05cdaa98cf58

Subscribe to this mod's changes

generate is a skill published in the GitHub repository ApurvBazari/claude-plugins (0 stars, last pushed 27d ago), licensed MIT. It adds 61 tokens to every session and 5,900 once invoked, about $0.0003 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.