← Back to Skills Marketplace
abigale-cyber

Case Writer Hybrid

by Abigale-cyber · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
95
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install case-writer-hybrid
Description
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...
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install case-writer-hybrid
  3. After installation, invoke the skill by name or use /case-writer-hybrid
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug case-writer-hybrid
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 95 downloads so far.

How do I install Case Writer Hybrid?

Run "/install case-writer-hybrid" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Case Writer Hybrid free?

Yes, Case Writer Hybrid is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Case Writer Hybrid support?

Case Writer Hybrid is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Case Writer Hybrid?

It is built and maintained by Abigale-cyber (@abigale-cyber); the current version is v1.0.0.

💬 Comments