Skip to content
Back to skills

Business Loop

ASecurity

Build a ready-to-use business plan, model, report, proposal or deck when asked to take the deliverable through verification. Start from a clear request or BUSINESS-INTENT.md and lock its acceptance checks before building.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
ai-agentsrustgonode

Security analysis

A100/100

Pro scans all 16 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add jerahsiegal-source/ai-implementation-skills --skill business-loop --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Business Loop?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Business Loop
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jerahsiegal-source-business-loop-ai-implementation-skills/badge)](https://www.skillsdirectory.com/skills/jerahsiegal-source-business-loop-ai-implementation-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: business-loop
description: Build a ready-to-use business plan, model, report, proposal or deck when asked to take the deliverable through verification. Start from a clear request or BUSINESS-INTENT.md and lock its acceptance checks before building.
---

# Business Loop

Own a business deliverable from the ask to a verified, finished file. Like a coding loop that builds, runs the tests, fixes and re-runs, this loop builds the work, tests it against a written contract, fixes what fails, opens the real artifact, and stops only when the contract passes or a real blocker is reached. Resume from the project files after context loss. A native Goal requires a separate explicit request.

## Codex resources

Use absolute paths to this package's files. Find shared kits and companion packages in the installed skills directory (usually ~/.agents/skills). If the entrypoint is resolved to a junction's source checkout, find Codex variants under codex/skills and shared kits under skills in that checkout. Copy installations use installed siblings. Continue with the workflow's own references if a companion is missing.

## Scale the work to the deliverable

Every release needs a locked contract, an automated check, a challenge, inspection of the real file, and the release validator verdict. For a short, local deliverable with settled inputs, read the sections relevant to its domain and format. Create the contract and evidence skeleton together, lock the contract, then build the complete first draft in one pass. Batch the first automated check run, use one substantive challenge focused on the decision and weakest assumption, and collect the manual evidence together. As soon as the deliverable exists, run the contract's automated checks before choosing optional visual tooling. Record manual results together in the contract with traceable evidence. Repeat only when the checks or challenge find something to fix. Include the `validate-contract.mjs` verdict in the final reply.

## What "done" means

Three dimensions, and **each must pass on its own**. A beautiful report with bad strategy fails. A sound model with a broken interface fails. A strong GTM plan without an executable calendar fails.

| Dimension | Question |
|---|---|
| **Business quality** | Is the reasoning, research and math actually good, and honest about the target? |
| **Completeness** | Can the owner use it for its purpose without filling in missing pieces? |
| **Artifact quality** | Is the real file something they'd want to present, send or use, and was it opened and tested? |

Checks come from three layers: **universal** (every task), **domain** (what an expert in this field checks), and **artifact** (what this format needs). The contract, the ledger and the release gate are defined in [acceptance-contract.md](references/acceptance-contract.md).

Scripts live in this skill's `scripts/` folder. Call them by full path, using the absolute Codex variant directory. Below they are written as `scripts/...`. They need only Node.

## Ground rules

- **Contract before content.** Write `loop/contract.json` before building anything substantive. Lock it (`validate-contract.mjs --lock`). You may add checks at any time. Never remove, soften or reword a locked check. The validator fails if you do.
- **Evidence or it didn't happen.** A check passes only when a check was actually run in this session: a script's output, a recalculation, a screenshot you looked at, a control you exercised, a source you opened. Record method, expected, actual and the evidence file. Declaring something correct is not evidence.
- **One model, many views.** Every number goes in `loop/numbers.json` with a source or a formula, and the calculations live in one model (`loop/model.mjs`, a spreadsheet, or the app's own logic). Weekly, monthly and annual views all come from that model. Run `trace-numbers.mjs` and reconcile material quantities it skips, including bare integers up to 12, against the ledger or a task-specific arithmetic check. A trace of zero values leaves those quantities unchecked.
- **Honest about the target.** When there is a target, work out what it requires (backward), forecast what current resources realistically produce (forward), and show the gap. The standard case is the most defensible one, not the one that hits the goal. It is the **plan of record**: what happens if the owner does what they're already set up to do, plus moves that need no new decision or resource. Your proposed fixes (reassigning people, hiring, more spend, a price change) are options shown with their own numbers. Never fold them into the headline forecast. If the target can't be reached within the constraints, say so on page one, along with what would close the gap. See [modeling-and-uncertainty.md](references/modeling-and-uncertainty.md).
- **Constraints are limits.** Budget, hours, headcount, dates and risk tolerance are checked by arithmetic, not by tone.
- **Make checkpoints executable.** In the deliverable itself, tell the named owner what counts as a completed outcome, where to record it, when to tally it, and what to do immediately for either result. Preserve the source's hard limits in the operating instructions. For disjoint time blocks, show the whole slots that fit within each block. Check the final one-page plan against those conditions independently of the ledger.
- **Solve, don't restate.** Name who, what, how many, by when, at what cost. "Leverage LinkedIn" fails. "Founder sends 25 connection requests a day to agency owners in the US, which at a 4% reply rate is 7 calls a week" passes.
- **Decision first, no filler, right length.** The reader gets the answer, the cost, the expected return and the verdict up front. Every section, chart and paragraph has to help someone understand, decide or act. Put detail in an appendix or a drill-down. Thoroughness belongs in `loop/`, not on the page. A length the ask names ("one page", "two pages", "10 slides") is a hard limit and becomes a locked deterministic check. Without one, use the budgets in [artifact-quality.md](references/artifact-quality.md).
- **Nothing leaves the project.** Don't send, post, publish, spend, buy or contact anyone. Produce drafts only. Never share the owner's private data with outside services. Don't put personal facts into public files.
- **Files are the memory.** `loop/` holds everything you'd need after compaction. If the chat and the files disagree, trust the files.

## 1. Understand (once)

1. **Find the brief.** Use the path given; else `./BUSINESS-INTENT.md`; else `./INTENT.md`. Without one, write `loop/brief.md` from the request and files: Outcome, Why, Audience (who reads it and what they'll do with it), Deliverable and format, Target and date, Constraints, Never, Stop-and-ask. Mark each inferred line `(assumed)`. Ask at most 3 questions, and only ones whose answer would change the deliverable and that you can't reasonably infer. If the owner is away, go ahead on labelled assumptions.
2. **Open strategic choices.** If a consequential choice is still open (which segment, which price), don't stall. With the owner present, offer to run the `strategy` skill. Without them, pick the option that best serves the Why, log it under **Decisions** with the runner-up, and make it easy to swap.
3. **Read every relevant input file.** List each one in `loop/sources.md` with a line saying what it holds. Note contradictions between files: each one becomes a check.

## 2. Acquire expertise

For a closed local case, apply the relevant domain method to the supplied material. Respect any limit on private or external data; record the supplied sources and proceed. For additional expertise follow [research-protocol.md](references/research-protocol.md) and reuse a validated capability from `business-kit` (and the owner's private pack in `~/.ai-skills/personal/business/capabilities/` if it exists) when it's current. Refresh it when it's stale. Research and build a method when nothing fits. Record what you used and why in `progress.md`. For an unfamiliar domain, find out what practitioners in that field actually check before you build.

## 3. Define done

Write `loop/contract.json` from [templates/contract.json](templates/contract.json). Resolve `<business-loop-scripts>` to the absolute path of this Codex package's scripts directory and replace `<file>` with the final deliverable filename before locking. Use forward slashes in Windows paths:

- **Universal:** each of the 11 gates in [acceptance-contract.md](references/acceptance-contract.md), made specific to this task, or marked `n/a` with a reason.
- **Domain:** from the capability you're using plus your research. For quantitative work, include the checks in [modeling-and-uncertainty.md](references/modeling-and-uncertainty.md).
- **Artifact:** from [artifact-quality.md](references/artifact-quality.md) for the format being produced, including functional tests for anything interactive.
- Copy every Done, Never and Constraint line from the brief into at least one check, word for word.
- Prefer automated tests (`"type": "deterministic"` with a `cmd`) wherever possible.

Then run `node scripts/validate-contract.mjs loop/contract.json --lock`. Create `loop/numbers.json` (from the template), `loop/progress.md` (append-only, with running **Decisions**, **Assumptions**, **Found, not fixed**, **Blocked** sections), `loop/now.md` and `loop/evidence/`. Print the setup in a few lines: the deliverable, the audience, check counts per dimension, and any assumptions.

## 4. Build, verify, refine (repeat)

Work through the deliverable one part at a time (a model block, a section, a slide group, a feature of a tool):

1. **Build** the part from the model and the sources. Put new figures in `numbers.json` first.
2. **Verify** the part: `node scripts/run-checks.mjs loop/contract.json` runs every check that has a `cmd` and records the results. Do the evidence, perceptual and functional checks for this part by hand, and record each one with its evidence file.
3. **Refine** what failed: make a targeted repair, then re-test only what was affected, plus anything that depends on it.
4. If a check fails twice with no new approach, mark it `blocked` with the reason and move on to independent work. When you find a requirement or failure mode you hadn't listed, **add a check** for it.
5. Rewrite `loop/now.md` and print one status line: `Part 3/6 | 41/52 pass | 1 blocked | biz 18/20 · complete 12/16 · artifact 11/16`.

## 5. Challenge (fresh eyes)

When the draft is complete, use [challenger-brief.md](references/challenger-brief.md). When delegation is authorized and available, give a fresh challenger the brief, `contract.json`, `numbers.json`, `sources.md` and the deliverable, and nothing about how you built it. It plays the people who will act on the work, recomputes key numbers, attacks the weakest assumptions, runs the delay and overrun cases, and looks for what an expert would expect that's missing. It scores findings 0–10 with [scoring.md](references/scoring.md).

- Fix every finding at **5 or above**. Each real gap also becomes a new contract check (`"added_by": "challenge"`) so it stays fixed.
- For a finding you disagree with, record **disagree** with evidence. Findings below 5 become follow-ups.
- Run another round while any finding at 5+ is open and the last round made progress. Stop when a round finds nothing new at 5+.
- If delegation is unavailable or unauthorized, do a labelled self-challenge using the same brief, and recommend an independent check in the handoff.

## 6. Render and inspect

1. **Render** the final artifact in its intended format. Match tools to the requested format and current surface. Use connected authoring when requested and available, or local tools and the project stack for local deliverables. Follow [artifact-quality.md](references/artifact-quality.md) and read relevant companion guidance only as needed.
2. **Inspect the real file the way its reader will.** Screenshot every slide or page at its intended size and look at each one. Open the spreadsheet and recalculate it. Open the HTML tool in a browser, run the functional tests, and check it on a phone-width screen. Read page one as the decision-maker, in under a minute. If something fails, fix that part only, re-render it, then check the whole for regressions.
   For a text-native Markdown file, inspect the actual source in a text or Markdown reader. Use the word and line budget for a one-page text artifact unless the request specifies a printed page, pagination, or a printable layout. Record the actual reading surface and measurement. Choose a rendered preview when layout materially affects acceptance.
3. **Cut pass.** Measure the deliverable against its length budget (printed page count, slide count or word count). For each section, ask: would the reader miss this if it were gone? Move or delete everything that fails, including extra scenarios, alternative plans and methodology the decision doesn't need. They stay in `loop/` or a collapsed appendix. Re-render and re-inspect afterwards.
4. **Final design pass** (every deliverable a person looks at: pages, reports, dashboards, tools, decks). The work is right by now. This pass makes it easy to look at, without changing what it says. Follow [artifact-quality.md](references/artifact-quality.md#final-design-pass):
   - Apply the built-in pass in artifact-quality.md to the page as it is. Don't rebuild the page with another skill: in the bench, rebuilding with `visualize`/`design` looked no better and twice weakened the content.
   - For an HTML artifact with the design kit installed, run its page checker (`node <skills>/design-kit/scripts/check-page.mjs deliverable/index.html --out loop/evidence/design`) until it reports 0 FAIL. Then look at the desktop and phone screenshots.
   - Afterwards, re-run the functional checks and `trace-numbers.mjs`. A design pass that changes a number, or breaks a control, is a regression.
5. Run `node scripts/trace-numbers.mjs <deliverable> loop/numbers.json` on the final file and fix anything it can't trace.

## 7. Release gate

Run `node scripts/validate-contract.mjs loop/contract.json`. It ships only when:

- every check is `pass`, or is `blocked`/`n/a` with a reason that doesn't touch a material requirement;
- each of the three dimensions passes on its own;
- no locked check was removed or weakened;
- the final artifact was inspected after the last change.

If it fails, go back to step 4 for the failing checks only.

**Stop** when the gate passes; when progress needs information, authorization or real-world results you can't get (report what's missing); or when two rounds in a row produce no newly passing check, or the budget runs out. In those last cases, report the real readiness (checks passing per dimension) and the blockers. Never mark incomplete work as finished.

## 8. Deliver and learn

1. Write `loop/handoff.md`: where the deliverable is; the verdict in one line (for target work, the gap); passing checks per dimension, with evidence pointers; assumptions to confirm, most sensitive first; decisions, each with a one-line why; what can't be proven until real results come in, and which leading indicator will show it first; follow-ups. **Recommend an independent check** for investor, lender or customer-facing material, large financial commitments, complex integrated plans, or when any challenge finding scored 7 or more: a fresh session or another model re-runs `loop/contract.json` with `run-checks.mjs --all`, recomputes the key numbers and opens the file. For routine work, say it isn't needed.
2. When the user's data scope permits private learning, follow [capability-learning.md](references/capability-learning.md). Save lessons privately as candidates and require more than one run before promotion.
3. Set `now.md`'s phase to `done` after passing release. Reply with the deliverable, the verdict, the pass counts per dimension, anything not done, and the handoff path.

Maintain the [status card](references/status.md) after each part and before a long operation.

## Resuming and after compaction

If `loop/` already exists, don't recreate it. Re-read this skill, the brief, `now.md`, `contract.json` and the Decisions and Assumptions sections of `progress.md`. Run `validate-contract.mjs` (without `--lock`), then do the next step `now.md` names. Work without an evidence file counts as unchecked. Don't work from a conversation summary.

Files in this skill

  • SKILL.md16.1 KB
  • agents/openai.yaml145 B
  • references/acceptance-contract.md7 KB
  • references/artifact-quality.md7.5 KB
  • references/capability-learning.md2.3 KB
  • references/challenger-brief.md2.5 KB
  • references/modeling-and-uncertainty.md5.2 KB
  • references/research-protocol.md2.9 KB
  • references/scoring.md1.9 KB
  • references/status.md438 B
  • scripts/run-checks.mjs2.1 KB
  • scripts/trace-numbers.mjs5.1 KB
  • scripts/validate-contract.mjs7 KB
  • templates/contract.json6 KB
  • templates/now.md727 B
  • templates/numbers.json769 B

Attribution

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

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.