Agent Skillscodeaholicguy/ai-devkit › agent-communication

agent-communication

GitHub

提供AI代理间通信能力,支持发现活跃代理、读取上下文及发送消息或请求信息。

skills/agent-communication/SKILL.md codeaholicguy/ai-devkit

触发场景

需要与其他AI代理交互 查找活跃的代理实例 向指定代理发送指令或数据

安装

npx skills add codeaholicguy/ai-devkit --skill agent-communication -g -y
更多选项

不安装直接使用

npx skills use codeaholicguy/ai-devkit@agent-communication

指定 Agent (Claude Code)

npx skills add codeaholicguy/ai-devkit --skill agent-communication -a claude-code -g -y

安装 repo 全部 skill

npx skills add codeaholicguy/ai-devkit --all -g -y

预览 repo 内 skill

npx skills add codeaholicguy/ai-devkit --list

SKILL.md

Frontmatter
{
    "name": "agent-communication",
    "description": "AI DevKit · Exchange information with active Codex, Claude Code, and other AI agents using ai-devkit agent list, detail, and send. Use when an agent needs to find another active agent, read its recent context, send it information, or request information back."
}

Agent Communication

Use ai-devkit agent ... to discover and communicate with active agents. If ai-devkit is not on PATH, use npx ai-devkit@latest agent ....

Commands

ai-devkit agent list --json
ai-devkit agent detail --id <agent-name> --json --tail 20
ai-devkit agent send --id <agent-name> "<message>"
ai-devkit agent send --id <agent-name> --wait --timeout 120000 --json "<message>"
<command> 2>&1 | ai-devkit agent send --id <agent-name> --stdin

Notes

  • list --json returns active agents with fields such as name, type, status, summary, projectPath, and lastActive.
  • Use the name from list --json as --id. Partial matches are supported, but exact names are safer.
  • Use detail --json --tail <n> to read recent context from an agent before deciding what to send.
  • send --wait waits for a reply; add --json when the response should be machine-readable.
  • send --stdin forwards piped command output or larger text.

版本历史

  • d4caf56 当前 2026-07-05 15:22

同 Skill 集合

skills/agent-management/SKILL.md
skills/agent-orchestration/SKILL.md
skills/brainstorm/SKILL.md
skills/changelog/SKILL.md
skills/dev-commit/SKILL.md
skills/dev-design/SKILL.md
skills/dev-implementation/SKILL.md
skills/dev-lifecycle/SKILL.md
skills/dev-planning/SKILL.md
skills/dev-pr/SKILL.md
skills/dev-requirements/SKILL.md
skills/dev-review/SKILL.md
skills/dev-testing/SKILL.md
skills/dev-worktree/SKILL.md
skills/document-code/SKILL.md
skills/memory/SKILL.md
skills/security-review/SKILL.md
skills/simplify-implementation/SKILL.md
skills/structured-debug/SKILL.md
skills/task/SKILL.md
skills/tdd/SKILL.md
skills/technical-writer/SKILL.md
skills/verify/SKILL.md

元信息

文件数
0
版本
3811937
Hash
658eb077
收录时间
2026-07-05 15:22

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-04 06:54
浙ICP备14020137号-1 $访客地图$