enc-guard

by takosasi-dev · ★ 0 · updated 29 days ago

PanesGuardsCommandsvalidates

0

文字コード・改行の罠を Claude が踏んだ時に知らせる。-Encoding の無い Set-Content、日本語入りで BOM の無い .ps1、ASCII 以外の字が入った .bat、encoding= / newline= の無い Python の open。Claude に直し方を伝えるか、設定で止める。/enc で数と記録

install enc-guard

Install

/plugin marketplace add takosasi-dev/claude-code-mods
/plugin install enc-guard@claude-code-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
config.setsession.startcommand.runtool.callui.render
API calls
$.clock.now$.command.register$.config.list$.fs.read$.session.cwd$.state.get$.state.set$.ui.invalidate$.ui.open$.ui.resolve$.ui.toast
Draws
Pane
Can see
every tool call
Reach
level 1 of 3 reads filesreads settingsreads mod statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/takosasi-dev/claude-code-mods
Path in repo
mods/enc-guard
Source commit
8e26fe2 the exact code the scan read
Author
@takosasi-dev
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from takosasi-dev/claude-code-mods

agent-watch

takosasi-dev/claude-code-mods

/agents でサブエージェントの状態・経過時間・ツール回数をペインに SVG の帯で表示し、ボタンでその会話を開く

★ 0PanesGuardsCommands

aqua-pet

takosasi-dev/claude-code-mods

Claude の作業に反応して魚が泳ぐ水槽のペイン (/aquarium)。魚はターンで育ち、節目で珍しい種類が来る(10 種)。水の色と飾りは時刻と季節で変わる。turn-gacha で持っているカードに応じて手に入るかざり(水草・城・沈没船など 8 種)を底の 5 つの置き場に置ける。記録は毎日控えを取り、控えから戻せる

★ 0PanesGuardsCommands

canvas-pane

takosasi-dev/claude-code-mods

Claude が呼べるツール show で、グラフ・表・図をペインに SVG で描く。/canvas で直近 20 枚をめくる

★ 0PanesGuardsCommands

cc-dash

takosasi-dev/claude-code-mods

/dash でセッションの計器盤(経過・ターン・ツール・使用量)をペインに SVG で表示する。出す枠と順を自分で並べられる

★ 0PanesGuardsCommands

ci-pane

takosasi-dev/claude-code-mods

/ci で今のブランチの PR・チェック・GitHub Actions の結果を gh で読み、ペインに SVG で出す (読むだけ)

★ 0PanesCommands

code-omikuji

takosasi-dev/claude-code-mods

/omikuji で今日のコード運勢を引く。1 日 1 回の本番は同じ日なら同じ結果で、筒を振るアニメと和紙のおみくじをペインに SVG で表示する

★ 0PanesCommands

compact-cue

takosasi-dev/claude-code-mods

コンテキストが埋まってきた時に、テスト・コミットの区切りなら「今が /compact のよい時」、作業の途中なら「区切りまで待って」と入力欄の上の帯とトーストで知らせる。/cue で使用量のリングと作業の様子 (知らせるだけで compact はしない)

★ 0PanesBandsGuards

daily-quest

takosasi-dev/claude-code-mods

/quest で、日替わりのお題 3 つ (ターン・編集・テスト・コミットなど) の進みと連続日数をペインで見る。ごほうびは dev-rpg の経験値と turn-gacha のおまけの 1 回。記録は毎日控えを取り、控えから戻せる

★ 0PanesGuardsCommands

danger-frame

takosasi-dev/claude-code-mods

Bash / PowerShell の危ないコマンドの行を赤い枠で目立たせる(見た目だけ、実行は止めない)

★ 0Reskins

dev-rpg

takosasi-dev/claude-code-mods

/rpg で作業が経験値になる RPG のステータス窓をペインに SVG で表示する (レベル・称号・実績はセッションをまたいで育つ。ターンでたまる遭遇で魔物やボスと戦い、ボスは時々湧く。ターンで潜るダンジョンは一番深い階を記録し、帰ると袋の経験値を持ち帰る。SP で能力とスキルを育てる。turn-gacha のカードを装備できる。daily-quest のお題をこなすと経験値のごほうびを受け取る。記録は毎日 1 回控えを取れる)

★ 0PanesGuardsCommands

devlog-pane

takosasi-dev/claude-code-mods

/devlog で今日の開発ログ (YYYY-MM-DD.md) をペインに表示する

★ 0PanesCommands

done-chime

takosasi-dev/claude-code-mods

時間のかかったターンが答え終わったら短い音を鳴らす。/chime で音の種類・しきい値・音量を選ぶ

★ 0PanesCommandsAudio

Other mods in Panes, close to this one by stars.