kon: Skill for Claude Code

.agents/skills/kon-release-publish/SKILL.md

kon-release-publish is a skill for Claude Code, Codex from 0xku/kon. It costs 25 tokens per session (996 once invoked), scanned C, original, MIT.

A release tool for Kon, a software project, that prepares a version, publishes it to PyPI, and creates a GitHub release.

In plain words
What is it for?
Use it to choose a version, update Kon’s version records, prepare release notes, tag the code, publish the package, and create a GitHub release.
Why use it?
It organizes the release steps and checks version files, changes, tags, and publishing choices before anything is shipped.

Skill for Claude CodeCodex

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

This is 0xku/kon's own configuration. It tells Claude Code and Codex how to work on kon itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kon configures →

View source ↗ 0xku/kon
Reuse

Borrowing it

Nothing to install: this file belongs to 0xku/kon. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/0xku/kon/main/.agents/skills/kon-release-publish/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/0xku/kon

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 kon-release-publish

README.md
[![agentmods](https://agentmods.dev/badge/skills/0xku/kon/kon-release-publish/github.svg)](https://agentmods.dev/skills/0xku/kon/kon-release-publish)
Your own site
<a href="https://agentmods.dev/skills/0xku/kon/kon-release-publish"><img src="https://agentmods.dev/badge/skills/0xku/kon/kon-release-publish/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 kon-release-publish

Your own site · 80×15
<a href="https://agentmods.dev/skills/0xku/kon/kon-release-publish"><img src="https://agentmods.dev/badge/skills/0xku/kon/kon-release-publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 996 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00025 $0.00996
Opus 5 $0.00013 $0.00498
Sonnet 5 $0.00005 $0.00199
Haiku 4.5 $0.00003 $0.00100

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

Security

Grade C, and why

kon-release-publish scanned grade C with 1 finding 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- `rm -rf dist && uv build`
.agents/skills/kon-release-publish/SKILL.md · 99 lines

How it starts

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

Kon Release + PyPI Publish

Use this skill when the user asks to cut a new Kon version, tag it, publish to PyPI, and/or create a GitHub release.

Inputs to confirm

  • Target version (example: 0.2.1)
  • Base range for notes (usually previous tag, example: v0.2.0..HEAD)
  • Whether to push main
  • Whether to publish to PyPI now
  • Whether to create GitHub release now

Versioning requirement

  • Kon's update check only supports strict numeric MAJOR.MINOR.PATCH versions such as 0.2.7 and 0.3.0.
  • Do not cut releases with PyPI/PEP 440 prerelease or suffix forms like 0.3.0rc1, 0.3.0b1, 0.3.0.post1, or 0.3.0.dev1 unless the update-check logic is updated first.
  • Even though PyPI commonly allows those formats, Kon releases should continue following plain X.Y.Z so update detection stays correct.

Files to bump

  • pyproject.toml[project].version
  • src/kon/version.py → fallback VERSION = "..."
  • uv.lock → local package version block

Release workflow

  1. Preflight

    • git status --short --branch must be clean (or confirm with user)
    • git tag --list and git log --oneline <prev_tag>..HEAD to summarize changes
  2. Update CHANGELOG.md

    • Replace the ## [Unreleased] section's - No changes yet. with a new versioned heading: ## <version> - YYYY-MM-DD
    • Use git log --oneline <prev_tag>..HEAD to categorize changes into ### Added, ### Changed, ### Fixed sections
    • Credit external contributors with - @username
    • Commit message: docs: update changelog for <version>
  3. Version bump

    • Update version in all 3 files above
  4. Quality gates

    • uv run ruff format .
    • uv run ruff check .
    • uv run pyright .
    • uv run pytest
  5. Commit

    • Commit message: build: bump version to <version>
  6. Tag

    • Annotated tag: git tag -a v<version> -m "v<version> ..."
    • Include concise "changes since previous tag" bullets
  7. Push

    • git push origin main
    • git push origin v<version>

Read the full file on GitHub · 99 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. 11d ago First seen · 99 lines · 25 tokens per session scan C e35c406d4cfa

Subscribe to this mod's changes

kon-release-publish is a skill published in the GitHub repository 0xku/kon (353 stars, last pushed 1mo ago), licensed MIT. It adds 25 tokens to every session and 996 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.