/loop

Runs a prompt repeatedly while the session remains open.

What /loop does

Runs a specified prompt repeatedly, keeping the session open. If no interval is provided, Claude self-paces between iterations. Omitting the prompt causes Claude to run a built-in maintenance prompt or your loop.md file.

Syntax

/loop

Aliases: /proactive

Quick drill

Three cards from the /cards deck. Open each to check your answer.

  1. Which command runs a specified prompt repeatedly while keeping the session open?

    • Executes a prompt once after a delay.
    • Runs a prompt repeatedly in a loop.
    • Creates a new infinite loop process.
    • Schedules a prompt for a future time.
    Show answer

    /loop: Runs a prompt repeatedly in a loop.

  2. Which command manages MCP server connections and OAuth authentication?

    • Authenticates with external services.
    • Manages MCP server connections.
    • Monitors network traffic and usage.
    • Configures multi-cloud platform settings.
    Show answer

    /mcp: Manages MCP server connections.

  3. Which command allows you to edit CLAUDE.md files, enable or disable auto memory, and view auto memory entries?

    • Manages CLAUDE.md files and auto memory.
    • Clears all past conversation history.
    • Saves the current session's state.
    • Optimizes memory usage for performance.
    Show answer

    /memory: Manages CLAUDE.md files and auto memory.

Drill all 112 commands in /cards

Spaced repetition so the right command comes to mind in your terminal.