dos-kernel: Skill for Claude Code

.claude/skills/release/SKILL.md

release is a skill for Claude Code from anthony-chaudhary/dos-kernel. It costs 59 tokens per session (12,479 once invoked), scanned A, original, MIT.

A release procedure for the DOS kernel, the core package that provides its agent checks and tools. It updates the version, prepares release notes, commits and tags the code, pushes it, and creates a GitHub release.

In plain words
What is it for?
Use it to ship a new DOS kernel version, whether it fixes bugs, adds features, or includes breaking changes.
Why use it?
It gathers the versioning and publishing steps into one repeatable process. The release is checked with the kernel tests and a truth check before the package publishing pipeline proceeds.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions CLAUDE.md.

This is anthony-chaudhary/dos-kernel's own configuration. It tells Claude Code how to work on dos-kernel 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 dos-kernel configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/release_context.py --limit-commits 50.

Reuse

Borrowing it

Nothing to install: this file belongs to anthony-chaudhary/dos-kernel. 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/anthony-chaudhary/dos-kernel/master/.claude/skills/release/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/anthony-chaudhary/dos-kernel

Made for: Claude Code.

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 release

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/anthony-chaudhary/dos-kernel/release"><img src="https://agentmods.dev/badge/skills/anthony-chaudhary/dos-kernel/release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,479 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 89
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
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.00059 $0.12479
Opus 5.5 $0.00024 $0.04992
Sonnet 5.5 $0.00012 $0.02496
Haiku 4.5 $0.00006 $0.01248

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

Security

Grade A, and why

release 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.

.claude/skills/release/SKILL.md · 851 lines

How it starts

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

Release — the DOS kernel

Semver: major.minor.patch. Patch = bug fix, minor = new feature, major = breaking.

DOS is a substrate, not an app. This skill is the DOS-context adaptation of the job release skill. It is deliberately thinner: DOS single-sources its version from pyproject.toml (one marker, not four), ships no release-asset zip archive, screenshots, versioned-install snapshot, plan-state regeneration, apply-loop gate, or fanout/dispatch manifest. The dist artifacts — one wheel per OS/arch, each embedding its native dos-hook fast-path binary at dos/_bin/ (docs/286), plus a pure-source sdist — are built by CI (publish.yml via scripts/build_wheels.py), never by this skill locally. The verification step is the kernel test suite + the truth syscall, not an apply pipeline. If you find yourself reaching for any of those job-only ceremonies, you're in the wrong repo's skill.

One exception — the plugin's native hook binaries. The Claude Code plugin (claude-plugin/) bundles the compiled dos-hook fast-path binaries (docs/125 GHF4), committed into claude-plugin/bin/ so a marketplace install (a git clone) is a direct install. They are NOT a release asset and NOT in the wheel — they live in the git tree. Step 5.5 rebuilds them so a release never ships a stale binary against changed Go source.

Trunk is master (there is no main branch in DOS). Every git push in this skill targets master. Master-direct is the deliberate branching model for now (a trunk+lane-branch PR cutover is planned, evidence-triggered — not a dev branch); this skill assumes it.

This repo is PUBLIC and the tag is a publish trigger (the 2026-06-10 cutover). Three consequences every release run must respect:

  1. A push IS publication. origin is the public anthony-chaudhary/dos-kernel. The machine-local pre-push hook (.git/hooks/pre-push) runs the leak scanner (scripts/leak_scan.py, a gitignored sync of the canonical ../dos-private/tools/leak_scan.py) and is fail-closed: a hit — or a missing scanner — refuses the push. On a refusal: scrub and amend, never --no-verify ("a leak is a refusal, not a warning"). Details in the runbook's Public-repo push gates section.
  2. Pushing the vX.Y.Z tag starts the PyPI publish pipeline. publish.yml fires on every v* tag: it builds the per-platform wheels + sdist, asserts tag == pyproject.toml version, refuses to upload any SHA without a green ci.yml run on it (the ci-green witness gate — it polls while CI finishes), then pauses at the protected pypi environment for the operator's approval before the OIDC Trusted-Publishing upload. So Step 6's tag push is also the publish request, and Step 7.4 is "surface/approve the pipeline," not "run twine."
  3. Release notes are public documents. docs/releases/vX.Y.Z.md ships to the world (and into the GH release body). No dev-machine absolute paths, hostnames, or personal identifiers; private-SUBJECT prose (operator process, fleet audits, launch mechanics) is born in dos-private, never here — the CLAUDE.md route-privacy-at-authoring-time rule, applied to the notes you draft in Step 3.

Read the full file on GitHub · 851 lines

Files

What ships with it

1 file 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 First seen · 851 lines · 59 tokens per session scan A b8ca4d1af477

Subscribe to this mod's changes

release is a skill published in the GitHub repository anthony-chaudhary/dos-kernel (21 stars, last pushed 10d ago), licensed MIT. It adds 59 tokens to every session and 12,479 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-08-30.

Related

release compared with skills from other repositories

release next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
releaseanthony-chaudhary/dos-kernelSkill2110d agoMITA59Claude Code
codew-release-qa-sweepHmbown/CodeWhaleSkill41k5d agoMITA31Claude Code, Codex
gh-credit-harvestHmbown/CodeWhaleSkill41k5d agoMITA30Claude Code, Codex
releaseHmbown/CodeWhaleSkill41k5d agoMITA0Claude Code, Codex
githubHmbown/CodewhaleSkill41k1mo agoMITA0Claude Code, Codex
releaserunxhq/runxSkill104yesterdayApache-2.0A23Claude Code, Codex
b3os-release-opsb3rys/b3rys-team-osSkill173d agoApache-2.0A113Claude Code, Codex