cross-model-consult

cross-model-consult is a skill for Claude Code, Codex from makedirectory/ModelPeer. It costs 99 tokens per session (695 once invoked), scanned A, original, MIT.

A skill for asking Codex or Gemini for an independent, read-only opinion about one focused engineering question. It uses a tool called Model Peer to consult another model from the current repository.

In plain words
What is it for?
Use it for difficult design trade-offs, unfamiliar code or dependencies, security-sensitive decisions, or bugs that remain unresolved after inspecting the code yourself.
Why use it?
It helps reduce uncertainty before making architecture, schema, migration, or security decisions, and can provide another view when a bug has resisted several explanations. The consultation takes extra time and uses the developer’s model account.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/makedirectory/modelpeer/cross-model-consult
Any agent
npx skills add makedirectory/ModelPeer --skill cross-model-consult
Clone the repo
git clone --depth 1 https://github.com/makedirectory/ModelPeer

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for cross-model-consult

README.md
[![agentmods](https://agentmods.dev/badge/skills/makedirectory/modelpeer/cross-model-consult.svg)](https://agentmods.dev/skills/makedirectory/modelpeer/cross-model-consult)
Your own site
<a href="https://agentmods.dev/skills/makedirectory/modelpeer/cross-model-consult"><img src="https://agentmods.dev/badge/skills/makedirectory/modelpeer/cross-model-consult.svg" alt="Measured on agentmods" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 695 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00099 $0.00695
Opus 5 $0.00049 $0.00347
Sonnet 5 $0.00020 $0.00139
Haiku 4.5 $0.00010 $0.00069

Measured 5d ago against content hash ac8286ff4901, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cross-model-consult 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 5d 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.

.claude/skills/cross-model-consult/SKILL.md · 70 lines

How it starts

The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Consult a peer

You are Claude. Codex and Gemini are available as independent, read-only engineering peers.

model-peer ask <codex|gemini> "<focused question>"
model-peer doctor                      # which peers are available here

When it is worth the wait

  • before committing to an architecture, schema, or migration decision
  • when a bug has outlived two of your own hypotheses
  • security-sensitive work: authn/authz, sandboxing, input handling, secrets, crypto
  • unfamiliar code, or a dependency whose behavior you are inferring
  • an assumption you cannot cheaply verify by reading the code
  • two approaches you cannot decide between — ask for the tradeoff, not the verdict

Do not consult for anything you can settle by reading the code. Every consultation is a real model call against the developer's account and takes tens of seconds.

How to ask

The peer starts in this working directory with read-only tools, so name files and symbols instead of pasting excerpts, and ask one focused question. A peer that has to guess at scope returns generic advice.

# good — scoped to a symbol, answerable from the repository
model-peer ask codex "In src/auth/session.ts, can refresh_token leave the old token valid if rotation fails midway?"

# bad — no scope
model-peer ask codex "review my auth code"

Pipe context in when the question is about something not on disk:

git diff main... | model-peer ask gemini "What breaks in production?"

The answer is advisory

Evaluate it before acting. Peers do not know this project's invariants, so advice that contradicts the rules in this repository is wrong here however sound it sounds in general.

When a peer materially changed your decision, say which model you asked and whether you took the advice. Never present a peer's output as your own conclusion.

Leave --depth at its default: each peer answers alone, and lengthening the chain is a human's deliberate call. Above depth 1 the peer does not run anything — it asks Model Peer for a second opinion and Model Peer performs the consultation — but every hop still costs time and money. A model is never consulted twice in one chain.

Read the full file on GitHub · 70 lines

Changes

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.

  1. 5d ago First seen · 70 lines · 99 tokens per session scan A ac8286ff4901

Subscribe to this mod's changes

cross-model-consult is a skill published in the GitHub repository makedirectory/ModelPeer (1 stars, last pushed 18d ago), licensed MIT. It adds 99 tokens to every session and 695 once invoked, about $0.0005 per session on Opus 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.

Related

Other skills, from other repositories

x-nets

Enhanced netstat module with cached data and structured output. View network connections, routing tables, and interface statistics in interactive or TSV/CSV formats. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 69 tokens

x-mankier

Search and browse man pages from ManKier.com. Command line interface for ManKier man page repository. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 62 tokens

x-osv

CLI for Google OSV database. Query vulnerabilities for packages, scan local projects for vulnerable dependencies. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill). Required Tool: Install osv-scanner for project scanning (see https://github.com/google/osv-scanner).

x-cmd/x-cmd · 72 tokens

rule

Skill "rule" from x-cmd/x-cmd, covering rule — rules to rule, 核心命令, 规则文件格式, 示例 and 验证规则文件格式.

x-cmd/x-cmd · 0 tokens

x-uptime

Enhanced uptime with structured YAML output showing uptime, users, and 1/5/15-minute load averages. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 67 tokens

wikipedia

Search and read Wikipedia via x wkp — MediaWiki API, no API key, zero install; query, extract, suggest, and DDG route in one module. Load for wiki, wikipedia, encyclopedia lookup, article summary.

x-cmd/x-cmd · 49 tokens