gen

gen is a command for Claude Code from massdriver-cloud/claude-plugins. It costs 14 tokens per session (753 once invoked), scanned A, original, Apache-2.0.

A command that creates a starter Massdriver bundle from a short description. A bundle is a deployable package that defines infrastructure and its settings.

In plain words
What is it for?
Use it to scaffold bundles such as databases, serverless functions, or storage buckets, then test and deploy them yourself.
Why use it?
It gives you the initial files and runs local checks, reducing the manual work needed to start an infrastructure bundle.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the massdriver plugin — 1 skill, 5 commands, 4 agents, 1 hook, 1 MCP server shipped together

Good fit Use it to scaffold bundles such as databases, serverless functions, or storage buckets, then test and deploy them yourself.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/massdriver-cloud/claude-plugins/gen
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/massdriver-cloud/claude-plugins

Made for: Claude Code.

Or install massdriver, the plugin that ships this one along with the rest of its 1 skill, 5 commands, 4 agents, 1 hook, 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 gen

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/massdriver-cloud/claude-plugins/gen"><img src="https://agentmods.dev/badge/commands/massdriver-cloud/claude-plugins/gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 753 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.00014 $0.00753
Opus 5.5 $0.00006 $0.00301
Sonnet 5.5 $0.00003 $0.00151
Haiku 4.5 $0.00001 $0.00075

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

Security

Grade A, and why

gen 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 19d 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.

massdriver/commands/gen.md · 93 lines

How it starts

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

Quick Bundle Generation

Generate a Massdriver bundle scaffold based on a use case description. This is the non-interactive "quick gen" mode - it creates the bundle files and hands off to you for testing.

What This Does

  1. Ask a few quick questions about the bundle
  2. Generate the complete bundle structure
  3. Run local validation (mass bundle build, tofu validate)
  4. Hand off to you for deployment and testing

Usage

/massdriver:gen RDS MySQL database for OLTP workloads

/massdriver:gen Lambda function with API Gateway trigger

/massdriver:gen S3 bucket for data lake landing zone

Instructions

1. Quick Requirements

Ask the user (if not clear from the description):

  • Cloud provider (AWS, GCP, Azure)?
  • What connections does it need (network, credentials)?
  • What artifact does it produce?
  • Any specific presets they want?

2. Generate Bundle Structure

Create the bundle in bundles/<bundle-name>/:

bundles/<bundle-name>/
├── massdriver.yaml     # Bundle manifest with params, dependencies, resources
├── README.md           # Bundle documentation
├── operator.md         # Runbook template
└── src/
    ├── main.tf         # Primary Terraform code
    ├── resources.tf    # massdriver_resource resources
    └── .checkov.yml    # Checkov skip rules (if any)

3. Apply Best Practices

  • Params: Focus on 3-5 developer-facing questions, use presets
  • 80/20 rule: Cover common use cases, don't over-generalize
  • Dependencies: Use existing resource types (mass resource-type list)
  • Runbook: operator.md is engineer-facing — no templating-context meta or config snapshots (the product has a config panel), no explainer headings; actionable ops sections with runnable commands, resource-sourced values wrapped in {{#resources.<name>}} guards
  • Resources: Match the resource type's schema exactly
  • Provider: mass resource-type get <platform> FIRST, then write provider using only those fields — resource types and providers are 1:1
  • Compliance: Default to secure settings, add halt_on_failure for prod

Read the full file on GitHub · 93 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. 19d ago Changed d23fe40d6431
  2. 1mo ago First seen · 93 lines · 14 tokens per session scan A fb8a1b09b7e8

Subscribe to this mod's changes

gen is a command published in the GitHub repository massdriver-cloud/claude-plugins (2 stars, last pushed 19d ago), licensed Apache-2.0. It adds 14 tokens to every session and 753 once invoked, about $0.0001 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.