Troubleshooting¶
Browser MCP tools unavailable¶
Run (macOS / Linux):
scripts/doctor-browser-mcp.sh
Run (Windows PowerShell):
powershell -ExecutionPolicy Bypass -File .\\scripts\\doctor-browser-mcp.ps1
If doctor reports missing dependencies, run installer:
scripts/install-browser-mcp.sh
powershell -ExecutionPolicy Bypass -File .\\scripts\\install-browser-mcp.ps1
EXTRA_ARGS[@]: unbound variable¶
Cause: old ctx-agent.sh with bash set -u empty-array expansion edge case.
Fix:
- Pull latest
main. - Re-open shell and retry
claude/codex/gemini.
Commands not wrapped¶
Check these conditions:
- You are inside a git repo (
git rev-parse --show-toplevelworks). ROOTPATH/scripts/contextdb-shell.zshexists and is sourced.CTXDB_WRAP_MODEallows current repo (opt-inrequires.contextdb-enable).
Wrapper loaded but should be disabled¶
Set in shell config:
export CTXDB_WRAP_MODE=off
Skills unexpectedly shared across projects¶
Skill loading scope is separate from ContextDB wrapping:
- Global skills:
~/.codex/skills,~/.claude/skills - Project-only skills:
<repo>/.codex/skills,<repo>/.claude/skills
If you need isolation, keep custom skills in repo-local folders.
GitHub Pages configure-pages Not Found¶
This usually means Pages source is not fully enabled.
Fix in GitHub settings:
Settings -> Pages -> Source: GitHub Actions- Re-run
docs-pagesworkflow.