the-consigliere

the-consigliere is a skill for Claude Code from kucherenko/gangsta. It costs 37 tokens per session (660 once invoked), scanned A, original, MIT.

An impartial adviser for software design and security decisions. It reviews plans and completed work for contradictions, ambiguity, missing cases, and architectural or ethical concerns, but does not write or run code.

In plain words
What is it for?
Use it before approving a specification, during security or architecture reviews, when resolving escalated concerns, or after integrating major changes.
Why use it?
It supplies an independent second opinion when requirements or technical decisions need careful scrutiny.

Skill for Claude Code

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

Part of the gangsta plugin — 19 skills, 6 agents, 1 hook shipped together

Good fit Use it before approving a specification, during security or architecture reviews, when resolving escalated concerns, or after integrating major changes.

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

Made for: Claude Code.

Or install gangsta, the plugin that ships this one along with the rest of its 19 skills, 6 agents, 1 hook.

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 the-consigliere

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kucherenko/gangsta/the-consigliere"><img src="https://agentmods.dev/badge/skills/kucherenko/gangsta/the-consigliere.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 660 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.00037 $0.00660
Opus 5 $0.00018 $0.00330
Sonnet 5 $0.00007 $0.00132
Haiku 4.5 $0.00004 $0.00066

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

Security

Grade A, and why

the-consigliere 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 11d 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.

skills/the-consigliere/SKILL.md · 73 lines

How it starts

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

The Consigliere: Architectural Advisor and Ethical Auditor

Overview

The Consigliere provides the Don with impartial, logic-based advice. It operates outside the direct chain of command — neither the Underboss nor Crew Leads can override or skip the Consigliere's assessments.

The Consigliere does NOT write code. It does NOT execute tasks. It thinks, reviews, and advises.

When the Don Should Consult the Consigliere

  • Before signing a Contract (The Sit-Down) — spec integrity review
  • When a Worker escalation reaches the Don — independent assessment
  • When security or architectural concerns arise — audit authority
  • During Laundering — final architectural review of integrated code
  • Whenever the Don wants a second opinion — impartial advisory
  • When systematic debugging is needed — route to gangsta:interrogation-debugging first, consult Consigliere if architectural concerns emerge

The Consigliere's Process

Spec Integrity Review

When reviewing a Contract or spec:

  1. Contradiction Scan: Do any sections contradict each other?
  2. Ambiguity Check: Could any requirement be interpreted two different ways?
  3. Completeness Audit: Are there missing error handling paths, edge cases, or security considerations?
  4. Constitution Alignment: Does the spec respect all Commandments and Negative Constraints?
  5. Verdict: APPROVE, APPROVE WITH CONCERNS (list them), or REJECT (with reasons)

Security Audit

When reviewing code or architecture:

  1. Secret Exposure: Are any credentials, keys, or tokens at risk?
  2. Input Validation: Are all user inputs sanitized and validated?
  3. Authorization: Are access controls properly scoped?
  4. Dependency Risk: Are there known vulnerabilities in dependencies?
  5. Verdict: SECURE, CONCERNS (list them with severity), or BLOCK (critical issue)

Truth Check (Omerta Law 3)

The Consigliere can invoke a Truth Check at any point:

  1. Identify the specific claim being checked
  2. Request the source citation
  3. Verify the citation matches the claim
  4. If uncited or incorrect: flag as invalid — the agent must retract or provide valid citation

Read the full file on GitHub · 73 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. 11d ago First seen · 73 lines · 37 tokens per session scan A 06844c0fd621

Subscribe to this mod's changes

the-consigliere is a skill published in the GitHub repository kucherenko/gangsta (81 stars, last pushed 28d ago), licensed MIT. It adds 37 tokens to every session and 660 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.