Skip to content
Skills Library
AI & agents · Automation

ask-any

/ask-any

Hand a task to whichever LLM is alive, not only Claude: the prompt goes to Codex, Grok, Gemini and Claude CLIs at the same time and the first valid answer wins. Use when Claude's quota is exhausted, a vendor is down, or you want a quick parallel answer from other models. Triggers: /ask-any, ask anyone, give this to another LLM, quota empty, ask in parallel, race the rails.

Licence
MIT
Last repository change
24.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
1
URLs in SKILL.md
7
Deprecation

No signals detected. Repository changed on 24.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • SKILL.md zawiera komentarze HTML (1). Nie widać ich w podglądzie Markdown, a model je czyta.

What it does and when to use it

Hand a task to whichever LLM is alive, not only Claude: the prompt goes to Codex, Grok, Gemini and Claude CLIs at the same time and the first valid answer wins. Use when Claude's quota is exhausted, a vendor is down, or you want a quick parallel answer from other models. Triggers: /ask-any, ask anyone, give this to another LLM, quota empty, ask in parallel, race the rails.

Original author description

Hand a task to whichever LLM is alive, not only Claude: the prompt goes to Codex, Grok, Gemini and Claude CLIs at the same time and the first valid answer wins. Use when Claude's quota is exhausted, a vendor is down, or you want a quick parallel answer from other models. Triggers: /ask-any, ask anyone, give this to another LLM, quota empty, ask in parallel, race the rails.

How it works

  1. Зачем
  2. Как звать
  3. ⛔ Две породы рельс — главное, что нельзя путать
  4. Для рутин (раскатано 06.08 на 24 ночные рутины хаба)
  5. Что ломается и как понять
  6. Проверки
Original SKILL.md headings · 93 lines, 656 words
SKILL.md preview
---
name: ask-any
description: "Hand a task to whichever LLM is alive, not only Claude: the prompt goes to Codex, Grok, Gemini and Claude CLIs at the same time and the first valid answer wins. Use when Claude's quota is exhausted, a vendor is down, or you want a quick parallel answer from other models. Triggers: /ask-any, ask anyone, give this to another LLM, quota empty, ask in parallel, race the rails."
license: MIT
version: 1.0.0
---

# ask-any — работу делает тот, кто жив

## Зачем

06.08.2026 замерено на хабе: бак подписки Claude исчерпан до 08.08, **все** LLM-рутины стоят.
При этом Codex ответил за 8 с, Grok за 13 с, Gemini за 4 с. Три живых вендора простаивали,
потому что все рельсы к ним были построены как «вторая пара глаз» с обязательным тегом вердикта.
Дверь была, но открывалась только внутрь ревью.

## Как звать

```bash
python ~/.claude/scripts/llm_ask.py --prompt "задание"
```

Дефолт `--mode race`: все рельсы стартуют **одновременно**, побеждает первая ответившая. Мёртвый
вендор просто не приходит первым, и его таймаут никого не задерживает.

| режим | что делает | когда брать |
|---|---|---|
| `race` (дефолт) | все разом, побеждает первый успех | обычная работа, нужен ответ быстро |
| `first` | по очереди, останавливается на первом живом | когда бережём чужие квоты |
| `all` | все разом, собираем ВСЕ ответы с подписями | сравнить мнения, спорный вопрос |

Ещё ручки: `--rails codex,grok` (сузить круг), `--prompt-file p.txt`, `--timeout 180`, `--list`.

Замер 06.08: гонка 13,9 с против очереди 16,4 с на живом хабе; в режиме `all` три мнения
приходят за 13 с вместо 25 с последовательно.

## ⛔ Две породы рельс — главное, что нельзя путать

| рельса | что умеет | когда брать |
|---|---|---|
| `claude` `codex` `grok` `gemini` | только ГОВОРИТЬ | суждение, синтез, черновик, разбор |
| `codex-agent` | ДЕЛАТЬ: файлы, команды | работа, которую рутина делала бы сама |

Grok и Gemini физически не могут действовать: они зовутся с выключенными инструментами.
Отдашь им действие — получишь прозу вместо дела, и потребитель примет её за результат
(память `green-exit-on-spent-bucket`).

У агента рабочая папка = `LLM_ASK_CWD`, песочница ограничена ею. Пустой stdout при коде 0 у
агента = **работа сделана**: у него результат это побочный эффект, а не текст.

