skills/orchestrating-agents/SKILL.md
Orchestrates task handoff and "handshaking" between Gemini and Qwen CLI agents. Facilitates specialized reviews, second opinions, and cross-validation of complex logic. Use when a task requires multi-model collaboration, a second LLM perspective, or iterative feedback between terminal agents.
npx skillsauth add jaggerxtrm/jaggers-agent-tools orchestrating-agentsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill provides a structured workflow for multi-model collaboration between Gemini and Qwen, enabling deep "handshaking" sessions for complex tasks.
# With workflow parameter (recommended)
/orchestrate collaborative "Design authentication system with JWT"
/orchestrate adversarial "Review payment processing security"
/orchestrate troubleshoot "Debug production memory leak"
/orchestrate handshake "Quick review of rate limiting logic"
# Without parameter (interactive selection)
/orchestrate "Design authentication system"
| Workflow | Turns | Use Case | |----------|-------|----------| | collaborative | 3 | New features, architecture planning, design decisions | | adversarial | 3 | Security audits, vulnerability assessment, red-team review | | troubleshoot | 4 | Complex debugging, production errors, emergency fixes | | handshake | 1 | Quick second opinion, simple validation |
If no workflow type is specified, the agent will prompt for selection:
ask_user)ask_user({
questions: [{
question: "This task requires deep collaboration. Which orchestration workflow should we use?",
header: "Orchestrate",
options: [
{ label: "Collaborative Design", description: "Agent A proposes -> Agent B critiques -> Agent A refines." },
{ label: "Adversarial Review", description: "Agent A proposes -> Agent B attacks (Red Team) -> Agent A defends." },
{ label: "Troubleshoot Session", description: "Multi-agent hypothesis testing for emergency bugs." },
{ label: "Single Handshake", description: "Standard one-turn second opinion." }
]
}]
});
AskUserQuestion)AskUserQuestion({
questions: [{
question: "This task requires deep collaboration. Which orchestration workflow should we use?",
header: "Orchestrate",
options: [
{ label: "Collaborative Design", description: "Agent A proposes -> Agent B critiques -> Agent A refines." },
{ label: "Adversarial Review", description: "Agent A proposes -> Agent B attacks (Red Team) -> Agent A defends." },
{ label: "Troubleshoot Session", description: "Multi-agent hypothesis testing for emergency bugs." },
{ label: "Single Handshake", description: "Standard one-turn second opinion." }
]
}]
});
| Agent | Initial Command | Follow-up (Resume) |
| :--- | :--- | :--- |
| Gemini | gemini -p "..." | gemini -r latest -p "..." |
| Qwen | qwen "..." | qwen -c "..." |
For complex scenarios, follow the turns defined in references/workflows.md.
Loop Progress:
- [ ] Turn 1: Proposal (Agent A)
- [ ] Turn 2: Cross-Examination (Agent B)
- [ ] Turn 3: Final Synthesis (Agent A)
development
Operational service-knowledge system for a project's services. One skill that creates, discovers, activates, updates, and scopes per-service expert skill packages (SKILL.md + diagnostic scripts + references), kept in sync with the code via a GitNexus-aware drift engine. Use when onboarding to a service, routing a task to the right expert, scaffolding a missing skill, or syncing a skill after the implementation drifted. Triggers: /service-skills, /creating-service-skills, /using-service-skills, /updating-service-skills, /scope, or any task that touches a registered service territory.
development
Bootstrap a complete security pipeline (Dependabot + OSV + Semgrep + gitleaks + pre-commit hooks + Codex review) on any GitHub repo. Designed for free user-private repos where GitHub Advanced Security is unavailable. Reusable across Python/TypeScript/Go/Rust stacks.
testing
Merges queued PRs from xt worktree sessions in the correct order (FIFO), maintaining linear history by rebasing remaining PRs after each merge. Use this skill whenever the user has multiple open PRs from xt worktrees, asks to "merge my PRs", "process the PR queue", "drain the queue", "merge worktree branches", or says "what PRs do I have open". Also activate after any xt-end completion when other PRs are already open, or when the user asks "can I merge yet" or "is CI green". Handles the full sequence: list → sort → CI check → merge oldest → rebase cascade → repeat until queue is empty.
testing
Autonomous session close flow for xt worktree sessions. Use this skill whenever the user says "done", "finished", "wrap up", "close session", "ship it", "I'm done", "ready to merge", or similar. Also activate when all beads issues in the session are closed, or when the user explicitly runs /xt-end. This skill is designed for headless/specialist use: it must make deterministic decisions, auto-remediate common anomalies, and avoid clarification questions unless execution is truly blocked.