defense-in-depth

defense-in-depth is a skill for Claude Code from ed3dai/ed3d-plugins. It costs 32 tokens per session (1,050 once invoked), scanned A, original, no licence file.

A validation approach that checks data at each layer of a program as it moves through execution.

In plain words
What is it for?
Use it when bad input or invalid internal data causes failures later in execution.
Why use it?
It prevents invalid data from travelling deeper into the program, where failures are harder to understand and fix.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the ed3d-house-style plugin — 10 skills shipped together

Good fit Use it when bad input or invalid internal data causes failures later…

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

Made for: Claude Code.

Or install ed3d-house-style, the plugin that ships this one along with the rest of its 10 skills.

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 defense-in-depth

README.md
[![agentmods](https://agentmods.dev/badge/skills/ed3dai/ed3d-plugins/defense-in-depth.svg)](https://agentmods.dev/skills/ed3dai/ed3d-plugins/defense-in-depth)
Your own site
<a href="https://agentmods.dev/skills/ed3dai/ed3d-plugins/defense-in-depth"><img src="https://agentmods.dev/badge/skills/ed3dai/ed3d-plugins/defense-in-depth.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,050 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 unknown 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.00032 $0.01050
Opus 5 $0.00016 $0.00525
Sonnet 5 $0.00006 $0.00210
Haiku 4.5 $0.00003 $0.00105

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

Security

Grade A, and why

defense-in-depth 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 7d 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/ed3d-house-style/skills/defense-in-depth/SKILL.md · 138 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 7d ago First seen · 138 lines · 32 tokens per session scan A 9e807033e7dd

Subscribe to this mod's changes

defense-in-depth is a skill published in the GitHub repository ed3dai/ed3d-plugins (249 stars, last pushed 2mo ago), with no licence file. It adds 32 tokens to every session and 1,050 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

health-check

Runs plugin health checks (venv packages, skill registration, and album slug collisions). Use when the user asks to check plugin health, verify setup, or troubleshoot missing skills.

bitwize-music-studio/claude-ai-music-skills · 38 tokens

issue-analyze

GitHub Issue and PR review thread deep analysis with Codex blind verdict. Use when: analyzing issue root cause, classifying problems, investigation planning, triaging PR review comments for actionability. Not for: fixing bugs (use bug-fix), code exploration (use code-explore). Output: classified analysis + verdict…

sd0xdev/sd0x-harness · 73 tokens

debug

Interactive debugging workflow with hypothesis-driven probe loop. Use when: unknown bugs, script errors, silent failures, troubleshooting. Not for: known bugs (use bug-fix), GitHub issue analysis (use issue-analyze), code understanding (use code-explore). Output: debug report with probe journal + root cause + fix.

sd0xdev/sd0x-harness · 67 tokens

code-explore

Pure Claude code investigation. Use when: tracing execution paths, understanding architecture, diagnosing issues. Not for: dual-perspective review (use code-investigate), code review (use codex-code-review). Output: analysis report with findings.

sd0xdev/sd0x-harness · 51 tokens

code-investigate

Dual-perspective code investigation. Use when: deep code analysis needing both Claude and Codex perspectives. Not for: quick exploration (use code-explore), code review (use codex-code-review). Output: integrated findings from dual analysis.

sd0xdev/sd0x-harness · 52 tokens

bug-fix

Bug fix workflow. Use when: fixing bugs, resolving issues, regression fixes. Not for: new features (use feature-dev), understanding code (use code-explore). Output: fix + regression test + review gate.

sd0xdev/sd0x-harness · 48 tokens