← 返回 Skills 市场
abigale-cyber

Case Writer Hybrid

作者 Abigale-cyber · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
95
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install case-writer-hybrid
功能描述
Expand a structured brief in `content-production/inbox/` into a reusable long-form markdown article draft, then run a local writer / critic / judge quality l...
使用说明 (SKILL.md)

Case Writer Hybrid

Turn the structured brief into a stage-1 article draft, a writing pack sidecar, and a review trace that can flow into image generation and WeChat formatting.

Quick Start

Run the default command:

.venv/bin/python -m skill_runtime.cli run-skill case-writer-hybrid --input content-production/inbox/20260403-ai-content-system-brief.md

Prepare Input

Expect a markdown file with these sections:

  • 基础信息
  • 核心观点
  • 背景与语境
  • 论证方向
  • 可用案例 / 素材

Important fields inside 基础信息:

  • date
  • slug
  • topic
  • target_reader
  • publish_goal

Follow Drafting Workflow

  1. Read the brief and preserve explicit user-supplied claims, framing, and evidence.
  2. Use 论证方向 as the backbone for the major argument sections.
  3. Pull material from 可用案例 / 素材 into the matching sections instead of inventing new examples first.
  4. Build a stable first draft structure: title, 导语, 问题提出, 核心判断, 论证段, 结论, 可传播总结.
  5. Run up to 3 local rounds of writer -> critic -> humanizer-zh -> judge.
  6. If the score still fails after 3 rounds, stop and emit a quality-gate notice instead of continuing downstream.

Write Output

Write the markdown draft to:

content-production/drafts/\x3Cslug>-article.md

Also write:

content-production/drafts/\x3Cslug>-writing-pack.md
content-production/drafts/\x3Cslug>-writing-pack.json
content-production/drafts/\x3Cslug>-review-trace.json

If the draft fails the quality gate after 3 rounds, also write:

content-production/published/YYYYMMDD-\x3Cslug>-quality-gate.md

Respect Constraints

  • Treat the result as a controlled local draft loop, not a free-form creative writer
  • If the brief is sparse, preserve structure and fill gaps conservatively
  • Prefer explicit user-supplied arguments over invented framing
  • Do not continue to image generation or formatting if the quality gate fails

Read Related Files

  • Runtime entry: skill_runtime/engine.py
  • Usage guide: docs/case-writer-hybrid-execution-spec.md
  • Downstream skills: generate-image, wechat-formatter
安全使用建议
This skill appears coherent and limited to local drafting work. Before installing, verify these practical points: (1) Inspect or confirm the provenance of the skill_runtime.writing_core module and any requirements.txt used at runtime — that module does the real work and should be trusted. (2) Run the skill in a sandboxed environment (virtualenv/container) so its filesystem writes are contained. (3) Ensure briefs you place under content-production/inbox/ do not contain secrets (credentials, private keys, or sensitive PII) because the skill reads and writes those files locally. (4) If you plan to chain downstream skills (generate-image, wechat-formatter), audit those skills separately for network access or credential requests. (5) If you need higher assurance, review the rest of runtime.py (and skill_runtime.writing_core) end-to-end to confirm there are no hidden network calls or logging to external endpoints.
功能分析
Type: OpenClaw Skill Name: case-writer-hybrid Version: 1.0.0 The skill is a legitimate content production tool designed to transform structured briefs into markdown articles using a writer-critic-judge loop. The Python logic in `runtime.py` and the instructions in `SKILL.md` are strictly focused on text processing, file I/O within a designated workspace (`content-production/`), and quality control. There are no indicators of data exfiltration, unauthorized command execution, or malicious prompt injection.
能力评估
Purpose & Capability
Name/description match behavior: the skill parses brief markdown from content-production/inbox/, composes an article and writing pack, runs local quality rounds, and writes outputs under content-production/drafts (and a quality-gate path if needed). No unrelated capabilities (cloud access, external services, or unrelated system privileges) are requested.
Instruction Scope
SKILL.md and runtime instructions are narrowly scoped to reading the specified brief file, producing stage-1 drafts and sidecars, and running up to three local rounds of writer->critic->humanizer->judge. The instructions explicitly avoid downstream steps if quality fails. There are no instructions to read unrelated system files, environment variables, or to transmit data externally.
Install Mechanism
No install spec is provided (lowest-risk), but the skill includes runtime.py and depends on skill_runtime.writing_core. You should confirm how the repository is deployed and ensure required Python dependencies (e.g., skill_runtime) are from a trusted source. Overall no network download/install is embedded in the skill bundle itself.
Credentials
The skill declares no required environment variables, no credentials, and no config paths. Its filesystem access is proportional to its purpose (reading briefs and writing drafts inside content-production).
Persistence & Privilege
always is false and the skill does not request persistent or platform-wide privileges. It does not modify other skills' configs. Autonomous invocation is allowed by default but is not combined with other concerning privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install case-writer-hybrid
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /case-writer-hybrid 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of case-writer-hybrid. - Converts structured briefs into first-draft long-form markdown articles with reusable sidecar files. - Integrates a local writer/critic/humanizer/judge quality loop, with automatic quality gate enforcement after up to 3 rounds. - Outputs both the article draft and supporting sidecars for downstream image generation and WeChat formatting. - Prioritizes user-supplied arguments and materials, preserving original structure and intent. - Halts workflow and emits a notice if drafts do not pass quality thresholds.
元数据
Slug case-writer-hybrid
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Case Writer Hybrid 是什么?

Expand a structured brief in `content-production/inbox/` into a reusable long-form markdown article draft, then run a local writer / critic / judge quality l... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 95 次。

如何安装 Case Writer Hybrid?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install case-writer-hybrid」即可一键安装,无需额外配置。

Case Writer Hybrid 是免费的吗?

是的,Case Writer Hybrid 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Case Writer Hybrid 支持哪些平台?

Case Writer Hybrid 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Case Writer Hybrid?

由 Abigale-cyber(@abigale-cyber)开发并维护,当前版本 v1.0.0。

💬 留言讨论