deep-analysis

deep-analysis is a command for Claude Code from ANcpLua/ancplua-claude-plugins. It costs 39 tokens per session (589 once invoked), scanned A, original, MIT.

A command that applies the HTML-output approach to an agent plugin, using predefined layouts for reports, dashboards, code reviews, and similar work.

In plain words
What is it for?
Use it when building or configuring agent output for reports, dashboards, triage boards, design systems, and other structured deliverables.
Why use it?
It gives the agent a routing system for choosing an HTML format when plain markdown would make the result harder to use.

Command for Claude Code

Written for Claude Code: effort in frontmatter.

Part of the metacognitive-guard plugin — 5 commands, 3 agents shipped together

Good fit Use it when building or configuring agent output for reports, dashboards, triage boards, design systems, and other structured deliverables.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/ancplua/ancplua-claude-plugins/deep-analysis
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.

Clone the repo
git clone --depth 1 https://github.com/ANcpLua/ancplua-claude-plugins

Made for: Claude Code.

Or install metacognitive-guard, the plugin that ships this one along with the rest of its 5 commands, 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 deep-analysis

README.md
[![agentmods](https://agentmods.dev/badge/commands/ancplua/ancplua-claude-plugins/deep-analysis/github.svg)](https://agentmods.dev/commands/ancplua/ancplua-claude-plugins/deep-analysis)
Your own site
<a href="https://agentmods.dev/commands/ancplua/ancplua-claude-plugins/deep-analysis"><img src="https://agentmods.dev/badge/commands/ancplua/ancplua-claude-plugins/deep-analysis/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 deep-analysis

Your own site · 80×15
<a href="https://agentmods.dev/commands/ancplua/ancplua-claude-plugins/deep-analysis"><img src="https://agentmods.dev/badge/commands/ancplua/ancplua-claude-plugins/deep-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 589 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.00039 $0.00589
Opus 5.5 $0.00016 $0.00236
Sonnet 5.5 $0.00008 $0.00118
Haiku 4.5 $0.00004 $0.00059

Measured 1mo ago against content hash 79703fa6e49f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

deep-analysis 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.

plugins/metacognitive-guard/commands/deep-analysis.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Deep Analysis

Structured thinking for problems that deserve more than a first-pass answer.

When to Use

  • Complex decisions with competing trade-offs
  • Debugging gone 2+ rounds without resolution
  • Any task where you catch yourself about to guess
  • Multiple valid approaches, unclear winner

Phase 1: Decompose & Assess

Before touching code or making decisions, show your reasoning:

THINKING: [problem decomposition]
- Core question: [what are we actually solving]
- Constraints: [what limits the solution space]
- Dependencies: [what this connects to]
- Unknowns: [what I don't know yet]

WEB SEARCH: [NEEDED / NOT NEEDED / DEFERRED]
- Reason: [why]
- If needed: [what specific info to find]

Web Search Decision

NEEDED: Current API docs, versions, breaking changes, third-party library usage, security patches, compatibility verification.

NOT NEEDED: Analyzing existing workspace code, established programming concepts, internal refactoring, basic syntax.

DEFERRED: Need workspace exploration first, multiple approaches need evaluation before knowing what to research.

Phase 2: Adversarial Review

Red-team your own thinking before implementing:

CHALLENGE:
- Assumption I'm making: [what could be wrong]
- Alternative approach: [what else could work]
- Failure mode: [how this breaks]
- What I'm missing: [blind spots]

For high-stakes decisions — spawn competing reviewers in parallel:

Dispatch arch-reviewer + impl-reviewer via Task tool. They compete. Whoever finds more valid issues gets promoted. Run both in background (run_in_background: true) — async, non-blocking. Continue Phase 3 prep while they work.

Phase 3: Implement with Transparency

Show reasoning at each decision point:

DECISION: [what you chose and why]
- Chose X over Y because: [specific reason]
- Trade-off accepted: [what you're giving up]
  • Think between tool calls — don't just chain actions mindlessly
  • Reflect on previous step outcomes before proceeding
  • If results surprise you, return to Phase 2

Read the full file on GitHub · 86 lines

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. 1mo ago First seen · 86 lines · 39 tokens per session scan A 79703fa6e49f

Subscribe to this mod's changes

deep-analysis is a command published in the GitHub repository ANcpLua/ancplua-claude-plugins (6 stars, last pushed 2d ago), licensed MIT. It adds 39 tokens to every session and 589 once invoked, about $0.0002 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-10-01.

Related

deep-analysis compared with commands from other repositories

deep-analysis next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
deep-analysisANcpLua/ancplua-claude-pluginsCommand62d agoMITA39Claude Code
profilecathrynlavery/diagram-designCommand66kyesterdayMITA16Claude Code
ui-flow-reviewMRCalderon3D/everything-game-dev-codeCommand1075d agoMITA15Claude Code
erne-animateJubaKitiashvili/everything-react-native-expoCommand501mo agoMITA21Claude Code
information-architectTenon-Net/TenonAdminCommand4419d agoApache-2.0A14Claude Code, Codex
responsive-design-specialistimsaif/design-with-claudeCommand116d agoMITA36Claude Code
design-auditw2ur/claude-code-setupCommand1yesterdayMITA30Claude Code