new-skill

new-skill is a skill for Claude Code from hyhmrright/logic-lens. It costs 50 tokens per session (619 once invoked), scanned A, original, MIT.

A scaffolding tool for adding a new logic skill to the Logic-Lens repository. It creates the skill's instructions, guide, command, startup hook changes, and evaluation entries required by that project.

In plain words
What is it for?
Use it when introducing another logic-focused skill, including its files, command wrapper, session-start integration, and evaluation cases.
Why use it?
It reduces the chance of forgetting one of the many registration and testing steps needed when adding a skill.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions CLAUDE.md.

Part of the logic-lens plugin — 11 skills, 6 commands, 3 agents, 2 hooks shipped together

Good fit Use it when introducing another logic-focused skill, including its files, command wrapper, session-start integration, and evaluation cases.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hyhmrright/logic-lens/new-skill
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 hyhmrright/logic-lens --skill new-skill
Clone the repo
git clone --depth 1 https://github.com/hyhmrright/logic-lens

Made for: Claude Code.

Or install logic-lens, the plugin that ships this one along with the rest of its 11 skills, 6 commands, 3 agents, 2 hooks.

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 new-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/hyhmrright/logic-lens/new-skill/github.svg)](https://agentmods.dev/skills/hyhmrright/logic-lens/new-skill)
Your own site
<a href="https://agentmods.dev/skills/hyhmrright/logic-lens/new-skill"><img src="https://agentmods.dev/badge/skills/hyhmrright/logic-lens/new-skill/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 new-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/hyhmrright/logic-lens/new-skill"><img src="https://agentmods.dev/badge/skills/hyhmrright/logic-lens/new-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 619 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 13
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00050 $0.00619
Opus 5 $0.00025 $0.00309
Sonnet 5 $0.00010 $0.00124
Haiku 4.5 $0.00005 $0.00062

Measured 9d ago against content hash 65b85244b89f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

new-skill 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 9d 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.

.claude/skills/new-skill/SKILL.md · 30 lines

What it actually says

new-skill

CLAUDE.md → "Adding a New Skill" is the authoritative checklist. This skill exists to make sure every step actually runs — the session-start loop and the eval cases are the ones most often forgotten.

Read CLAUDE.md's "Adding a New Skill" section now, then execute its steps for logic-<NAME> (ask the user for <NAME> if not in $ARGUMENTS):

  1. skills/logic-<NAME>/SKILL.md — copy the frontmatter shape from skills/logic-review/SKILL.md (name + description). The description MUST include a "Do NOT trigger for:" clause and a "SCOPE … RULE" line distinguishing it from the other skills. Process section = 5–7 numbered items, each citing a guide step. Follow lazy-loading per skills/_shared/common.md §13.
  2. skills/logic-<NAME>/logic-<NAME>-guide.md — numbered steps (Step 1, 2, …), each explaining the why, concrete examples over abstractions.
  3. commands/logic-<NAME>.md — mirror commands/logic-review.md:
    ---
    description: <one line>
    allowed-tools: Skill
    ---
    Use the Skill tool to invoke `logic-lens:logic-<NAME>`, then follow its instructions exactly. $ARGUMENTS
    
  4. hooks/session-start (CLAUDE.md step 6 — easy to miss) — add logic-<NAME> to BOTH the for skill in … loop and the printed skill list:
    grep -n "for skill in" hooks/session-start
    
  5. Eval cases (CLAUDE.md step 7 — easy to miss) — add 3–5 content cases to evals/content/v2/evals-v2.json. Trigger cases under evals/trigger/v2/ are optional and only catch description regressions (positive cases always score 0% — see CLAUDE.md → Gotchas).
  6. gemini-extension.json — CLAUDE.md says Gemini auto-discovers from skills/, but the file also enumerates each skill+command under contribution. If you want that list complete, add logic-<NAME> entries to both contribution.skills and contribution.commands. (Not checked by validate-repo.sh.)
  7. Validate — run npm run validate and confirm all checks pass.
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. 9d ago First seen · 30 lines · 50 tokens per session scan A 65b85244b89f

Subscribe to this mod's changes

new-skill is a skill published in the GitHub repository hyhmrright/logic-lens (22 stars, last pushed 11d ago), licensed MIT. It adds 50 tokens to every session and 619 once invoked, about $0.0003 per session on Opus 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-08-30.