module-scaffold

module-scaffold is a skill for Claude Code from opendatahub-io/ai-helpers. It costs 65 tokens per session (2,884 once invoked), scanned A, original, Apache-2.0.

A generator for a complete ODH module operator repository from a component name. ODH is the Open Data Hub project, and a module operator is a Kubernetes controller that manages one platform component.

In plain words
What is it for?
Use it to scaffold Go code, custom resource definitions, controllers, Helm charts, webhooks, Makefiles, CI configuration, and project instructions.
Why use it?
It creates the standard repository structure and supporting files needed to start a new module consistently.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions AGENTS.md.

Part of the odh-modules plugin — 3 skills shipped together

Good fit Use it to scaffold Go code, custom resource definitions, controllers, Helm charts, webhooks, Makefiles, CI configuration, and project instructions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/opendatahub-io/ai-helpers/module-scaffold
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.

Any agent
npx skills add opendatahub-io/ai-helpers --skill module-scaffold
Clone the repo
git clone --depth 1 https://github.com/opendatahub-io/ai-helpers

Made for: Claude Code.

Or install odh-modules, the plugin that ships this one along with the rest of its 3 skills.

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 module-scaffold

README.md
[![agentmods](https://agentmods.dev/badge/skills/opendatahub-io/ai-helpers/module-scaffold/github.svg)](https://agentmods.dev/skills/opendatahub-io/ai-helpers/module-scaffold)
Your own site
<a href="https://agentmods.dev/skills/opendatahub-io/ai-helpers/module-scaffold"><img src="https://agentmods.dev/badge/skills/opendatahub-io/ai-helpers/module-scaffold/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 module-scaffold

Your own site · 80×15
<a href="https://agentmods.dev/skills/opendatahub-io/ai-helpers/module-scaffold"><img src="https://agentmods.dev/badge/skills/opendatahub-io/ai-helpers/module-scaffold.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,884 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00065 $0.02884
Opus 5 $0.00032 $0.01442
Sonnet 5 $0.00013 $0.00577
Haiku 4.5 $0.00006 $0.00288

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

Security

Grade A, and why

module-scaffold 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 11d 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.

plugins/odh-modules/skills/module-scaffold/SKILL.md · 313 lines

How it starts

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

ODH Module Scaffold

Generate a complete standalone module operator repository for the ODH platform.

Step 1: Parse arguments

Extract the component name from $ARGUMENTS. If not provided, ask the user.

Derive these values from the component name (example: model-registry):

Variable Example Value
COMPONENT model-registry
COMPONENT_SNAKE model_registry
COMPONENT_PASCAL ModelRegistry
COMPONENT_LOWER modelregistry
COMPONENT_LOWER_PLURAL modelregistries
MODULE_REPO <COMPONENT>-operator
API_GROUP components.platform.opendatahub.io
API_VERSION v1alpha1
SINGLETON_NAME default-<COMPONENT>

Ask the user:

  1. Which API group to use: components.platform.opendatahub.io or services.platform.opendatahub.io? Default: components.
  2. Target directory? Default: ./<MODULE_REPO>.

Step 2: Create directory structure

Generate this layout:

<MODULE_REPO>/
├── api/<API_VERSION>/
│   ├── <COMPONENT_SNAKE>_types.go
│   ├── <COMPONENT_SNAKE>_common.go
│   ├── groupversion_info.go
│   └── doc.go
├── internal/
│   ├── controller/
│   │   ├── <COMPONENT_SNAKE>_controller.go
│   │   └── <COMPONENT_SNAKE>_controller_actions.go
│   └── webhook/
│       └── singleton.go
├── charts/<MODULE_REPO>/
│   ├── Chart.yaml
│   ├── values.yaml
│   └── templates/
│       ├── deployment.yaml
│       ├── serviceaccount.yaml
│       ├── clusterrole.yaml
│       ├── clusterrolebinding.yaml
│       ├── webhook-service.yaml
│       ├── webhook-certificate.yaml
│       └── _helpers.tpl
├── cmd/
│   └── main.go
├── config/
│   └── samples/
│       └── <COMPONENT_SNAKE>.yaml
├── go.mod
├── Makefile
├── Containerfile
├── .github/workflows/
│   └── ci.yaml
├── .rules/
│   ├── api-types.md
│   ├── controller.md
│   ├── helm-chart.md
│   ├── security.md
│   └── testing.md
├── AGENTS.md
├── README.md
└── .gitignore

Step 3: Generate CRD types

Use the templates from ${CLAUDE_SKILL_DIR}/references/templates.md to generate each file. Key requirements:

Read the full file on GitHub · 313 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. 11d ago First seen · 313 lines · 65 tokens per session scan A ea2c1a40b4ed

Subscribe to this mod's changes

module-scaffold is a skill published in the GitHub repository opendatahub-io/ai-helpers (37 stars, last pushed 3d ago), licensed Apache-2.0. It adds 65 tokens to every session and 2,884 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-30.

Related

Other skills, from other repositories

architecture-patterns

Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use this skill when designing clean architecture for a new microservice, when refactoring a monolith to use bounded contexts, when implementing hexagonal or onion architecture patterns, or…

wshobson/agents · 65 tokens

github-actions-templates

Create production-ready GitHub Actions workflows for automated testing, building, and deploying applications. Use when setting up CI/CD with GitHub Actions, automating development workflows, or creating reusable workflow templates.

wshobson/agents · 44 tokens

saga-orchestration

Implement saga patterns for distributed transactions and cross-aggregate workflows. Use this skill when implementing distributed transactions across microservices where 2PC is unavailable, designing compensating actions for failed order workflows that span inventory, payment, and shipping services, building…

wshobson/agents · 91 tokens

event-store-design

Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.

wshobson/agents · 33 tokens

error-handling-patterns

Master error handling patterns across languages including exceptions, Result types, error propagation, and graceful degradation to build resilient applications. Use when implementing error handling, designing APIs, or improving application reliability.

wshobson/agents · 43 tokens

fastapi-templates

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

wshobson/agents · 37 tokens