agpair

Delegate bounded coding tasks to external CLI agents with structured verification and evidence collection.

48|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/logicrw/agpair --skill agpair
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agpair
Source: https://github.com/logicrw/agpair/tree/main/skills/Claude
Command: npx skills add https://github.com/logicrw/agpair --skill agpair

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires grok-cli, antigravity-cli, codex, claude-code, and includes scripts (resource) and references (resource) components.

What problem does it solve?

The agpair Skill unit addresses the challenge of managing complex, non-trivial coding tasks by leveraging external CLI agents for delegation, verification, and evidence collection, enhancing Claude Code's capabilities.

Core Features & Use Cases

  • Task Delegation: Delegate bounded work to external CLI agents for execution.
  • Verification: Validate structured receipts and support state-aware retry.
  • Evidence Collection: Gather implementation candidates, alternative analysis, or verification evidence.
  • Use Case: When working on a large codebase, use agpair to handle tasks like code reviews, refactoring, testing, and research, leveraging external agents to provide additional perspectives and evidence.

Quick Start

To start a task with agpair, use the following command:

agpair task start --repo-path "$REPO" --executor grok-cli --task-kind quick_review --wait-policy lease --authorization-profile local_readonly --completion-policy report --body "$BRIEF"

Frequently Asked Questions about agpair

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I delegate coding tasks to external CLI agents from Claude Code?

Task delegation to external CLI agents from Claude Code is managed by sending bounded work to executors like grok-cli. The agpair Skill handles the lifecycle, sending tasks out and collecting structured receipts for execution verification.

What is the best way to verify code review results from CLI agents?

Verifying code review results from CLI agents involves validating structured receipts and supporting state-aware retries. The system checks the evidence returned by executors to ensure the delegated work meets the required completion policies.

Can I use grok-cli and antigravity-cli together for task delegation in Claude Code?

Yes, you can use grok-cli and antigravity-cli as external executors for task delegation. The Skill supports multiple CLI agents, allowing you to configure different executors based on the specific task kind and required authorization profile.

How does evidence collection work for delegated code tasks?

Evidence collection for delegated code tasks gathers implementation candidates, alternative analysis, and verification evidence. This structured evidence layer captures the output and state of external CLI agent executions for review.

Do I need Claude Code integration to run CLI agent task delegation?

Yes, Claude Code integration is required to run CLI agent task delegation. The system acts as an evidence and lifecycle manager that orchestrates external CLI executors specifically within the Claude Code environment.

What are the limitations of using CLI agents for code verification?

Limitations of using CLI agents for code verification include the dependency on external executor availability and the need to define bounded work. Tasks require explicit authorization profiles and completion policies to ensure safe execution and proper fallback handling.