#5979: docs(anthropic): add ToS warning for setup-token usage
docs
Anthropic's Consumer Terms of Service (Section 3) restricts automated access except via API Key. This adds a warning to help users understand the risks of using setup-tokens with third-party tools.
Refs:
- https://www.anthropic.com/legal/consumer-terms
- Recent enforcement reports: https://www.reddit.com/r/ClaudeAI/comments/1qrgiuo/
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR updates `docs/providers/anthropic.md` by adding a prominent “Terms of Service Notice” block under **Option B: Claude setup-token**, explaining that Anthropic’s Consumer ToS may restrict automated/non-human access except via an API key, and recommending **Option A (API Key)** for production/risk-averse usage.
This fits the docs’ existing structure by clarifying the trade-offs between the two authentication options without changing any product behavior; it adds user-facing guidance where setup-token onboarding is documented.
<h3>Confidence Score: 5/5</h3>
- This PR is safe to merge with minimal risk.
- Documentation-only change that adds a warning block and does not affect runtime behavior; wording appears consistent with surrounding docs and introduces no build/test impact.
- No files require special attention
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#3196: docs: clarify auth-profiles.json format for Claude Max setup-tokens
by aadeina · 2026-01-28
74.8%
#16251: docs: remove note about personal single-user access from trusted pr...
by nickytonline · 2026-02-14
72.5%
#16683: chore(onboarding): add explicit account-risk warning for Antigravit...
by vincentkoc · 2026-02-15
72.2%
#11915: Docs: Docker + reverse proxy deployment notes and pairing pitfalls
by walshd1 · 2026-02-08
71.2%
#11938: feat: support ANTHROPIC_AUTH_TOKEN environment variable
by EricMymj · 2026-02-08
71.1%
#10492: fix(auth): store Anthropic setup-token as type:oauth for auto-refresh
by sparck75 · 2026-02-06
70.7%
#9440: fix(security): warn users when gateway token appears in URLs
by zenchantlive · 2026-02-05
70.4%
#5064: fix(auth): update deprecated User-Agent headers
by mfortin014 · 2026-01-31
70.0%
#6801: docs: add token optimization guidance for isolated cron sessions
by ProofOfReach · 2026-02-02
69.9%
#7884: Docs: fix setup-token anchor text
by Smile232323 · 2026-02-03
69.8%