Token导航 LogoToken导航TokenDH.com
效率只读clawhub未标认证来源可访问clear审计通过

doccraftdoccraft 文档

Agent Skill

doccraft 用于整理文档、README、Markdown 和说明材料,适合在 OpenClaw 中需要把零散信息整理成结构清晰的文档时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

10,432

周安装

422

GitHub Stars

公开资料未说明

下载量

3,275
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:doccraft(doccraft 文档)
来源仓库:https://github.com/bloom-u/doccraft
安装命令:
openclaw skills install doccraft
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install doccraft

简介

基于现有材料创建专业文档,支持编辑、审查和最终输出。

  • 适合项目手册、API 指南等结构化写作任务。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。
  • 通过 clawhub 安装后在 OpenClaw 中调用生成 .d 格式文档。
  • 依赖输入素材完整性,空大纲可能导致内容空洞。
  • doccraft 属于效率类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
doccraft
description
Create complete, source-grounded professional documents from existing materials, outlines, or templates, then generate, edit, review, or redline the final .docx files. Use when Codex needs to turn PDFs, DOCX, TXT, Markdown, or mixed project sources into proposals, technical方案, implementation plans, construction schemes, reports,申报材料, and other formal long-form deliverables with structured drafting, Word formatting, and review-ready document workflows.

DocCraft

Overview

Use this skill in two layers:

  1. Build grounded text from source materials and a target framework.
  2. If needed, create or revise the final .docx deliverable.

Keep Markdown or plain text as the working source of truth until the wording and structure are stable. Move into DOCX creation, formatting, tracked changes, or comments only after the content is sufficiently mature.

This skill vendors the DOCX capability locally. Do not assume a separate $docx skill is installed.

Some upload targets reject bundled OOXML schema files such as .xsd. When preparing a publishable package, use the packaged upload-safe variant from this skill. That variant keeps document generation and editing workflows, but omits the strict schema-validation bundle.

When the final deliverable is a Word document, always determine the format authority before finalization:

  1. User-provided template or existing target document.
  2. Explicit written formatting requirements from the user.
  3. An accepted sample deliverable in the same domain.
  4. The default format profile in this skill.

Workflow Decision Tree

A. Build a new document from existing materials

Use the source-grounded text workflow:

  1. Normalize the task inputs.
  2. Build a source manifest.
  3. Create section briefs from the target outline.
  4. Draft section files.
  5. Run document-level consistency review.
  6. Assemble the final Markdown or text output.

B. Read, create, or edit a Word document

Use the DOCX workflows in this skill:

  1. Read existing .docx content with pandoc when text extraction is enough.
  2. Create a new .docx from scratch only after fully reading docx-js.md.
  3. Edit or redline existing .docx files only after fully reading ooxml.md.
  4. Default to tracked changes or comments for government, legal, academic, commercial, or third-party documents.

C. Do both

Split the work into phases:

  1. Draft and stabilize text first.
  2. Freeze the source-backed wording.
  3. Move into .docx generation or .docx editing.

Do not mix heavy content generation and low-level OOXML editing in the same pass unless the task is trivial.

Source-Grounded Text Workflow

1. Normalize the inputs

Confirm these four inputs before drafting:

  • Source corpus: directories and files that contain the facts.
  • Target structure: required outline, template, or chapter list.
  • Writing rules: tone, exclusions, terminology, formatting, review constraints.
  • Output contract: section files, merged Markdown, DOCX, review memo, or tracked-change file.

If any input is missing, infer the minimum safe default and state the assumption in the working notes, not in the final deliverable.

If the output contract includes .docx, also determine the format authority early. Read references/word-format-profile.md and use scripts/init_format_profile.py when a format profile needs to be captured or confirmed.

If the task is to produce a formal, complete Word deliverable, capture a delivery brief before drafting. Read references/word-delivery-brief.md and use scripts/init_delivery_brief.py to record what the user must specify and what still needs confirmation.

2. Build a source manifest

Before writing, create a manifest of the available materials. Read references/source-manifest.md when the corpus has more than a few files.

Use scripts/build_manifest.py to generate a first-pass inventory. Then enrich or trim it manually as needed.

The manifest should separate:

  • Authoritative source files.
  • Derivative files such as extracted text, drafts, or previous outputs.
  • Template or outline files.
  • Files that are only useful for lookup, not for quoting.

3. Create section briefs

Do not draft directly from a large corpus into the final chapters. First create a section brief for each target section.

Read references/section-briefs.md when building the planning layer. Use scripts/plan_sections.py to bootstrap the outline into brief stubs.

Each section brief should contain at least:

  • Section id and title.
  • Purpose of the section.
  • Must-cover points.
  • Allowed generic material.
  • Primary and secondary sources.
  • Expected figures, tables, and checklists.
  • Exclusions and collision boundaries with nearby sections.
  • Open questions or unresolved source gaps.

For large projects, section briefs are the shared contract between multiple agents.

4. Draft sections

Read references/drafting-rules.md before drafting.

Draft against the section brief, not against the whole corpus. This keeps the writing grounded and reduces repetition.

Rules:

  • Keep verifiable facts tied to source material.
  • Allow generic boilerplate only for management, quality, safety, process, or industry-standard measures that do not conflict with the source corpus.
  • Prefer concrete implementation language over slogan-style abstractions.
  • Integrate figures and tables into nearby prose. Do not create headings that only say "figure" or "table".
  • If the final deliverable must not show source notes, keep any evidence notes in working files only.

