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.
npx skills add luabagg/agent-skills --skill code-naminggit clone --depth 1 https://github.com/luabagg/agent-skillsWrote 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.
[](https://agentmods.dev/skills/luabagg/agent-skills/code-naming)<a href="https://agentmods.dev/skills/luabagg/agent-skills/code-naming"><img src="https://agentmods.dev/badge/skills/luabagg/agent-skills/code-naming/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.
<a href="https://agentmods.dev/skills/luabagg/agent-skills/code-naming"><img src="https://agentmods.dev/badge/skills/luabagg/agent-skills/code-naming.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00078 | $0.03250 |
| Opus 5.5 | $0.00031 | $0.01300 |
| Sonnet 5.5 | $0.00016 | $0.00650 |
| Haiku 4.5 | $0.00008 | $0.00325 |
Grade A, and why
code-naming scanned grade A with 0 findings 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 1mo 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Naming
A name is read in imports, calls, conditions, and log lines. The definition, the file path, and the comment are not there. The name alone must tell the reader what they need to know at that line.
A good name is clear: the reader knows what it refers to. It is also precise: the reader knows what it does not refer to. It is long enough to say both at the place it is read, and no longer.
Find a name
- Describe the thing in one sentence, using the product's words. Include what it is or does, who did it, and what it is compared against, but only the parts the reader acts on.
Example: "Someone other than this call signed in and saved this session."
- The sentence says what happens, not how. How the code decides, and which items it picks today, go in a comment. See
code-comments. - If you need two sentences, the code answers two questions. Split it before you name it. The sign: a result with two fields, and a parameter that only one of them uses.
- Two steps of one action still fit in one sentence:
signInAndSaveSession.
- The sentence says what happens, not how. How the code decides, and which items it picks today, go in a comment. See
- Write the line where the name is read. For an export, write the call without the import path. For a field, write it after its container. For a boolean, write the
if. Example: a function returns a signed-in session, and we are naming its boolean field:const session = await getSignedInSession(login) if (session.___) - Compare the sentence with the line. Whatever the sentence says that the line doesn't is what the name has to add.
Example:
sessionalready covers "this session". What's still missing is "saved by someone other than this call", so the field issavedByOtherActor. - Look for words the product or the codebase already uses: a UI label, a type, a union member, a reason code, a log line, a CLI flag, a README. A reader recognizes those and can search for them. A new word is fine when none of them fits.
- Search the codebase for each word. If it already names a different thing, pick another word, even for a verb. See "Words that mean two things".
- Use one word for one idea. If the module says "result", do not name the same thing "read".
- Prefer the word a person sees in the product to the word for the mechanism: "wait time", not "cooldown". A library term is the last choice:
hasUnsavedChanges, notisDirty.
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.
- 1mo ago Changed · +4 lines adaf96bc8b48
- 1mo ago Changed · +50 lines · +10 tokens per session beb65775e7e1
- 2mo ago First seen · 110 lines · 68 tokens per session scan A e7803ebcfda5
code-naming is a skill published in the GitHub repository luabagg/agent-skills (3 stars, last pushed 4d ago), licensed MIT. It adds 78 tokens to every session and 3,250 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-28.
code-naming compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-namingluabagg/agent-skills | Skill | 3 | 4d ago | MIT | A | 78 | Claude Code, Codex |
| developing-genkit-jsgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 76 | Claude Code, Codex |
| migrating-vercel-ai-sdk-and-eve-to-pydantic-aipydantic/pydantic-ai | Skill | 21k | today | MIT | A | 107 | Codex |
| migrating-mastra-to-pydantic-aipydantic/pydantic-ai | Skill | 21k | today | MIT | A | 73 | Codex |
| migrating-pi-to-pydantic-aipydantic/pydantic-ai | Skill | 21k | today | MIT | A | 88 | Codex |
| setup-ts-deep-modulesvinvcn/mattpocock-skills-zh-CN | Skill | 6.2k | yesterday | MIT | A | 49 | Claude Code, Codex |
| antfuantfu/skills | Skill | 6.1k | 4d ago | MIT | A | 52 | Claude Code, Codex |