# Sop Generator

> Generate professional Standard Operating Procedures (SOPs) from meeting transcripts.

- Skill: `suryaa-ks/sop-generator` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add suryaa-ks/sop-generator`
- Raw SKILL.md: https://api.skillmd.com/api/skills/suryaa-ks/sop-generator/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: Suryaa-KS (https://skillmd.com/u/suryaa-ks)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/suryaa-ks/sop-generator

---


# SOP Generator Skill

## Goal
Convert an unstructured transcript into a professional SOP.

## Workflow
1. Read the transcript file provided by the user.
2. Clean it: `python scripts/preprocess.py <transcript-file>`.
3. Extract objective, prerequisites, ordered actions, and expected result, following
   references/extraction-rules.md.
4. Fill in references/sop-template.md, following references/writing-guidelines.md.
5. Output the finished SOP as Markdown in the chat response.
6. If the user asks for a DOCX, save the Markdown SOP to a file (e.g. `SOP.md`) and
   run: `python scripts/export_docx.py SOP.md Generated_SOP.docx`.

## Rules
- Never include speaker names.
- Never include timestamps.
- Never invent information not present in the transcript.
- Use numbered steps in the Procedure section.
- Use Markdown output, matching the section order in references/sop-template.md
  exactly, so output is consistent across runs and machines.

## Test
Run this skill against each pair below and compare the result to the matching
expected output. Structure and step order should match; exact wording may vary
slightly between runs.
- assets/sample-transcript.txt → assets/expected-output.md (linear deployment SOP)
- assets/sample-transcript-support.txt → assets/expected-output-support.md
  (two-party troubleshooting SOP with a conditional escalation path)

