# Ask Mode Terminal Commands

**URL:** <https://forum.cursor.com/t/ask-mode-terminal-commands/164600>\
**Category:** Bug Reports\
**Tags:** terminal, ask-mode\
**Created:** [July 2, 2026, 12:28am UTC](https://forum.cursor.com/t/ask-mode-terminal-commands/164600 "2026-07-02T00:28:07Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Leland\_Hepworth](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@Leland\_Hepworth](https://forum.cursor.com/u/Leland_Hepworth)\
**Post date:** [August 24, 2026, 5:17pm UTC](https://forum.cursor.com/t/ask-mode-terminal-commands/164600/11 "2026-08-24T17:17:53Z")

</div>

It sems like the Cursor team has acted on this bug report, but instead of only blocking the mutating commands like `git commit`, `git revert`, and `git push`, they blocked all terminal access while in Ask Mode, even when using an allowlist full of vetted read-only commands. So now the Ask Mode agent cannot run useful read-only commands like `git log`, `git diff`, `git status`. See the following posts:

> [@Ask mode: agent unaware of shell restriction, doesn't suggest switching to Agent mode](https://forum.cursor.com/t/ask-mode-agent-unaware-of-shell-restriction-doesnt-suggest-switching-to-agent-mode/166758):
>
> Hello, I have been experiencing this same issue, apparently. I found this thread while trying to figure out why the agent wasn’t able to run shell commands successfully in Ask mode- it sounds like that’s a deliberate design decision, but I must have missed the memo there. The agent doesn’t seem to be entirely aware of that limitation either. It tried to run “psql” to query my PostgreSQL database, then when that failed twice, it tried running simpler shell commands three more times to resolve th…

> [@Configurable read-only shell access in Ask Mode](https://forum.cursor.com/t/configurable-read-only-shell-access-in-ask-mode/169335):
>
> Feature request for product/service Cursor IDE Describe the request Summary Please bring back the ability to run read-only shell commands in Ask Mode, gated by the existing Allow List / Auto-Run settings, instead of the current all-or-nothing block. Ask Mode used to let read-only commands (like git log, git diff, git status) run through without issue when the OS sandbox wasn’t hard-enforcing a block. That’s now gone entirely, and there’s no in-between option: it’s either a shell-less Ask Mode o…

The workaround is to use Agent Mode instead of Ask Mode, but then the agent has access to its file edit tools.

---

_[View the full topic](https://forum.cursor.com/t/ask-mode-terminal-commands/164600)._
