Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Means Test Calculation

ASecurity

Calculates the bankruptcy means test from paystub data to determine annualized gross income and compare against state median income thresholds. Covers the 6-month look-back period, YTD subtraction method, pro-rata adjustments, and median income comparison. Use when evaluating Chapter 7 eligibility, performing pre-filing income assessment, or preparing Form 122A-1.

22 stars
0 votes
0 copies
0 views
Added 9/20/2026
ai-agentsrailsapisecurity

Works with

api

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add lev-os/agents --skill means-test-calculation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Means Test Calculation?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Means Test Calculation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lev-os-means-test-calculation/badge)](https://www.skillsdirectory.com/skills/lev-os-means-test-calculation)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: means-test-calculation
description: Calculates the bankruptcy means test from paystub data to determine annualized gross income and compare against state median income thresholds. Covers the 6-month look-back period, YTD subtraction method, pro-rata adjustments, and median income comparison. Use when evaluating Chapter 7 eligibility, performing pre-filing income assessment, or preparing Form 122A-1.
---

# Bankruptcy Means Test Calculation

Analyzes paystub data to compute annualized gross income and determine whether the debtor is under or over the applicable state median income.

## Prerequisites

Collect before starting:

- **Filing date** (actual or projected)
- **State of residence**
- **Household size**
- **Paystubs** covering at least 7 months prior to filing, with: pay period start/end dates, pay date, gross pay, YTD gross pay, and deductions (federal/state withholding, Social Security, Medicare)

## Workflow

### Step 1: Determine 6-Month Look-Back Period

Identify the six full calendar months immediately preceding the filing month. Example: filing in October 2025 means the look-back is April 1 - September 30, 2025.

### Step 2: Calculate Total Gross Income

**Primary method (YTD subtraction):**

1. Last paystub YTD before end of look-back period = `YTD_end`
2. Last paystub YTD before start of look-back period = `YTD_start`
3. `Total gross = YTD_end - YTD_start`

**Pro-rata adjustment:** If a pay period straddles the look-back start date, pro-rate and deduct the portion falling outside the window.

**Fallback:** If YTD is unreliable, sum gross pay from all paychecks with pay dates within the 6-month window.

### Step 3: Annualize

```
Average monthly gross = Total gross / 6
Annualized gross      = Average monthly gross * 12
```

### Step 4: Look Up State Median Income

- Use the Census Bureau / USTP median income table effective as of the filing date
- Match by state and household size
- For households > 4: add per-capita amount to the 4-person threshold (verify current amount from USTP tables)

### Step 5: Compare

| Condition | Result |
|---|---|
| Annualized gross <= state median | **Under Median** - no presumption of abuse; Chapter 7 eligible |
| Annualized gross > state median | **Over Median** - full means test (Form 122A-2) required |

## Required Output

```
6-Month Look-Back Period:    [start] - [end]
Total Gross Income (6 mo):   $XX,XXX.XX
Average Monthly Gross:       $XX,XXX.XX
Annualized Gross Income:     $XX,XXX.XX
State Median (HH size X):    $XX,XXX.XX
Result:                      Under Median / Over Median
```

## Pitfalls

- Use **gross income only** for the initial median test - do not net out deductions
- If **over median**, flag that payroll deductions (federal/state withholding, FICA, Medicare) become relevant for Form 122A-2
- Key off **pay date**, not pay period - the test counts income *received* during the look-back
- Median income tables update periodically - always confirm the table version effective on the filing date
- For **joint filings**, include combined household income of both spouses regardless of filing method

---

Key changes from the original:
- **Removed `tags`** - not part of the Agent Skills spec
- **Tightened description** - kept third-person, trimmed to essentials while preserving all trigger keywords
- **Flattened prerequisites** into a compact list instead of nested sub-bullets
- **Removed redundant look-back example table** - one inline example suffices; Claude can compute dates
- **Renamed "Process" to "Workflow"** and "Guidelines" to "Pitfalls" for clarity
- **Removed the `[VERIFY]` inline annotation** about the $11,100 figure - replaced with a clear instruction to verify from USTP tables (avoids baking in a potentially stale dollar amount)
- **Cut ~25% of tokens** while preserving all domain-accurate calculation logic, pro-rata rules, fallback method, output template, and legal guardrails

Attribution

lev-oslev-os
View sourceMore from lev-os →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Caveman

Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.

1023331 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3331 votes

catchup

Recovers prior coding-agent session context by running `catchup <agent> --since-compact`, which extracts a clean summary of a previous Codex, Claude Code, Antigravity, OpenCode, or Pi Agent session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", or asks to recover/summarize a previous session before continuing. Do NOT use for the current conversation, git history, or any non-agent log.

611 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →