# "MAXIMIZE Your Claude Code Subscription (Without Getting BANNED)"
<!--
ref: @content/youtube/indy-dev-dan/maximize-your-claude-code-subscription-without-getting-banned
tags: [Claude subscription usage, OAuth vs API key, Anthropic usage policy, third-party harnesses]
version: 2
updated_at: 2026-11-22T13:42:24.249Z
-->

**[Watch on YouTube](https://www.youtube.com/watch?v=8IDzBRRFnQU)**

# MAXIMIZE Your Claude Code Subscription (Without Getting BANNED)

*Synthesized from IndyDevDan, 2026-04-27.*

IndyDevDan presents solo, giving his reading of Anthropic's published rules as of April 2026 on using a Claude Pro or Max subscription in scripts and tools.

## Core Thesis
IndyDevDan argues that one rule covers about 90% of cases: a Pro or Max subscription is for your own individual use, and the moment anyone else's requests flow through it you should switch to an API key. He sorts usage into safe, controversial and bannable tiers and complains that Anthropic's staff have given contradictory public statements, particularly about third-party harnesses.

## Key Insights
- **The test.** Ask whether you are the only human whose work the agents run. If yes, OAuth token and subscription are fine; if not, use an API key. He summarizes it as one human, one subscription, one beneficiary (team and enterprise plans differ).
- **Safe.** Personal scripts and cron jobs on your laptop, the Claude Agent SDK running your own agents, CI on your own repo with the Claude Code OAuth token, Claude Code on a work laptop for code you author, and Claude Code web and desktop.
- **Controversial.** Agency or contractor workflows on your token, Slack bots or daily reports used by several people, open-source CLIs unless each user brings a token, internal team tools on one developer's plan, and third-party harnesses in the OpenClaw style.
- **Bannable.** Shipping a product on your OAuth token, multi-tenant SaaS logging in as you, sharing one subscription across a team without seats, reselling, and extracting tokens from JSON files or the keychain. He notes volume and prompt classification make this easy to detect.
- **Timeline of mixed signals.** Feb 18: an Anthropic staffer said business builders on the Agent SDK should use an API key. Apr 3: Boris Cherny said subscriptions would stop covering third-party tools like OpenClaw, citing capacity. Apr 6: OpenClaw's creator reported first-party harness blocking, which Boris called an overactive abuse classifier. Apr 10: that creator was banned and reinstated. OpenClaw docs then said CLI-style use was allowed again.
- **His stance.** He follows the documentation, not tweets; the usage policy says products built on Claude, including the SDK, should use API authentication. He uses the Pi coding agent with an API key and avoids OpenClaw. He suspects Anthropic is compute constrained and notes a reported A/B test blocking Claude Code on Pro.
- **Implementation.** Get a token with `claude setup-token` and set it in `CLAUDE_CODE_OAUTH_TOKEN`. Gotcha: unset `ANTHROPIC_API_KEY`, which otherwise overrides OAuth. His repo uses a `just` runner with `uv` scripts to show both paths.
- **How to verify which billing is used.** In the output JSON, `apiKeySource` is none and a five-hour rate-limit type appears for OAuth; the API-key run shows no rate-limit event and a cost (about 2 cents for a ping).

## Actionable Takeaways
1. Apply the one-beneficiary test before wiring a subscription token into anything.
2. Run `claude setup-token`, export the OAuth token, and pop `ANTHROPIC_API_KEY` from the subprocess environment.
3. Inspect the stream JSON for API key source and rate-limit type to confirm billing.
4. When unsure, contact Anthropic sales rather than guessing.

## Notable Quotes
> "Your Pro or Max subscription is for your individual use." — IndyDevDan

> "The big idea here is one human, one subscription, one beneficiary." — IndyDevDan

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*