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

  • Score 83
  • 3k 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/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-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 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

A

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

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.

wecomcli-doc Install

Add to stack

Loading.