03.1 · Brain toolbelt: survey existing skills, tools, and MCP servers #12
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
cmoriarty/trog#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Before building more tools ourselves, survey what already exists that could make the studio brain more capable and reliable. Precedent: agentic-game-dev's
web_search/web_read(searxng + server-side extraction) measurably reduced failed web reads versus letting the model fetch raw pages — cheap wins like that likely exist elsewhere.To investigate:
web_search/web_read? Requires deciding whether searxng rejoins the compose stack, or whether an existing MCP web-fetch server does the job (server-side readability extraction is the important part — raw HTML wastes context and fails often).production.py?Evaluation bar for anything adopted: open source (MIT/Apache), self-hosted, no phone-home, works over MCP with a local llama.cpp brain (tool-calling via chat template), and the tool-schema token overhead must be worth it — a 27B brain with 262K ctx still pays for every tool description on every turn.
Deliverable: a short audit doc (
docs/toolbelt-audit.md) with keep/skip/later per candidate + wiring plan for the keepers (served via trog-mcp vs sidecar MCP services), and follow-up issues for anything that lands in a later ticket's scope.3.1 · Brain toolbelt: survey existing skills, tools, and MCP serversto 03.1 · Brain toolbelt: survey existing skills, tools, and MCP serversDone — audit complete, OpenCode stays
Deliverable: docs/toolbelt-audit.md (commit
548618c) — keep/later/skip per candidate + wiring plan.The code-agent decision (the added task): keep OpenCode. Key finding: with llama.cpp's
--jinjachat template doing Qwen tool-call parsing server-side, both OpenCode and Qwen Code see the identical OpenAI tools API — there is no client-side integration edge left for Qwen Code to claim. Its free OAuth tier also died 2026-04-15, so no cost angle either. OpenCode's native Agent Skills (SKILL.md) support pairs directly with Phaser 4's in-repo skills. Revisit trigger documented: persistent tool-call failure rate in ticket 10 → cheap A/B against Qwen Code (same endpoint config).Keeps: Phaser 4's in-repo
skills/(~28 files, framework-maintained, zero token cost — ticket 10); Playwright MCP for playtest (ticket 04, canvas caveat documented: screenshot path + brain vision, not a11y snapshots); searxng + webfetch-mcp for web research (new issue below); SKILL.md as the format for agent-facing phase prompts.Skips: reference MCP servers (filesystem/git duplicate trog_lib.forgejo + OpenCode's own tools), SaaS asset generators (fail the self-host bar), external vision-critique tooling (nothing mature; brain has vision + ported critics).
Laters: library-docs MCP (only if Phaser skills don't stop API hallucination — arabold/docs-mcp-server is the candidate), aseprite MCPs (logged for ticket 05), Three.js/Rapier llms.txt (when a 3D ticket exists).
Follow-ups filed/noted: new issue #13 (web research wiring); pointers left in the audit for tickets 04/05/10.
Token-budget outcome: the brain's standing toolbelt stays at 4 tools (2 trog_lib + 2 web). Playwright's ~20 tools mount only inside the playtest service.