
wecomteam/wecom-cli
19 skills90.3k installs42.1k starsGitHub
Install
npx skills add https://github.com/wecomteam/wecom-cliSkills in this repo
1Wecomcli Docwecomcli-doc is an agent skill reference for WeCom CLI document APIs, aimed at solo builders and tiny teams automating 企业微信 docs from coding agents. It documents create_doc for new documents or intelligent spreadsheets plus edit_doc_content for full content replacement, including enum constraints, field limits such as the 255-character doc name cap, and the critical rule that docid is only available on create. Agents use the embedded skill definitions as copy-paste contracts for tool calling against WeCom’s doc platform, including URLs for browser access after success. This is not a general markdown editor—it is an integration surface for teams already standardized on WeChat Work collaboration. Builders shipping internal tools, client portals, or agentic PM bots in China-facing SaaS contexts install it to avoid re-reading scattered API pages each time they add a doc workflow.9.5kinstalls2Wecomcli Msgwecomcli-msg documents the WeCom CLI get_message operation for solo builders and small teams automating around 企业微信. You pass chat_type, chatid, and a time window to retrieve messages from direct or group conversations, with optional cursor pagination when the response truncates. The skill is reference-shaped: parameter tables, bash examples, and response field semantics so an agent can construct valid JSON payloads without reading the full vendor docs. Typical uses include support triage bots, internal audit exports, or agent workflows that summarize recent customer chatter—always within the documented seven-day retrieval limit. Pair it with authenticated wecom-cli setup elsewhere in the repo; this slice does not cover OAuth or tenant provisioning.9.5kinstalls3Wecomcli Contactwecomcli-contact is a CLI skill that retrieves enterprise contacts from WeChat Work (企业微信) within your permitted visibility scope and supports local filtering by name or alias. Use it when building agents, SaaS integrations, or CLI tools that need to look up people in your organization. This skill is essential for automating contact-dependent workflows while respecting WeChat Work's permission model and directory size constraints.9.4kinstalls4Wecomcli Schedulewecomcli-schedule is a command-line interface tool for WeCom's calendar APIs, enabling developers to query user availability, check busy slots, and create schedules with attendees and reminders. Solo builders use it to integrate calendar functionality into applications that need to coordinate with WeCom enterprise users. It matters because it provides programmatic access to real-time scheduling data, eliminating manual calendar coordination and enabling automated meeting management workflows.9.4kinstalls5Wecomcli Todowecomcli-todo teaches agents the correct WeCom todo sequences so list, detail, and contact lookup are never skipped. Solo builders are rarely the core audience unless they run on WeCom; it shines for small teams in China using 企业微信 where the user asks in natural language for todo rollups, monthly filters, or assignments like “have Zhang San finish the spec by Monday.” Each workflow specifies exact wecom-cli JSON payloads, reminder fields, follower_status values, and a fixed markdown display format (status emojis, assignee names not raw IDs). Pair with the wecomcli-contact skill for userid resolution. Prism tags it as agent integration tooling rather than a generic task app.9.4kinstalls6Wecomcli MeetingWeComCLI Meeting is a REST API for programmatically creating and managing video meetings within WeCom (Tencent's enterprise communication platform). Builders use it when integrating meeting functionality into SaaS applications, scheduling systems, or team collaboration tools. It matters because it provides fine-grained control over meeting security, participant management, and notification behavior—essential for enterprises managing high-stakes communications.9.4kinstalls7Wecomcli Smartsheetwecomcli-smartsheet teaches agents the exact cell value JSON shapes WeCom Smart Sheet expects when using wecom-cli smartsheet commands. Solo builders and small teams automating CRM-style tables, ops trackers, or agent-driven workflows inside WeCom need this because the API is strict: text and single/multi-select values must use nested arrays, numbers and booleans are scalar, and updates can key rows by field title or field ID depending on key_type. The skill enumerates field-type recipes, select styling tables, and datetime string formats so smartsheet_add_records, smartsheet_update_records, and auto-file variants do not silently corrupt rows. Install it when your agent writes or mutates Smart Sheet records programmatically rather than improvising JSON from generic spreadsheet intuition.4.7kinstalls8Wecomcli Manage Docwecomcli-manage-doc is an agent skill that wraps Tencent’s wecom-cli to manage Enterprise WeChat documents from the terminal. Solo builders and small teams who already standardize on WeCom for internal specs can let Claude Code, Cursor, or Codex create docs, pull the latest Markdown snapshot (including async task_id polling on get_doc_content), or push structured updates without leaving the agent session. It targets doc_type=3 native docs and doc_type=10 smart tables, accepting either docid or share URL so agents do not need fragile UI automation. The workflow fits when someone asks to “export this WeCom doc,” spin up a weekly report doc, or replace doc content from a drafted Markdown file. It is an integration skill, not a generic note app—success depends on a working wecom-cli install and org auth already configured on the machine.2.5kinstalls9Wecomcli Manage Smartsheet DataWeCom CLI Manage Smartsheet Data is an integration skill for solo builders and small teams operating inside Tencent WeCom (企业微信). It teaches the agent to execute wecom-cli doc commands for Smart Sheet row operations: list all records on a sheet, insert batches, patch values, and delete rows. Documents are addressed either by docid or by pasted doc.weixin.qq.com smartsheet URLs, which reduces friction when users share links instead of internal IDs. Before writes, the skill requires fetching field metadata so Option (single/multi select) cells use correct option ids—a common failure mode for automated row inserts. Responses follow WeCom’s errcode convention with a single retry before surfacing errors to the user. This is phase-specific Build/integrations work: you need the wecom-cli binary on PATH and appropriate enterprise credentials configured outside the skill. Ideal for internal ops trackers, lightweight CRM rows, or agent-maintained task boards synced to WeCom rather than a standalone SaaS database UI.2.4kinstalls10Wecomcli Get Meetingwecomcli-get-meeting is a Prism-listed agent skill for teams on Enterprise WeChat who want coding agents to answer scheduling questions without opening the admin console. It documents two meeting tools exposed by the vendor wecom-cli: listing meeting IDs for a user inside a datetime window, then fetching full meeting records by ID. Parameters, pagination via next_cursor, and JSON response shapes are spelled out so an agent can construct valid shell commands instead of guessing API fields. The skill is triggered when users ask—in Chinese or English concepts—to view meetings, search meeting lists, or find when something is scheduled. Solo builders automating standups, on-call handoffs, or internal ops bots install it as a thin integration layer on top of wecom-cli, keeping secrets and auth outside the skill and in the CLI login flow the enterprise already uses.2.4kinstalls11Wecomcli Get Todo Listwecomcli-get-todo-list teaches agents how to query Enterprise WeChat todos through the official `wecom-cli` binary when users ask for their backlog, this week’s items, or filtered views by creation or reminder time. The skill is deliberately incomplete on its own: the list endpoint returns indexes and status, not the task text or assignees solo builders actually care about, so the documented behavior policy requires an immediate follow-up with wecomcli-get-todo-detail for each returned id. Pagination is capped at twenty items per call; agents must surface when `has_more` is true so important todos are not silently omitted. Filtering uses `YYYY-MM-DD HH:mm:ss` windows on create and remind times. Install and authenticate `wecom-cli` per vendor docs before invoking.2.4kinstalls12Wecomcli Edit Meetingwecomcli-edit-meeting is an agent skill for operators and indie teams on WeChat Work who need to cancel bookings or rewrite attendee lists from chat. It wraps two meeting tools—cancel_meeting and set_invite_meeting_members—invoked as `wecom-cli meeting <tool_name> '<json_params>'`. You must obtain meetingid through the wecomcli-get-meeting skill; invitee userids come from wecomcli-list-users. The invitees array fully replaces existing participants, so agents should merge intent with the current roster before calling. Success and failure surface as standard WeCom errcode fields, making the skill easy to chain in automation workflows. It fits solo builders wiring corporate agents to real calendar state without custom OAuth apps, as long as wecom-cli is installed and authenticated per vendor docs.2.4kinstalls13Wecomcli Manage Smartsheet Schemawecomcli-manage-smartsheet-schema gives agents full control over WeChat Work Smart Sheet structure: subtables (sheets) and fields (columns). Each invocation uses `wecom-cli doc <tool_name> '<json_params>'` with shared success semantics—errcode zero means ok. You can discover existing layout with smartsheet_get_sheet and smartsheet_get_fields, then add or rename sheets, or adjust column definitions for ops trackers and lightweight databases inside 企业微信. Deletes are irreversible, matching vendor behavior, so the skill emphasizes confirmation in agent flows. Solo builders use it to bootstrap structured tables for inventory, CRM-lite, or project status without building a separate admin app, provided wecom-cli is configured. Pair with record-oriented wecom-cli skills after schema is stable.2.4kinstalls14Wecomcli Manage Schedulewecomcli-manage-schedule is an agent skill for Enterprise WeChat calendar operations executed exclusively through the wecom-cli schedule subcommands and JSON payloads. Small teams and indie builders embedded in WeCom orgs use it when agents must list events in a date window, hydrate details, create or patch meetings, cancel entries, or compare member availability without clicking through the admin UI. The skill encodes interface names such as get_schedule_list_by_range, get_schedule_detail, and create_schedule, plus operational guardrails: confirm targets before mutating, convert Unix second timestamps in responses to human-readable times, and route participant resolution through wecomcli-lookup-contact when names collide. It is niche—irrelevant without WeCom credentials and the wecom-cli binary—but valuable as a repeatable command cookbook that reduces copy-paste errors in JSON. Treat errcode failures as surfaced user-visible errors per the skill notes.2.4kinstalls15Wecomcli Get Msgwecomcli-get-msg is an agent skill for solo builders and small teams who already use 企业微信 and want their Claude Code, Cursor, or Codex session to read and act on chat history without building a custom API client. It documents how to drive the official wecom-cli binary: list conversations in a date range, page through messages for a chatid, fetch attachments locally, and post text replies. Triggers align with natural requests such as viewing聊天记录, checking recent group traffic, or messaging a colleague. Hard rules keep timestamps in YYYY-MM-DD HH:mm:ss and cap history to seven days, which matters for support triage and lightweight ops bots. You need wecom-cli installed and configured on the machine the agent uses. Outputs are structured CLI JSON plus local file paths for media—suitable as context for summarization, ticket drafting, or guarded send workflows you review before delivery.2.4kinstalls16Wecomcli Lookup Contactwecomcli-lookup-contact teaches an agent how to map human-readable 企业微信 names to userid values using the official wecom-cli contact command. Solo builders use it before message pull or send steps so chatid parameters are correct when users say “找一下张三” instead of supplying an ID. The skill fetches the current user’s visibility-filtered roster—not a guaranteed company-wide export—then applies exact or substring matching on name and alias fields. It pairs naturally with wecomcli-get-msg for end-to-end “who is this?” then “read or reply” flows. The documented guardrail treats more than ten visible members as an error condition, which shapes how you scope automation for larger org slices. Installation path is the same wecom-cli binary requirement as sibling WeCom skills. Ideal for small teams and founders running agents against modest contact surfaces rather than enterprise HR sync projects.2.4kinstalls17Wecomcli Create Meetingwecomcli-create-meeting is an agent skill for teams that run on Enterprise WeChat. When a user asks to create, book, or arrange a meeting, the agent runs wecom-cli meeting create_meeting with a JSON payload covering title, start time, duration, and invitees. All behavior is delegated to the vendor wecom-cli binary—no custom API client in the repo. Solo builders and small teams automating standups or client calls from Claude Code or Cursor get repeatable, logged CLI invocations instead of manual admin UI steps. Install wecom-cli, authenticate per WeCom docs, and use companion lookup skills to fill userid lists. Best when scheduling is routine and you already standardize on WeCom for comms.2.4kinstalls18Wecomcli Get Todo DetailWeCom CLI Get Todo Detail is an agent skill for solo builders and small teams using 企业微信 who want agents to read full todo content and assignment status instead of opaque internal IDs. After you have todo IDs—typically from the companion list skill—the agent runs wecom-cli todo get_todo_detail with a JSON todo_id_list, then must resolve follower_id and creator_id to human names via the contact user list so results are readable. The skill encodes retry behavior for transient HTTP failures and documents errcode-shaped responses including content and follower_status fields. It suits internal ops bots, PM assistants, and workflow automations where WeCom is the system of record for tasks. Install when you already use wecom-cli authentication and need depth on specific todos rather than inbox summaries alone.2.4kinstalls19Wecomcli Edit Todowecomcli-edit-todo lets coding agents perform all WeCom todo mutations through `wecom-cli todo` JSON commands when users ask to create tasks, assign coworkers, change reminders, mark progress, or delete items. It suits solo founders and tiny teams using 企业微信 as their lightweight task layer who want natural-language triggers like 帮我创建一个待办 or 标记待办完成 turned into correct CLI payloads. The skill documents parameter shapes for content, follower_list objects, remind_time, todo_status (0 completed, 1 in progress), and the rule that updates replace assignee lists entirely. A built-in retry policy handles transient HTTP failures up to three times. Canonical placement is Operate/iterate because it maintains execution state rather than defining product scope.2.4kinstalls