Home / All Skills / Content & Media Creation / skill-writer
Content & Media Creation · ricky-theseus/DaisyWriter

skill-writer

Authors, audits, and refines production-grade AI Agent Skills adhering strictly to the three-level progressive disclosure architecture, machine-verifiable constraints, and anti-sycophancy design patterns.

L5 Restricted · Isolated sandbox & strict auditV1 Commit-PinnedDual-pass Audit
💬 Chat Trial
Author ricky-theseusGitHub ricky-theseus/DaisyWriter ↗Stars 72License GPL-3.0Commit afbc34234e
Control levels describe skill capabilities and suggested control measures; they do not represent quality or safety certifications, nor do they dictate usability. Usage decisions rest entirely with users and administrators. Different agent hosts apply varying constraints; do not assume hosts provide automatic protection. Third-party skill copyrights belong to their original authors. Use at your own risk.

1How It Works & Mechanism

Three-level progressive disclosure packaging (metadata, core instructions, deep resources).

SKILL.md
Root entry point for the DaisyWriter skill collection. ## Loading Skills ```python # Load any skill by path skill("skills/webnovel/write") ```
Optimal token footprint.

Explicit machine-verifiable output contracts and deterministic execution sequences.

skills/webnovel/write/SKILL.md
python -X utf8 "${SCRIPTS_DIR}/webnovel.py" --project-root "${PROJECT_ROOT}" \ write-gate --chapter {chapter_num} --stage prewrite --format json
Zero ambiguity for models.

Anti-rationalization guardrails: blocks shortcuts, simulated test passes, and lazy mocks.

