skm

skm is a skill for Claude Code, Codex from alswl/skm. It costs 109 tokens per session (1,471 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,471 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.01471
Opus 5.5 $0.00044 $0.00588
Sonnet 5.5 $0.00022 $0.00294
Haiku 4.5 $0.00011 $0.00147

Measured 26d ago against content hash 41d414e8e5b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 26d 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 · 126 lines

How it starts

The opening of the file, as written. The whole thing — 126 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

For community skills, run skm fork <name> before customizing, then edit the copy in skills-fork/<path>/ (skm info prints it). While it exists it is the active version. update merges your edits onto the new upstream with git merge-file and, on any conflict, timeout or binary clash, stops and changes nothing; fix the fork and rerun, or fork --replace. fork --replace and fork --discard delete the user's copy, so get authorization first. Archive and delete refuse a forked Skill until it is discarded. There is no recovery state: an update killed halfway is restored from Git.

Read the full file on GitHub · 126 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. 26d ago Changed · -11 lines 41d414e8e5b4
  2. 29d ago Changed · +19 lines c82fa0f3aef2
  3. 1mo ago Changed 5b7d784e5711
  4. 1mo 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 (10 stars, last pushed 26d ago), licensed MIT. It adds 109 tokens to every session and 1,471 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.

Related

skm compared with skills from other repositories

skm next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
skmalswl/skmSkill1026d agoMITA109Claude Code, Codex
merge-batchdiegosouzapw/OmniRouteSkill85k5d agoMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15kyesterdayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.6ktodayMITA20Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1kyesterdayMITA51Claude Code
comet-githubrpamis/cometSkill3.3ktodayMITA72Claude Code, Codex
re0-mergeLilMGenius/paperthinSkill1.4k3d agoMITA51Claude Code, Codex