Skip to content
cccskills
FreePublished on GitHub

peephole

Show or change Peephole's enforcement mode (guided (default), audit, strict, hardened, off). Use when the user says /peephole, wants to see the current security mode, or asks to make enforcement stricter or looser.

The English summary is being prepared. Showing the original description.

Run score Not tested

See how to install

Files included (1)

  • SKILL.md1.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Peephole mode control

Peephole is a plugin for coding agents: it steers the write and can ask or deny before a file is saved. Modes:

  • guided — Default. Findings are asks. Self-protection and org mandates still deny.
  • audit — warn + log only. Org-enforce CWEs and self-protection still deny.
  • strict — deny high-confidence CWE patterns, ask on lower-confidence ones.
  • hardened — deny-by-default; deny unverified package installs and uninspectable writes.
  • off — enforcement disabled.

To change mode

Raising enforcement (to strict or hardened) can be done from the shell:

sh "$CLAUDE_PLUGIN_ROOT/hooks/peephole.sh" mode strict

Lowering enforcement (to audit or off) is a human-only action — peephole denies a model-issued mode off/mode audit command as a self-protection measure. To lower it, the user types the whole message /peephole off (or audit), which the UserPromptSubmit hook applies directly. This prevents the assistant from waiving the gate on its own.

To see current mode and activity

Run /sec-audit (see the sec-audit skill), which prints the current mode, decision tally, and log-chain integrity.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Print Peephole's security audit report for this project — current mode, binary integrity, the CWE-mapped decision tally, sec-debt items needing approval, and tamper-evident log-chain status. Use when the user says /sec-audit or asks what Peephole has blocked or flagged.

The English summary is being prepared. Showing the original description.

akashsebastian333/peephole5Updated Aug 30, 2026

Explain and list Peephole sec-debt markers — deliberate, human-authorized security trade-offs recorded in code. Use when the user says /sec-debt, wants to knowingly accept a security finding, or asks what deferred security items exist.

The English summary is being prepared. Showing the original description.

akashsebastian333/peephole5Updated Aug 30, 2026

Review the current changes for the CWE classes Peephole enforces, as a checklist including the absence-of-guard classes regexes cannot catch. Use when the user says /sec-review or asks for a security review of recent code before committing.

The English summary is being prepared. Showing the original description.

akashsebastian333/peephole5Updated Aug 30, 2026

See all skills by akashsebastian333

Report a problem with this skill