Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 88
  • 3.4k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-doc

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install wecomcli-doc in Claude Code

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

A

No 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 →

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.

wecomcli-doc Install

Add to stack

Loading.