dual-agent-solver

Run a two-agent collaborative problem-solving workflow where one agent is your OpenClaw agent (primary solver) and a second agent challenges assumptions, surfaces risks, and improves the plan over multiple rounds, then outputs one merged actionable solution and stores it in Open Brain memory.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "dual-agent-solver" with this command: npx skills add tvaloki/dual-agent-solver

DualAgentSolver

Use this when the user wants two agents to work a problem and converge on a practical solution.

Setup

export OPENBRAIN_MCP_URL="http://127.0.0.1:54321/mcp"
# optional
export OPENBRAIN_MCP_TOKEN="..."

Optional second-agent model via OpenAI API (if key exists):

export OPENAI_API_KEY="..."
export SOLVER_SECOND_MODEL="gpt-4o-mini"

If OPENAI_API_KEY is missing, the second agent also runs through openclaw agent.

Run

python3 skills/dual-agent-solver/scripts/dual_agent_solver.py \
  --query "How should we migrate our cron jobs safely?" \
  --rounds 3

Output

Returns JSON including:

  • round-by-round solver + critic outputs
  • final merged solution
  • memory write result and key (dual-agent-solver:<timestamp>)

Storage

Persists outcome into public.memories (creates table if missing).

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Skylv System Health Watch

Real-time monitoring of agent memory, API calls, and errors

Registry SourceRecently Updated
Automation

Skylv Smart Task Scheduler

Context-aware task scheduling with priority management

Registry SourceRecently Updated
Automation

Skylv Self Thinking Agent

Enables AI agents to reflect on their own reasoning, detect cognitive biases, and improve decision quality through structured self-examination loops.

Registry SourceRecently Updated
Automation

Agent Collaboration Protocol

Structured multi-agent collaboration for backend + frontend builds. Use when an orchestrator needs to coordinate a backend engineer and frontend engineer on...

Registry SourceRecently Updated