5. Run consistency review

Read references/consistency-review.md before merging the full document.

Run a full-pass review for:

  • Terminology consistency.
  • Number, quantity, scope, and interface consistency.
  • Duplicate or contradictory paragraphs.
  • Section boundary collisions.
  • Heading numbering and naming consistency.
  • Hidden source labels that should not appear in final copy.

6. Assemble the output

Use scripts/assemble_markdown.py to merge ordered chapter files into a single Markdown draft when needed.

Keep a clear distinction between:

  • Working drafts with evidence or TODO notes.
  • Clean deliverables prepared for DOCX conversion.

Default Execution Pattern

Single-agent mode

Default to a single agent when:

  • The outline is short.
  • The source corpus is small.
  • Cross-section dependencies are high.
  • The user mainly wants a coherent draft, not parallel throughput.

Multi-agent mode

Use multiple agents only when:

  • The source corpus is large.
  • Sections are sufficiently independent.
  • A shared glossary, writing rules, and section-brief set can be produced first.

In multi-agent mode, create these shared artifacts before splitting work:

  1. Source manifest.
  2. Section brief pack.
  3. Glossary or terminology list if naming is fragile.
  4. Shared writing rules.

Do not let agents improvise different naming systems, evidence rules, or section boundaries.

DOCX Workflows

Read or analyze .docx

If only the text is needed, convert the file with:

pandoc --track-changes=all path-to-file.docx -o output.md

If structure, comments, media, or tracked changes matter, unpack the OOXML package and inspect the XML.

Create a new .docx

Before writing any code, fully read docx-js.md without truncation.

Use the bundled docx JavaScript workflow when:

  • Creating a new Word document from stable text.
  • Rebuilding a formatted deliverable from Markdown or structured content.
  • Generating tables, headings, page settings, headers, or footers programmatically.

Before final DOCX generation, lock the format profile. If no authoritative template exists, use the default profile in references/word-format-profile.md.

Before final DOCX generation, also resolve the delivery brief items that affect document completeness, review mode, and output packaging.

Before final DOCX generation, run scripts/resolve_word_job.py or follow references/word-assembly-plan.md to determine whether the Word job is actually ready for delivery, which package components will be generated, and which blockers remain.

When the job is ready, generate the file with scripts/generate_docx_from_markdown.cjs. Feed it the merged Markdown body, the delivery brief JSON, and the format profile JSON.

Edit an existing .docx

Before editing, fully read ooxml.md without truncation.

Use the bundled OOXML workflow when:

  • Editing an existing Word file.
  • Preserving existing formatting.
  • Adding comments.
  • Inserting tracked changes.
  • Performing safe structural edits in a professional document.

Redline and review mode

Default to tracked changes or comments when editing:

  • Government documents.
  • Legal, commercial, or academic documents.
  • Another author's file.
  • Any document where reviewability matters as much as correctness.

Use the bundled local resources in this skill:

If the upload-safe package excluded the OOXML .xsd schema set, treat strict schema validation as unavailable and continue with unpack, edit, and repack workflows only.

Format confirmation rule

Do not ask the user to confirm formatting too early if the task is still in the text-drafting phase. Draft the content first unless formatting decisions would change the structure materially.

Ask the user to confirm the format before final Word delivery when any of these are true:

  • The document is an external or formal deliverable.
  • No authoritative template or accepted sample document exists.
  • The user gave conflicting formatting signals.
  • The output must match an institutional standard closely.

Do not ask for confirmation when:

  • The user already provided a template or a target .docx to match.
  • The task is still a Markdown or text-only draft.
  • The user explicitly accepts the skill default.

When confirmation is needed, present the resolved format profile, not an open-ended question. Default to the profile in references/word-format-profile.md if the user does not override it.

Delivery-brief rule

For a complete Word deliverable, separate user inputs into two buckets.

The user must specify these before drafting:

  • Document title
  • Source corpus or authoritative source set
  • Target outline, template, or existing document to match
  • Document purpose and intended audience
  • Output mode: new document, rewrite, or edit existing .docx

The user must confirm these before final Word delivery:

  • Delivery stage is final, not just draft
  • Completeness scope such as cover, table of contents, appendices, glossary, lists, and attachments
  • Review mode: clean copy, tracked changes, or comments
  • Format profile or template choice
  • File naming or versioning if the delivery package is formal
  • Whether working notes, source markers, or traceability hints must be removed from the final copy

If these items are unclear, proceed with text drafting only when safe defaults will not invalidate the content. Do not finalize the Word deliverable until the unresolved delivery-brief items are closed.

Word assembly rule

Treat final Word generation as a gated assembly step, not just a file export.

Before assembly, resolve:

  • readiness for draft or final stage
  • required package components such as cover, table of contents, appendices, glossary, lists, and attachment manifest
  • review artifact mode such as clean copy, tracked changes, or comments
  • cleanup behavior for working notes and source traces

If the job is not ready, stop at Markdown or internal DOCX draft output and surface the blockers explicitly.

Resource Map

Non-Negotiable Rules

  • Do not invent facts that should come from the source corpus.
  • Do not treat draft text as a primary source when an authoritative source exists.
  • Do not move to OOXML-level editing before the content is stable unless the task is purely editorial.
  • Do not assume a separate DOCX skill is available. Use the bundled resources in this skill.
  • Do not finalize Word output without resolving the format authority.
  • Do not finalize a formal Word deliverable without resolving the delivery brief.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

87.46%
按下载量换算2,864

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills