ClaudeMods
☰
JA
● — 人がオンライン ・閲覧 — 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 Regular_Mud_3266

私の最初の Claude Code Mod

4つの Claude Code mod(triage-gate、model-fit、hindsight、toolbelt)と quiz-me スキルを紹介する Reddit 投稿。GitHub リポジトリのリンク付き。

翻訳済み

この mod について

著者は、日常的な問題に対処するために作られた4つの mod について説明しています。triage-gate は、変更が大きいか危険な場合にコミットを保留し、機密ファイルを強調表示します。model-fit は、リクエストのコストをより小さなモデルと比較し、/compact または引き継ぎメモを提案します。hindsight は、繰り返し発生する障害を検出し、1行の CLAUDE.md 修正を提案します。toolbelt は、未使用のプラグイン、スキル、MCP サーバーを一覧表示します。quiz-me スキルは、セッションの変更について理解度を問う質問をします。リポジトリ: https://github.com/a-pavithraa/claude-mods

インストール

インストール方法は元のソースをご確認ください。

原文 / README

I built mods for problems I run into every day. The agent writes most of my code, but I still read it and make small changes so I don't lose my skills. That's getting harder. One commit often spans many files now, and sometimes I just skim. Comprehension debt grows with every line I commit. At the same time, the number of skills I've installed keeps growing. I already use code-review skills and hooks, but I wanted a check that I can see and control myself. I wanted it for the code, and for the skills and MCP servers I install. So I built four mods: triage-gate holds Claude's commit when a change is big or risky. A pane shows why it was held and which files to read first. Size and blast radius come from local checks. With a TypeSafe key, their Jev model also judges each change for security, data, money, concurrency and public API risk. It does not just flag large code changes. I made a 2-line change that let admin sessions skip the expiry check. Jev flagged it as a likely security change, down to the exact line. You can also ask Codex to review the change. ⛔ Hold: review before commit 1 file · +2 −0 · auth · judged on the whole diff with Jev Why: likely touches security · sensitive path src/auth/session.ts Start with: src/auth/session.ts:42 : Jev points here (security) [ Approve commit ] [ Run Codex review ] [ Refresh assessment ] model-fit shows what each ask cost and whether a smaller model would have done. It is based on the use cases in Anthropic's own guidance. Haiku judges each ask, and after every ask one dim line shows the result: ◇ Looked simple · Opus/high · ≈ $0.29 · judged by Haiku That ask didn't need this conversation, but rereading its 140k tokens cost ≈ $0.29. Ask ones like it in a new session on Haiku: ≈ $0.01. Keep this one for the work it's about. [ Dismiss ] You can turn on Jev as a shadow: it labels the same asks, and /fit shows where Jev and Haiku agree and where they don't. When a conversation gets long, model-fit suggests /compact or a handoff note, a file you can use to continue in a new session. Context is past 150k tokens. /compact for the same task, /clear for a new one. [ Put /compact keep: in prompt ] [ Put /model-fit:baton in prompt ] [ Dismiss ] hindsight spots a snag that comes back in a later session, like reading a huge log file whole, and offers a one-line CLAUDE.md fix you can accept with a button. It is based on Matt Pocock's retro skill. toolbelt lists the plugins, skills and MCP servers I never use. These are mods rather than skills because each one needs a pane or a button I control. Adding more text to Claude's context wouldn't do that. I also added a quiz-me skill that asks questions about the changes made in the session and checks how well you understand them. Repo: https://github.com/a-pavithraa/claude-mods submitted by /u/Regular_Mud_3266 to r/ClaudeCode [link] [comments]

関連作品