04-skill-generate

04-skill-generate is a skill for Claude Code from ai-driven-dev/framework. It costs 39 tokens per session (330 once invoked), scanned A, original, MIT.

A guided workflow for creating or changing reusable instructions for AI tools. It breaks the work into scoping, planning, writing, and validation.

In plain words
What is it for?
Use it to scaffold or refactor a skill that packages a repeatable workflow for the AI tools used by a project.
Why use it?
It gives structure to a task that can otherwise produce incomplete or inconsistent instruction files.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the aidd-context plugin — 14 skills, 2 hooks shipped together

Good fit Use it to scaffold or refactor a skill that packages a repeatable workflow for the AI tools used by a project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ai-driven-dev/framework/04-skill-generate
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 ai-driven-dev/framework --skill 04-skill-generate
Clone the repo
git clone --depth 1 https://github.com/ai-driven-dev/framework

Made for: Claude Code.

Or install aidd-context, the plugin that ships this one along with the rest of its 14 skills, 2 hooks.

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 04-skill-generate

README.md
[![agentmods](https://agentmods.dev/badge/skills/ai-driven-dev/framework/04-skill-generate/github.svg)](https://agentmods.dev/skills/ai-driven-dev/framework/04-skill-generate)
Your own site
<a href="https://agentmods.dev/skills/ai-driven-dev/framework/04-skill-generate"><img src="https://agentmods.dev/badge/skills/ai-driven-dev/framework/04-skill-generate/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 04-skill-generate

Your own site · 80×15
<a href="https://agentmods.dev/skills/ai-driven-dev/framework/04-skill-generate"><img src="https://agentmods.dev/badge/skills/ai-driven-dev/framework/04-skill-generate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 330 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.00039 $0.00330
Opus 5.5 $0.00016 $0.00132
Sonnet 5.5 $0.00008 $0.00066
Haiku 4.5 $0.00004 $0.00033

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

Security

Grade A, and why

04-skill-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.

The scan reads SKILL.md. This mod also ships 10 executable files (scripts/custom/mermaid.cjs, scripts/custom/read-next.cjs, scripts/custom/router-diagram.cjs, …), 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.

plugins/aidd-context/skills/04-skill-generate/SKILL.md · 32 lines

What it actually says

Skill Generate

flowchart LR
  entry([request]) -->|"new skill"| scope["actions/01-scope.md"]
  entry -->|"skill folder exists"| plan["actions/02-plan.md"]
  scope --> plan --> write["actions/03-write.md"] --> validate["actions/04-validate.md"]
  scope <-->|"frame to confirm"| user((user answers))
  plan <-->|"table to confirm"| user
  validate <-->|"trial or out-of-plan breach to confirm"| user
  validate -->|"breach or failed trial"| validate
  validate -->|"trial passed"| done((validated))
  validate -->|"trial declined or unavailable"| unverified((runtime unverified))
  validate -->|"fix declined or impossible"| blocked((blocked))
  plan -->|"nothing to change"| stopped((stopped))
  write -->|"path outside the workspace"| stopped

Transversal rules

  • If a cited reference cannot be read, stop and report the missing file.
  • Announce intended writes before editing.
  • Keep the meaning of each rule, step, branch, wait, loop and stop of an existing skill, unless the request changes it.
  • Add nothing the request, the frame, the existing skill or the user did not confirm.
  • Leave each file the plan does not name byte-identical.
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 Changed · -17 tokens per session f49c49f3d47c
  2. 2mo ago First seen · 32 lines · 56 tokens per session scan A be8867e5af5e

Subscribe to this mod's changes

04-skill-generate is a skill published in the GitHub repository ai-driven-dev/framework (589 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 330 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-09-03.

Related

04-skill-generate compared with skills from other repositories

04-skill-generate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
04-skill-generateai-driven-dev/frameworkSkill589todayMITA39Claude Code
podcast-generationbytedance/deer-flowSkill86ktodayMITA38Claude Code, Codex
skill-reviewerbytedance/deer-flowSkill86ktodayMITA38Claude Code
eval-dataset-designbojieli/ai-agent-bookSkill60kyesterdayApache-2.0A138Claude Code, Codex
knowledge-orgbojieli/ai-agent-bookSkill60kyesterdayApache-2.0A96Claude Code, Codex
zeroclaw-docszeroclaw-labs/zeroclawSkill34ktodayApache-2.0A80Claude Code, Codex
kb-buildertinyfish-io/tinyfish-cookbookSkill2.3k6d agoMITA158Claude Code, Codex