agent-skill-generator

agent-skill-generator is a skill for Claude Code, Codex from n-n-code/n-n-code-skills. It costs 69 tokens per session (1,958 once invoked), scanned A, original, MIT.

A toolkit for designing, creating, reviewing, testing, and improving reusable instructions for AI agents. An agent skill is a packaged set of instructions for handling a repeatable task.

In plain words
What is it for?
Use it to create new skills, revise or audit existing ones, validate their behaviour, and improve when they activate.
Why use it?
It helps turn an informal workflow into a clearer, portable package and exposes problems with triggering, structure, or token use.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit Use it to create new skills, revise or audit existing ones, validate their behaviour, and improve when they activate.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/n-n-code/n-n-code-skills/agent-skill-generator
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 n-n-code/n-n-code-skills --skill agent-skill-generator
Clone the repo
git clone --depth 1 https://github.com/n-n-code/n-n-code-skills

Made for: Claude Code, Codex.

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 agent-skill-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/n-n-code/n-n-code-skills/agent-skill-generator/github.svg)](https://agentmods.dev/skills/n-n-code/n-n-code-skills/agent-skill-generator)
Your own site
<a href="https://agentmods.dev/skills/n-n-code/n-n-code-skills/agent-skill-generator"><img src="https://agentmods.dev/badge/skills/n-n-code/n-n-code-skills/agent-skill-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 agent-skill-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/n-n-code/n-n-code-skills/agent-skill-generator"><img src="https://agentmods.dev/badge/skills/n-n-code/n-n-code-skills/agent-skill-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,958 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.00069 $0.01958
Opus 5.5 $0.00028 $0.00783
Sonnet 5.5 $0.00014 $0.00392
Haiku 4.5 $0.00007 $0.00196

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

Security

Grade A, and why

agent-skill-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 2mo 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.

.agents/skills/agent-skill-generator/SKILL.md · 152 lines

How it starts

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

Agent skill generator

Build portable skills by default, bind them to a repository or host only when the task requires it, and spend context only on behavior the target agent cannot reliably infer.

Route by mode

Choose one primary mode and honor its side-effect boundary.

Mode Use when Required output File changes
design Turn a problem or repeated workflow into an implementation-ready skill design Contract, portability target, package map, side-effect boundaries, and validation plan None
new Build a skill from a defined problem or workflow Complete skill package and validation summary Create the agreed package; update only required registration metadata and docs
revise Improve an existing skill Focused edits, validation summary, and delta Edit only authorized scope
audit Find trigger, structure, portability, or token problems Prioritized findings with concrete targets None unless separately requested
validate Pressure-test an existing skill Evidence record and residual risk None unless separately requested
optimize-trigger Improve activation precision or recall Revised trigger metadata plus adjacent-case analysis Trigger-bearing metadata only unless broader edits are requested

If the request mixes modes, keep read-only work read-only and state which changes are authorized before editing. Do not rename stable skill identifiers in optimize-trigger mode unless the user explicitly requests a migration.

Shared workflow

  1. Define the mode, target outcome, success criteria, and output location.
  2. Inspect the repository, existing skill package, conversation examples, and active host for facts that remove avoidable questions.
  3. Resolve only decisions that materially affect triggers, runtime behavior, dependencies, side effects, portability, or packaging.
  4. Design or assess the smallest package that makes the workflow repeatable.
  5. Act within the selected mode's side-effect boundary.
  6. Validate with the smallest evidence combination that answers the actual risk.
  7. Remove token waste, review the diff or findings, and report evidence plus residual uncertainty.

Read the full file on GitHub · 152 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. 2mo ago Changed · +10 lines d2872624f317
  2. 3mo ago First seen · 142 lines · 69 tokens per session scan A 01d3f4718b88

Subscribe to this mod's changes

agent-skill-generator is a skill published in the GitHub repository n-n-code/n-n-code-skills (4 stars, last pushed 29d ago), licensed MIT. It adds 69 tokens to every session and 1,958 once invoked, about $0.0003 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

agent-skill-generator compared with skills from other repositories

agent-skill-generator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-skill-generatorn-n-code/n-n-code-skillsSkill429d agoMITA69Claude Code, Codex
init-workspacegtrabanco/agentic-workflowSkill25todayMITA54Claude Code
execute-phasegtrabanco/agentic-workflowSkill25todayMITA106Claude Code
fold-findingsgtrabanco/agentic-workflowSkill25todayMITA65Claude Code
unit-lanegtrabanco/agentic-workflowSkill25todayMITA53Claude Code
audit-docsgtrabanco/agentic-workflowSkill25todayMITA147Claude Code
audit-prgtrabanco/agentic-workflowSkill25todayMITA71Claude Code