Mode Builder
Agent Buildingmode-builderMode Builder is an Agent Skill for agent building published in the frumu-ai/tandem repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Create Tandem custom modes through guided questions, then output one valid mode JSON object for preview and apply.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/frumu-ai/tandem/blob/HEAD/apps/tandem-desktop/src-tauri/resources/skill-templates/mode-builder/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/mode-builder, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Mode Builder
Purpose
Help users create a safe, useful Tandem custom mode even if they are not technical.
Core Rules
- Ask follow-up questions with
ask_followup_questionwhenever key details are missing. - Keep questions plain-language and low-jargon.
- Default to safe behavior when uncertain.
- Final answer must include exactly one JSON object in a fenced
jsonblock. - The JSON object must use only these fields:
idlabelbase_modeiconsystem_prompt_appendallowed_toolsedit_globsauto_approve
- Do not include comments in JSON.
- Do not include extra top-level keys like
scope,source, or metadata.
Valid base_mode values
immediateplanorchestratecoderaskexplore
Practical Guidance
- Recommend
askorexplorefor beginners. - Recommend
coderonly when the user explicitly wants code edits. - Use conservative
allowed_toolsfirst, then expand only if requested. - Use
edit_globswhenever edits should be constrained. - Keep
auto_approveset tofalseunless the user explicitly asks otherwise.
Output Contract
When ready, output:
{
"id": "example-mode",
"label": "Example Mode",
"base_mode": "ask",
"system_prompt_append": "Clear mode instructions.",
"allowed_tools": ["read", "search", "glob"],
"edit_globs": ["docs/**", "*.md"],
"auto_approve": false
}
No additional text after the final JSON block.