writing-workflow-sops

writing-workflow-sops is a skill for Claude Code from jamesgray-ai/handsonai-plugins. It costs 128 tokens per session (3,130 once invoked), scanned A, original, MIT.

A guide for writing standard operating procedures, which are step-by-step instructions for completing a workflow. It saves the instructions as Markdown files.

In plain words
What is it for?
Documenting manual, human-and-AI, or automated workflows at different levels of independence.
Why use it?
It helps turn a workflow into repeatable documentation and records where that documentation belongs.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex.

Part of the handsonai plugin — 16 skills shipped together

Good fit Documenting manual, human-and-AI, or automated workflows at different levels of independence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jamesgray-ai/handsonai-plugins/writing-workflow-sops
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 jamesgray-ai/handsonai-plugins --skill writing-workflow-sops
Clone the repo
git clone --depth 1 https://github.com/jamesgray-ai/handsonai-plugins

Made for: Claude Code.

Or install handsonai, the plugin that ships this one along with the rest of its 16 skills.

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 writing-workflow-sops

README.md
[![agentmods](https://agentmods.dev/badge/skills/jamesgray-ai/handsonai-plugins/writing-workflow-sops/github.svg)](https://agentmods.dev/skills/jamesgray-ai/handsonai-plugins/writing-workflow-sops)
Your own site
<a href="https://agentmods.dev/skills/jamesgray-ai/handsonai-plugins/writing-workflow-sops"><img src="https://agentmods.dev/badge/skills/jamesgray-ai/handsonai-plugins/writing-workflow-sops/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 writing-workflow-sops

Your own site · 80×15
<a href="https://agentmods.dev/skills/jamesgray-ai/handsonai-plugins/writing-workflow-sops"><img src="https://agentmods.dev/badge/skills/jamesgray-ai/handsonai-plugins/writing-workflow-sops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,130 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.00128 $0.03130
Opus 5.5 $0.00051 $0.01252
Sonnet 5.5 $0.00026 $0.00626
Haiku 4.5 $0.00013 $0.00313

Measured 4d ago against content hash 7bf2f199f30c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

writing-workflow-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.

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.

plugins/handsonai/skills/writing-workflow-sops/SKILL.md · 163 lines

How it starts

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

Writing Workflow SOPs

Write SOP documentation for workflows and save it as Markdown, recording the SOP path in the workflow's Workflow node where there's a registry. External trackers are out of scope.

Registry entry: the workflow's registry entry is its Workflow concept node in the registry bundle (registry/ in the working folder: the workspace on Claude Code and Codex; the folder the user selected on Claude desktop; ai-workspace/registry/, or the user's own working folder, in the user's drive on the web and in Microsoft 365, written through the connection) — see indexing-registry/references/registry-bundle.md (in this plugin) for resolution, write rules, and your fields. With no registry/SCHEMA.md, write no registry entry: save the SOP anyway. When the user came on their own (not from the test skill's offer), mention once that the scaffolding-registry skill sets a registry up.

Arriving from the test skill. For a team workflow, the test skill offers an SOP at go-live (and at a re-check where someone on the team is stuck), tells the user where it will be saved, and on a yes runs this skill. The user has already agreed and heard the location, so don't ask where SOPs live, and don't ask the user to confirm the execution mode or autonomy level: the Design Plan and the Workflow node settle both. Read the workflow's files (step 1), draft the SOP, show it, and save it as [workflow-slug]-sop.md in the workflow's folder in the framework folder (step 5) once the user is happy with it. Never save it in the workflow's own place, where the workflow runs.

From Test, the SOP the user sees and saves uses only plain words. Keep execution_mode and autonomy_level in its frontmatter, but put no taxonomy label in the body: leave out step 4's **Execution Model:** <Mode> + <Level> line and use "How it runs" as the Execution Pattern section's label, never **<Mode> + <Level>**; never write "Augmented", "Automated", "autonomy", "deterministic" or "guided", a requirement or task ID, or a framework step number. Give no time estimates, for a Manual SOP either. Skip step 6 (no SOP link on the Workflow node and no registry refresh: the framework's node links don't include one). When it's saved, say so in one line and hand back: the test skill carries on with its next go-live step.

Read the full file on GitHub · 163 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. 4d ago Changed · +20 lines · +23 tokens per session 7bf2f199f30c
  2. 26d ago Changed d35f7040279e
  3. 1mo ago Changed · -1 lines 2b0e492fd5c1
  4. 1mo ago Changed b82a7f128e7d
  5. 2mo ago First seen · 144 lines · 105 tokens per session scan A c96f9beef295

Subscribe to this mod's changes

writing-workflow-sops is a skill published in the GitHub repository jamesgray-ai/handsonai-plugins (8 stars, last pushed yesterday), licensed MIT. It adds 128 tokens to every session and 3,130 once invoked, about $0.0005 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-31.

Related

writing-workflow-sops compared with skills from other repositories

writing-workflow-sops next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
writing-workflow-sopsjamesgray-ai/handsonai-pluginsSkill8yesterdayMITA128Claude Code
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code