From team-skills-platform
Cross-agent gene sharing protocol for exchanging validated evolution patterns between Claude sessions with trust downgrades and local revalidation.
npx claudepluginhub colin4k1024/tspThis skill uses the workspace's default tool permissions.
> 跨 Agent 基因共享协议,允许不同 agent 实例发现、请求和接收来自其他 agent 的验证过的经验基因。
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
跨 Agent 基因共享协议,允许不同 agent 实例发现、请求和接收来自其他 agent 的验证过的经验基因。
evolution-core 查询未命中本地基因时/evolve share 或 /evolve pull 时基因共享遵循 请求-响应 模型:
received 状态进入本地 store(confidence 降级为 0.30)candidate共享注册表存储在 ~/.claude/evolution/network/registry.json:
{
"version": 1,
"agents": {
"agent-abc123": {
"last_seen": "2025-01-15T10:00:00Z",
"gene_count": 42,
"promoted_count": 15,
"capabilities": ["python", "typescript", "docker"]
}
},
"shared_genes": [
{
"gene_id": "gene_xxx",
"owner_agent": "agent-abc123",
"signals_summary": ["npm test failure", "jest config"],
"confidence": 0.85,
"tags": ["testing", "jest", "node"],
"shared_at": "2025-01-15T10:00:00Z"
}
]
}
| 来源 | 初始 Confidence | 提升条件 |
|---|---|---|
| 本地创建 | 0.40 | 正常流程 |
| 网络接收 | 0.30 | 本地执行成功 1 次 → 0.40,之后正常流程 |
| 导入 (migrate) | 基于原始数据 | 正常流程 |
默认共享策略:
promoted 状态的基因(confidence ≥ 0.60,至少 3 次成功)Gene 共享使用 JSON 行格式(.jsonl),每行一个基因:
{
"gene_id": "gene_xxx",
"signals": [...],
"strategy": {...},
"confidence": 0.85,
"tags": [...],
"stats": {"successes": 5, "failures": 0},
"exported_at": "2025-01-15T10:00:00Z",
"source_agent": "agent-abc123"
}
导出文件存储在 ~/.claude/evolution/network/exports/,导入文件从 ~/.claude/evolution/network/imports/ 读取。
/evolve share # 导出 promoted 基因到 exports/
/evolve share --tags test # 只导出特定 tag 的基因
/evolve pull # 从 imports/ 导入其他 agent 的基因
/evolve pull --dry-run # 预览将导入的基因
/evolve network status # 查看网络注册表状态
EVOLUTION_NETWORK_ENABLED=1capsule 中的原始 outcome 数据(可能包含敏感输出)~/.claude/evolution/network/deny-list.json 手动排除特定基因或 tag