Safer Claude Code sessions

Choose a mod for the problem in front of you: inspect plugin access, review a destructive command, reduce secret exposure or recover saved project files. These four tools cover different parts of a session. None guarantees that a session is safe.

Compare the four mods

What you want to do, mod and what to keep in mind
What you want to doModWhat to keep in mind
See what installed plugins can reachBouncerReports the validator's findings. It does not block plugins or certify them as safe.
Review a recognized destructive command before it runsLast LookChecks command text. Scripts, unrecognized forms and configured allowances leave gaps.
Reduce recognizable secrets in the conversationCloakroomMasks values at the places it hooks. It cannot contain a malicious plugin or catch every secret.
Recover files saved before a recognized destructive Bash commandMulliganRecovery depends on a usable snapshot. Databases, remote services and files outside the project are not covered.

Keep Claude Code's own permission controls, version control and backups in place. Read Anthropic's security guidance for the controls built into the agent.

Inspect access with Bouncer

Use Bouncer when you want to understand a new plugin or notice a change in what an installed plugin can reach. It runs Claude Code's plugin validator and turns its report into a readable list. Open the list inside Claude Code:

/bouncer

Example: a plugin's report starts listing network access. Open its details, read the report and check the plugin's source before deciding whether to keep it enabled. The report is information for your decision, not a verdict from Bouncer.

The validator must be available through the configured claudeBin. A missing binary produces a failed check, not a clean result. Discovery and validator coverage have limits, including indirect access through other tools.

Read Bouncer's details and install

Review destructive commands with Last Look

Use Last Look when you want another chance to review recognized destructive Bash or Monitor commands. It can hold operations such as recursive deletion and destructive Git changes, then show the impact it could measure. Cancel is the default action; Proceed continues to Claude Code's normal permission checks.

Example: during ordinary work, Claude proposes clearing a folder. If Last Look recognizes and holds the operation, inspect the target and any unsaved work before deciding. An empty or failed measurement does not establish that the operation is harmless.

Last Look runs automatically; there is no command to open a demonstration. Do not run a destructive command to try it out.

Check alwaysAllow in the mod's settings. Its default includes common build folders, and qualifying recursive deletions can pass without a hold. An empty setting removes those directory allowances; it does not expand the command forms Last Look recognizes. Edit and Write tool changes are outside its hold coverage.

Last Look running in Claude Code
Existing Last Look capture: reviewing a held command.

Read Last Look's details and install

Reduce secret exposure with Cloakroom

Use Cloakroom when recognizable keys or passwords might appear in prompts, attachments or tool results. At the places it hooks, it replaces detected values with session tickets. Certain local file operations can receive the original value again; other commands carrying a known value can require your approval.

/cloakroom

This lists ticket names and kinds without printing their values.

Example: a diagnostic log contains a recognizable key. Cloakroom can replace the value in the conversation with a ticket. Do not paste a real secret to test detection. Unknown formats, images and paths outside its hooks can still expose information.

Other installed plugins can see values before masking or after restoration. Claude Code's own permission dialog can show a restored value, and an automatic permission classifier may receive it. Cloakroom is not a boundary against a malicious plugin, and it cannot undo an exposure that already happened.

Cloakroom running in Claude Code
Existing Cloakroom capture: recognized values shown as tickets.

Read Cloakroom's details and install

Recover saved files with Mulligan

Use Mulligan when you want file snapshots before recognized destructive Bash commands. Open its list to see which snapshots exist for the current project:

/mulligan

Example: a command changed files you still needed. Inspect an available snapshot and its Diff before choosing Restore. Confirmation writes saved files back and can overwrite edits made since the snapshot; it does not remove newer files.

A snapshot is not guaranteed. Size limits and exclusions can skip it, and old slots are reused. Local archives may also contain secrets copied from project files. A saved file cannot reverse a database migration, a remote change or every consequence of running a command.

Claude Code's own rewind works from tracked file edits. Current documentation says it can also restore later Bash changes to a file Claude had already edited, but not files changed only by Bash. Read the checkpointing limits before choosing a recovery method.

Read Mulligan's details and install

Choose a starting point

Start with the problem you actually have. New plugin access to inspect points to Bouncer. A command you want to review points to Last Look. Recognizable values in conversation point to Cloakroom. Recovery of saved project files points to Mulligan.

Install one mod, read its settings and confirm its expected behaviour before adding another. The examples on this page explain separate roles; they are not a tested configuration of all four mods together. Mulligan's README says a command held or refused by another mod leaves no snapshot. Do not assume a Last Look hold also means a recovery copy exists.

Use the install guide for setup and current platform guidance. The reviewed versions describe Terminal and local Desktop interfaces, with feature-specific limits. Platform support in Claude Code does not establish that every mod works on every surface.

Keep the limits in view

  • A validator report describes what the validator found. It does not prove a plugin is harmless.
  • A command hold depends on recognition and configuration. It does not isolate a process or replace permissions.
  • Masking can reduce exposure without preventing every route a value can take.
  • File recovery depends on what was saved and what is still available. Keep independent backups and version control.

Read permissions and safety for the differences between declared access, observed behaviour and enforcement. Read testing and compatibility for what the site's evidence establishes.

Sources and review

Reviewed on 10 November 2026 against the public READMEs at revision 56925c0: Bouncer 0.2.0, Last Look 0.1.4, Cloakroom 0.1.5 and Mulligan 0.2.0. This is a documentation review. No new live mod test or combined-installation test was run for this collection. Examples describe possible situations, not recorded incidents or measured outcomes.

Captures are existing project media, not a new test.

Browse all mods ยท Read more guides