Skip to main content
reopt Handbook
reopt Handbook
Claude Code Command MasterLabels and command selectionHow to read a detail guideComplete command listTerminal CLI Commands and Flags

Task guides

Core command basicsStarting and resuming workSkills and Custom CommandsAutomation and Web CommandsOperations and Safety CommandsCustom commands and skillsMCP connections and commands

Conversation and context

Cmd. /add-dirCmd. /backgroundCmd. /compactCmd. /contextCmd. /copyCmd. /exportCmd. /forkCmd. /importCmd. /initCmd. /memoryCmd. /recapCmd. /renameCmd. /resumeCmd. /rewindCmd. claude project purge

Planning and execution

Cmd. /autofix-prCmd. /batchCmd. /desktopCmd. /goalCmd. /loopCmd. /planCmd. /remote-envCmd. /scheduleCmd. /tasksCmd. /teleportCmd. /workflows

Review and verification

Cmd. /code-reviewCmd. /runCmd. /run-skill-generatorCmd. /security-reviewCmd. /simplifyCmd. /verify

Models and settings

Cmd. /claude-apiCmd. /configCmd. /effortCmd. /fastCmd. /modelCmd. /output-styleCmd. /update-config

Permissions and integrations

Cmd. /agentsCmd. /hooksCmd. /ideCmd. /mcpCmd. /permissionsCmd. /pluginCmd. /reload-pluginsCmd. /reload-skillsCmd. /sandboxCmd. /skillsCmd. /web-setup

Status and diagnostics

Cmd. /debugCmd. /diffCmd. /doctorCmd. /fewer-permission-promptsCmd. /release-notesCmd. /team-onboarding

Display and input

Cmd. /colorCmd. /focusCmd. /keybindingsCmd. /powerupCmd. /statuslineCmd. /terminal-setupCmd. /themeCmd. /tui

Account and usage

Cmd. /upgradeCmd. /usageCmd. /usage-credits

Legacy

Cmd. /costCmd. /pr-commentsCmd. /reviewCmd. /statsCmd. /ultrareviewCmd. /vimCmd. /approved-toolsCmd. /commandsCmd. /extra-usageCmd. /settingsCmd. /tagCmd. /todos

Verification and history

Current verification scopeHandbook updatesRelease coverage historyEarlier verification recordsCommand change history
Handbook›Claude Code Command Master›Cmd. /loop
한국어English

Cmd. /loop

Repeat a prompt while the session stays open (skill, /proactive).

Key takeaways

  • Repeat a prompt while the session stays open (skill, /proactive).
  • Check the input surface and availability before using the examples below.

Purpose

Repeat a prompt while the session stays open (skill, /proactive).

/loop [interval] [prompt]

Availability

FieldValue
Input surfaceRunning CLI prompt
KindBundled skill
StatusCurrent reference
Aliases/proactive
Documented minimumNot specified
Reviewed against2026-09-22 · Claude Code 2.1.278

The installed command menu and account or organization settings determine availability.

Examples

/loop 5m check whether the tests finished

Effects and persistence

Repeats a prompt while the session remains open. Use /schedule for cloud routines that can run independently of the terminal.

Cautions

A local loop depends on the session staying open. Use a cloud routine when that dependency is unsuitable.

Official sources

  • Commands
  • Scheduled Tasks

Complete command list · Verification scope

Related docs

Cmd. /schedule

Create and manage cloud routines (/routines).

Cmd. /upgrade

Opens the billing flow for moving to a higher plan.

Cmd. /new

Codex Command Master · Start a new conversation inside the current CLI session.

Cmd. /permissions

Codex Command Master · Change Codex approval and permission policy during a session.

Cmd. /ide

Codex Command Master · Include open files, selections, and IDE context in the next prompt.

Cmd. /goal

Persist work until a completion condition is met.

Cmd. /plan

Enter plan mode and optionally start the described task.

On this page

PurposeAvailabilityExamplesEffects and persistenceCautionsOfficial sources