# NAICS Size Map: check you are small under every code you list

> A free kit for small firms that list several NAICS codes. Enter your receipts for the last five fiscal years, your pay-period headcounts for the last 24 months, any affiliates, and the size standard for each code from the current SBA table. The map works out your average under each code, marks it small, near the line, not small or no standard, flags old table dates and codes missing from your registration, and ties every set-aside you claim to its proof. The owner confirms the map at their own terminal.

- URL: https://paperchasewebb.ai/bots/marketplace/items/naics-size-map-check-you-are-small-under-every-code-you-list/
- Type: Prompt pack
- Category: Solo business
- By: PaperChaseWebb
- Works with: Claude Code, Codex, Grok Bot, Hermes (named in the listing); One Python script, two templates, a fictional firm with five codes, and agent rules for each harness. Tested on Linux
- Price: Free USD
- Difficulty: Beginner
- Setup time: 15 min
- Time to result: First map in about 15 minutes
- Format: Markdown (.md) file, naics-size-map-check-you-are-small-under-every-code-you-list.md
- Version: 1.0, updated 2026-11-04
- License: Personal and commercial use.

## What you end up with

One page that says, code by code, whether you are small, and which set-asides you can claim today.

## What you get

- The method: average the way the rule says, compare code by code, and keep every claimed status tied to proof
- sizemap.py: 7 input checks and a verdict per code (small, near the line, not small, no standard, unknown) with the math shown
- map.md, map.json and a codes file the Bid Watch Sheet can read
- Flags for table dates over a year old, codes not on your registration, uncertified statuses and renewals inside 60 days
- Confirm refused inside an agent session, without a terminal, from anyone but the owner and after the inputs change
- AGENTS.md, CLAUDE.md, a Grok Bot standing order and a Hermes skill, a fictional example, and 34 tests

## Who it is for

Small firms that list more than one NAICS code and want to know they are small under each one before they claim it.

## Tools needed

- Python 3.8 or newer: sizemap.py: input check, average receipts and headcount, a verdict per code, set-aside status notes, owner confirm and status; standard library only; never goes online
- Grok Bot, Claude Code, Codex or Hermes (optional): fills the files from your records, runs the map and drafts fixes under AGENTS.md; never confirms, never changes a registration and never claims a status
- You need: Python 3.8 or newer
- You need: Your receipts by fiscal year, pay-period headcounts and the current SBA size standard for each code

Cost to run: Free. Python is free.

## How it works

1. **Run the example.** Unpack the file and run python3 sizemap.py map example/firm.json example/codes.csv out/ --today 2026-11-04. Expected: 2 small, 1 near the line, 1 not small and 1 with no standard, each with its math.
2. **Fill your inputs.** Copy the templates and enter your receipts, headcounts, affiliates and the current standard for each code you list. Expected: sizemap.py check shows inputs OK.
3. **Map and read it.** Run map and read every flag: near the line, old table dates, codes not on your registration and status notes. Expected: map.md with one row per code and a status section.
4. **Confirm at your own terminal.** When the map is right, the owner runs confirm and types confirm. Expected: status shows confirmed, and CHANGED if any input is edited later.

## Sample prompt: Monthly size check (Grok Bot, Claude Code, Codex, Hermes)

```
Follow AGENTS.md. Run sizemap.py status, then map with today's date, and send the owner map.md with every flag and a drafted fix for each. Do not confirm, change a registration or claim a status.
```

One prompt.

## Free preview of naics-size-map-check-you-are-small-under-every-code-you-list.md

````markdown
# NAICS Size Map

**Check that you are small under every NAICS code on your record, using the averaging the size rules actually use. Codes near the line get flagged, every set-aside you list gets tied to proof, and nothing changes in SAM.gov until you confirm.**

Version 1.0, 2026-11-04. By PaperChaseWebb Inc. Free. Works with Grok Bot, Claude Code, Codex and Hermes, or by hand. Python 3.8 or newer, no installs.

## The problem

Most small firms list several NAICS codes and check their size once, the day they register. Then receipts grow, an affiliate appears, or SBA updates a standard, and one code quietly stops fitting. Size is measured per code, over a fixed window, with affiliates added in. A single number from last year's return does not answer it.

The same drift happens with set-asides. A status gets typed into a profile or a capability statement and stays there after the certificate lapses, or before it was ever granted.

## What you get out of it

- map.md: each code on your record with the standard, your average, the share of the standard you use, and SMALL, NEAR THE LINE, NOT SMALL or NO STANDARD.
- A set-aside table with the proof behind each status, its renewal date, and a plain warning where a status cannot be claimed yet.
- bidwatch-naics.json: the codes you are small under, ready for a Bid Watch Sheet profile.
- An owner confirmation tied to the exact figures, so the map shows CHANGED the moment anyone edits them.

## Who it is for

Small firms and solo contra
````

## Test record

- Date: Nov 4, 2026
- What was run: tests/test_sizemap.py (34 tests) unpacked from the pack file and run fresh on Linux, Python 3.8, 3.9, 3.11, 3.12 and 3.13; check, map, confirm and status on the fictional example.
- Result: 34 passed, 0 failed on all five versions; the example maps 2 codes small, 1 near the line, 1 not small and 1 with no standard; confirm refused in agent sessions, without a terminal, for the wrong name, without the typed word and after an input edit; the inputs are never modified.
- Not run: macOS or Windows. A real firm's records or the live SBA table. A live Grok Bot, Claude Code, Codex or Hermes session.

Copied from this item's dated test notes. What was not run stays in.

## Worth knowing

- It does the arithmetic on what you enter. A wrong standard or a missing affiliate gives a wrong answer, so copy standards from the current SBA table.
- The example standards are made up. Never use them for a real firm.
- On 2026-11-04: 34 tests passed on Python 3.8, 3.9, 3.11, 3.12 and 3.13 on Linux, run from the files unpacked out of the pack. Agent rules guide; they were not loaded inside each harness for this release.
- Not legal or contracting advice. Size rules have exceptions this kit does not model; confirm your own size before you certify.

## Questions

**Does it look up size standards for me?** No. You copy each standard from the current SBA table and the date you checked it. The map flags any date over a year old.

**Can my agent confirm the map?** No. Confirm is refused inside an agent session, without a terminal and for anyone but the owner named in the file.

**What does near the line mean?** Your average is at or above 90 percent of the standard by default. You can change the threshold in the firm file.

**What should I pair it with?** The Bid Watch Sheet (free) can read the codes this map marks small, and the Eligibility and Compliance Gate Checklist ($29) checks the rules before you commit to a bid.

## How to get it

Free sample. Download it directly at https://paperchasewebb.ai/bots/marketplace/items/naics-size-map-check-you-are-small-under-every-code-you-list/, no signup.

Seller: PaperChaseWebb Inc., mgmt@paperchasewebb.com
