sop

Create, list, and read Standard Operating Procedures stored as markdown in ContextHub projects.

Updated May 12, 2026
One-click install
npx skills add https://github.com/contexthub-md/marketplace --skill sop-contexthub-md
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sop
Source: https://github.com/contexthub-md/marketplace/tree/main/contexthub/skills/sop
Command: npx skills add https://github.com/contexthub-md/marketplace --skill sop-contexthub-md

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams lose repeatable operational knowledge when deployment steps, runbooks, and procedures live only in chat history or individual memory. This Skill formalizes those workflows into reusable, project-linked SOP documents that agents and humans can discover and follow. ## Core Features & Use Cases - SOP Creation: Create SOPs via ch_create_sop with title, content, category, and metadata linking them to repos, audiences, and environments. - SOP Discovery & Reading: List all project SOPs with ch_list_sops (showing status, priority, staleness) and read full markdown content with ch_read_sop. - Lifecycle & Chaining: Track draft/active/archived states, automatic staleness detection when referenced code changes, and chain SOPs with triggers and after metadata. - Use Case: Document a production deployment process once, then let any agent find it, follow it step by step, and automatically trigger the post-release notes SOP when finished. ## Quick Start Ask the assistant to create an SOP for your production deployment process and link it to your repository.

Frequently Asked Questions about sop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an SOP for a deployment process?

Call ch_create_sop with a title, markdown content, and category, plus metadata linking the SOP to repos and environments. For research-backed SOPs validated against the codebase, use the sop-writer skill instead.

What is the difference between an SOP and a memo in ContextHub?

SOPs are reusable step-by-step procedures followed repeatedly, such as deployment guides and runbooks. Memos created with ch_create_memo capture one-off findings or issues, and ch_record_decision handles decisions without procedures.

Can SOPs trigger other SOPs automatically?

Yes, SOP chaining uses the triggers and after metadata fields. Setting triggers on one SOP causes agents to auto-start the next SOP after completion, while after declares a prerequisite SOP that must run first.

How are outdated SOPs detected when code changes?

SOPs track a depends_on list of file paths. When referenced code changes, the SOP is automatically marked as stale so it can be reviewed and refreshed.

When should I use sop-writer instead of creating an SOP directly?

Use sop-writer for high-quality, research-backed SOPs. It researches the codebase via OCXP, validates every step, and produces a structured template with tool annotations, expected outputs, and troubleshooting tables.