skills/webnovel/craft/SKILL.md
python -X utf8 "<skill_dir>/scripts/prose_scanner.py" "<章节正文路径>" ``` 输出 JSON 到 stdout,字段: - `avg_sentence_len`:平均句长 - `very_short_pct`:极短句占比(≤8字) - `long_pct`:长句占比(>30字) - `issues`:违规清单,每项含 `check`、`value`、`limit`、`severity` - `blocking_count`:阻断级问题数
Hardened execution safety.

YAML frontmatter compliance checking and directory structure enforcement.

skills/webnovel/deslop/SKILL.md
合并自 story-deslop(7-Gate 检测系统)+ chinese-novelist(AI 词汇黑名单、中文文学技法)+ webnovel-craft(prose_scanner.py 量化扫描)。 **核心信念:AI 味的主要问题并非语法错误,而是过度圆滑、工整、解释充分。改写目标是保留剧情功能,同时增加口语、停顿、跳跃和具体动作。**
Ecosystem interoperability.

短篇小说采用硬规则门禁结合参考文语感对比的双路盲审机制

skills/shortstory/review/SKILL.md
短中篇双路盲审。硬规则(agent 按工艺约束逐条检查)+ 软规则(对比参考文语感)。子 agent 输出合并报告。
这里在做什么:第一路按项目工艺约束对字数、段落句号数、禁用词等格式硬指标进行阻断检查;第二路读取参考书目录样本,对语感一致性、自然度、节奏等进行 10 分制盲审评分

技术博文通过 Playwright 注入 HMAC-SHA256 签名直连 CSDN API 批量上传草稿

skills/tech/csdn-upload/SKILL.md
通过 Playwright + 直连 API(X-Ca HMAC-SHA256 签名)将本地博文批量上传到 CSDN 草稿箱。三态管理:未上传 → 草稿箱 → 已发布。
这里在做什么:借助持久化 Chrome profile 提取用户会话 Cookie,使用阿里云网关风格的 X-Ca 密钥与 Nonce 计算签名,绕过脆弱的 Vue3 contenteditable 富文本编辑器,直接请求 bizapi.csdn.net/saveArticle

番茄小说发布流程利用 Playwright 与 CDP 协议实现章节草稿上传与定时发布

skills/fanqie/SKILL.md
Use this skill to publish **chapter title + body** from local Markdown files to the Fanqie writer backend via Playwright browser automation.
这里在做什么:通过连接本机 9222 端口的 Chrome CDP 会话,复用已扫码登录的番茄作家后台状态,将本地 Markdown 章节按批次或时间间隔自动填入后台表单

多渠道封面生成支持网文竖版、知乎短篇横版及技术博客横版渲染

skills/cover-maker/SKILL.md
| **网文封面** | 600×800 竖版 | `{项目}/作品信息/` | `generate_cover.js` | | **知乎短篇封面** | 750×422 横版 | `{项目}/作品信息/` | `generate_cover.js --zhihu` | | **技术博客封面** | 800×600 横版 | `博文/{系列}/` | `generate_tech_cover.js` |
这里在做什么:根据不同内容载体要求,调用 Node.js 脚本读取作品设定或技术系列元信息,结合 DASHSCOPE_API_KEY 生图及 sharp 库处理,产出指定尺寸的封面图片

2Core Capabilities

01Production-grade Agent Skill authoring and architecture
02Three-level progressive disclosure optimization
03Anti-rationalization and anti-sycophancy guardrail engineering
04Skill contract linting and verification compliance
05跨平台多规格 AI 封面自动化渲染生成
06全景榜单数据爬取与跨样本市场趋势分析
07文笔句式量化扫描与 7-Gate 去 AI 味工法

3External Dependencies

KindDependency / Endpoint
Playwright
sharp
Node.js (18+)
Python (3.8+)

4Recommended Governance & Evidence

Suggested Controls for Safe Operation
For Agent Runtime
Can be auto-loaded
For Administrators
Register source and version
Audit Notes: Pure methodology specification for skill authoring; zero executable code or host permissions.

5Second-Pass Verification

  • [ok] CSDN 上传模块是否存在逆向私有 API 与硬编码网关密钥 — 经核实,skills/tech/csdn-upload/SKILL.md 明确列出 X-Ca-Key 203803574 与 X-Ca-Secret 9znpamsyl2c7cdrr9sas0le9vbc3r6ba,并在浏览器 evaluate 中注入 HMAC-SHA256 签名直接请求 bizapi.csdn.net/saveArticle,证据确凿。
  • [ok] prose_scanner.py 量化门禁脚本的存在性与调用参数 — 在 skills/webnovel/craft/SKILL.md、skills/webnovel/write/SKILL.md 以及 deslop 中均明确记录了 python -X utf8 形式调用 prose_scanner.py 并输出包含 avg_sentence_len、issues 和 blocking_count 等字段的 JSON 规范。
  • [ok] 番茄小说发布模块对远程调试 CDP 的依赖 — skills/fanqie/SKILL.md 显式要求 Chrome 开启 --remote-debugging-port=9222,并通过 login_fanqie.js 与 publish_fanqie.js 以 --cdp http://127.0.0.1:9222 接入会话。
  • [ok] 短篇双路盲审中 config.json 的存在性声称与实际情况 — skills/shortstory/review/SKILL.md 明确指出:'不读 config.json,项目里没有这个文件',审前仅读取工艺约束.md 与章节规划.md,规则设计完全自洽。
  • [ok] 封面生成器的 API Key 配置与依赖库 — skills/cover-maker/SKILL.md 确认读取 DASHSCOPE_API_KEY,且依赖 node >= 18 与本地 sharp 图像处理库。
  • [ok] 网文写章的三阶段 write-gate 门禁机制 — skills/webnovel/write/SKILL.md 详述了 prewrite、precommit、postcommit 三道门禁脚本调用,必须全部通过才能判定章节 committed。

6Verdict & Scenarios

  • Enforces industrial engineering discipline on skill authoring, preventing context bloat and hallucination
  • Embeds uncompromised anti-rationalization tables to stop models from cutting corners
  • Ensures seamless portability across Claude Code, Gemini CLI, Cursor, and Codex
  • Best for: Essential for AI engineers, prompt architects, and platform teams developing reusable agent skills for enterprise ecosystems.
    Not for: Not for generating loose, conversational human chatbot prompts.
    💬 Online Trial Chat Sandbox

    Preview this skill in an interactive chat playground. Generic LLM evaluation trial.

    💬 Open Chat Trial (Preview)
    Under construction · Generic sandbox trial
    Install Agent-Ready
    ① Accelerated Distribution dl.bestaiskill.com
    Option A · Direct Zip Download⚡ Download skill-writer (Zip)
    Edge-accelerated mirror via dl.bestaiskill.com
    Option B · Copy Guide for Agent
    install.json
    Agents automatically download and verify mirrors from this JSON guide.
    ② Upstream GitHub
    GitHub Repo ↗
    Pinned to commit afbc34234e.