← 返回 Skills 市场
145
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install copaw-api-chat
功能描述
Communicate with a CoPaw instance through its HTTP API. Use when: (1) you need to inspect available CoPaw agents or chats, (2) create a chat or session and s...
使用说明 (SKILL.md)
CoPaw API Chat
Use this skill to work with CoPaw over HTTP API, not through the web UI.
When to use
- You need to talk to a local CoPaw instance programmatically.
- You need the correct sequence: create chat/session → send message → read SSE.
- You need to understand agent scoping, auth layers, or related API groups before building automation.
Workflow
- Read
references/overview-auth-scoping.mdfirst. - If the task is about chatting with CoPaw, then read
references/chats-console-sse.md. - If the task touches agent/model/skill/tool management, read
references/agents-models-skills-tools.md. - If the task touches workspace, MCP, or cron, read
references/workspace-mcp-cron.md. - If you need ready-to-run examples, read
references/practical-recipes.md.
Minimal practical path
- Confirm agent id (
defaultunless proven otherwise). - Create a chat with
POST /api/chats. - Reuse the returned
session_id/user_id/channelcontext. - Send the message with
POST /api/agents/{agentId}/console/chat. - Read the response as SSE.
Important rules
- Do not assume stateless request/response. CoPaw is chat/session-centric.
- Distinguish confirmed API behavior from interpretation.
- Prefer agent-scoped routes (
/api/agents/{agentId}/...) or setX-Agent-Idexplicitly. - In the current deployment, auth may be provided by nginx Basic Auth even if internal CoPaw auth is off.
- Treat
/api/workspaceand some/api/agents/*/files/*surfaces as dangerous/admin-level APIs.
References
references/overview-auth-scoping.md— API surface, auth, scoping, prioritiesreferences/chats-console-sse.md— chat lifecycle, session context, SSE mechanicsreferences/agents-models-skills-tools.md— management surfaces around agents/models/skills/toolsreferences/workspace-mcp-cron.md— workspace, MCP, cron boundaries and risksreferences/practical-recipes.md— short request examples and file structure examples
Output expectations
When using this skill, answer with:
- the minimal correct endpoint sequence,
- the required payload shape,
- auth/scoping caveats,
- and only the API groups relevant to the task.
安全使用建议
This is an instruction-only skill for talking to a CoPaw HTTP API and appears coherent. Before using it: ensure you point requests at a trusted/local CoPaw instance (avoid exposing internal endpoints to the public internet); only provide Basic Auth or Bearer tokens when you trust the target server; avoid automating admin endpoints (/api/workspace, /api/mcp, /api/cron) unless you need admin tasks; and review any credentials you supply to other tools or scripts that call these endpoints. Because the skill is just documentation and examples, it won't install code, but the HTTP requests it recommends could be used to read or modify data on the target server — proceed with the usual caution when granting API access.
功能分析
Type: OpenClaw Skill
Name: copaw-api-chat
Version: 0.1.0
The skill bundle provides documentation and instructions for an AI agent to interact with the CoPaw HTTP API. It includes structured workflows for session management, chat interactions via SSE, and administrative tasks, with explicit warnings in SKILL.md and workspace-mcp-cron.md regarding high-risk endpoints. No evidence of malicious intent, data exfiltration, or unauthorized execution was found.
能力评估
Purpose & Capability
Name/description match the actual content: the SKILL.md and references describe API endpoints, chat/session flow, and admin surfaces. No unrelated binaries, credentials, or installs are requested.
Instruction Scope
Instructions stay on-topic (create chat → send message → read SSE). The references document admin-level endpoints and explicitly warn they are high-risk; that is appropriate caution rather than scope creep. The skill does not instruct reading local files or unrelated environment variables.
Install Mechanism
No install spec and no code files—instruction-only—so nothing is written to disk or downloaded during install.
Credentials
The skill declares no required env vars or credentials. It mentions possible Basic Auth or Bearer tokens in context (real API concerns) but does not request unrelated secrets or excessive environment access.
Persistence & Privilege
always is false and the skill is user-invocable; it does not request permanent presence or modify other skills or system settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install copaw-api-chat - 安装完成后,直接呼叫该 Skill 的名称或使用
/copaw-api-chat触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial public release: generalized CoPaw HTTP API chat integration skill, removed environment-specific examples, validated packaging.
元数据
常见问题
CoPaw API Chat 是什么?
Communicate with a CoPaw instance through its HTTP API. Use when: (1) you need to inspect available CoPaw agents or chats, (2) create a chat or session and s... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 145 次。
如何安装 CoPaw API Chat?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install copaw-api-chat」即可一键安装,无需额外配置。
CoPaw API Chat 是免费的吗?
是的,CoPaw API Chat 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
CoPaw API Chat 支持哪些平台?
CoPaw API Chat 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 CoPaw API Chat?
由 erview(@erview)开发并维护,当前版本 v0.1.0。
推荐 Skills