Agent skill
collaborating-with-coco
Delegates coding tasks to Coco CLI (Codebase Copilot) for prototyping, debugging, and code review. Use when needing algorithm implementation, bug analysis, or code quality feedback. Supports multi-turn sessions via SESSION_ID.
Install this agent skill to your Project
npx add-skill https://github.com/luw2007/skills/tree/main/collaborating-with-coco
SKILL.md
Quick Start
python scripts/coco_bridge.py --cd "/path/to/project" --PROMPT "Your task"
Output: JSON with success, SESSION_ID, agent_messages, and optional error.
Parameters
usage: coco_bridge.py [-h] --PROMPT PROMPT --cd CD [--SESSION_ID SESSION_ID] [--return-all-messages] [--model MODEL] [--yolo]
[--allowed-tool ALLOWED_TOOL] [--disallowed-tool DISALLOWED_TOOL] [--bash-tool-timeout BASH_TOOL_TIMEOUT]
[--query-timeout QUERY_TIMEOUT]
Coco Bridge
options:
-h, --help show this help message and exit
--PROMPT PROMPT Instruction for the task to send to coco.
--cd CD Set the workspace root for coco before executing the task.
--SESSION_ID SESSION_ID
Resume the specified session of the coco. Defaults to empty string, start a new session.
--return-all-messages
Return all messages (e.g. reasoning, tool calls, etc.) from the coco session. Set to `False` by default, only the agent's final reply message is
returned.
--model MODEL The model to use for the coco session. This parameter is strictly prohibited unless explicitly specified by the user.
--yolo Enable YOLO mode - bypass tool permission checks.
--allowed-tool ALLOWED_TOOL
Auto approve on this tool (e.g. 'Bash', 'Edit', 'Write'), can specify multiple times.
--disallowed-tool DISALLOWED_TOOL
Auto reject this tool, can specify multiple times.
--bash-tool-timeout BASH_TOOL_TIMEOUT
Timeout for bash tool, e.g. '30s' (30 seconds), '5m' (5 minutes), '1h' (1 hour).
--query-timeout QUERY_TIMEOUT
Timeout for a single query, e.g. '30s' (30 seconds), '5m' (5 minutes), '1h' (1 hour).
Multi-turn Sessions
Always capture SESSION_ID from the first response for follow-up:
# Initial task
python scripts/coco_bridge.py --cd "/project" --PROMPT "Analyze auth in login.py"
# Continue with SESSION_ID
python scripts/coco_bridge.py --cd "/project" --SESSION_ID "uuid-from-response" --PROMPT "Write unit tests for that"
Common Patterns
Prototyping (request diffs):
python scripts/coco_bridge.py --cd "/project" --PROMPT "Generate unified diff to add logging"
Debug with full trace:
python scripts/coco_bridge.py --cd "/project" --PROMPT "Debug this error" --return-all-messages
CI/CD integration with allowed tools:
python scripts/coco_bridge.py --cd "/project" --allowed-tool Bash --allowed-tool Edit --PROMPT "Fix the failing tests"
YOLO mode for trusted environments:
python scripts/coco_bridge.py --cd "/project" --yolo --PROMPT "Refactor the authentication module"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
rtk-rewrite
RTK rewrite plugin for OpenClaw. Intercepts exec tool calls and delegates rewrites to rtk rewrite to reduce token usage while preserving command intent.
octocode
AI-powered code indexer with semantic search, knowledge graphs (GraphRAG), and persistent memory system. Use when you need to (1) perform semantic code searches across large codebases, (2) analyze file relationships and dependencies through GraphRAG, (3) store and retrieve code insights with memory system. This skill uses Bash to call octocode CLI directly with automatic index management.
favorites-curator
Build and maintain a local favorites catalog from installed repositories, apps, skills, extensions, and hooks. Use when the user asks to create, refresh, curate, scan, or summarize a favorites collection, software inventory, skill inventory, or daily digest of useful local resources.
metadata-naming
Define, apply, or review a reusable metadata-based filename standard for files, folders, inventories, archives, and generated catalogs. Use when the user wants to extract a naming convention into a standard, normalize filenames, choose between human-readable and machine-friendly naming, or create naming rules for repositories, skills, software inventories, snapshots, and long-lived records.
langextract-search
集成智谱搜索、DuckDuckGo 搜索和多模型结构化提取的完整工作流。
skill-selector
通用 skill 选择器。通过 ai-skills CLI 下载候选 skill 源码到临时目录,基于 SKILL.md + 代码的深度分析构建决策树,引导用户在 1-3 轮交互内选定最合适的 skill。当用户面对多个功能相近的 skill 不知选哪个时触发。
Didn't find tool you were looking for?