cms-cwork-workflow for Openclaw

A comprehensive CLI-based workflow skill for managing employee inquiries, report cycles, and task synchronization within the CWork platform.

spzwin
v1.0.5
Apr 8, 2026
0
279
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install cwork-skill-update

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install cwork-skill-update using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is cms-cwork-workflow?

The cms-cwork-workflow provides a robust suite of 9 intent-based orchestration scripts designed specifically for AI agents to interact with the CWork enterprise coordination platform. It encapsulates complex API interactions—including authentication, parameter validation, and retry mechanisms—into developer-friendly Python scripts. This skill enables agents to handle everything from searching employee IDs and sending multi-layered reports to managing todo lists and nudging overdue tasks, ensuring high reliability through an Agent-First design. By using these Openclaw Skills, developers can build agents that seamlessly bridge the gap between LLM reasoning and enterprise workflow execution without manual API handling.

cms-cwork-workflow Use Cases

  • Automating the creation and distribution of weekly or daily work reports with attachments.
  • Synchronizing task deadlines and tracking employee progress across teams in real-time.
  • Resolving pending todo items like decision-making, suggestions, and feedback through structured scripts.
  • Identifying and nudging unclosed work loops or overdue tasks through automated, polite reminders.
  • Searching for internal employee details to ensure accurate task assignment and communication.

How cms-cwork-workflow Works

  1. The AI agent identifies a user intent such as sending a report, checking a todo list, or creating a task.
  2. The agent executes the corresponding Python script (e.g., cwork-send-report.py) with specific arguments via a subprocess call.
  3. The scripts perform automatic employee ID resolution and data validation before making idempotent API calls to the CWork platform.
  4. The skill returns structured JSON output to stdout for the agent to process or displays a preview for user confirmation.
  5. For critical write operations, the agent utilizes a multi-step confirmation flow, including draft creation and explicit submission to ensure data integrity.

cms-cwork-workflow Setup

Ensure you have Python 3.9+ installed and the cms-auth-skills dependency configured. Install the skill into your agent's environment and set the necessary environment variables for authentication.

# Clone the repository containing the workflow scripts
git clone https://github.com/xgjk/cwork-skills.git

# Navigate to the skill directory
cd cwork-skills/cms-cwork-workflow

# Optional: Configure GITHUB_TOKEN for automated issue reporting
export GITHUB_TOKEN="your_github_token_here"

cms-cwork-workflow Data Schema & Taxonomy

The skill uses standardized JSON structures for both input and output to ensure consistency across different automation tools.

Data Component Format Description
Employee Info JSON Object Contains empId, name, title, department, and status.
Workflow Levels Array Defines 'suggest', 'decide', or 'read' nodes for reports.
Task Metadata JSON Object Includes task title, content, deadline, and assignee info.
Error Response JSON (stderr) Returns success: false with specific API error codes and messages.

cms-cwork-workflow Advanced Features

  • Idempotent Safety: Support for --dry-run and --preview-only modes to verify complex actions without affecting live data.
  • Param File Integration: Ability to use --params-file to ingest UTF-8 JSON configuration files, bypassing shell encoding limitations.
  • Automated Issue Tracking: Integrated cwork-report-issue.py tool that automatically submits API or script errors to GitHub Issues.
  • Multi-Step Orchestration: Pre-defined logic for handling 'Draft-Preview-Confirm' cycles in report submissions to prevent duplicate or messy entries.
  • Flexible Content Rendering: Supports both Markdown and HTML for report bodies, including support for internal linking and @mentions.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*