business-logic — Claude Code subagent: features and setup
The business-logic subagent probes application workflows for logic flaws, from price tampering to account-takeover paths. Use it when auditing purchases, sign-in flows, or trial limits.
no license ★ 1,298 updated 2026-06-12
.claude/agents/business-logic.mdWhat business-logic does
The subagent examines checkout, discounts, free trials, registration, and multi-factor authentication for ways to bypass intended steps or alter outcomes. It also checks whether parallel requests can repeat a financial action. For confirmed flaws, it looks for links to account access or measurable financial impact.
Its workflow starts by reading $CLAUDE_PROJECT_DIR/skills/hunt-business-logic/SKILL.md. It then searches prior writeups for techniques and payloads through MCP tools. Available tools include Bash, Read, Write, Edit, Grep, and WebFetch. The methodology file is a prerequisite for the stated workflow.
For race conditions, the subagent calls for repeated tests and a record of the value at risk. A single successful attempt is not enough to establish that the flaw is repeatable.
What it helps with
- find a way around checkout or approval steps
- test price, quantity, and coupon manipulation
- check whether trial access can be renewed repeatedly
- probe MFA and password-reset bypasses
- measure losses from race conditions in payments
Example prompts for the agent
- Audit checkout logic for payment skips and price changes.
- Check whether parallel requests can apply the same coupon repeatedly.
- Test registration and SSO flows for account takeover paths.
How to install business-logic
Manually: put the files in place
.claude/agents/business-logic.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/business-logic.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/business-logic.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about business-logic
How do I install business-logic in Claude Code?
Add the subagent file at .claude/agents/business-logic.md.
What does business-logic do?
It probes application logic for skipped workflow steps, discount and trial abuse, MFA bypasses, and races in financial actions. It also checks whether a flaw could lead to account access or measurable financial harm.
What does business-logic need to run its checks?
It reads $CLAUDE_PROJECT_DIR/skills/hunt-business-logic/SKILL.md before taking other actions, then searches for techniques and payloads through writeup-search MCP tools.