← 返回
未分类

coze-power

Bridge your Coze bots to local machine capabilities. Coze bots run in the cloud and can't access local files, run commands, or control your machine — Coze-Power fixes that with a lightweight HTTP server + Coze-compatible OpenAPI plugin. 10-minute setup: web search, file operations, command execution, clipboard, desktop notifications, and more. Use this skill when: - You want your Coze bot to read/write local files - You need a Coze bot to execute shell commands on your machine - Your Coze bot s
Bridge your Coze bots to local machine capabilities. Coze bots run in the cloud and can't access local files, run commands, or control your machine — Coze-Power fixes that with a lightweight HTTP server + Coze-compatible OpenAPI plugin. 10-minute setup: web search, file operations, command execution, clipboard, desktop notifications, and more. Use this skill when: - You want your Coze bot to read/write local files - You need a Coze bot to execute shell commands on your machine - Your Coze bot should search the web and return structured results - You want to give Coze bots local data access (clipboard, directory listings, system info) - You're building a two-way bridge between Coze cloud agents and your local environment - You need to expose OpenClaw agent capabilities to Coze through a webhook/API
yjkj999999
未分类 community v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 13
下载
💾 0
安装
1
版本
#latest

概述

Coze-Power: Bridge Coze Bots to Local Capabilities

Overview

Coze bots are powerful, but they live in the cloud. They can't read your local files, run terminal commands, or interact directly with your machine. Coze-Power solves this with a lightweight HTTP server that exposes local tools through a standard OpenAPI interface that Coze plugins can consume.

Architecture

!Coze-Power Architecture

Quick Start (5 minutes)

1. Start the server

cd coze-power
python3 server.py
# Server starts on http://localhost:8899

2. Expose it publicly (one of these)

# Using ngrok (recommended for beginners)
ngrok http 8899
# → https://xxxx.ngrok.io  (copy this URL)

# Or using Cloudflare Tunnel
cloudflared tunnel --url http://localhost:8899

3. Import the Coze plugin

  1. In Coze Studio, go to Plugins → Create Plugin
  2. Import from OpenAPI → Upload assets/openapi-spec.json
  3. Set Server URL to your ngrok/cloudflare URL (e.g. https://xxxx.ngrok.io)
  4. Add API key authentication: header name X-API-Key, value from your config.json
  5. Save and enable the plugin
  6. Add the plugin to your Coze bot

4. Test it

In your Coze bot, try:

> "Search the web for latest AI news"

> "List files on my desktop"

> "Show me the current system status"

Available Tools

ToolMethodEndpointDescription
-------------------------------------
Web SearchPOST/tools/web-searchSearch the web and return results
Read FilePOST/tools/read-fileRead content from local files
Write FilePOST/tools/write-fileWrite content to local files
List DirectoryPOST/tools/list-dirList files in a directory
Run CommandPOST/tools/run-commandExecute shell commands
System InfoPOST/tools/system-infoGet OS, CPU, memory info
Read ClipboardPOST/tools/clipboard-readRead clipboard contents
Write ClipboardPOST/tools/clipboard-writeWrite to clipboard
Send NotificationPOST/tools/notifySend desktop notification
Health CheckGET/healthCheck server status

Configuration

Create config.json in the skill directory:

{
  "api_key": "your-secret-api-key",
  "host": "0.0.0.0",
  "port": 8899,
  "allowed_commands": ["ls", "pwd", "cat", "echo", "python3", "node"],
  "allowed_paths": ["/home", "/tmp"],
  "max_file_size_kb": 1024
}

Security

⚠️ You are exposing your local machine to the internet. Follow these rules:

  • Always use API key authentication (never run without it)
  • Use allowed_commands and allowed_paths to restrict access
  • For production: add HTTPS via ngrok (it automatically provides TLS)
  • Never expose this server without authentication
  • Consider running it in a Docker container for isolation

Coze Plugin Setup (Detailed)

See references/coze-plugin-setup.md for step-by-step Coze configuration.

Examples

See references/examples.md for real Coze bot prompts and expected behaviors.

API Reference

See references/api-reference.md for complete endpoint documentation.

版本历史

共 1 个版本

  • v1.0.0 从ClawHub迁移发布 当前
    2026-06-07 12:17 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

self-improving agent

pskoett
记录自身发现以实现自我改进的技能
★ 4,189 📥 959,665
design-media

agnes-image-gen

user_15292d5a
使用 Agnes AI 的图片生成模型生成图片,支持文生图(agnes-image-2.1-flash)和图生图(agnes-image-2.0-flash)。支持自定义 API Key,用户可使用自己的 Agnes Key。优化重点:降低
★ 1 📥 272
ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 882 📥 357,795