Update the root README.md with entries for new or changed agent companies. Use when a new company has been added to the repo, when company details have changed (agents added/removed, skills added/removed), or when the user asks to refresh/sync the README. Triggers on: "update the readme", "add this company to the readme", "sync readme", "refresh readme", or after creating a new company with company-creator.
Update the root README.md to reflect all companies in the repo, matching the established format.
List all top-level directories that contain a COMPANY.md file. Skip default/, skills/, and any dotfile directories.
For each company directory, collect:
COMPANY.md YAML frontmatter (name) and the prose body (first paragraph after the frontmatter closing ---)Generated from [name](url) line at the bottom of COMPANY.md. Extract both the display name and the URLagents/. Count them. Format agent names by replacing hyphens with spaces and title-casingskills/*/SKILL.mdFor each company that does NOT already have an images/org-chart.png, generate one:
~/paperclip scripts/generate-company-assets.ts <company-directory>
If the image already exists and the company hasn't changed, skip regeneration. If the user explicitly asks to regenerate, run it again.
Replace the ## Companies section in README.md with entries for every discovered company. Preserve all other sections (## Structure, ## Shared Skills, ## Usage, etc.) exactly as they are.
Each company entry MUST follow this exact format:
### [Company Name](./<directory-name>)
```bash
npx companies.sh add paperclipai/companies/<directory-name>
```
<One-sentence description from COMPANY.md body. Keep it concise — one to two sentences max.> Built from [upstream name](upstream-url).

> **Agents (N):** Agent One, Agent Two, Agent Three (limit to 25 "and N more")
>
> **Skills (N):** skill-one, skill-two, skill-three (limit to 25 "and N more")
Rules:
./<dir>/images/org-chart.pngBefore the ## Companies heading, include a summary index table:
| Company | Agents | Skills | Source |
| ------------------------------- | ------ | ------ | ------------- |
| [Company Name](#heading-anchor) | N | N | [source](url) |
— if the company has no skillsThe first three companies are always GStack, Superpowers Dev Shop, and Agency Agents, in that order. Remaining companies follow alphabetically by directory name. Place default last if it is included.
Some companies use a display name different from their COMPANY.md name field. Always apply these overrides:
agency-agents directory → display as Agency Agents (not "The Agency")After writing, read back the README and confirm: