wecomcli-doc
Skill by WecomTeam
Creates, imports, reads and writes WeCom (企业微信) doc documents through the wecom-cli tool. Use it when a user explicitly asks for a doc, docx or Word file, or gives a doc.weixin.qq.com link.
Install wecomcli-doc
Built from the published package, never by AI.
git clone --depth 1 https://github.com/WecomTeam/wecom-cli /tmp/wecom-cli && mkdir -p ~/.claude/skills && cp -r /tmp/wecom-cli/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/WecomTeam/wecom-cli /tmp/wecom-cli && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/wecom-cli/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 WeCom (企业微信) online doc documents. It lets an AI assistant create a new doc, import local .doc, .docx or .txt files as a doc, read doc content, and append or overwrite text in an existing doc. It runs its operations through the wecom-cli command line tool.
A new document is made by first generating a .docx file with python-docx, then importing that file as a doc. Requests that only say document or write a document are routed to the wecomcli-smartpage skill instead. Document search and permission changes belong to wecomcli-doc-manage. The skill is meant for users who name doc, docx, Word, online document or Office document, or who provide a doc.weixin.qq.com link.
Written from the project's SKILL.md and checked against it.
What it can do
- Create docBuilds a new .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 a doc's content as text, markdown or ooxml, using the doc contents get command.
- Append textAdds text to the end of a doc using the +contents-append reference.
- Overwrite contentReplaces the full content of a doc using the +contents-overwrite reference.
What you need
- wecom-cli command line tool installed
- python-docx Python package, needed to create new .docx files
- Completed pre-checks from the wecomcli-shared skill before each command
Try asking
- Import this local file report.docx into WeCom as a doc
- Read the content of https://doc.weixin.qq.com/doc/ and show it to me
- Append a new line to my WeCom doc at this link
Good to know
- Generic requests such as write a document are routed to wecomcli-smartpage, not this skill.
- Document search and permission changes are handled by wecomcli-doc-manage.
- Structured data such as spreadsheets or fields is routed to other skills.
- Long document content is saved to a local file path instead of returned inline.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/wecomcli-doc/SKILL.md, 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.md7 KB -
references/doc-contents-append.md561 B -
references/doc-contents-overwrite.md1020 B -
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
Which file types can it import into WeCom?
The skill imports local .doc, .docx and .txt files as doc documents. A password can be passed for encrypted Office files.
Does appending text replace the existing content?
No. The skill appends by default and only overwrites when the user clearly asks to overwrite, replace or clear the document.
Does this skill work with smartpage documents?
No. Links for smartpage documents and docids starting with a1 or b1 are routed to the wecomcli-smartpage skill.
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 88 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.
