cli-providers

A reference for differences between command-line AI providers such as Claude and Gemini. It records which command options, output formats, events, and permission controls each provider supports.

In plain words
What is it for?
Use it when adding a provider, building provider-specific features, parsing command output, handling permissions, or writing tests for provider behavior.
Why use it?
It prevents shared integration code from assuming that every provider behaves the same way. It also gives developers a place to record newly discovered differences.

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/recca0120/code-quest/cli-providers
Any agent
npx skills add recca0120/code-quest --skill cli-providers
Clone the repo
git clone --depth 1 https://github.com/recca0120/code-quest

Made for: Claude Code, Codex.

Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 280 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.00047 $0.00280
Opus 5 $0.00023 $0.00140
Sonnet 5 $0.00009 $0.00056
Haiku 4.5 $0.00005 $0.00028

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

Security

Grade A, and why

cli-providers 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 2d 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/cli-providers/SKILL.md · 39 lines

What it actually says

CLI Provider Differences

When working on CLI integration code (spawning processes, parsing output, building args), always consult and update the capability matrix below.

Rules

  1. Check before assuming — not all providers support the same flags or output formats
  2. Update on discovery — when you find a new difference, update this file immediately
  3. Provider-agnostic by default — shared code paths should only use universally supported features
  4. Provider-specific via config — use the capability matrix to conditionally enable features

Capability Matrix

See docs/cli-providers.md for the full matrix.

When to Update

  • A flag works on one provider but not another
  • Output format differs between providers
  • A new provider is added
  • Stream event types differ
  • Permission handling differs

Checklist

When adding a provider-specific feature:

  1. Check docs/cli-providers.md for current capabilities
  2. Implement with provider branching if needed
  3. Update the matrix with any new findings
  4. Add tests covering provider-specific behavior
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. 2d ago First seen · 39 lines · 47 tokens per session scan A 4b97d719dfb2

Subscribe to this mod's changes

cli-providers is a skill published in the GitHub repository recca0120/code-quest (11 stars, last pushed 2mo ago), licensed MIT. It adds 47 tokens to every session and 280 once invoked, about $0.0002 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-30.