testing-mastracode-tui
Skill by mastra-ai
Guides developers through interactive testing of the mastracode terminal UI in Konsole. Covers model configuration, thread lifecycle, task state isolation and common blockers.
Install testing-mastracode-tui
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mastra-ai/mastra /tmp/mastra && mkdir -p ~/.claude/skills && cp -r /tmp/mastra/.claude/skills/testing-mastracode-tui ~/.claude/skills/testing-mastracode-tuiRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mastra-ai/mastra /tmp/mastra && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/mastra/.claude/skills/testing-mastracode-tui ~/.gemini/antigravity-cli/skills/testing-mastracode-tuiAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install testing-mastracode-tui in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a guide for testing the terminal user interface of mastracode interactively in Konsole. It explains how to build the project with pnpm, configure OpenRouter as a custom provider in settings.json, and launch the TUI with pnpm cli. It also lists key slash commands such as /new, /threads, /clone, /models and /help.
It describes a thread state test that checks whether tasks clear on /new and restore when switching threads. It also covers rendering checks with tsx scripts, vitest unit tests, and common issues such as observational memory key errors and models that do not call tools. It is aimed at developers working on the mastracode codebase in the mastra repository.
Written from the project's SKILL.md and checked against it.
What it can do
- Build and launchBuilds mastracode with pnpm and launches the TUI with pnpm cli.
- Custom provider setupConfigures OpenRouter as a custom provider in mastracode settings.json.
- Thread lifecycle testChecks that tasks clear on /new and restore when switching threads with /threads.
- Clone testChecks that cloned threads start with empty tasks.
- Programmatic rendering testsRenders components with tsx scripts and checks visible widths at several terminal sizes.
- Unit testsRuns vitest unit tests for the TUI with a pnpm filter command.
- Key TUI commandsLists the slash commands /new, /threads, /clone, /models and /help.
What you need
- Konsole terminal
- pnpm, installed through corepack or npm
- Local clone of the mastra repository
- OpenRouter API key (OPENROUTER_API_KEY), if no Anthropic or OpenAI key is available
Try asking
- Write a tsx script that checks my user message component at widths 40 to 120.
- Walk me through testing that tasks clear on /new in mastracode.
- Set up mastracode to use OpenRouter with the minimax model in settings.json.
Good to know
- Less capable models may not use mastracode tools unless told to by name.
- Observational memory may need an OpenRouter model override to avoid Google key errors.
- Some pre-existing test failures may exist in the broader test suite.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/testing-mastracode-tui/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to testing-mastracode-tui
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
testing-mastracode-tui: common questions
Can I test mastracode without an Anthropic or OpenAI key?
Yes. The guide describes using OpenRouter as a custom provider when those keys are unavailable.
Can I check rendering bugs without a working LLM connection?
Yes. The user message box renders on Enter before any LLM response, so it can be inspected without a connection.
Why might tasks not appear with some models?
Some models, such as minimax, may not call task_write automatically, so the guide suggests naming the tool in the prompt.
How do I install testing-mastracode-tui?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is testing-mastracode-tui free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is testing-mastracode-tui safe to use?
It scores 84 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to testing-mastracode-tui?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
