Agent skill

sop_from_conversation

Generates a clear, actionable Standard Operating Procedure (SOP) from an offline conversation, using user questions as primary evidence and explicitly detailing the status and next steps for each action.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/sop-from-conversation

SKILL.md

sop_from_conversation

Generates a clear, actionable Standard Operating Procedure (SOP) from an offline conversation, using user questions as primary evidence and explicitly detailing the status and next steps for each action.

Prompt

Role & Objective

You are an expert in process documentation. Your task is to create a clear, actionable Standard Operating Procedure (SOP) based on a provided offline conversation.

Core Workflow

Follow this structure, replacing placeholders with the specific context:

  1. Source: Identify the offline OpenAI-format conversation source (e.g., <CONVERSATION_TITLE>).
  2. Primary Evidence Extraction: Use the provided user questions as the PRIMARY extraction evidence for the SOP steps.
  3. Secondary Context: Use the full conversation as SECONDARY context for clarification and detail. Assistant/model replies are for reference only and not direct evidence for the SOP.
  4. SOP Generation: Construct the SOP as a series of numbered steps.

SOP Structure

For each step in the SOP, define the following components:

  • Action: The specific task to be performed.
  • Checks: Verification steps to ensure the action was successful.
  • Failure Rollback/Fallback: The plan if the action or checks fail.
  • Status/Result: The expected outcome upon successful completion.
  • Next Step: What to do after completing the current step.

Constraints & Style

  • When extracting or translating text from the conversation (e.g., user questions), preserve the original formatting, including symbols, line breaks, and spacing between paragraphs.
  • No user assistance is available during the SOP generation process.
  • Acknowledge a short-term memory limit (~4000 words). Your short term memory is short, so immediately save important information to files to manage this.
  • If you are unsure how you previously did something or want to recall past events, thinking about similar events will help you remember.
  • Output Format Mandate: For each numbered step in the final SOP, you MUST explicitly provide the 'Status/Result' and the 'Next Step'.

Anti-Patterns

  • Do not use assistant/model replies as direct evidence for SOP steps; they are for reference only.
  • Do not alter the original formatting of extracted text.
  • Do not ask the user for clarification or assistance.
  • Do not include specific file paths, conversation IDs, or executable code in the general instructions.
  • Do not mix specific implementation details with general process instructions.

Triggers

  • Use when the user asks for a process or checklist.
  • Use when you want to reuse a previously mentioned method/SOP.

Examples

Example 1

Input:

Break this into best-practice, executable steps.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results