Tier-2, гейт [коллега] и правда в цифрах не ослаблены: сменился исполнитель, не правила.

## Для рутин (раскатано 06.08 на 24 ночные рутины хаба)

```
python claude_run.py <timeout> --extfallback codex-agent --stdin <файл> -- claude -p ...
```

Рутина сперва идёт своим путём; если бак пуст, задание уезжает Codex-агенту и рутина реально
доделывает работу. Рабочую папку `claude_run` подставляет сам (волт), потому что задача из
планировщика стартует в `system32`.

Доказано сквозным прогоном 06.08: бак Claude пуст → Codex выполнил инструкцию рутины → файл
на диске → rc=0.

## Что ломается и как понять

| в stderr | что это | лечение |
|---|---|---|
| `бак подписки исчерпан` | у вендора кончилась квота | ничего, другие подхватят |
| `рельса разлогинена` | сессия вендора умерла | `grok login --device-auth` / `claude setup-token` |
| `CLI не на PATH` | вендор не стоит на этом узле | поставить или убрать из `--rails` |
| `ВСЕ рельсы мимо` | все двери закрыты | причина названа поимённо, читать её |

Главный риск — **отписка, принятая за ответ**: вендоры печатают «я разлогинен» и выходят НУЛЁМ.
Сеть на такие фразы стоит в одной точке и узкая по длине (отписка это весь вывод, а не фраза
внутри работы), иначе законный ответ про лимиты выбрасывался бы как смерть рельсы.

## Проверки

- регресс: `python ~/.claude/scripts/_test_llm_ask.py` (20 проверок, краснеет мутантом)
- паспорт: волт `00-System\LLM-Ask-Passport.md`
- счётчик: `_shared/skill_usage_log.py`, `kind=part`, имя `llm_ask:<рельса>`

Канон: память `other-llm-rails-were-review-only`, `green-exit-on-spent-bucket`,
CLAUDE.md §6.3 «выгребай лимиты».

<!--kit-footer-->

---

**Like this skill?** It is part of [second-brain-starter-kit](https://github.com/tonydzi/second-brain-starter-kit): the second brain we built for ourselves and run every day at Palo Alto AI Research Lab. Install the whole set with `npx skills add tonydzi/second-brain-starter-kit`. Everything is open source and free, so take what you need.

Flagships worth a look on their own: [secondop-panel](https://github.com/tonydzi/secondop-panel) (a second opinion from a panel of external models), [claude-memory-tidy](https://github.com/tonydzi/claude-memory-tidy) (stop your agent's memory from rotting), [telegram-mcp-kit](https://github.com/tonydzi/telegram-mcp-kit) (your own Telegram over MCP in about 15 minutes).

Author: **Anton Dziatkovskii**, Palo Alto AI Research Lab. Telegram [@tonydzi](https://t.me/tonydzi) - WhatsApp [+1 341 222 9178](https://wa.me/13412229178) - X [@Tony_Stef_](https://x.com/Tony_Stef_)

**Engineers: want to test-drive this setup?** Message me. I hand out free starter seeds to engineers who test and report back, and custom skill requests are welcome.

Versions

The database has no other skills named ask-any.

Database snapshot: 13.11.2026 · package version 8e23ac4d6635 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100ask-other-agent
    Gets an opinion from, or hands a task to, Codex, Claude Code, Grok, or Cursor. Use when the user asks to ask one of them.
  • 91ask-agents
    Ask the specific Claude, Codex, Gemini, or Grok agent the user names and automatically retrieve its response. Use for targeted outside opinions; this does not automatically create a council.
  • 81ask-agents
    Send a specific question or task to the external agent or agents the user names and relay their responses. Use for an outside opinion or explicit request to ask Claude, Codex, or Gemini.
  • 100gemini-cli
    Run Gemini CLI for AI queries. Use when user asks to "run/ask/use gemini", compare Claude vs Gemini, or delegate tasks to Gemini.
  • 100llm-council
    Ask a council of LLMs from different vendors (by default GPT-5.6 Terra, Claude Fable 5, Gemini 3.1 Pro and Grok 4.5) through OpenRouter. Each model answers in parallel, then reviews and ranks the other answers anonymously, and a chairman model writes the final answer. Use when…
  • 91handoff-claude
    Continue a task in Claude Code through a portable Director handoff packet. Use when work started in Codex CLI or Grok Build should move to Claude, or when a fresh Claude session needs the current decisions and verification evidence.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.