copaw-ops

Diagnose and recover CoPaw agent services through status checks and fault triage.

733|99|Updated Dec 19, 2025
One-click install
npx skills add https://github.com/chujianyun/skills --skill copaw-ops
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: copaw-ops
Source: https://github.com/chujianyun/skills/tree/main/skills/operations/copaw-ops
Command: npx skills add https://github.com/chujianyun/skills --skill copaw-ops

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

CoPaw deployments can fail in many ways—unresponsive daemons, disconnected channels, failed model calls, stalled cron jobs, or broken multi-agent workspaces—and operators need a structured runbook instead of guessing which restart command to run.

Core Features & Use Cases

  • Guided Diagnosis: Runs a minimal closed-loop check (daemon status, agent list, models, channels, cron, logs) before any recovery action.
  • Fault Triage by Symptom: Routes issues into distinct branches for service outages, channel disconnects (DingTalk, Feishu, QQ), model failures, cron problems, and built-in skill loading errors.
  • Safe High-Impact Operations: Requires user confirmation before restarts, reloads, forced init, workspace deletion, or config changes.
  • Use Case: When a DingTalk channel stops receiving messages, the skill checks channel config fields, verifies robot publication status, and restarts the daemon only after confirming with the operator.

Quick Start

Ask the assistant to check why the CoPaw service is not responding and follow its diagnosis steps.

Frequently Asked Questions about copaw-ops

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I troubleshoot a CoPaw service that is not responding?

Start with copaw daemon status and copaw daemon logs -n 100 to check service health, then try /restart followed by copaw daemon reload-config. If it still fails, restart the process according to your deployment method such as systemctl, Docker, or supervisorctl.

How do I fix a CoPaw cron job that is not executing?

List jobs with copaw cron list --agent-id <id>, then inspect the specific job state with copaw cron state <job_id>. Resume paused jobs with copaw cron resume and test manually using copaw cron run before checking jobs.json in the workspace.

How do I manage multiple agents in CoPaw?

Use copaw agent list to see all agents and add --agent-id <id> to models, channels, cron, and chats commands to target a specific agent. Each agent has an isolated workspace under ~/.copaw/workspaces/<agent-id>/ with its own config, skills, and memory.

Why does my DingTalk channel keep disconnecting in CoPaw?

Check the channel configuration with copaw channels config dingtalk and verify client_id, client_secret, and robot_code fields are set. Also confirm the robot is published in the DingTalk developer console and that Stream mode is configured correctly.

When should I avoid running copaw init --force?

Avoid forced initialization until you have checked daemon logs and reloaded config, since it resets workspace state. It is a high-impact action that should only be used after confirming with the operator and backing up existing configuration.