← 返回
未分类

Claude code 协同

This skill coordinates a safe dual-agent advisory workflow between WorkBuddy and Claude Code for architecture analysis, code review, complex debugging, security-sensitive review, and second-opinion reasoning. It is advisory-only and does not install software, run bundled executables, inspect private authentication material, or automatically apply advisor output.
This skill coordinates a safe dual-agent advisory workflow between WorkBuddy and Claude Code for architecture analysis, code review, complex debugging, security-sensitive review, and second-opinion reasoning. It is advisory-only and does not install software, run bundled executables, inspect private authentication material, or automatically apply advisor output.
ARK3
未分类 community v1.2.3 6 版本 100000 Key: 无需
★ 2
Stars
📥 79
下载
💾 0
安装
6
版本
#latest

概述

dual-agent: 双智能体安全协同工作流

核心理念

WorkBuddy (WB) 负责执行、校验和最终决策;Claude Code (CC) 或其他外部推理助手只作为只读顾问,提供架构分析、代码审查、风险识别和第二意见。

这个发布版是 advisory-only:不内置自动安装脚本、不自动调用外部 CLI、不运行 bundled executable、不读取或传递私密认证材料、不自动执行顾问返回的步骤。

Roles

  • WB: Executor and controller. Inspect context, make judgments, apply edits only when appropriate, and explain risk to the user.
  • CC / external advisor: Read-only reasoning advisor. Provide analysis, critique, recommendations, assumptions, and risk notes only.

When to Use

Use this skill when any condition applies:

  • Architecture decisions affect three or more files or modules.
  • User asks for a second opinion, independent review, or adversarial critique.
  • Bug diagnosis remains unresolved after initial WB investigation.
  • Security, permissions, data integrity, finance controls, or compliance risks are involved.
  • Performance optimization needs trade-off analysis.
  • A design decision needs structured challenge before implementation.

Do not use this skill for simple edits, formatting, renaming, routine build/test execution, ordinary git operations, or tasks the user explicitly asks WB to complete directly.

Safety Rules

Follow these rules strictly:

  1. Do not auto-install Claude Code, CC Switch, or any third-party software.
  2. Do not execute advisor-provided commands automatically.
  3. Do not give the advisor file-write access.
  4. Do not send secrets, credentials, tokens, private keys, or unnecessary personal data to the advisor.
  5. Share only minimal, relevant context.
  6. Validate every advisor recommendation before implementation.
  7. Ask the user before applying material or risky changes.
  8. If WB and the advisor disagree, present both views and make a reasoned recommendation.

Workflow Modes

Semi-Auto Advisory Mode (Default)

WB suggests advisor involvement and asks for confirmation before sharing context.

WB: 建议进行外部顾问审查。
原因: [why a second opinion is valuable]
将共享的信息: [brief summary of context]
将询问的问题: [focused review question]
是否确认继续?

After receiving advisor input, WB reviews it and presents a decision plan. WB does not blindly execute advisor output.

WB-Only Mode

If the user declines advisor involvement, or if external advisor access is unavailable, WB continues solo and notes that the second-opinion layer was skipped.

Advisor Output Protocol

Ask the advisor to return:

  1. Free-form analysis for human review.
  2. Key risks and assumptions.
  3. Recommended next steps.
  4. Items that require verification before implementation.

Treat advisor output as advisory material only. WB must validate all recommendations.

Effort Guidance

When the user chooses to consult Claude Code or another reasoning advisor, prefer high-reasoning settings for complex work.

LevelUse Case
------
highGeneral review and standard technical reasoning
xhighDefault recommendation for architecture, code review, security analysis, and complex debugging
maxCritical decisions where extra reasoning cost is justified

Recommended default for dual-agent review: xhigh, because this skill is reserved for complex tasks.

Sub-skill Integration

Grill

Use a design-review or grill-style workflow when the user discusses planning, architecture, workflow design, major refactoring, or unclear trade-offs.

Debug Session

Use a structured debugging workflow when the user reports bugs, errors, unexpected behavior, failing tests, or unresolved diagnosis.

Status and Reporting

After advisor review, report:

  • WB assessment
  • Advisor assessment
  • Agreed findings
  • Disagreements or uncertainty
  • Recommended next action
  • Risk controls and rollback considerations

Reference Files

Load references only when needed:

  • references/cc-caller.md: advisory prompt templates and review protocol
  • references/context-monitor.md: context usage display guidance
  • references/cost-tracker.md: high-level cost-reporting guidance
  • references/env-detector.md: safe environment detection and manual setup guidance

Constraints

  • Advisor input is never authoritative by itself.
  • WB remains accountable for final recommendations and actions.
  • No auto-installation, silent installation, privileged installation, external download, or bundled executable runner is included in this skill.
  • No bundled script is required for the published advisory workflow.

版本历史

共 4 个版本

  • v1.2.3 cc 支持切换 effort 程度 当前
    2026-06-01 11:39 安全 安全
  • v1.1.0 新增自动识别 Windows 和 Mac OS 是否有 CC switch,如果没有会下载官网的最新版本
    2026-05-30 19:11 安全 安全
  • v1.0.1 Initial release
    2026-05-25 18:02 安全 安全
  • v1.0.0 🎯 Grill + Debug-Session 集成 — 自动识别场景触发,CC 作为对抗性审查者/假设生成器加入 📊 上下文使用率监控 — 每次回复后显示进度条+4色阈值提醒 💰 多提供商费用追踪 — 4 种 API 提供商自动检测(OpenRouter 实时/DeepSeek/Anthropic/Azure),含 per-call 报告和会话累计 🖥️ 环境智能检测 — CC CLI/Switch.app/平台/配置自动发现,不可用时优雅降级 🛡️ cc_call.py v2 健壮管道 — 5 项 bug 修复(stdin 传参/stderr 捕获/错误分类/自动重试/exit code 0) 🔄 模型降级链 — Sonnet→Opus fallback + 临时错误重试 + 预算保护
    2026-05-25 17:28 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Debug Ultra

user_dc515faf
A disciplined debugging session skill that prevents AI from jumping to fixes before reproduction, feedback loops, and fa
★ 1 📥 111

Grill Pro

user_dc515faf
🔥 Grill — 让 AI 拷问你的设计 一句话: 在你动手之前,让 AI 追着你把每个设计决策想清楚。 它解决什么问题? 写代码前,大家都有过这些时刻: 方案只想了一半就开干,结果做到一半发现方向不对 术语含义模糊,"账户"到底指客
★ 1 📥 88

skill coach

user_dc515faf
做一个 AI Skill,或判断它好不好用 一套五步法,事前帮你给设计方向,事后帮你查好坏——决定能不能放心用、要不要先修、还是干脆别要。 用 R-V-C-E 心智模型为 AI skill 给方向、做审查、做优化(风险 Risk → 价值
★ 0 📥 46