MCPInstall

the-underboss

Use when decomposing tasks into work packages, allocating territories to crew leads, managing heist phase progression, or serving as the operational buffer between the Don and the crews

Installs
43
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/kucherenko/gangsta --skill the-underboss
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads the-underboss automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

The Underboss: Task Middleware and Resource Manager

Overview

The Underboss is the COO of the Gangsta Agents Family. It manages day-to-day operations, serving as a buffer so the Don only deals with strategic decisions and phase gates. The Underboss is the primary engine of task decomposition.

Responsibilities

  1. Task Decomposition — Break the Contract into bite-sized Work Packages (2-5 minutes each)
  2. Territory Allocation — Assign Work Packages to Crew Lead domains based on file paths and concerns
  3. Resource Management — Allocate token budgets per territory, track consumption
  4. Phase Tracking — Maintain Heist phase progression, write checkpoints (Omerta Law 2)
  5. Status Rollup — Collect Reports from Crew Leads, synthesize for the Don
  6. Escalation Handler — Receive escalations from Crew Leads, decide on retry/mini-Grilling/Don involvement
  7. Associate Deployment — Deploy Associates for reconnaissance and specialized tasks

Work Package Format

Each Work Package given to a Crew Lead contains:

## Work Package: <WP-ID>

**Territory:** <Crew Lead domain name>
**Contract Clause:** <Reference to the specific Contract section this implements>

### Files
- Create: `exact/path/to/new-file.ext`
- Modify: `exact/path/to/existing-file.ext`
- Test: `tests/exact/path/to/test-file.ext`

### Acceptance Criteria
1. <Specific, testable criterion from the Contract>
2. <Another criterion>

### Verification
```bash
<Exact command to verify this Work Package>

Token Budget

<Estimated tokens for this Work Package> ```

Decomposition Process

  1. Read the Contract section by section
  2. For each requirement, identify:
    • Which files are affected (create or modify)
    • Which territory owns those files
    • What tests verify the requirement
  3. Group related changes into a single Work Package if they affect the same files
  4. Ensure each Work Package is independently verifiable
  5. Order Work Packages: dependencies first, then parallelizable work

Territory Definition

When setting up Crew Leads, define territories clearly:

## Territory: <Name>
**Domain:** <What this territory covers>
**Files:** <Glob patterns for owned files>
**Conventions:** <Project-specific patterns from Constitution>
**Workers:** <Number of parallel Workers>
**Budget:** <Token allocation>

Escalation Protocol

When a Crew Lead reports a Worker failure:

  1. Retry once — Same Work Package, fresh Worker
  2. Analyze failure — Is the Contract clause ambiguous? Is the Work Package too large?
  3. Mini-Grilling — If the Contract needs revision: single-pass Devils-Advocate + Synthesizer
  4. Escalate to Don — If the issue is beyond operational scope

Checkpoint Writing

At every phase transition, write a checkpoint (Omerta Law 2):

---
heist: <heist-name>
phase: <current-phase>
status: in-progress
timestamp: <ISO 8601>
next-action: <what to do next>
artifacts:
  - <list of files produced>
---

## Resume Context
<What has been done, what remains, any blockers>

Save to: docs/gangsta/<heist-name>/checkpoints/YYYY-MM-DD-checkpoint-<phase>.md

Omerta Compliance

  • Introduction Rule: All Worker communication mediated through Crew Leads
  • Rule of Availability: Checkpoint written at every phase transition
  • Rule of Budget: Token budgets allocated and tracked per territory
  • Spec is Law: Every Work Package traces to a Contract clause

FAQ

What does the the-underboss skill do?

Use when decomposing tasks into work packages, allocating territories to crew leads, managing heist phase progression, or serving as the operational buffer between the Don and the crews

How do I install the-underboss?

Run npx skills add https://github.com/kucherenko/gangsta --skill the-underboss in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/the-underboss/ (personal) or .claude/skills/the-underboss/ (project).

Which AI agents can use the-underboss?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is the-underboss safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains the-underboss?

It is published by kucherenko in kucherenko/gangsta. It has 43 recorded installs.

More from kucherenko/gangsta

View all →

audit-review

kucherenko/gangsta

Open the skill to read its SKILL.md instructions.

the-grilling

kucherenko/gangsta

Use when adversarial brainstorming is needed after reconnaissance — the Proposer, Devils-Advocate, and Synthesizer each run ONE pass (no rounds); the Don is grilled on the IDEA first, one question at a time, then the proposal is attacked

50 installs

laundering

kucherenko/gangsta

Open the skill to read its SKILL.md instructions.

47 installs

reconnaissance

kucherenko/gangsta

Use when beginning a new heist — deploys associates to survey the target codebase, existing tests, dependencies, documentation, and the ledger to produce a reconnaissance dossier for the don's review

using-gangsta

kucherenko/gangsta

Use when starting any conversation — establishes how to find and use Gangsta skills, enforces the 1% invocation rule, maps platform tools, and routes the Don's intent through the Gangsta Agents Family hierarchy

46 installs

drill-tdd

kucherenko/gangsta

Open the skill to read its SKILL.md instructions.

Testing & QA44 installs

Popular other skills

View category →

hyperframes-cli

heygen-com/hyperframes

The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.

1.3M installs

triage

mattpocock/skills

Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.

1M installs

ask-matt

mattpocock/skills

Ask which skill or flow fits your situation. A router over the skills in this repo.

778.4K installs

to-questionnaire

mattpocock/skills

Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

508.9K installs

wait-what

mattpocock/skills

Stop. That last message did not land: re-pitch it.

459.7K installs

loop-me

mattpocock/skills

Grill me about specs for the workflows I want to build, within this workspace.

447.9K installs