End-to-End Overview
The skill is effectively a production pipeline. It takes a user request and turns it into a published, indexed, and navigable guide artifact.
- Request intake: parse what the user wants, who it is for, and where it should publish.
- Framing: define target outcome, audience level, assumptions, and one preferred execution path.
- Research: gather only needed facts (prereqs, exact steps, expected outputs, failure modes).
- Composition: structure content in a predictable sequence that is skimmable and action-oriented.
- HTML conversion: apply template + metadata + section structure for standalone rendering.
- Organization: set category/subcategory/slug/path + optional related-guide links.
- Publishing: update index, upload guide and index to sandbox FTP, verify links.
How Requests Are Received
Input is a natural-language request (usually from the main agent/user) that asks for a guide to be created and published.
Signal extraction from request
- Topic + desired end result
- Audience (beginner/intermediate/advanced)
- Output format (standalone HTML expected)
- Publishing target (sandbox site path)
- Index update requirement
If request is ambiguous
- Infer a single primary path (avoid multiple branching workflows)
- Default to explicit prerequisites and exact paths
- Prefer clarity over cleverness
In this case, the request is itself “meta”: explain this skill’s own internal workflow in detail.
How the Skill Frames the Guide
Before writing anything substantial, the skill fixes four anchors:
- Outcome: what the reader can do after reading.
- Audience level: how much prior context is assumed.
- Environment assumptions: versions, tools, filesystem paths, account access.
- One recommended path: the default route, with alternatives only if necessary.
| Frame Element | Example in this meta-guide |
|---|---|
| Outcome | Understand request-to-publish lifecycle of the skill |
| Audience | Alan (maintainer/editor), intermediate technical comfort |
| Assumptions | OpenClaw workspace access, skill files present, ftp upload script usable |
| Preferred path | Single pipeline: draft → metadata → index update → upload → verify |
Research Layer: Tools, Priorities, What Gets Saved
The skill does targeted research, not broad internet scraping. Priority order is:
- Local skill files first (source of truth):
SKILL.md, template HTML, helper scripts. - Companion skill files when needed (for publish mechanics).
- Web search only when external tool/version facts are required.
What is extracted during research
- Required sections and sequence rules
- Metadata schema + required keys
- Index update command and duplicate behavior
- Publish command and destination path pattern
- Verification expectations
How Composition/Structure Decisions Are Made
The skill defaults to a stable narrative shape so readers can scan quickly:
- Title (with
MM/DD/YYdate in title text) - Outcome summary
- Prerequisites
- Required tools/files
- Step-by-step process
- Validation checks
- Troubleshooting
- Sources
For a meta-guide like this one, the same logic is preserved, but section names are tuned to explain internals (intake, framing, research, organization, publish).
Style rules enforced
- Short paragraphs
- Numbered actions
- Bulleted checklists
monospacefor exact names/paths/commands
Style rules avoided
- Long intro essays
- Vague words (“just”, “obviously”)
- Mixing required vs optional steps
- Unranked alternatives
How the Skill Turns Content into HTML
The skill starts from assets/guide-template.html unless a different style is requested. The final guide must be standalone (no build pipeline dependency).
HTML assembly pattern
- Set document
<title>with dated guide title. - Inject
<script type="application/json" class="guide-metadata">block in<head>. - Render hero + concise lede.
- Build navigable sections with stable anchors.
- Add callouts for tips/warnings/success checks.
- Include Sources and Related Guides sections.
Required metadata keys
title, description, category, subcategory, tags, difficulty, status, featured, lastUpdated, slug.
{
"title": "How the guide-research-html-publish Skill Works (03/27/26)",
"category": "Operations & Process",
"subcategory": "Administrative Workflows",
"slug": "guide-research-html-publish-skill-workflow",
"status": "published",
"lastUpdated": "2026-03-27"
}
Organization: Categories, Slugs, Paths, Related Guides
After content exists, the skill runs the organizational layer.
- Determine primary user outcome
- Assign category + subcategory
- Generate clean slug (lowercase, hyphenated)
- Place file in guide path structure
- Add related-guide links where genuinely relevant
Decision in this guide: categorized as Operations & Process / Administrative Workflows because the main value is process execution, not AI model behavior.
/public/guides/{category}/{subcategory}/{slug}.html, but flat /public/guides/*.html links remain common in the current index. Use whichever matches the active publishing convention for the site.Publishing: Index Update + ftp-publish-sandbox
Publishing is a two-file release: (1) new guide HTML, (2) updated guides index HTML.
Step A: update local guides index
python3 /Users/alanwheat/.openclaw/workspace/skills/guide-research-html-publish/scripts/update_guides_index.py \ --index /Users/alanwheat/.openclaw/workspace/docs/_ftp_guides_index.html \ --title "How the guide-research-html-publish Skill Works (03/27/26)" \ --href "/public/guides/guide-research-html-publish-skill-workflow-2026-03-27.html"
The helper script prevents duplicate href entries.
Step B: upload guide + index via FTP publish skill
/Users/alanwheat/.openclaw/workspace/skills/ftp-publish-sandbox/scripts/upload.sh \ /Users/alanwheat/.openclaw/workspace/docs/public/guides/guide-research-html-publish-skill-workflow-2026-03-27.html \ guides/guide-research-html-publish-skill-workflow-2026-03-27.html /Users/alanwheat/.openclaw/workspace/skills/ftp-publish-sandbox/scripts/upload.sh \ /Users/alanwheat/.openclaw/workspace/docs/_ftp_guides_index.html \ guides/index.html
Step C: verify
- Upload command exits successfully
- Local index contains the new href
- Public URLs load:
https://awheatsandbox.com/public/guides/guide-research-html-publish-skill-workflow-2026-03-27.htmlhttps://awheatsandbox.com/public/guides/index.html
Practical Maintainer Checklist (Alan Edition)
- Read skill
SKILL.md+ template + index-update script. - Define outcome/audience/assumptions in 4 bullets.
- Draft guide with one recommended path.
- Add metadata JSON in head with complete required fields.
- Set title with date in
MM/DD/YY. - Save under
docs/public/guides/using slugged filename. - Run index update script with canonical published href.
- Upload guide and
_ftp_guides_index.htmlvia ftp publish script. - Open both live URLs and spot-check navigation + formatting.