Troubleshooting
Common issues and how to resolve them.
Connection refused
Error: ECONNREFUSED 127.0.0.1:8080Fix: Start your LLM backend. The TUI expects an OpenAI-compatible server at the configured URL.
bash
# Verify the backend is running
curl http://127.0.0.1:8080/v1/modelsContext window full
Error: context_fullFix: Enable compaction or reduce context:
json
{
"compaction": {
"enabled": true,
"triggerFraction": 0.75
}
}Edit fails — text not found
Error: Edit failed — text not found in fileFix: The file content changed between read and edit. Re-read the file and retry.
Skill not loading
[WARN] Skill not found: my-skillFix: Check that SKILL.md is in the correct location and has valid frontmatter:
skills/my-skill/SKILL.mdMCP server not starting
Error: MCP server filesystem failed to startFix: Verify the command and args are correct:
bash
npx -y @modelcontextprotocol/server-filesystem /workspaceDiagnostic commands
bash
# Full system check
npm start -- doctor --json
# Check MCP connectivity
npm start -- doctor --mcp
# Check skills
npm start -- doctor --skills