stage6-alf-document-export

Split rules_draft.md into rule files and expand rag_items.md into standalone RAG documents.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/channel-io/sop-agent --skill stage6-alf-document-export
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stage6-alf-document-export
Source: https://github.com/channel-io/sop-agent/tree/main/.claude/skills/stage6-alf-document-export
Command: npx skills add https://github.com/channel-io/sop-agent --skill stage6-alf-document-export

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This step converts the monolithic outputs from Stage 5 (rules_draft.md and rag_items.md) into granular, directly usable files that can be registered in the ALF system.

Core Features & Use Cases

  • Split rules_draft.md into individual rule files under results/{company}/05_sales_report/alf_setup/rules/ (01_tone_manner.md, 02_empathy_rules.md, ...).
  • Expand rag_items.md into standalone RAG knowledge documents under results/{company}/06_rag_documents/ for ALF registration.
  • Use-case: produce self-contained SOP and RAG documents for each topic to enable plug-and-play ALF onboarding.

Quick Start

Run the stage6 export to split rules_draft.md into per-rule files and convert rag_items.md into standalone RAG documents ready for ALF registration.

Frequently Asked Questions about stage6-alf-document-export

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

FAQPage Schema
How do I split a rules markdown draft into individual files for ALF registration?

Splitting a rules markdown draft into individual files involves dividing rules_draft.md into separate self-contained Markdown documents, such as tone or empathy rules, preserving exact content and numbering for direct ALF onboarding.

How do I convert rag_items.md into standalone RAG knowledge documents?

Converting rag_items.md into standalone RAG knowledge documents expands each RAG topic into a self-contained Markdown file under the 06_rag_documents directory, enabling plug-and-play registration for the ALF system.

What is the best way to prepare Stage 5 SOP and FAQ outputs for ALF onboarding?

Preparing Stage 5 SOP and FAQ outputs for ALF onboarding requires splitting monolithic drafts into granular, directly usable Markdown files that preserve exact content and numbering, ensuring seamless system registration.

Does the document export process preserve the original numbering from the source SOP and FAQ data?

Yes, the document export process preserves exact content and numbering from the source SOP and FAQ data when generating self-contained Markdown documents for each rule and RAG topic.

Where should I save individual rule files and RAG documents when preparing for ALF registration?

Individual rule files should be saved under results/{company}/05_sales_report/alf_setup/rules/, while standalone RAG knowledge documents are output to results/{company}/06_rag_documents/ for direct ALF onboarding.

Can I use this rule-splitting approach if my markdown draft contains mixed SOP and RAG topics?

Yes, this approach handles mixed content by specifically separating rule definitions into per-rule files and expanding RAG topics into standalone knowledge documents, ensuring each file type is correctly structured for ALF.