** Docs: `/shells` slash command (and `/bashes`) is documented but was removed in #22740 — tutorial and tip tell users to run a command that doesn't exist
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- cli, documentation
Research direction
The stale references are in docs/reference/commands.md (the /shells (or /bashes) section), docs/cli/tutorials/shell-commands.md (the "Viewing active shells" scenario), and the string in packages/cli/src/ui/constants/tips.ts. Start by confirming with git grep -nE "/shells|/bashes" and check docs/reference/keyboard-shortcuts.md for the Ctrl+B and Ctrl+L wording to reuse. Done means no /shells or /bashes references remain and the tutorial points to the keybindings.
Written by the indexing model from the issue text.
Description
Draft issue for root to file BEFORE publishing the PR (issue-first gate: PRs without a linked issue are auto-closed by gemini-cli[bot]; CONTRIBUTING.md "Pull request guidelines → 1. Link to an existing issue")
Title: Docs: /shells slash command (and /bashes) is documented but was removed in #22740 — tutorial and tip tell users to run a command that doesn't exist
Body:
What happened?
docs/cli/tutorials/shell-commands.md ("Scenario: Viewing active shells") instructs:
To see what's running in the background, use the `/shells` command.
**Command:** `/shells`
and docs/reference/commands.md (slash-command reference) still documents:
### `/shells` (or `/bashes`)
- **Description:** Toggle the background shells view. This lets you view and
manage long-running processes that you've sent to the background.
The in-app tip in packages/cli/src/ui/constants/tips.ts also says: "Toggle background shells with Ctrl+B or /shells".
But the /shells command no longer exists. It was added by #14849 (commit b611f9a5, 2026-01-30, packages/cli/src/ui/commands/shellsCommand.ts, name: 'shells', altNames: ['bashes']) and removed by #22740 (commit 3eebb75b, 2026-03-28, "feat(core): agnostic background task UI with CompletionBehavior"), which deleted shellsCommand.ts and its test but left the docs section, the tutorial scenario, and the tip untouched.
Running /shells (or /bashes) on current main prints "Unknown command". The background shell controls today are keybindings only, already correctly documented in docs/reference/keyboard-shortcuts.md ("Background Shell Controls"): Ctrl+B = background.toggle (toggle current background shell visibility), Ctrl+L = background.toggleList (toggle background shell list), plus Esc/Enter/Ctrl+K for dismiss/select/kill.
What did you expect to happen?
Docs and the tip should match the shipped UX: drop the /shells (or /bashes) section from the commands reference, point the tutorial's "Viewing active shells" scenario at Ctrl+B / Ctrl+L, and drop "or /shells" from the tip — consistent with docs/reference/keyboard-shortcuts.md.
Impact
Three stale references to a removed command: the command reference documents something that doesn't exist, and the tutorial tells readers to run a command that prints "Unknown command". Docs-only in the two docs files; the third reference is one string constant in tips.ts (no behavior change).
Verification
$ git grep -nE "/shells|/bashes" -- docs packages/cli/src
docs/cli/tutorials/shell-commands.md:65:To see what's running in the background, use the `/shells` command.
docs/cli/tutorials/shell-commands.md:67:**Command:** `/shells`
docs/reference/commands.md:410:### `/shells` (or `/bashes`)
packages/cli/src/ui/constants/tips.ts:118: 'Toggle background shells with Ctrl+B or /shells',
$ git grep -n "name: 'shells'" -- packages/cli/src
(no results — the command does not exist in the registry)
$ ls packages/cli/src/ui/commands/shellsCommand.ts
No such file or directory (removed by #22740, commit 3eebb75b)
A documented-vs-registry cross-check over docs/reference/commands.md (37 documented top-level commands vs the built-in command registry in packages/cli/src/ui/commands/) flags exactly one stale entry: /shells.
Related context
- The open anchor-cleanup PR #30375 covers nine other docs files but not these; open PR #21877 edits
docs/reference/commands.mdbut only its/directorysection. - I have a small prepared fix (remove the commands-reference section; rewrite the tutorial scenario to reference
Ctrl+B/Ctrl+L; drop "or /shells" from the tip) and can open a PR referencing this issue.
Note for root (not part of the issue body): after filing, (1) verify via API that it is an ISSUE (no pull_request key on GET /repos/google-gemini/gemini-cli/issues/<N>), (2) replace #ISSUE_TO_BE_FILED in pr-body.md/pr-request.json with the new issue number and set manifest.issue + claim-comment.json.issue, (3) post claim-comment.json on the new issue — it asks maintainers for the help wanted label, because author PRs are nudged at 7 days and closed at 14 days without it (.github/scripts/gemini-lifecycle-manager.cjs).
I have a small docs fix ready (remove the stale /shells references from commands.md, shell-commands.md and tips.ts) and will link a PR here shortly. If maintainers agree, a help wanted label would help it survive the 14-day PR lifecycle automation — understood if triage decides otherwise. (Prepared with the help of an AI coding assistant; verified against the current command registry.)
- Dominant language
- TypeScript
- Stars
- 109k
- Forks
- 15k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 106
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from google-gemini/gemini-cli
-
status/need-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
google-gemini/gemini-cli#30412 · 1 comment ·
Maintainers usually reply within 1 day
-
--acp never answers initialize when a sandbox is enabled (stdin read as a piped prompt before the sandbox hop)Possibly taken @Raamia claimed this 1 day ago. Openstatus/need-triage
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
google-gemini/gemini-cli#30398 · 2 comments ·
Maintainers usually reply within 1 day
-
** Docs: System Prompt Override guide links "Persisting Environment Variables" to an anchor that does not exist in authentication.mdxPossibly taken @DZH166 claimed this 1 day ago. Openstatus/need-triage
Difficulty 1/5 Under an hour Newbie friendliness 82/100
google-gemini/gemini-cli#30394 · 2 comments ·
Maintainers usually reply within 1 day
-
core tests: orphan PTY slave fd test fails on Macs where /dev/ttys001 existsPossibly taken @Anoshor claimed this 2 days ago. Openstatus/need-triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
google-gemini/gemini-cli#30384 · 2 comments ·
Maintainers usually reply within 1 day
-
cli tests: gemini.test.tsx fails locally unless GEMINI_CLI_TRUST_WORKSPACE is setPossibly taken @Anoshor claimed this 2 days ago. Openstatus/need-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
google-gemini/gemini-cli#30383 · 3 comments ·
Maintainers usually reply within 1 day
All issues in google-gemini/gemini-cli
Similar issues
-
bug done
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
neavo/LinguaGacha#1124 ·
Maintainers usually reply within 1 day
-
[fullsend] E2E: backstage-microsoft-auth — catalogQuery missing error handler for network errorsPossibly taken @fullsend-ai-coder claimed this today. Opene2e-failure ready-to-code
Difficulty 2/5 Under an hour Newbie friendliness 78/100
redhat-developer/rhdh-plugin-export-overlays#4821 · 1 comment ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
brylie/mission-island#225 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
sagemathinc/sagebrush#1683 ·
Maintainers usually reply within 1 day