Get the FREE Ultimate OpenClaw Setup Guide →
I

Write

@ivangdavila

npx machina-cli add skill @ivangdavila/write --openclaw
Files (1)
SKILL.md
1.8 KB

Setup

On first use, create workspace:

./scripts/init-workspace.sh ~/writing

Workflow

Request → Plan → Draft → Audit → Refine → Deliver

Rules:

  • Delegate all writing to sub-agents — main stays free
  • NEVER edit files directly — use ./scripts/edit.sh (enforces versioning)
  • Run quality audit before delivering anything long (see audit.md)
  • Offer cleanup only after user confirms piece is final

Configuration

Set in config.json:

  • depth: "quick" | "standard" | "thorough" — controls research and revision passes
  • auto_audit: true/false — run audits automatically after drafts

Scripts (Enforced)

ScriptPurpose
init-workspace.shCreate project structure
new-piece.shStart new writing piece with ID
edit.shEdit with automatic version backup
audit.shRun quality audit, generate report
list.shShow all pieces and versions
restore.shRestore previous version
cleanup.shRemove old versions (with confirmation)

References: brief.md for planning, execution.md for drafting, verification.md for quality checks, state.md for tracking, research.md for investigation, versioning.md for version rules, audit.md for dimensions, criteria.md for preferences. Scripts in scripts/: scripts/init-workspace.sh, scripts/new-piece.sh, scripts/edit.sh, scripts/audit.sh, scripts/list.sh, scripts/restore.sh, scripts/cleanup.sh.


Preferences

<!-- User's writing preferences -->

Never

<!-- Things that don't work for this user -->

Empty sections = observe and fill.

Source

git clone https://clawhub.ai/ivangdavila/writeView on GitHub

Overview

Write enables plan, draft, versioning, and refinement of content with enforced version backups and audit checks. It follows a structured flow: Request → Plan → Draft → Audit → Refine → Deliver, and delegates actual writing to sub-agents while enforcing version control through scripts. References to planning, drafting, verification, and versioning docs guide its process.

How This Skill Works

Initialize a workspace with init-workspace.sh, start a piece with new-piece.sh, and edit only through edit.sh to create automatic version backups. Audits are performed with audit.sh, and can be triggered automatically after drafts if auto_audit is enabled; never edit files directly, and cleanup only after the piece is finalized.

When to Use It

  • Starting a new writing piece that requires strict version history and audits
  • Collaborating with sub-writers on a multi-section article
  • Preparing a long-form document that must be audited before publication
  • Restoring a previous version during a rewrite or after feedback
  • Delivering a final piece only after a comprehensive quality audit

Quick Start

  1. Step 1: Initialize workspace with ./scripts/init-workspace.sh ~/writing
  2. Step 2: Start a new piece with ./scripts/new-piece.sh <ID>
  3. Step 3: Edit with ./scripts/edit.sh and run audits via ./scripts/audit.sh, then deliver

Best Practices

  • Always use edit.sh for changes to enforce version backups
  • Run audit.sh on long drafts or enable auto_audit for automatic checks
  • Break work into pieces with new-piece.sh to manage versions
  • Avoid direct file edits; rely on the workflow and versioning rules
  • Configure depth and auto_audit in config.json to match project needs

Example Use Cases

  • Drafting a product whitepaper with incremental revisions and audits
  • Writing a technical article with section level drafting by sub-agents
  • Publishing a blog series where each post is versioned and audited
  • Creating a long-form report and restoring a prior version after feedback
  • Coordinating with teammates to deliver a polished piece after final audit

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers