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.
npx skills add kagan-sh/kagan --skill kg-skill-creatorgit clone --depth 1 https://github.com/kagan-sh/kaganWrote 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.
[](https://agentmods.dev/skills/kagan-sh/kagan/kg-skill-creator)<a href="https://agentmods.dev/skills/kagan-sh/kagan/kg-skill-creator"><img src="https://agentmods.dev/badge/skills/kagan-sh/kagan/kg-skill-creator/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.
<a href="https://agentmods.dev/skills/kagan-sh/kagan/kg-skill-creator"><img src="https://agentmods.dev/badge/skills/kagan-sh/kagan/kg-skill-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00053 | $0.00806 |
| Opus 5.5 | $0.00021 | $0.00322 |
| Sonnet 5.5 | $0.00011 | $0.00161 |
| Haiku 4.5 | $0.00005 | $0.00081 |
Grade A, and why
kg-skill-creator 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Read kg guide skills for the live contract.
Where a skill goes
- A plugin: a folder the plugin lists in
kagan.jsonunderskills. - User:
<dataDir>/skills. - Project:
<project>/.kagan/skills.
A higher source wins the same name. Two skills with the same name in one source are both dropped, and kg skill list reports it. Use kg skill new <name> or kg skill new <name> --project to scaffold a user or project skill. Only user and project skills can be removed.
Write the file
SKILL.md needs YAML frontmatter:
---
name: release-notes
description: Write release notes from the git log. Use when the person asks for release notes, a changelog, or a summary of commits since a tag.
---
nameis lowercase, hyphenated, and matches the folder. A user or project skill must not start withkg-; that prefix is reserved for kagan's bundled and plugin skills.descriptionsays what the skill does and the concrete requests or symptoms that should trigger it. Keep it to one or two sentences. This is the only text the agent sees before it loads the skill.argument-hintis optional.- Put the steps after the frontmatter. State the outcome first, then the commands in order, then the checks. Name exact
kgcommands and flags; do not invent an API. - Move long examples, tables, and reference material into files beside
SKILL.mdand point to them. The agent reads those files only when it loads the skill. - Do not write a path from one machine (
/Users/...,/opt/...) unless the skill is for that machine. Use the variables kagan sets (KG_THREAD_ID,KG_PROJECT_ID,KG_ENVIRONMENT_ID,KG_SOCKET) and the data folder fromkg status --json.
Check it
Run and read the output:
kg skill list
kg skill show <name>
kg skill files <name>
kg skill list shows duplicate errors. kg skill show prints the body the agent gets. kg skill files prints the files beside SKILL.md.
skill_load is connected to Claude and Codex. For another program, start a thread and check that the composed native folder contains the skill.
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.
- today Changed · +2 lines 3bbbfb78a099
- 20d ago First seen · 57 lines · 53 tokens per session scan A c95877b5ba17
kg-skill-creator is a skill published in the GitHub repository kagan-sh/kagan (5 stars, last pushed today), licensed Apache-2.0. It adds 53 tokens to every session and 806 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-11-11.
kg-skill-creator compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kg-skill-creatorkagan-sh/kagan | Skill | 5 | today | Apache-2.0 | A | 53 | Claude Code, Codex |
| architecture-auditorg2AI/ORG2 | Skill | 2.5k | 28d ago | AGPL-3.0 | A | 70 | Claude Code, Codex |
| concord-relayGet-Concord-AI/concord-mcp | Skill | 1.7k | yesterday | MIT | A | 18 | Claude Code, Codex |
| idea-teammajiayu000/spellbook | Skill | 301 | yesterday | MIT | A | 182 | Claude Code |
| codex-agentmajiayu000/spellbook | Skill | 301 | yesterday | MIT | A | 45 | Claude Code |
| project-health-auditormajiayu000/spellbook | Skill | 301 | yesterday | MIT | A | 31 | Claude Code |
| review-gatemajiayu000/spellbook | Skill | 301 | yesterday | MIT | A | 95 | Claude Code, Codex |