本文へ移動
cccskills
無料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.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md1.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

sec-audit

無料

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.

日本語の概要は準備中です。原文の説明を表示しています。

akashsebastian333/peephole52026年8月30日 更新

sec-debt

無料

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.

日本語の概要は準備中です。原文の説明を表示しています。

akashsebastian333/peephole52026年8月30日 更新

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.

日本語の概要は準備中です。原文の説明を表示しています。

akashsebastian333/peephole52026年8月30日 更新

akashsebastian333 のスキルをすべて見る

このスキルの問題を報告する