switching-modes

Switch agent operating modes and persist the selection to state.json.

1|1|Updated Dec 18, 2025
One-click install
npx skills add https://github.com/SteveBronder/skillrena --skill switching-modes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: switching-modes
Source: https://github.com/SteveBronder/skillrena/tree/main/skillrena/switching-modes
Command: npx skills add https://github.com/SteveBronder/skillrena --skill switching-modes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

This Skill lets you switch the agent's operating mode on demand, enabling different collaboration styles (editing, planning, interactive, one-shot, and no-memories) to fit user tasks and preferences.

Core Features & Use Cases

  • Mode map: reads mode-specific behavior from assets/<mode>.md.
  • Dynamic switching: updates ./.{AGENT_NAME}/state.json with the chosen mode and confirms the active mode.
  • Guided fallbacks: reports invalid modes and provides a list of valid options.

Quick Start

Use the switching-modes Skill to set a mode. For example:

  • Write { "mode": "<mode>" } to ./.{AGENT_NAME}/state.json.
  • Read the appropriate mode behavior from assets/<mode>.md.
  • Confirm the active mode.

Frequently Asked Questions about switching-modes

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I switch an agent's operating mode on demand?

Switch the agent's operating mode by writing the desired mode to `./.{AGENT_NAME}/state.json`, then load the corresponding behavior from `assets/<mode>.md`. The Skill supports editing, planning, interactive, one-shot, and no-memories modes, each enabling different collaboration styles for your task.

What are the different agent collaboration modes available?

The Skill provides five modes: editing for precise code changes, planning for analysis and design, interactive for step-by-step clarification, one-shot for autonomous execution, and no-memories for stateless sessions. Each mode changes how the agent approaches your request.

How does mode persistence work in agent workflows?

Mode persistence stores your chosen mode as JSON in `./.{AGENT_NAME}/state.json`. The agent reads this state file on each interaction and applies the corresponding behavior document, ensuring your collaboration style remains active across sessions.

What happens if I request an invalid agent mode?

The Skill validates the requested mode against a predefined mode map and reports if the mode is invalid, providing a list of valid options so you can select a supported collaboration style.

Can I automate mode switching in agent workflows?

Yes. The Skill dynamically updates agent behavior by reading mode-specific instructions from asset files and validating against the mode map, enabling automated mode switching when users request different collaboration styles or workflow stages.