anthropics / anthropics/claude-code

[Feature Request] Clarify /clear command behavior with running background agents in documentation

Open
#93,854 0 comments 0 reactions 0 assignees View on GitHub
area:agents area:model enhancement platform:linux
Dominant language
Python
Stars
145k
Forks
23.1k
PR merge metrics
PR metrics pending

Description

**Bug Description**
claude:"The honest caveat: I don't know for certain whether /clear stops a running background agent mid-flight. If it does, the file never gets written. So either wait the few minutes, or clear and re-fire it — everything it reads is committed now, so the brief is fully reproducible from a cold session." ---> claude should probably be trained to know that

**Environment Info**
- Platform: linux
- Terminal: tmux
- Version: 2.1.269
- Feedback ID: 90bd81f8-0e81-4bfb-ac30-18252f64285f

**Errors**
```json
[]
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by checking the existing /clear command documentation and its behavior while a background agent runs. Clarify whether /clear stops or preserves in-flight work, then document the observed result and any safe wait or re-fire guidance. Done means the behavior is stated unambiguously.

Written by the indexing model from the issue text.

Assessment

Domain
cli, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.