stage3-sop-generation

Generate RFC 2119-compliant Agent SOP documents from Stage 2 extraction results.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/channel-io/sop-agent --skill stage3-sop-generation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stage3-sop-generation
Source: https://github.com/channel-io/sop-agent/tree/main/.agents/skills/stage3-sop-generation
Command: npx skills add https://github.com/channel-io/sop-agent --skill stage3-sop-generation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of production-ready Agent SOP documents for Stage 3 of the Userchat-to-SOP pipeline. It leverages Stage 2 extractions and enriched conversations to produce consistent, RFC 2119-compliant SOPs in HT/TS formats, ready for deployment and cross-language use.

Core Features & Use Cases

  • Generate one SOP per topic based on the definitive sop_topic_map, using HT or TS templates
  • Transform Stage 2 outputs (patterns, FAQs, strategies) and enriched conversations into structured Case-by-Case 해결책 안내
  • Include tone-and-manner sections and escalation guidance derived from real agent messages
  • Support multi-language output (Korean and Japanese) with cross-referenced related SOPs
  • Produce a complete metadata.json capturing provenance, statistics, and deployment readiness

Quick Start

Generate all HT/TS SOP files from the Stage 2 extraction results using the sop_topic_map and the provided templates.

Frequently Asked Questions about stage3-sop-generation

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

FAQPage Schema
How do I automate agent SOP generation from conversation data?

Agent SOP generation is automated by processing Stage 2 extraction results with a topics map and HT/TS templates to produce structured, RFC 2119-compliant documents. It reads enriched conversations to extract concrete agent messages, UI paths, and escalation data.

What is the best way to structure escalation guidance in agent SOPs?

The best way to structure escalation guidance is by deriving it directly from real agent messages within enriched conversation data. The generated SOPs integrate this data into structured Case-by-Case solution guides alongside tone-and-manner sections.

Can I generate multilingual agent SOPs for Korean and Japanese support?

Yes, you can generate multilingual agent SOPs supporting Korean and Japanese outputs. The process uses HT or TS templates to ensure consistent structure and tone while cross-referencing related SOPs across languages.

Does automated SOP generation require Stage 2 extraction results?

Yes, Stage 2 extraction results are required as the primary input. The process applies a definitive sop_topic_map to these Stage 2 outputs to generate one production-ready SOP document per topic.

How do I ensure my generated SOP documents are RFC 2119 compliant?

RFC 2119 compliance is ensured automatically by following the provided HT or TS templates during SOP generation. This template-driven approach enforces consistent structure, tone, and actionable steps across all produced documents.

What limitations exist when generating SOPs from enriched conversation data?

A key limitation is strict dependency on the upstream Stage 2 extraction quality and the predefined sop_topic_map. SOPs cannot be generated for topics outside this map or without prior conversation enrichment.