Guided first use

Try Claude tmux cleanup protection

Reviews claude-tmux-cleanup runs that kill agent-team sessions or Claude Code processes. Follow the three steps below with your own setup — nothing on this page runs on your machine or changes a policy.

Step 1 · Check fit

What this coverage governs

Reviews claude-tmux-cleanup runs that kill agent-team sessions or Claude Code processes.

External — off until you opt in

This coverage stays off until you explicitly enable it from your Guard workspace controls. Reading this page never changes your policy; activation happens in Guard itself.

Harness support

Not documented yet

Contributor-supplied harness support text is not independently verified. Checked with Claude Code running shell commands through HOL Guard's native runtime, using the extension's portable test cases. claude-tmux-cleanup needs tmux, so it is for macOS and Linux. Other agent harnesses are not checked yet.

  • Claude Code (Bash tool), checked with the portable test cases
  • macOS and Linux, wherever tmux and claude-tmux-cleanup run
  • Other harnesses (Codex, Cursor, Gemini CLI and so on): not checked yet

Prerequisites

Not documented yet

Contributor-supplied prerequisite text is not independently verified. You need HOL Guard installed and connected to Claude Code, plus tmux and claude-tmux-cleanup (or its ctc shortcut). No accounts or keys are needed.

  • HOL Guard installed and protecting Claude Code
  • tmux installed
  • claude-tmux-cleanup or ctc installed: https://github.com/s403o/claude-code-tmux

Known limitations

Reviewed as supported

Limitations are copied from the reviewed catalog facts. Contributor-supplied limitation notes are not independently verified. Off by default until enabled. It does not catch consent from a here-string, heredoc or file redirect, or consent piped through tools other than cat. It does not review a person typing y at the prompt, and it does not check which sessions a run would pick.

  • Coverage is limited to the reviewed operations and the surrounding Guard policy.
  • A maintainer profile is not a security certification or an official upstream endorsement.
  • Coverage is limited to the reviewed operations and the surrounding Guard policy.
  • A maintainer profile is not a security certification or an official upstream endorsement.

Catalog version 1.0.0 · source snapshot e9630c7e07

Step 2 · Set up

Install and activate

New to Guard? Start with Install Guard. Already installed? Skip install — this coverage stays off until you enable it from your workspace controls.

Activation happens in your Guard workspace. This page links to it; it never enables the coverage for you.

Install

Contributor-supplied install guidance is not independently verified because an exact reviewed argv contract is unavailable. Nothing extra to install. Claude tmux cleanup protection ships inside HOL Guard, so updating Guard is enough. It stays off until you turn it on (see Activation).

  1. 1

    Install or update HOL Guard to a release that includes Claude tmux cleanup protection.

    Self-reported guidance — not verified against a reviewed source.

  2. 2

    Open Guard's extension list and find Claude tmux cleanup protection, listed as External.

    Self-reported guidance — not verified against a reviewed source.

Activation

Contributor-supplied activation guidance is not independently verified because an exact reviewed argv contract is unavailable. Opt-in. It is an External extension, so it is off by default and protects nothing until you turn it on. Once enabled, it shows as on in Guard's extension list, and both rules (session teardown and process prune) start reviewing matching commands.

  1. 1

    In Guard's extension list, turn on Claude tmux cleanup protection.

    Self-reported guidance — not verified against a reviewed source.

  2. 2

    Check that it now shows as enabled, with both permissions on: session teardown and process prune.

    Self-reported guidance — not verified against a reviewed source.

Back to fit

Step 3 · Verify the result

Run a safe test and compare

Safe fixture inputs

Contributor-supplied safe fixture input guidance is not independently verified because an exact reviewed argv contract is unavailable. Use a throwaway tmux session so nothing real is at risk. First run a preview, which kills nothing. Then run the forced command and deny it when Guard asks.

  1. 1

    Start a spare session: tmux new -d -s guard-test

    Self-reported guidance — not verified against a reviewed source.

  2. 2

    Run ctc --all --dry-run. It only lists sessions, so nothing is killed.

    Self-reported guidance — not verified against a reviewed source.

  3. 3

    Run ctc --all --force and choose deny when Guard asks for review.

    Self-reported guidance — not verified against a reviewed source.

Expected outcome

Not documented yet

Contributor-supplied expected-outcome text is not independently verified. The --dry-run command runs without a Guard prompt. The --force command is stopped for review before anything is killed, and denying it leaves every tmux session running. yes | ctc --all is stopped the same way.

Did it work?

Sign in to record an honest self-report. It is stored as your report — never as a verified evaluation.

Sign in to report

Turn it off or recover

Reviewed as supported

Turn off Claude tmux cleanup protection in Guard's extension list, or turn off just one of its two permissions. Nothing is installed separately, so there is nothing to uninstall.