{"version":"2.1.327","anchor":"detection-of-unlinked-claude-invocations-in-bash","canonical_anchor":"detection-of-unlinked-claude-invocations-in-bash","heading":"Claude Code notices when a shell command starts or attaches to another Claude session","tier":"internal","area":"Bash Tool","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/detection-of-unlinked-claude-invocations-in-bash","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### Claude Code notices when a shell command starts or attaches to another Claude session\n\nClaude Code now spots `claude` commands such as `--cloud`, `--teleport` or `attach` run through the shell and records them\n\n**Unclear.** It is not clear what decides whether the usage report is actually sent.\n\n**What**\n\nClaude Code now checks the commands Claude runs through its Bash tool, and their output, for `claude` commands that reach another session. The Bash tool is how Claude runs commands in your terminal. The commands it looks for include:\n\n- `--cloud`\n\n- `--remote`\n\n- `--teleport`\n\n- `logs`\n\n- `attach`\n\nWhen it finds one, it records an event in the current session and may send a usage report about it.\n\n**Why**\n\nIt lets Claude Code keep track of other Claude sessions started from inside a session, which would otherwise not be linked to it.\n\n- Area: Bash Tool\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}