skill-gen-4-enterprise-doc

Generates installable agent skills from SOP documents, URLs, or stated intent.

Updated Aug 31, 2026
One-click install
npx skills add https://github.com/DreamMacer/jiuwenswarm --skill skill-gen-4-enterprise-doc-dreammacer
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: skill-gen-4-enterprise-doc
Source: https://github.com/DreamMacer/jiuwenswarm/tree/main/resources/agent/workspace/skills/skill-gen-4-enterprise-doc
Command: npx skills add https://github.com/DreamMacer/jiuwenswarm --skill skill-gen-4-enterprise-doc-dreammacer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires httpx, beautifulsoup4, and includes scripts (resource) and references (resource) components.

What problem does it solve? Turning enterprise SOPs, policy documents, or informal workflow descriptions into reusable agent skills normally requires manual prompt engineering and packaging. This Skill automates the full pipeline: ingesting source material, extracting a structured SOP representation, drafting a standards-compliant SKILL.md package, and installing it into the runtime skills directory in the same session. ## Core Features & Use Cases - Multi-source SOP ingestion: Extract plain text from local files, fetch HTTP(S) or WeChat pages via CLI, or accept pasted text, then run structured LLM extraction into a full SOPStructure (steps, roles, knowledge items, decision points, exceptions, references). - Intent-only fallback with recovery: When no document is available, run a single recovery offer, then build a surrogate SOPStructure via build_intent_fallback_sop with optional LLM enrichment, including an intent-sop-snapshot audit file. - Draft and install in one workflow: Author the new skill under skills-draft/<skill_name> following the generator-worker-spec checklist, then promote it with skills.import_local so it is immediately loadable. - Use Case: A user provides a URL to an expense-approval SOP; the Skill fetches the page, extracts the structured procedure, drafts an executable expense-approval skill with explicit inputs and deliverables, and installs it for immediate use. ## Quick Start Generate and install a new skill from the SOP document at the absolute path I provide, or from this URL.

Frequently Asked Questions about skill-gen-4-enterprise-doc

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

FAQPage Schema
How do I turn an SOP document into an agent skill?▼

Provide the SOP as a local file path, URL, or pasted text. The Skill extracts plain text, runs structured LLM extraction into an SOPStructure, drafts a SKILL.md package under skills-draft/<skill_name>, and installs it with skills.import_local in the same session.

How to generate a skill when I have no SOP document?▼

After one recovery attempt offering a corrected path, URL, or paste, the Skill builds an intent-only fallback SOPStructure via build_intent_fallback_sop, optionally refined by an LLM. The generated skill includes an intent-sop-snapshot.md file marking the content as provisional.

What file formats does the SOP text extraction support?▼

Markdown and plain text files work out of the box. Binary office documents and PDFs require the openjiuwen AutoFileParser dependency; URL fetching for HTTP(S) and WeChat pages requires httpx and beautifulsoup4.

Can the generated skill be used immediately after creation?▼

Yes. The workflow ends by calling skills.import_local with the absolute draft directory path, which copies the package into the runtime skills directory and refreshes indexes, making the new skill loadable without a manual import step.

What happens if the SOP file path is wrong or the fetch fails?▼

The Skill sends exactly one recovery message offering a corrected absolute path, pasted text, or a URL, and waits for the user. Only after recovery completes without usable material does it proceed to the intent-only fallback path.