wecomcli-doc
Skill by Pinvou
Creates, imports, reads and edits WeCom (企业微信) doc documents through the wecom-cli command line tool. It is for users who explicitly ask for a doc, docx, Word or online document, or who share a doc.weixin.qq.com/doc/ link.
Install wecomcli-doc
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Pinvou/pinvou-agent /tmp/pinvou-agent && mkdir -p ~/.claude/skills && cp -r /tmp/pinvou-agent/pinvou3-app/src-tauri/resources/common/bundle/wecom-skills/wecomcli-doc ~/.claude/skills/wecomcli-docRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Pinvou/pinvou-agent /tmp/pinvou-agent && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/pinvou-agent/pinvou3-app/src-tauri/resources/common/bundle/wecom-skills/wecomcli-doc ~/.gemini/antigravity-cli/skills/wecomcli-docAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
wecomcli-doc is a skill for managing WeCom doc documents. It can create a new doc from scratch by generating a .docx file with python-docx and importing it. It can also import local .doc, .docx or .txt files, read a document's content, append text to the end, or overwrite the full content.
The skill runs wecom-cli commands and asks the assistant to get the document ID from a link, from a search, or from the user. Writes are not retried after a timeout, and the result is reported as unknown. The skill is meant for users who work with WeCom doc files specifically. Requests for smart documents, smart sheets, or document sharing and permissions are routed to other skills.
Written from the project's SKILL.md and checked against it.
What it can do
- Create doc from scratchGenerates a .docx file with python-docx and imports it as a WeCom doc.
- Import local filesImports local .doc, .docx or .txt files as WeCom doc documents.
- Read doc contentReads doc content as text, markdown or ooxml, with long content saved to a local file.
- Append textAdds text to the end of a doc without removing existing content.
- Overwrite contentReplaces the full content of a doc when the user explicitly asks to overwrite.
What you need
- wecom-cli command line tool
- wecomcli-shared skill pre-checks completed
- python-docx package for creating new .docx files
Try asking
- Import this local report.docx into WeCom as a doc
- Read the content of this doc.weixin.qq.com/doc/ link
- Append a new line to the end of my WeCom doc named Weekly notes
Good to know
- Only for doc documents. Smart pages, smart sheets and online sheets are handled by other skills.
- Read operations are retried up to 2 times. Write operations are not retried after a timeout.
- Search, permission changes, renaming and adding members are handled by a separate skill.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: pinvou3-app/src-tauri/resources/common/bundle/wecom-skills/wecomcli-doc/SKILL.md, pinvou3-app/src-tauri/resources/common/bundle/wecom-skills/wecomcli-doc/scripts/build_docx.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB -
references/doc-contents-append.md1 KB -
references/doc-contents-overwrite.md2 KB -
references/doc-create.md8 KB -
scripts/build_docx.py46 KB
Alternatives to wecomcli-doc
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
wecomcli-doc: common questions
When should I use this skill instead of smart pages?
Use it only when the user explicitly names doc, docx, Word, online document or office document, or gives a doc.weixin.qq.com/doc/ link. General requests like write a document default to the smartpage skill.
Which file types can it import?
It imports local .doc, .docx and .txt files into WeCom doc format. Encrypted Office files can be imported with a password if one is provided.
What happens if a write times out?
The skill stops and reports that the result is unknown. It does not retry or check the result automatically, so the user can confirm the document manually.
How do I install wecomcli-doc?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is wecomcli-doc free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is wecomcli-doc safe to use?
It scores 83 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to wecomcli-doc?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
