文档格式刷

v1.0.0

文档格式刷 skill。当用户需要将某个文档的格式调整成与另一个模板文档完全一致时使用,支持任意格式文档(Word、Markdown、纯文本)的格式整理。包括字体、字号、对齐方式、首行缩进、行距、段前段后间距、页边距等。更支持智能识别标题层级(标题、一级标题、二级标题、正文),应用不同格式。支持内置公文格式(GB...

0· 124·1 current·1 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description describe extracting and applying document formatting; the included scripts (extract_format.py, apply_format.py, apply_multi_format.py, format_bridge.py) implement exactly that functionality and do not request unrelated credentials or binaries.
Instruction Scope
SKILL.md instructs running the included Python scripts on user-supplied files and describes expected CLI arguments and outputs. The instructions operate on local files only and do not direct the agent to read unrelated system files, environment variables, or to transmit data to external endpoints. The SKILL.md does include a Windows path to the skill folder (likely a build-time artifact), which is informational but not action-oriented.
Install Mechanism
There is no install spec (no downloads or package installs). The scripts import python-docx (and standard libs). The skill doesn't declare dependencies up front; running extract_format.py will print a Pip hint if python-docx is missing. Note: missing explicit dependency declaration means the runtime environment must already have python-docx or the user must install it manually.
Credentials
The skill does not require environment variables, credentials, or config paths. The code reads only files provided as CLI arguments and writes output files; no secrets or external service tokens are requested.
Persistence & Privilege
always is false and the skill does not attempt to modify other skills or system-wide agent settings. Scripts create output files only at user-specified locations.
Assessment
This skill appears coherent and local-only, but it executes Python code on files you provide. Before installing or allowing autonomous invocation: (1) ensure your environment has python-docx (pip install python-docx) or install in a sandbox; (2) inspect the scripts if you have sensitive files—they operate on local files and will overwrite or create outputs at paths you specify; (3) test first on non-sensitive documents to confirm behavior and formatting; (4) consider disabling autonomous invocation or limiting the skill's access until you are comfortable (agent will run the included scripts when invoked). Note: SKILL.md contains a hardcoded developer path (C:\Users\14032\...), which is likely an artifact and not required for operation.

Like a lobster shell, security has layers — review code before you run it.

latestvk97b6rd8zkr7cc8zqmgjr4jxk9837v3p

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Comments