kg-skill-creator

kg-skill-creator is a skill for Claude Code, Codex from kagan-sh/kagan. It costs 53 tokens per session (806 once invoked), scanned A, original, Apache-2.0.

A guide for creating, reviewing, or repairing a Kagan skill. A skill is a reusable instruction folder that tells an agent what to do for a particular kind of request.

In plain words
What is it for?
Use it to create a SKILL.md file, add a skill to a project or user folder, or check why a skill is not being used.
Why use it?
It helps skills have the required file format, location, naming, and trigger description. It also explains how project and user skills are selected when names overlap.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; mentions OpenCode.

Good fit Use it to create a SKILL.md file, add a skill to a project or user folder, or check why a skill is not being used.

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

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 kg-skill-creator

README.md
[![agentmods](https://agentmods.dev/badge/skills/kagan-sh/kagan/kg-skill-creator/github.svg)](https://agentmods.dev/skills/kagan-sh/kagan/kg-skill-creator)
Your own site
<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.

agentmods 80×15 button for kg-skill-creator

Your own site · 80×15
<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>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 806 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.00053 $0.00806
Opus 5.5 $0.00021 $0.00322
Sonnet 5.5 $0.00011 $0.00161
Haiku 4.5 $0.00005 $0.00081

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

Security

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.

crates/core/skills/kg-skill-creator/SKILL.md · 59 lines

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.json under skills.
  • 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.
---
  • name is lowercase, hyphenated, and matches the folder. A user or project skill must not start with kg-; that prefix is reserved for kagan's bundled and plugin skills.
  • description says 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-hint is optional.
  • Put the steps after the frontmatter. State the outcome first, then the commands in order, then the checks. Name exact kg commands and flags; do not invent an API.
  • Move long examples, tables, and reference material into files beside SKILL.md and 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 from kg 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.

Read the full file on GitHub · 59 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. today Changed · +2 lines 3bbbfb78a099
  2. 20d ago First seen · 57 lines · 53 tokens per session scan A c95877b5ba17

Subscribe to this mod's changes

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.

Related

kg-skill-creator compared with skills from other repositories

kg-skill-creator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kg-skill-creatorkagan-sh/kaganSkill5todayApache-2.0A53Claude Code, Codex
architecture-auditorg2AI/ORG2Skill2.5k28d agoAGPL-3.0A70Claude Code, Codex
concord-relayGet-Concord-AI/concord-mcpSkill1.7kyesterdayMITA18Claude Code, Codex
idea-teammajiayu000/spellbookSkill301yesterdayMITA182Claude Code
codex-agentmajiayu000/spellbookSkill301yesterdayMITA45Claude Code
project-health-auditormajiayu000/spellbookSkill301yesterdayMITA31Claude Code
review-gatemajiayu000/spellbookSkill301yesterdayMITA95Claude Code, Codex