claude-vibe-squad: Skill for Claude Code

.agents/skills/layered-analysis-loop/SKILL.md

layered-analysis-loop is a skill for Claude Code, Codex from mtarcure/claude-vibe-squad. It costs 60 tokens per session (414 once invoked), scanned A, original, MIT.

A method for examining a target through separate passes for structure, behaviour, unusual cases, and contradictions. Each pass answers a defined question and records evidence for any new finding.

In plain words
What is it for?
It helps investigate software, documents, systems, or other targets that need a thorough, evidence-based analysis with a clear stopping point.
Why use it?
It reduces the chance that a quick, unfocused review will miss important interactions, edge cases, or conflicting evidence.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is mtarcure/claude-vibe-squad's own configuration. It tells Claude Code and Codex how to work on claude-vibe-squad itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-vibe-squad configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mtarcure/claude-vibe-squad. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mtarcure/claude-vibe-squad/main/.agents/skills/layered-analysis-loop/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad

Made for: Claude Code, Codex.

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 layered-analysis-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/mtarcure/claude-vibe-squad/layered-analysis-loop/github.svg)](https://agentmods.dev/skills/mtarcure/claude-vibe-squad/layered-analysis-loop)
Your own site
<a href="https://agentmods.dev/skills/mtarcure/claude-vibe-squad/layered-analysis-loop"><img src="https://agentmods.dev/badge/skills/mtarcure/claude-vibe-squad/layered-analysis-loop/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 layered-analysis-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/mtarcure/claude-vibe-squad/layered-analysis-loop"><img src="https://agentmods.dev/badge/skills/mtarcure/claude-vibe-squad/layered-analysis-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 414 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 pass 7 Sept 2026
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.00060 $0.00414
Opus 5 $0.00030 $0.00207
Sonnet 5 $0.00012 $0.00083
Haiku 4.5 $0.00006 $0.00041

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

Security

Grade A, and why

layered-analysis-loop 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.

.agents/skills/layered-analysis-loop/SKILL.md · 27 lines

What it actually says

Layered Analysis Loop

Analyze in deliberate passes that each answer one question, so depth accumulates on a stable base instead of one undirected read producing a shallow summary.

Steps

  1. Write the question each layer will answer before starting it. A layer without a question becomes a re-read.
  2. Run layer 1 for structure only: what exists, how it is organized, where the entry points are. Resist diagnosing anything yet.
  3. Run layer 2 for behavior: follow the primary paths end to end and record what actually happens, in order.
  4. Run layer 3 for edges: error paths, empty and boundary inputs, concurrency, and the states the primary path assumes but does not enforce.
  5. Run layer 4 for contradiction: actively try to falsify the model built by layers 1-3. Look for the case that breaks it rather than the case that confirms it.
  6. Close each layer with a written delta — what changed in the model — and carry forward only findings with evidence. An unrecorded layer did not happen.
  7. Stop when a full layer produces no delta, and say so. Continuing past convergence spends budget; stopping before it ships an untested model.
  8. Report the layers run, the delta from each, and the layer at which convergence occurred.

Acceptance

  • Each layer has a written question fixed before the layer ran.
  • Structure, behavior, edge, and contradiction layers are separately recorded.
  • Every layer closes with an explicit delta, including "no change".
  • The contradiction layer names at least one specific attempt to falsify the model.
  • The stopping condition is stated as convergence or as an explicit budget cutoff.
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 · 27 lines · 60 tokens per session scan A 1e26369e0676

Subscribe to this mod's changes

layered-analysis-loop is a skill published in the GitHub repository mtarcure/claude-vibe-squad (109 stars, last pushed 3d ago), licensed MIT. It adds 60 tokens to every session and 414 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.