skm

skm is a skill for Claude Code, Codex from alswl/skm. It costs 109 tokens per session (1,325 once invoked), scanned A, original, MIT.

A command-line tool for managing reusable AI coding instructions and commands in one local Git repository. It installs, updates, checks, and removes them across coding tools such as Claude Code and Codex.

In plain words
What is it for?
Use it to import skills, install them for a chosen tool, update the shared collection, inspect installations, or safely preview changes before applying them.
Why use it?
It removes the need to copy the same skills and commands manually between tools. It also gives you one place to see what is installed and where.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; reads ~/.codex paths; mentions Codex.

Good fit Use it to import skills, install them for a chosen tool, update the shared collection, inspect installations, or safely preview changes before applying them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alswl/skm/skill
View source ↗ alswl/skm
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 alswl/skm --skill skill
Clone the repo
git clone --depth 1 https://github.com/alswl/skm

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 skm

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/alswl/skm/skill"><img src="https://agentmods.dev/badge/skills/alswl/skm/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,325 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.00109 $0.01325
Opus 5.5 $0.00044 $0.00530
Sonnet 5 $0.00022 $0.00265
Haiku 4.5 $0.00011 $0.00133

Measured 3d ago against content hash 44274ce3514d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-28, from the pricing page.

Security

Grade A, and why

skm 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 3d 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.

skill/SKILL.md · 118 lines

How it starts

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

skm

skm keeps skills and commands in one local Git repo and installs them into every tool. Two axes: providers say where an asset came from; targets say where it gets installed. skm --help and docs/cli/ have the full surface — this file is the working model plus the commands worth reaching for.

Before anything else

  • Every command takes --json. Always pass it when you're going to parse the output; the human tables are not a stable contract.
  • Exit codes: 0 ok, 1 problem with the object you asked about, 2 argument / tool / provider error. Don't infer success from stdout.
  • The repo root is discovered upward from cwd (a skills/ or commands/ dir marks it); override with --root, or SKM_ROOT. If a command says "no repository found", you are outside the repo — pass --root, don't skm init a new one.
  • --dry-run reports intended actions and writes nothing. Use it first for anything that touches target directories.
  • Destructive commands (delete, delete-external) require --force by design. Ask the user before reaching for them.

The loop that covers most work

skm list --json                     # the catalog: every entry, with install columns
skm status <name> --json            # one entry across targets: installed/dangling/drifted
skm install <name> [--target t]     # default: every kind-matching target
skm uninstall <name> [--target t]   # removes managed installs only, never user files
skm verify --json                   # whole-repo consistency

Bringing assets in:

skm import ./my-skill --kind skill          # local path
skm import owner/repo/path/to/skill --json  # GitHub shorthand, subdir, or a blob URL
skm import - < sources.txt                  # newline-separated list on stdin
skm discover --json && skm adopt ~/.codex/skills/review   # take over an unmanaged install
skm update <name> / skm batch-update        # refresh from the recorded origin

Entries are plain directories with SKILL.md; editing files in the repo is normal and expected. Never edit an installed copy in a target — it is a symlink or a generated adapter, and drift is what skm status will report.

Read the full file on GitHub · 118 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. 3d ago First seen · 118 lines · 109 tokens per session scan A 44274ce3514d

Subscribe to this mod's changes

skm is a skill published in the GitHub repository alswl/skm (6 stars, last pushed 4d ago), licensed MIT. It adds 109 tokens to every session and 1,325 once invoked, about $0.0004 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-09-25.