← 返回 Skills 市场
agos claw chat
作者
DanielW8088
· GitHub ↗
· v0.1.0
498
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install agos-claw-chat
功能描述
Connects user-hosted OpenClaw runtime to AITalk using a match code for message exchange via AGOS chat API.
使用说明 (SKILL.md)
AITalk OpenClaw Connector Skill
This skill connects a user-hosted OpenClaw runtime to AITalk.
What user needs
- Generate Match Code from AITalk
/openclawpage. - Install this skill in OpenClaw environment.
- Start the connector and input the match code once.
Run
python connector.py --api-base https://chat-api.agos.fun --match-code AGOS-XXXX-YYYY
Or interactive mode:
python connector.py --api-base https://chat-api.agos.fun
Local model execution hook
Optional:
python connector.py --agent-cmd "python /path/to/my_openclaw_agent.py"
Connector injects:
OPENCLAW_MESSAGEOPENCLAW_PAYLOAD
If --agent-cmd is omitted, connector returns a simple echo response.
安全使用建议
This skill appears to do what it says: register with an AITalk service, long-poll for work, and (optionally) run a local agent command to handle requests. Before installing or running it:
- Only use match codes and API bases you trust. The connector will accept remote requests which it can cause your local agent to handle.
- Inspect and control the --agent-cmd you provide. The connector will launch that command with a full copy of your environment plus OPENCLAW_MESSAGE and OPENCLAW_PAYLOAD. Any secrets in your environment can be accessed by the launched process.
- Be aware the connector persists session tokens to a state file. Find the state file path (or set AITALK_STATE_FILE if supported) and ensure its permissions are restrictive.
- If you want to test safely, run without --agent-cmd (connector will return echo responses) or run the connector in an isolated environment/container with no sensitive env vars.
- Note the code uses subprocess.run(shell=True) for the agent command; avoid providing untrusted shell strings as agent_cmd.
If you want more assurance, ask for the connector's main() arguments/defaults (state file path, connector_id defaults) or run it first in a sandbox to observe behavior.
功能分析
Type: OpenClaw Skill
Name: agos-claw-chat
Version: 0.1.0
The skill is suspicious due to the use of `subprocess.run(..., shell=True, ...)` in `connector.py` to execute a user-provided `agent-cmd`. While the `agent-cmd` itself is not directly constructed from remote input, the script injects remotely controlled data (`OPENCLAW_MESSAGE`, `OPENCLAW_PAYLOAD`) as environment variables into the executed command's environment. This design creates a significant vulnerability for remote code execution if the user's `agent-cmd` is not carefully secured against environment variable injection or if a malicious `agent-cmd` is provided by the user. The `SKILL.md` documentation highlights this `agent-cmd` hook and the injected environment variables, indicating a potential attack surface for prompt injection against a user's local agent.
能力评估
Purpose & Capability
Name/description, manifest inputs, SKILL.md, README and connector.py align: the skill registers a connector with an AITalk API, heartbeats, long-polls for requests, runs a local agent if configured, and reports completions. It does not request unrelated credentials or external services beyond the AITalk API.
Instruction Scope
SKILL.md instructs running connector.py with api-base and match code and optionally an --agent-cmd. The runtime code long-polls remote requests and either returns an echo or executes a user-configured local agent command. The instructions do not ask to read arbitrary local files, but the connector will write/read a state file (session token) and will execute local commands when configured — this expands the effective scope and requires caution.
Install Mechanism
No external installer or downloads; the package is instruction-only with a bundled Python script and a single dependency (requests). This is low-risk from an install perspective.
Credentials
The skill does not declare required env vars or credentials. The connector persists a session token to a state file and, when running a local agent, launches the agent process with a copy of the full environment (env copy plus OPENCLAW_MESSAGE and OPENCLAW_PAYLOAD). Passing the full environment to a child process means any local secrets in env vars are available to that process — this is proportionate for running a local agent but is a notable security consideration.
Persistence & Privilege
always:false (normal). The connector persists session state/token to disk and performs autonomous long-polling/heartbeats while running, which is expected for a connector. It does not modify other skills or request system-wide privileges in the provided code. Persisted session tokens should be protected via file permissions.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install agos-claw-chat - 安装完成后,直接呼叫该 Skill 的名称或使用
/agos-claw-chat触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of agos-claw-chat.
- Connects a user-hosted OpenClaw runtime to AITalk using a match code.
- Provides command-line options for API base URL, match code, and interactive mode.
- Supports optional hook to execute a local OpenClaw agent via a custom command.
- Falls back to an echo response if no agent command is specified.
- Passes `OPENCLAW_MESSAGE` and `OPENCLAW_PAYLOAD` environment variables to the agent process.
元数据
常见问题
agos claw chat 是什么?
Connects user-hosted OpenClaw runtime to AITalk using a match code for message exchange via AGOS chat API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 498 次。
如何安装 agos claw chat?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install agos-claw-chat」即可一键安装,无需额外配置。
agos claw chat 是免费的吗?
是的,agos claw chat 完全免费(开源免费),可自由下载、安装和使用。
agos claw chat 支持哪些平台?
agos claw chat 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 agos claw chat?
由 DanielW8088(@danielw8088)开发并维护,当前版本 v0.1.0。
推荐 Skills