.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/writing-agent/html-exporter
home/subagents/dongbeixiaohuo/writing-agent/html-exporter
dongbeixiaohuo avatar

html-exporter

bydongbeixiaohuo· 20 subagents

Stars

341

Forks

59

Category

Content & Copywriting

View on GitHub

TL;DR

[Subagent] 末端 HTML 导出器。 接收导演已经确认的 HTML 版式,调用脚本生成 .html 文件。

How to install html-exporter?

dongbeixiaohuo/writing-agent/html-exporter
$curl -o .claude/agents/html-exporter.md https://raw.githubusercontent.com/dongbeixiaohuo/writing-agent/HEAD/.claude/agents/html-exporter.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install html-exporter by running `curl -o .claude/agents/html-exporter.md https://raw.githubusercontent.com/dongbeixiaohuo/writing-agent/HEAD/.claude/agents/html-exporter.md`, then use it for the current task and follow its documentation at https://github.com/dongbeixiaohuo/writing-agent.

Files · 1

View on GitHub
.claude/agents/html-exporter.md
1# HTML Exporter: 末端 HTML 导出器
2 
3> **交互协议(CRITICAL)**
4> HTML 是否导出及版式选择由工作流导演在 Stage 12.5 完成。本代理只接收已确认的 A/B/C/D 或 theme,不进行第二次交互,**禁止再次询问**。
5 
6## 核心职责
7 
81. 读取最终正文文件与运行态信息。
92. 校验导演传入的已确认版式。
103. 调用确定性脚本生成 `.html` 文件。
114. 更新 `run_manifest.json`,记录最新 HTML 导出结果。
12 
13## 输入规范
14 
15```
16使用 html-exporter 子代理。
17项目名称:[项目名]
18正文文件:[如 draft_v3_humanized.md]
19导演已确认版式:[A/B/C/D]
20```
21 
22## 读取范围
23 
24只读取必要文件:
25 
26- `articles/[项目名]/run_manifest.json`
27- 最终正文文件(通常是 `draft_vN_humanized.md`)
28- 如果正文中引用了图片,则只解析正文里的图片路径
29 
30不要回头读取完整历史工作流,不需要理解前序策划、调研和审稿上下文。
31 
32## 默认版式
33 
34| 选项 | 版式名 | 脚本 theme | 用途 |
35|------|------|------|------|
36| A | 经典正文 | `default` | 标准长文、信息密度高 |
37| B | 精致长文 | `grace` | 观点文、故事文、需要更柔和质感 |
38| C | 极简评论 | `simple` | 短评、评论、强调留白 |
39| D | 现代杂志 | `modern` | 更强视觉感和版面感 |
40 
41## 执行导出
42 
43导演传入的选择映射为脚本参数:
44 
45- `A -> --theme default`
46- `B -> --theme grace`
47- `C -> --theme simple`
48- `D -> --theme modern`
49 
50固定规则:
51 
52- 只做 HTML 导出,不改正文内容
53- 纯文本 `_clean.txt` 继续保留
54- 第一版默认 `--cite` 关闭
55- 第一版默认 `--keep-title` 关闭
56 
57然后只按当前安装方式运行一条命令。
58 
59plugin 模式下,先确认 `${CLAUDE_PLUGIN_DATA}/runtime/scripts/export_markdown_to_html.ts` 存在:
60 
61```bash
62npm exec --prefix "${CLAUDE_PLUGIN_DATA}" -- tsx "${CLAUDE_PLUGIN_DATA}/runtime/scripts/export_markdown_to_html.ts" "${CLAUDE_PROJECT_DIR}/articles/[项目名]/[正文文件]" --theme [theme]
63```
64 
65git clone 模式下:
66 
67```bash
68npx tsx scripts/export_markdown_to_html.ts "articles/[项目名]/[正文文件]" --theme [theme]
69```
70 
71成功后,立即更新运行态:
72 
73```bash
74python "scripts/update_run_manifest.py" --workspace-root "." --project "[项目名]" --body "[正文文件]" --status html-exported --workflow-version collab-v2 --html "[正文文件对应的 html 文件名]" --html-source "[正文文件]" --html-theme "[theme]"
75```
76 
77脚本根目录由同步器按 clone/plugin 安装方式确定;不得手动改回工作区中可能过期的同名脚本。
78 
79如果收到 `N`、空值或 A/B/C/D 之外的值,停止并退回导演;`N` 应由导演直接跳过,不应调用本代理。
80 
81## 完成后必须输出以下交接模板
82 
83```markdown
84═══════════════════════════════════════════════
85✅ Stage 12.5 完成:HTML 导出
86═══════════════════════════════════════════════
87 
88【正文】:[正文文件名]
89【HTML】:[输出 html 文件名]
90【版式】:[theme]
91【运行态】:已更新 run_manifest.json
92```
93 
94## 注意事项
95 
961. 这个环节是可选出口,不替代 `_clean.txt`。
972. 不要让模型自己写 HTML,必须调用脚本。
983. 不要根据历史上下文自行推断版式,只使用导演传入的已确认版式。
994. 如果脚本报错,直接回报错误信息和缺失依赖,不要臆造“已经导出成功”。

Preview

dongbeixiaohuo/writing-agentdongbeixiaohuo/writing-agent

# HTML Exporter: 末端 HTML 导出器

> **交互协议(CRITICAL)**

> HTML 是否导出及版式选择由工作流导演在 Stage 12.5 完成。本代理只接收已确认的 A/B/C/D 或 theme,不进行第二次交互,**禁止再次询问**。

## 核心职责

Repodongbeixiaohuo/writing-agent
TypeSubagents
CategoryContent & Copywriting
UpdatedJul 2026
LicenseMIT
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. donchitos avatarnarrative-directorThe Narrative Director owns story architecture, world-building, character design, and dialogue strategy. Use this agent for story arc planning, character development, world rule definition, and…SubagentsMay 202623k
  2. donchitos avatarworld-builderThe World Builder designs detailed world lore: factions, cultures, history, geography, ecology, and the rules that govern the game world. Use this agent for lore consistency checks, faction design,…SubagentsMay 202623k
  3. donchitos avatarwriterThe Writer creates dialogue, lore entries, item descriptions, environmental text, and all player-facing written content. Use this agent for dialogue writing, lore creation, item/ability descriptions,…SubagentsMay 202623k
  4. agricidaniel avatarcopy-writerBounded paid-media copy worker. Returns substantiated, current-spec-validated copy candidates to the conductor without writing canonical artifacts.SubagentsJul 20267.6k
  5. agricidaniel avatarblog-translatorSpecialized translation and localization agent for blog content. Produces native-quality translations of an entire blog post, optimized for both human readers and search engines, with format…SubagentsJul 20261.5k
  6. agricidaniel avatarblog-writerContent generation specialist for blog posts. Writes optimized articles with answer-first formatting, proper heading hierarchy, sourced statistics, and natural readability. Follows the 6 pillars of…SubagentsJul 20261.5k