landmine

landmine is a skill for Claude Code from godshiba/genesis. It costs 76 tokens per session (377 once invoked), scanned A, original, MIT.

A small documentation action for recording a surprising problem in a GENESIS project. It adds one clearly written entry to docs/registry/LANDMINES.md so later sessions can avoid the same trap.

In plain words
What is it for?
Use it after a debugging detour or when you say that something is a landmine, to document what went wrong, why it happens, what it affects, and what rule to follow.
Why use it?
It prevents debugging lessons from being forgotten and makes the exact rule for avoiding a known problem easy to find.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the genesis plugin — 10 skills, 3 agents shipped together

Good fit Use it after a debugging detour or when you say that something is a landmine, to document what went wrong, why it happens, what it affects, and what rule to follow.

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

Made for: Claude Code.

Or install genesis, the plugin that ships this one along with the rest of its 10 skills, 3 agents.

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 landmine

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/godshiba/genesis/landmine"><img src="https://agentmods.dev/badge/skills/godshiba/genesis/landmine.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 377 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.
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.00076 $0.00377
Opus 5 $0.00038 $0.00188
Sonnet 5 $0.00015 $0.00075
Haiku 4.5 $0.00008 $0.00038

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

Security

Grade A, and why

landmine 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.

plugins/genesis/skills/landmine/SKILL.md · 32 lines

What it actually says

/genesis:landmine — Capture a Gotcha

Append one entry to docs/registry/LANDMINES.md. Speed matters more than polish — capture now, the next session benefits forever.

Steps

  1. Identify the trap. If given as an argument, use it. Otherwise take it from the immediate conversation context: what just cost time or surprised us? Only ask the user if genuinely ambiguous.
  2. Write the entry in the file's format:
    • Bold one-line trap statement.
    • Why it is this way, what breaks if you assume otherwise, and the rule (always/never do X). Cite the files involved.
  3. Append it. Do not edit or delete existing entries.
  4. Confirm in one line: the bold trap sentence as written.

If docs/registry/LANDMINES.md does not exist but the user clearly wants the capture, create it from the plugin's templates/registry/LANDMINES.md (at ../../templates/registry/ from this skill's base directory) and register it in FILES.md (G1).

Quality bar: a landmine entry must let a future reader avoid the trap without re-deriving it. "X is weird" fails the bar; "X inverts direction when lineId === 'green'; always go through getNextStation, never index arithmetic" passes it.

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 · 32 lines · 76 tokens per session scan A d9eb9d506420

Subscribe to this mod's changes

landmine is a skill published in the GitHub repository godshiba/genesis (2 stars, last pushed 2mo ago), licensed MIT. It adds 76 tokens to every session and 377 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

self-improve

Self-improve this skills repo — surface and (safely) apply quality improvements across four parallel read-only lenses (Clarity, Leanness, Coverage, Ergonomics). Sibling of /self-audit — audit fixes rule violations, improve raises quality where no rule is broken. Local meta-skill, independent of the /task: pipeline.

SpaiR/task-pipeline · 76 tokens

self-audit

Self-audit this skills repo against CLAUDE.md invariants, the artifact contract, and README/CLAUDE.md/docs sync via three parallel read-only subagents. Local meta-skill — independent of the /task: pipeline.

SpaiR/task-pipeline · 52 tokens

grill

Interrogate a plan or decision one question at a time before capture, keeping a decision-plus-rationale ledger, then route to the right capture skill.

SpaiR/task-pipeline · 33 tokens

architect

Answer build-or-adopt honestly, then design one committed architecture from your own understanding of the problem — driven by ranked quality attributes, stress-tested against the field and against change, proven by a walking skeleton, its consequences confirmed by the user, committed to ARCHITECTURE.md. A command the…

donald-ada/workinggenius · 80 tokens

designer

Settle the look before the pixels — audience and context first, then the base and the delta, taste settled by looking at real states, accessibility as the floor, one design language committed to DESIGN.md as tokens with roles. A command the user types, for work with an interface someone will see; standalone, no other…

donald-ada/workinggenius · 69 tokens

setup-working-genius

Per-repo configuration — pin the work-file directory, verify commands, and issue tracking, seed the project docs, and leave the pointer that tells every future session this project works this way.

donald-ada/workinggenius · 43 tokens