Repository navigation
Description
Problem or use case
Working across several agents (Claude Code, Codex, Gemini, Cursor, OpenCode…) in one Orca workspace, there is no way to see what each agent will actually load for that workspace: which instruction files apply (CLAUDE.md, AGENTS.md, GEMINI.md, .cursorrules, .cursor/rules/, .github/copilot-instructions.md — user-level, workspace-level, and parent folders), which skills are discovered, which MCP servers are configured and where, which hooks fire, and which plugins are enabled or disabled.
Today that means opening a dozen files by hand across ~/.claude, ~/.codex, ~/.gemini, ~/.config/opencode and the repo — and remembering each vendor's rules. When an agent behaves unexpectedly ("why is it ignoring my rule?" / "which AGENTS.md won?"), the answer is spread across those files.
#13601 asks for enable/disable controls over the same customizations. That needs the census underneath it first — you cannot toggle what you cannot see — and the read-only view is useful on its own.
Proposed solution
A read-only Agent context panel in the right sidebar for the active worktree. Every row is tagged with the agents that read it, and the panel can be narrowed three ways — the same controls Session History already uses:
- View menu (filter icon in the header): agent checkboxes (only agents that read something in this workspace are listed; several ticked = the union of what they read, one ticked = exactly what that agent sees), plus "show locations that were checked but empty" and "reset view". Choices persist per client, like Session History's.
- Scope switch — Workspace / User / All: files in the repo tree and its parents (and repo skills) vs. home-directory config (and home/plugin skills).
- Section strip — All / Instructions / Skills / MCP / Hooks / Plugins.
Sections:
- Instructions — instruction files grouped by scope (workspace → parent folder → user), with size or rule-file count. Ancestor
CLAUDE.md/CLAUDE.local.mdfor Claude (which walks to/); ancestorAGENTS.mdfor the Codex family only up to the git root; Cursor/Copilot read the workspace root only. - Skills — discovered skills grouped by source (workspace
.claude/.agents, per-agent homes, plugin caches), reusing the existing skill discovery, scanned at the worktree's cwd (so linked worktrees see their own checked-in skills). - MCP servers — workspace
.mcp.json,.cursor/mcp.json,.vscode/mcp.json,.codex/config.toml,opencode.json,.gemini/settings.json; user-level~/.claude.json(global and theprojects[cwd]local scope, local names winning),~/.cursor/mcp.json,~/.gemini/settings.json,~/.codex/config.toml,~/.config/opencode/opencode.json— with the servers each declares (shared MCP inspector; a small Codex TOML reader for[mcp_servers.*]tables incl. multi-lineargsandenvsub-tables). Large~/.claude.jsonstate files are parsed and only their MCP sub-objects inspected, so they never read as "invalid". - Hooks — Claude
settings.json/ projectsettings.json/settings.local.json, with hook events and counts. - Plugins — Claude
enabledPluginsdecisions, with the settings file that decided each one.
Every present row opens in the editor — workspace files by their worktree path, and files outside the worktree (home configs, plugin settings, home/plugin SKILL.md, MCP config files) through Orca's existing external-file grant on local workspaces (WSL paths via the UNC mount). Rows a workspace's host cannot open are shown as plain text rather than dead links.
Where it reads from is a fact of the workspace, not a picker: the header names the host (Local Linux/Mac/Windows, WSL <distro> when the local read went into WSL, a runtime environment by name, an SSH target by id). It follows the host that runs the workspace's agents, exactly as native-chat skill discovery does: native host, WSL project runtime (read through the \\wsl.localhost mount, POSIX paths shown), or a connected remote runtime via RPC (workspace identity only is forwarded). SSH workspaces show an explicit "not available for SSH workspaces" state rather than a wrong answer from the local disk; an unresolved runtime shows an empty state instead of a blank panel. Reports are keyed to the target, so switching workspaces never shows or opens the previous workspace's files.
Follow-up (separate): the toggle layer from #13601, for the agents that expose a native disable (Claude plugins/MCP, Codex MCP). Skills have no vendor disable flag, so they would stay read-only.
Alternatives or additional context
Implementation: #14875.
Panel (dark), showing the host line, scope switch, section strip and per-row agent tags:
View menu — only agents present in this workspace are offered:
MCP section, with ~/.claude.json opened in the editor from its row:



Activity