agent-sops

agent-sops is a skill for Claude Code, Codex from SSBun/csl-agent-kit. It costs 67 tokens per session (1,731 once invoked), scanned A, original, MIT.

A manager for Standard Operating Procedures, or written step-by-step rules for recurring work.

In plain words
What is it for?
Listing, creating, inspecting, and following workflow rules, playbooks, runbooks, and other process documents.
Why use it?
It helps agents find and follow the right procedure without relying on memory or searching unrelated documents.

Skill for Claude CodeCodex

Part of the csl plugin — 33 skills, 2 commands, 5 agents, 10 hooks shipped together

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.

agentmods
npx agentmods add skills/ssbun/csl-agent-kit/agent-sops
Any agent
npx skills add SSBun/csl-agent-kit --skill agent-sops
Clone the repo
git clone --depth 1 https://github.com/SSBun/csl-agent-kit

Made for: Claude Code, Codex.

Or install csl, the plugin that ships this one along with the rest of its 33 skills, 2 commands, 5 agents, 10 hooks.

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 agent-sops

README.md
[![agentmods](https://agentmods.dev/badge/skills/ssbun/csl-agent-kit/agent-sops.svg)](https://agentmods.dev/skills/ssbun/csl-agent-kit/agent-sops)
Your own site
<a href="https://agentmods.dev/skills/ssbun/csl-agent-kit/agent-sops"><img src="https://agentmods.dev/badge/skills/ssbun/csl-agent-kit/agent-sops.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,731 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00067 $0.01731
Opus 5 $0.00034 $0.00865
Sonnet 5 $0.00013 $0.00346
Haiku 4.5 $0.00007 $0.00173

Measured 4d ago against content hash 2f81fef7fc2d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agent-sops 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 4d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/sop-candidates.js, scripts/sop-summaries.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/meta/agent-sops/SKILL.md · 138 lines

How it starts

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

Agent SOPs

Manage Standard Operating Procedure (SOP) files. SOPs are Agent behavior rules loaded on demand: when a task matches an SOP's when_to_use or name, read the complete SOP before following its process or rules.

Storage and precedence

Scope Path Purpose
Built-in skills/meta/agent-sops/sops/*.md SOPs distributed with the package.
User ~/.csl-agent-kit/sops/*.md User-created SOPs that apply across projects.
Project <workspace>/.agents/sops/*.md Version-controlled SOPs specific to the current workspace.

For the same frontmatter name, precedence is project, then user, then built-in. Only the highest-precedence SOP is listed or routed.

SOP file format

Every SOP must begin with YAML frontmatter containing at least:

---
name: deploy-production
description: Deploy the production service safely.
when_to_use: Use when deploying the production service or investigating production deploy failures.
---

Use kebab-case for name. All frontmatter values must be English. Keep description brief. when_to_use must state when the SOP applies; it is the primary routing and summary field.

Optional fields:

version: 1.0
update_date: 2026-07-08
do_not_use_when:
  - Use another SOP when uploading releases or publishing remote artifacts.
globs:
  - "**/*.swift"
alwaysApply: false

Use do_not_use_when to prevent false positives. When a task matches both when_to_use and do_not_use_when, do not apply the SOP unless the user explicitly selects it.

Routing keywords

Prompt-time candidate matching scores keywords derived automatically from name, when_to_use, and globs (penalized by do_not_use_when); there is no separate keyword field. When generating or updating any SOP, make its routing fields matchable:

  • Put concrete, distinctive terms in name and when_to_use: product or component names (e.g. Kanshan), specific techniques or formats (e.g. green-screen, Glyph JSON, DMG, Sparkle appcast), and stable tool or platform names.
  • Prefer terms a user would literally type when requesting the task; an exact name hit scores highest, hyphen-separated name words also match.
  • Do not rely on generic words (use, when, project, file, build, 用于); they are stopwords or weak signals and are filtered or scored low.
  • Use do_not_use_when phrases that literally echo the adjacent SOP's distinctive terms, so the penalty fires on overlapping requests.
  • Keep when_to_use one sentence; list the distinctive terms naturally instead of stuffing a keyword list.

Read the full file on GitHub · 138 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. 4d ago First seen · 138 lines · 67 tokens per session scan A 2f81fef7fc2d

Subscribe to this mod's changes

agent-sops is a skill published in the GitHub repository SSBun/csl-agent-kit (10 stars, last pushed 2d ago), licensed MIT. It adds 67 tokens to every session and 1,731 once invoked, about $0.0003 per session on Opus 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-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens