ask-llm

ask-llm is a command for Claude Code from taylorleese/claude-toolz. It costs 15 tokens per session (536 once invoked), scanned A, original, MIT.

A command for asking Codex, Google Antigravity, or DeepSeek for another opinion about a question or the current work. These are AI models from different providers.

In plain words
What is it for?
Use it to ask one provider a question, ask all enabled providers at once, or check which providers are configured and ready.
Why use it?
It lets you compare independent answers when a design or implementation decision is uncertain.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Codex.

Part of the ask-llm plugin — 1 skill, 1 command shipped together

Good fit Use it to ask one provider a question, ask all enabled providers at once, or check which providers are configured and ready.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/taylorleese/claude-toolz/ask-llm
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.

Clone the repo
git clone --depth 1 https://github.com/taylorleese/claude-toolz

Made for: Claude Code.

Or install ask-llm, the plugin that ships this one along with the rest of its 1 skill, 1 command.

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 ask-llm

README.md
[![agentmods](https://agentmods.dev/badge/commands/taylorleese/claude-toolz/ask-llm.svg)](https://agentmods.dev/commands/taylorleese/claude-toolz/ask-llm)
Your own site
<a href="https://agentmods.dev/commands/taylorleese/claude-toolz/ask-llm"><img src="https://agentmods.dev/badge/commands/taylorleese/claude-toolz/ask-llm.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 536 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00015 $0.00536
Opus 5 $0.00008 $0.00268
Sonnet 5 $0.00003 $0.00107
Haiku 4.5 $0.00002 $0.00054

Measured 7d ago against content hash d23aaffd0ef0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

ask-llm 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 7d 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.

plugins/ask-llm/commands/ask-llm.md · 45 lines

How it starts

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

Get a second opinion from a non-Claude frontier model.

Invoke the ask-llm:ask-llm skill via the Skill tool. It owns the script invocation, provider configuration, and error handling.

Parsing $ARGUMENTS

$ARGUMENTS is [provider] [question], both optional:

  • If the first word is codex, agy, deepseek, or all, that selects the provider and the remainder is the question.
  • If the first word is not a provider name, the whole of $ARGUMENTS is the question and the provider defaults to codex — no API key required and the strongest choice for code.
  • all means run every enabled provider concurrently in a single message, then summarize where they agree and disagree. All three are different vendors (OpenAI, Google, DeepSeek), so the disagreements are meaningful. Skip any provider listed in ASK_LLM_DISABLED_PROVIDERS.
  • status (or list) means run ask.py --list and show the readiness table instead of asking anything.
  • If $ARGUMENTS is empty, ask for a general second opinion on the current work using the default provider.

Examples:

/ask-llm codex is this migration reversible?
/ask-llm all which caching strategy would you pick here?
/ask-llm does this error handling miss anything?
/ask-llm status
/ask-llm

codex and agy reason before answering, so they take about 5-7 seconds against DeepSeek's 1.4. That is expected — do not treat the delay as a hang.

Assembling the context

The skill reads context on stdin, so decide what to send before invoking it:

  • If the user just referenced specific files or a diff, send those.
  • Otherwise send the relevant part of the current conversation — the problem, the constraints, and what has already been tried.
  • Write anything long to a scratch file and redirect it in rather than echoing inline.

Send enough to be useful and nothing sensitive: this leaves the machine for a third-party provider. Do not include secrets, credentials, or customer data.

After the skill returns, relay the response and add your own view — say where you agree, where you don't, and why. It is another model's opinion, not a verdict.

Read the full file on GitHub · 45 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. 7d ago First seen · 45 lines · 15 tokens per session scan A d23aaffd0ef0

Subscribe to this mod's changes

ask-llm is a command published in the GitHub repository taylorleese/claude-toolz (3 stars, last pushed 1mo ago), licensed MIT. It adds 15 tokens to every session and 536 once invoked, about $0.0001 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.