[DOCS] Interactive mode missing /loop command and cron scheduling tools documentation
Documentation Type
Missing documentation (feature not documented)
Documentation Location
https://code.claude.com/docs/en/interactive-mode
Section/Topic
Built-in commands table (slash commands reference section)
Current Documentation
The built-in commands table in interactive-mode.md lists approximately 50 slash commands alphabetically. /loop does not appear anywhere in the table or on the page. The companion "cron scheduling tools for recurring prompts within a session" are also entirely absent.
No documentation currently exists for the /loop command or the in-session cron scheduling tools. The only mention is a one-line changelog entry:
"Added/loopcommand to run a prompt or slash command on a recurring interval (e.g./loop 5m check the deploy)" "Added cron scheduling tools for recurring prompts within a session"
What's Wrong or Missing?
A. /loop command absent from the built-in commands table
The interactive-mode.md slash command reference table has no entry for /loop. Users who want to run a prompt or slash command on a repeating interval have no way to discover the feature or its syntax from the documentation.
B. Cron scheduling tools undocumented
The changelog notes "cron scheduling tools for recurring prompts within a session" as a related addition. These tools have no dedicated documentation. It is unclear whether they are distinct from /loop, complementary to it, or an implementation detail. Users cannot determine how to invoke them, what cron syntax is accepted, or how they differ from the Desktop app's scheduled-task system (which is a separate feature that launches new sessions, not recurring prompts within a session).
C. Syntax and options not documented
The changelog provides one example: /loop 5m check the deploy. No documentation covers:
- All supported interval formats (e.g.,
5m,1h,30s) - Whether the argument can be another slash command (e.g.,
/loop 10m /compact) - How to stop a running loop
- Interaction with session state (does a loop create sub-turns, affect context window, etc.)
Suggested Improvement
Add /loop to the built-in commands table in interactive-mode.md:
| Command | Description |
|---------|-------------|
| /loop <interval> <prompt\|command> | Run a prompt or slash command repeatedly at the specified interval (e.g. /loop 5m check the deploy) |
Add a dedicated section or subsection covering both /loop and the cron scheduling tools, explaining:
- Interval format options
- How to pass a slash command as the repeating action
- How to cancel a running loop
- How this relates to (and differs from) the Desktop app's scheduled-task system
Impact
High - Prevents users from using a feature
Additional Context
Affected Pages:
| Page | Context |
|------|---------|
| https://code.claude.com/docs/en/interactive-mode | Built-in commands table — /loop entry missing |
Total scope: 1 page affected
Source: Changelog v2.1.71
Exact changelog entries:
- "Added
/loopcommand to run a prompt or slash command on a recurring interval (e.g./loop 5m check the deploy)" - "Added cron scheduling tools for recurring prompts within a session"
Note: The Desktop app has a separate scheduled-task system documented at https://code.claude.com/docs/en/desktop that launches new sessions on a schedule (hourly, daily, weekly, etc.). The /loop command and in-session cron tools are a distinct capability that operates within a running interactive session.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