Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add hcaiano/skills --skill pairgit clone --depth 1 https://github.com/hcaiano/skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/hcaiano/skills/pair)<a href="https://agentmods.dev/skills/hcaiano/skills/pair"><img src="https://agentmods.dev/badge/skills/hcaiano/skills/pair/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/hcaiano/skills/pair"><img src="https://agentmods.dev/badge/skills/hcaiano/skills/pair.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00044 | $0.01599 |
| Opus 5.5 | $0.00018 | $0.00640 |
| Sonnet 5.5 | $0.00009 | $0.00320 |
| Haiku 4.5 | $0.00004 | $0.00160 |
Grade A, and why
pair scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pair
Pair two agents on one task: you are the lead, and the partner is one of
claude, codex, cursor, grok, or opencode. The transports require a
different CLI, except headless Codex can use a different account home selected
with --identity <name>. The helper proves home separation; separate accounts
do not themselves guarantee independent reasoning. Two different harnesses may use the
same underlying model or provider and still form a valid pair. Keep the
pair and its sid alive across tasks, accepted work cycles, and context
compaction, naming its sid in every command — one lead can run several
pairs at once. Keep protocol headers and identifiers literal.
Two backends carry the same protocol. Inside Herdr the partner is a visible pane the user can read and interject in; outside it the partner is a persistent headless session of the partner CLI.
Choose the pair
Look for an existing pair before proposing one: a session recorded for this Herdr tab, or a headless one in this repository (the backend reference names the exact command). Before a new pair or work cycle, run the pool check and follow its rule for each state. Resume an existing pair the check allows; for a live pair the check's fallback is ending it, which only the user can choose. When its partner, model, or effort differs from what the user just asked for, say so and keep going — respawning discards the pair's whole history, and a model is changed by ending the pair, not by restarting its pane.
With no pair to resume, run the
catalog check before choosing the partner.
Take every choice the user or an orchestrate unit has already made — partner,
model, effort, identity, role — as final and do not ask for it again. Fill unspecified choices from the
roster and the live pool check: the Peer seat for an
equal collaborator, the Executor seat for delegated implementation. Use
peer when the task leaves the role open. The seat supplies partner family,
model, and effort; for Codex, choose the available identity with the lower
pace (default is ~/.codex, a named home is
~/.codex-profiles/<name>). Ask the user in plain chat text only when no
eligible route remains or their preference is ambiguous.
What ships with it
25 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 256 B
- references/caller-pane-resolution.md 3.9 KB
- references/headless.md 10 KB
- references/herdr.md 12 KB
- references/models.md 13 KB
- scripts/agent-process.mjs 712 B runs code
- scripts/agent-process.test.mjs 1.5 KB runs code
- scripts/caller-proof.mjs 12 KB runs code
- scripts/caller-proof.test.mjs 15 KB runs code
- scripts/codex-rpc.mjs 10 KB runs code
- scripts/fixtures/codex-stream.jsonl 230 B
- scripts/fixtures/cursor-stream.jsonl 404 B
- scripts/fixtures/grok-stream-cancelled.jsonl 129 B
- scripts/fixtures/grok-stream-complete.jsonl 258 B
- scripts/fixtures/grok-stream-incomplete.jsonl 76 B
- scripts/fixtures/opencode-stream.jsonl 517 B
- scripts/herdr-pair.mjs 75 KB runs code
- scripts/herdr-pair.test.mjs 80 KB runs code
- scripts/models-catalog.mjs 13 KB runs code
- scripts/models-catalog.test.mjs 6.6 KB runs code
- scripts/pair-headless.mjs 92 KB runs code
- scripts/pair-headless.test.mjs 123 KB runs code
- scripts/skill-contract.test.mjs 8.9 KB runs code
- scripts/usage-state.mjs 20 KB runs code
- scripts/usage-state.test.mjs 15 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago Changed · -7 lines 82227c6115b2
- 2mo ago Changed · +7 lines · -39 tokens per session 1905b4cdaf18
- 3mo ago First seen · 148 lines · 83 tokens per session scan A 42c7b5a02a22
pair is a skill published in the GitHub repository hcaiano/skills (3 stars, last pushed 1mo ago), licensed MIT. It adds 44 tokens to every session and 1,599 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
pair compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pairhcaiano/skills | Skill | 3 | 1mo ago | MIT | A | 44 | Codex |
| claude-md-improveranthropics/claude-plugins-official | Skill | 49k | today | Apache-2.0 | A | 82 | Claude Code |
| agent-platform-model-registrygoogle/skills | Skill | 26k | yesterday | Apache-2.0 | A | 60 | Claude Code, Codex |
| gke-workload-securitygoogle/skills | Skill | 26k | yesterday | Apache-2.0 | A | 171 | Claude Code, Codex |
| gke-reliabilitygoogle/skills | Skill | 26k | yesterday | Apache-2.0 | A | 85 | Claude Code, Codex |
| google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skills | Skill | 26k | yesterday | Apache-2.0 | A | 132 | Claude Code, Codex |
| glance-canonical-layoutsandroid/skills | Skill | 11k | yesterday | Apache-2.0 | A | 56 | Claude Code |