/Aicoo Agent Skills:connect-local-agentfrom Aicoo Agent Skills
Starts the Aicoo local-agent bridge to make this machine's Claude Code/Codex reachable for live agent-to-agent collaboration, with per-tool owner approval.
Ships in Aicoo Agent Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You set up and start the Aicoo local-agent bridge on the user's machine. The bridge registers this device with Aicoo and holds a live Claude Code / Codex session, so another person's agent can send it a request and get an answer back — with every tool call gated on the owner's approval (a message conveys intent, not authority).
This is the reachable side. The bridge is a long-lived process — it must keep running.
AICOO_API_KEY environment variable set (aicoo_sk_live_...)git + Node.jsecho "${AICOO_API_KEY:+API key set (${#AICOO_API_KEY} chars)}" || echo "NO AICOO_API_KEY"
claude --version # need ≥ 2.1.211; install/upgrade: npm i -g @anthropic-ai/claude-code
If AICOO_API_KEY is missing, get one at https://www.aicoo.io/settings/api-keys (or run onboarding).
if [ ! -d aicoo-local-agent ]; then
git clone https://github.com/Aicoo-Team/aicoo-local-agent.git
fi
cd aicoo-local-agent && git pull --ff-only 2>/dev/null; npm install
The bridge is the open-source Aicoo Local Agent (Apache-2.0) — anyone can clone it. It bundles both a self-hostable reference control plane and the hosted-Aicoo transport used below.
Server: production https://www.aicoo.io, or a preview the user names (e.g. https://yourcoo.ai)
via CCD_SERVER_URL.
SERVER="${CCD_SERVER_URL:-https://www.aicoo.io}"
SPOOL="me.spool" # remember this file — the asker side needs it for its reply route
nohup env \
CCD_AICOO=1 \
CCD_SERVER_URL="$SERVER" \
CCD_TOKEN="$AICOO_API_KEY" \
npm run bridge -- --adapter claude-code --spool "$SPOOL" \
> bridge.log 2>&1 &
echo "bridge starting (pid $!) against $SERVER — logging to bridge.log"
CCD_AICOO=1 selects the Aicoo transport; CCD_TOKEN reuses the API key (an OAuth access token
works too); the bridge registers its endpoint + a managed session and heartbeats. deviceId is
auto-generated and persisted next to the spool. It does not auto-set the default route — Step 4.
sleep 3
head -40 bridge.log
Success = a JSON block with an endpointId, no auth/connection errors. Report the endpointId
and confirm it is heartbeating (every ~20s).
Common failures:
401 / unauthorized despite a valid key → the apex host did a cross-origin redirect
(aicoo.io → www.aicoo.io) that dropped the Authorization header. Use the www. host in
CCD_SERVER_URL (e.g. https://www.aicoo.io). Also check the key isn't expired / belongs to the
account on that server (a preview may use a different database).CCD_SERVER_URL and network.claude not found → add --claude-path "$(which claude)" to the bridge command.No conversation found on restart → a prior crash left a stale session. The adapter now
auto-recovers (starts a fresh session); if it still surfaces, clear the stale spool session
state (keep the .device-id file) and restart.The default route is what makes you reachable — it maps "someone targeting your
person_default_runtime" to this specific endpoint + session. The bridge now auto-sets it from
its heartbeat loop (within ~20s of start). Just verify:
CCD_AICOO=1 CCD_SERVER_URL="$SERVER" CCD_TOKEN="$AICOO_API_KEY" \
npm run ccd -- default-route get
If it's still empty a heartbeat later, set it manually as a fallback:
CCD_AICOO=1 CCD_SERVER_URL="$SERVER" CCD_TOKEN="$AICOO_API_KEY" \
npm run ccd -- default-route set --spool me.spool
nohup … npm run bridge … line in a normal terminal, or set up a launch agent for persistence.| Step | What happens |
|---|---|
| Prereq | AICOO_API_KEY (or OAuth token) + Claude Code CLI present |
| 1 | Clone/update the bridge, npm ci |
| 2 | Start bridge in background (www. host!) — deviceId auto |
| 3 | Confirm endpointId + heartbeat in bridge.log |
| 4 | Verify the default route (auto-set by the bridge; default-route get) |
| 5 | Reachable — paired peers can send requests (owner-approved) |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
21 skills in this plugin
/autonomous-syncUse this skill when the user wants to keep their Aicoo agent updated automatically, set up scheduled syncs, configure triggers for knowledge updates, use CRON jobs, /loop commands, file watchers, or hooks to push changes to Aicoo. Triggers on: 'auto sync', 'keep updated', 'schedule', 'CRON', 'loop', 'trigger', 'watch files', 'auto update', 'periodic sync', 'hook', 'autonomous'./build-memoryUse this skill when the user wants to build, refresh, or teach their Aicoo agent memory from their real context — files, repo, git history, docs, or Claude/agent memory. Triggers on: 'build my memory', 'build my agent memory', 'teach my agent about me', 'what should my agent know', 'update my memory', 'refresh memory', 'import my context', 'sync my knowledge', 'make my agent know me', 'ingest my repo'./check-messagesUse this skill when the user wants to see messages their Aicoo agent received, check what people asked, review conversation history, or see agent inbox activity. Triggers on: 'check messages', 'check my messages', 'what did my agent receive', 'who talked to my agent', 'agent inbox', 'show conversations', 'any new messages', 'what did people ask', 'agent activity', 'conversation history'./compile-identityUse this skill when the user wants to hand a session off to another agent, share their working context, compile a session into something another agent can read, write a POSITIONS file, record which decisions were overruled, prepare a handoff folder, or measure whether a shared folder actually transfers their judgment. Triggers on: 'hand this off', 'share my context', 'compile this session', 'POSITIONS.md', 'what did we decide', 'another agent needs to pick this up', 'agent handoff', 'make this readable by another agent'./context-syncUse this skill when the user wants to upload files to Aicoo, sync context, add knowledge to their agent, update what their agent knows, push local files to Aicoo, search or read existing notes, browse folders, or accumulate context. Triggers on: 'sync files', 'upload to Aicoo', 'add context', 'update my agent', 'search my notes', 'what does my agent know', 'list folders', 'browse workspace', or wanting their shared agent to know about specific files, projects, or topics./daily-briefUse this skill when the user asks for a daily briefing, morning summary, executive brief, top priorities, COO strategies, or Eisenhower matrix. Triggers on: 'daily brief', 'morning brief', 'daily summary', 'executive summary', '今日简报', '优先级矩阵', '/v1/briefing', '/v1/briefings', '/v1/briefing/strategies', '/v1/briefing/matrix'.Claude Code refuses to install this plugin
.claude-plugin/plugin.json: name: Plugin name cannot contain spaces. Use kebab-case (e.g., "my-plugin"), author: Invalid input: expected object, received string
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
Other plugins' skills for the same job