where-to-put

where-to-put is a skill for Claude Code from YuDefine/nuxt-supabase-starter. It costs 21 tokens per session (1,650 once invoked), scanned B, original, MIT.

A decision guide for choosing where new rules for an AI coding agent should live, such as a hook, settings file, output style, skill, or session-start action.

In plain words
What is it for?
Use it when adding agent rules, deciding whether a rule needs automatic enforcement, or choosing between settings, hooks, skills, and repository files.
Why use it?
It prevents project instruction files from becoming a catch-all and directs each kind of rule to the place that can enforce or express it.

Skill for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Good fit Use it when adding agent rules, deciding whether a rule needs automatic enforcement, or choosing between settings, hooks, skills, and repository files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yudefine/nuxt-supabase-starter/where-to-put
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add YuDefine/nuxt-supabase-starter --skill where-to-put
Clone the repo
git clone --depth 1 https://github.com/YuDefine/nuxt-supabase-starter

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for where-to-put

README.md
[![agentmods](https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/where-to-put/github.svg)](https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/where-to-put)
Your own site
<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/where-to-put"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/where-to-put/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for where-to-put

Your own site · 80×15
<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/where-to-put"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/where-to-put.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,650 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.01650
Opus 5.5 $0.00008 $0.00660
Sonnet 5.5 $0.00004 $0.00330
Haiku 4.5 $0.00002 $0.00165

Measured 17d ago against content hash f49380a93ef6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

where-to-put scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

| W1 | 違反時可以用程式判出來,而且必須每次都成立(禁令、權限、gate、不准寫某路徑) | hook(`~/.claude/settings.json` 或專案 `.claude/settings.json` 的 PreToolUse/Stop/UserPromptSubmit);跟 repo 內容有關的再加 CI check 或 linter | `sync-rules --check`、各專案的 CI check |
template/.claude/skills/where-to-put/SKILL.md · 54 lines

How it starts

The opening of the file, as written. The whole thing — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.

想加入的東西放哪(決策表)

CLAUDE.md、AGENTS.md 全域與全專案保持淨空;它們只是指引、不該放任何約束,專案要中立、不記個人身分。專案層的 CLAUDE.md、AGENTS.md 各只留一行 pointer 指向本 skill(Charles 2026-11-10 裁示;.claude/skills/where-to-put/SKILL.md,只投影 agents target 時是 .agents/skills/where-to-put/SKILL.md):sync-rules 缺 CLAUDE.md 就 seed 那一行、AGENTS.md 由 runtime 投影固定寫成那一行,擋寫入的 pre-tool-keep-instruction-files-empty hook 只放行空檔與這一行 pointer,其餘內容一律擋、NEVER 往兩檔加別的內容。skill 與 hook 隨 clade 投影進 repo,協作者 clone 就有、不必另裝全域檔。本表決定每一件「想讓 AI 以後都照做」的東西放哪個載體。

評估:first-match,由上往下第一個命中的 id 就停;以上皆非 → W*。

id 判定條件(可觀察) 放哪 例
W1 違反時可以用程式判出來,而且必須每次都成立(禁令、權限、gate、不准寫某路徑) hook(~/.claude/settings.json 或專案 .claude/settings.json 的 PreToolUse/Stop/UserPromptSubmit);跟 repo 內容有關的再加 CI check 或 linter sync-rules --check、各專案的 CI check
W2 harness 本身有設定項(語言、model、權限模式、環境變數、狀態列) settings.json 語言偏好
W3 回覆的語氣、篇幅、格式,而且有量測證據顯示預設不夠 output style(~/.claude/output-styles/,settings.json 的 outputStyle);沒有證據就不加 —
W4 有觸發情境的多步流程或判準(說得出「什麼時候用」) skill,description 寫觸發與 NOT for;跨專案放 clade 或 ~/.agents/skills,單一專案放該 repo .claude/skills/ 本表
W5 只在某個席位、模式或 repo 開工時要知道的資訊(身分以外的開工指路) SessionStart hook 依環境變數或 cwd 注入,只注入當下適用的那段 clade 中央倉位置、依環境變數指路
W6 只在讀或改某個檔、某個目錄時才相關 寫進持有它的檔(檔頭註解、該目錄 README、schema 註解) 某目錄的 README.md、腳本檔頭註解
W7 某主題的目標、待辦、決策紀錄、事實(不是可重複的步驟) 專案的 plans/、docs/、specs/,由 W4 skill 或 W5 注入指過去 specs/plans/<work>/
W8 個人身分、角色、稱呼、對特定人的偏好 不放:專案保持中立 —
W9 只在這一台機器有效、不能進任何 repo 或 skill、也無法用程式取得的事實指針,而且上面每一列都判過不命中 memory;寫入要使用者同意(個人機器若有 memory 寫入 hook 就走它)。預設不寫:偏好走 W2/W3/W8,糾正走 W1/W4,專案脈絡走 W7,外部指針走 W7 或該 skill 幾乎沒有;判到這列先懷疑前面判錯
W* 判不出來 先當草案寫進相關 plan,下次碰到再用本表重判;NEVER 寫進 CLAUDE.md 或 AGENTS.md —

memory 苛刻極簡

官方定位(https://code.claude.com/docs/en/memory):CLAUDE.md 是「你寫的指示與規則」,auto memory 是「Claude 自己寫的學習與模式」,內容是偏好、你給的糾正、無法從程式碼推得的專案脈絡、外部指針;MEMORY.md 前 200 行或前 25KB 每個 session 都載入,只存在本機,不跨機器同步。兩者都只是 context,不是強制;要強制請用 hook 或 settings。

Read the full file on GitHub · 54 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 17d ago First seen · 54 lines · 21 tokens per session scan B f49380a93ef6

Subscribe to this mod's changes

where-to-put is a skill published in the GitHub repository YuDefine/nuxt-supabase-starter (45 stars, last pushed 2d ago), licensed MIT. It adds 21 tokens to every session and 1,650 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-14.

Related

where-to-put compared with skills from other repositories

where-to-put next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
where-to-putYuDefine/nuxt-supabase-starterSkill452d agoMITB21Claude Code
prd-v07-implementation-loopmattgierhart/PRD-driven-context-engineeringSkill1793mo agoMITA113Claude Code
prd-v07-test-planningmattgierhart/PRD-driven-context-engineeringSkill1793mo agoMITA125Claude Code
prax-tdd-workflowChanningLua/prax-agentSkill2722mo agoMITA24Claude Code
flutter-qualitymorodomi/dev-crewSkill111d agoMITA74Claude Code
sb:executealo-exp/silver-bulletSkill7yesterdaynoneA25Claude Code
tddvincenzodomina/aiSkill25d agononeA45Claude Code, Codex