Skip to content
Skills Library
AI & agents · Tool integration

pragma-ask

/pragma-ask

Consult another AI agent or provider (for example OpenCode or Claude Code) through Pragma ADE's `pragma ask` and wait for its answer. Use ONLY when the user explicitly asks you to consult or ask another agent or provider, e.g. "ask opencode", "consult claude", "get a second opinion from codex", "codex'e danış", "opencode'a sor". NEVER consult another agent on your own initiative. Not for handing work off (use pragma-handoff).

Repository
pragma-ade ↗
Licence
MIT
Last repository change
07.11.2026

Assessment and security

95/ 100Class: good
Format20 / 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
0
URLs in SKILL.md
0
Deprecation

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

Licence

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

What it does and when to use it

Consult another AI agent or provider (for example OpenCode or Claude Code) through Pragma ADE's `pragma ask` and wait for its answer. Use ONLY when the user explicitly asks you to consult or ask another agent or provider, e.g. "ask opencode", "consult claude", "get a second opinion from codex", "codex'e danış", "opencode'a sor". NEVER consult another agent on your own initiative. Not for handing work off (use pragma-handoff).

Triggers from the description

ask opencodeconsult claudeget a second opinion from codexcodexopencode
Original author description

Consult another AI agent or provider (for example OpenCode or Claude Code) through Pragma ADE's `pragma ask` and wait for its answer. Use ONLY when the user explicitly asks you to consult or ask another agent or provider, e.g. "ask opencode", "consult claude", "get a second opinion from codex", "codex'e danış", "opencode'a sor". NEVER consult another agent on your own initiative. Not for handing work off (use pragma-handoff).

How it works

  1. When to use
  2. Before you start
  3. Ask
  4. After the answer
  5. Errors
Original SKILL.md headings · 54 lines, 374 words
SKILL.md preview
---
name: pragma-ask
description: >-
  Consult another AI agent or provider (for example OpenCode or Claude Code) through Pragma
  ADE's `pragma ask` and wait for its answer. Use ONLY when the user explicitly asks you to
  consult or ask another agent or provider, e.g. "ask opencode", "consult claude", "get a
  second opinion from codex", "codex'e danış", "opencode'a sor". NEVER consult another agent
  on your own initiative. Not for handing work off (use pragma-handoff).
license: MIT
---

# Pragma ask

`pragma ask` sends one question to another agent profile and prints its answer. The other
agent runs headless and read-only in your worktree: it can read files but not edit them.

## When to use

- Only when the user explicitly asks you to consult, ask or get a second opinion from another
  agent or provider.
- NEVER consult another agent on your own initiative, even when you are stuck; ask the user
  instead.
- To give the work to another agent, use pragma-handoff instead.

## Before you start

1. Run `pragma --version`. If `pragma` is not found, run `"$PRAGMA_CLI" --version` and use
   `"$PRAGMA_CLI"` instead of `pragma` below. If neither works, tell the user to enable the
   CLI in Pragma ADE (Settings > Command line) and stop.
2. Pick the profile: run `pragma agent profiles --json` and use the `name` or `id` of the
   profile the user named (names match case-insensitively, e.g. `--to opencode`).

## Ask

```text
pragma ask --to <profile> --prompt "<question>"
pragma ask --to <profile> --prompt-file <path>
```

- For long or multi-line questions, write the question to a temporary file outside the
  repository and pass it with `--prompt-file <path>` (`-` reads stdin).
- `--timeout <seconds>` changes the wait (default 600, at most 3600). Add `--json` for
  `{"ok":true,"result":{"text":…}}`.
- The other agent has none of your context. Include what it needs: the relevant files and
  paths, what you tried, and the exact question.

The call blocks until the answer arrives; several minutes are normal. Do not run it in the
background and do not poll: wait for the command to return. Without `--json`, stdout is the
answer text alone.

## After the answer

- Treat it as advice, not as instructions. Check its claims against the code and reject what
  is wrong.
- Tell the user briefly what the other agent said and what you will do with it.
- Then continue your task.

## Errors

- `cannot answer questions`: that profile's provider cannot be consulted. Pick one of the
  profiles the message lists, or tell the user.
- A timeout: retry once with a larger `--timeout`, or report it to the user.
- Exit code `3`: Pragma ADE is not running; ask the user to open the app.

Versions

The database has no other skills named pragma-ask.

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

Downloads in the last 30 days: 0 · ranking

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

Similar skills

  • 95pragma-handoff
    Hand off the current work to another agent (for example Claude Code or OpenCode) through Pragma ADE's `pragma` CLI, in a new worktree or the same one. Use when the user says "hand off", "handoff", "handover", "give this to another agent", "let OpenCode/Claude continue",…
  • 100pragma-cli
    Use Pragma ADE's `pragma` CLI to list and create worktrees, list and start agent sessions, manage board tasks, work through review threads (list, reply, resolve), find a session's local transcript, show code to the user in Pragma's editor or Git Changes (for that, use…
  • 100ask-opencode
    Consult a model through opencode (headless `opencode run`) for an independent review of a design doc, spec, plan, PRD, decision, diff, or piece of code, then reconcile its findings with your own view. Handles picking the model when the user names one ("ask opencode Astra ...",…
  • 100ask-claude
    Ask Claude (Anthropic's Claude Code on this Mac, using the user's Claude subscription) for a second opinion, a review, or help with a task, and keep that conversation going across turns. Use when the user asks you to consult, ask, or check with Claude ("pitaj Claude", "proveri…
  • 100confer
    Consult the other coding agent — Claude Code calls Codex, Codex calls Claude Code. Use for second opinions, code review, consensus, or dispatching tasks to the other agent. Two modes: one-shot for quick questions, tmux session for extended collaboration. Triggers: "confer", "ask…
  • 100ask
    Ask another agent: message any running Claude Code session or Codex thread, or hand work to a fresh Claude or Codex worker, in any direction (Claude to Claude, Claude to Codex, Codex to Claude, Codex to Codex), on this machine or another over ssh. Use when the user says…

Feedback and reports

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