Turn on ai-incontext ask mode in the pane beside the chat (a Claude Code mod; no browser page or daemon) for the rest of the session, so every question Claude asks goes to the pane instead of the chat, with or without a spec. Use when the user runs /ask-mode-mod or asks to route all questions through the ai-incontext pane from now on; "/ask-mode-mod off" turns it off and hands the questions back to the chat, even with a spec open. Do NOT use for writing a spec (use spec-elaborate-mod), or whe...
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Ask Mode Mod?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/rrgmc-ask-mode-mod-ai-incontext)
---
name: ask-mode-mod
description: Turn on ai-incontext ask mode in the pane beside the chat (a Claude Code mod; no browser page or daemon) for the rest of the session, so every question Claude asks goes to the pane instead of the chat, with or without a spec. Use when the user runs /ask-mode-mod or asks to route all questions through the ai-incontext pane from now on; "/ask-mode-mod off" turns it off and hands the questions back to the chat, even with a spec open. Do NOT use for writing a spec (use spec-elaborate-mod), or when the user wants the browser viewer (use ask-mode).
argument-hint: "[off]"
---
# Ask mode in the ai-incontext pane
Ask mode sends every question you ask the user for the rest of this session
to the ai-incontext pane beside the chat. The user answers there, next to the
code each question is about.
## The pane's tools
Use only the pane's tools: `mcp__ai-incontext__ask_mode`,
`mcp__ai-incontext__ask` and `mcp__ai-incontext__ask_wait`. They are deferred:
load them first with ToolSearch, as
`select:mcp__ai-incontext__ask_mode,mcp__ai-incontext__ask,mcp__ai-incontext__ask_wait`.
Never call the `mcp__plugin_ai-incontext_ai-incontext__…` tools in this skill:
they drive the browser viewer. Below, `ask_mode`, `ask` and `ask_wait` mean
the pane's tools.
## Turn it on or off
- With no argument, call `ask_mode` with no input. The pane opens. Tell the
user in one line that ask mode is on, then wait for their next instruction.
Do not start any other work.
- With the argument `off`, call `ask_mode` with `{"off": true}` and tell the
user in one line that ask mode is off and questions come back to the chat.
This also releases a spec that is open, for example one from
spec-elaborate. From then on, ask every question in the chat or with the
built-in question tool, never with `ask`, as the result's `next` says.
## While ask mode is on
- Ask **every** question with `ask`: clarifying questions, choices between
approaches, confirmations. Never ask in plain chat text and never with
another question tool. The mod blocks the built-in question tool while ask
mode is on.
- **Approvals go to chat.** To ask the user to approve an action that needs
their permission (an external write such as a Jira or Slack change, or an
action the permission system refused), ask in plain chat and wait for
their reply. Never ask it with `ask`: the answer comes back as a tool
result, which the permission system does not take as the user's approval,
so a retry is refused again.
- Refs are optional. Add `code_refs` when the question is about code (for Go,
prefer `symbol`; else `lines`). Add `doc_refs` when it is about a document:
give its `path` (any text file of the project) and either a `quote` copied
verbatim from a markdown file or `lines` (`N` or `N-M`), which also works
for YAML, JSON and other files. Leave both out for a question about
neither. A question about the whole document, such as a sign-off or a
summary, takes no ref at all, not even `spec_quote`: a ref highlights
one passage, and the user reads it as what the question is about.
`spec_quote` needs a spec shown with
`spec_show`.
- **A question about a document quotes it.** When the question names or
depends on a passage of a document, such as a requirement, an acceptance
criterion or a section of the spec you are implementing, put that passage
in `doc_refs`, even when another session wrote the document. The user
reads the question beside it. Give an absolute `path` when the file is
outside the session's folder, for example in another git worktree.
- Give 2 to 6 options with short labels and the trade-off in each
`description`. Mark the option you recommend with `"recommended": true` and
say why.
- Results:
- `answered`: act on the answers.
- `in_chat`: stop and wait for the user's message.
- `pending`: call `ask_wait` with the returned `question_set_id`.
- `dismissed`: continue without that decision, or ask in chat if it is
essential.
- `deferred` (with `answered`): the user chose **Decide later**. Continue
without the decision and ask again before you finish the task.
- **The working document.** The first markdown document you write while ask
mode is on (a spec, a plan, a design note) shows beside the questions as
the working document, and `spec_quote` quotes it. A hook picks it; the
first time, it tells you which file it picked. Bookkeeping files
(`CLAUDE.md`, changelogs, memory, files in dot-folders) never count. If the
wrong file shows, call `spec_show` with the right one: your own
`spec_show` always wins. A question whose `doc_refs` quotes another file
you wrote also switches to that file.
- If the user starts a spec, follow the spec-elaborate-mod skill as usual;
ask mode stays on after `spec_done`.
- Ask mode lasts until the user turns it off or the session ends.