Weaver OA Approval Skill: Integrating Agents with E-cology for To-Do and Approval Workflows

Introduction

Approvals in Weaver E-cology (E9) are still primarily completed within the OA system and WeCom (Enterprise WeChat): checking to-dos requires switching systems, while viewing forms, related pre-requests, contract blocks, and approval records often requires opening a browser. If you wish to use natural language within an AI conversation to pull lists, view full details, and execute approve/reject/forward actions under controlled conditions, you need an integration approach that embeds OA interfaces and CLI conventions into a Skill. Below is an introduction to the Weaver OA Audit Skill (@user_ab9d114c/yoa-audit-manager) on SkillHub. It wraps around oa-audit-cli to encapsulate capabilities such as WeCom QR code login, workflow lists, and details. The official description requires configuring the OA domain and completing the QR code login, and requires_api_key=false, meaning no separate API Key application is needed.

What is this

The Weaver OA Audit Skill is a community-published Agent Skill categorized under business-ops (current version v1.0.1, source: community, publisher: user_ab9d114c). In one sentence: It allows access to Weaver E-cology approval-related data and limited write operations via oa-audit-cli within an Agent session, using WeCom QR code scanning for login.

It is unrelated to the deprecated ysb-oa-audit-manager naming; for installation and reference, use the coordinate @user_ab9d114c/yoa-audit-manager. The underlying CLI is oa-audit-cli (do not confuse it with the old Skill name).

Core Features

The following capabilities are derived from the Skill description and are consistent with the SkillHub brief “E9-OA Approval, Domain, and QR Login”.

Login and Access

  1. After configuring the OA domain, complete login via WeCom QR code scanning.
  2. Form details are presented in a manner close to a browser, and an OA browser access link (viewUrl) is provided for easy comparison with the online page.

Workflow Lists

Use dedicated subcommands to pull various lists. Do not use workflow-todo to pull the full to-do list (that command is not suitable for full list scenarios). Instead, use:

Scenario Subcommand
Todo (In-progress) workflow-doing
Done workflow-done
My Initiated workflow-my
CC (Carbon Copy) workflow-cc

Workflow Details

Scenario Subcommand
Todo Detail workflow-todo-detail
Done Detail workflow-done-detail
My Initiated Detail workflow-my-detail
CC Detail workflow-cc-detail
General Workflow Detail workflow-detail

Detail output typically includes: approval flow table (approval records), attachments, invoices (supporting OCR recognition), Related Pre-requests (--with-related), contract information blocks (presence of contract, original contract, contract approval form), workflow monitoring, etc.

Related Pre-requests: For the detail commands listed above, nested pre-request details are expanded by default; if not needed, add --no-with-related to skip them.

“Todo and Details”: When a user explicitly requests the to-do list and details, workflow-todo-detail must be executed, and the complete raw stdout must be pasted back without summarizing or omitting content.

Approval Write Operations

Under the gating policy defined by the Skill, support is provided for executing approve, reject, and forward actions on single workflows to avoid accidental bulk operations.

Trigger Keywords (Typical phrasing for Agents to select this Skill)

When users mention OA auditing, YSB OA, Todo/Done/My Initiated, CC, Pre-requests, Related workflows, Contract info, Workflow monitoring, Invoice recognition, workflow-doing / workflow-done / workflow-cc, etc., the Agent should select the corresponding CLI subcommand according to the Skill rules.

Installation and Activation

Install via SkillHub CLI

First, confirm that skillhub is installed on your machine (see SkillHub Installation Guide for installation methods). When installing the skill, you must use --dir to point to the current Agent’s skills directory; otherwise, it may default to ./skills/ and might not be recognized.

command -v skillhub && skillhub --version
skillhub install @user_ab9d114c/yoa-audit-manager --dir <your Agent skills directory>

Common path examples (subject to official installation documentation):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

Let AI install via Dialogue

The prompt provided on the SkillHub page is: Please install @user_ab9d114c/yoa-audit-manager according to https://skillhub.cn/install/skillhub.md.

After installation, prepare the OA domain as required by the Skill and complete the WeCom QR code login upon first use.

Typical Usage

The following are reproducible ideas under the Skill rules; specific parameters should refer to the oa-audit-cli help output in your environment.

1. Check Todo List

In the conversation, say “List OA todos” or let the Agent execute workflow-doing. Do not use workflow-todo as a substitute for the full to-do list.

2. View Full Todo Details (including Related Pre-requests)

# Illustrative: Agent calls oa-audit-cli's workflow-todo-detail in Shell
oa-audit-cli workflow-todo-detail <parameters related to workflow identifier>

When the user asks for “Todo and Details”, the Agent must paste the complete standard output of the command back into the conversation without summarizing.

3. Done / My Initiated / CC

  • Done Detail: workflow-done-detail
  • My Initiated Detail: workflow-my-detail
  • CC List and Detail: workflow-cc, workflow-cc-detail

4. Skip Related Pre-requests

oa-audit-cli workflow-todo-detail ... --no-with-related

5. Approve a Single Workflow When Gating Allows

After confirming the workflow identity and operation intent, use the Skill’s prescribed single-workflow approve/reject/forward capability (non-bulk).

Scenarios and Notes

Who is it for

  • People who handle approvals in Weaver E9-OA daily and need to integrate “Check List — View Details — Compare Contracts and Pre-requests” into Agent workflows like Cursor / Claude Code.
  • Teams that prefer to maintain sessions via WeCom QR scanning rather than hand-written Cookie scripts (still subject to the actual behavior of the Skill and CLI).

Limitations and Pitfalls

  1. Domain and Login: If the OA domain is not configured or the WeCom QR scan is not completed, subsequent subcommands will not work properly.
  2. List vs. Detail Command Division: Use workflow-doing / workflow-done / workflow-my / workflow-cc for full lists; do not use workflow-todo as a list entry point.
  3. View Parameters: Do not pass tabid as --view.
  4. Detail Completeness: In scenarios like workflow-todo-detail, related pre-requests are included by default; use --no-with-related if simplification is needed.
  5. Deprecated Names: Do not use the deprecated ysb-oa-audit-manager to refer to this Skill.
  6. Write Operations: Approve/Reject/Forward are executed only for single workflows and under Skill gating; avoid bulk operations based on vague confirmation in conversation.

SkillHub page statistics (snapshot at time of access): Rating 100000, 2169 downloads; Tag requires_api_key=false.

Conclusion

The Weaver OA Audit Skill converges E9-OA’s Todo, Done, My Initiated, CC, and Details (including approval records, attachments, invoice OCR, contract and pre-request associations) into oa-audit-cli and unified Skill rules. It is suitable for driving queries with colloquial requirements within an Agent and handling single approvals under rule constraints. For installation and instructions, please refer to SkillHub:

  • Skill Page: https://www.skillhub.cn/skills/user_ab9d114c/yoa-audit-manager
  • API Coordinate Page: https://api.skillhub.cn/user_ab9d114c/yoa-audit-manager
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye