Skip to content

docs(claude-auth): correct June 15 2026 framing; recommend OAuth for subscribers - #536

Merged
max-sixty merged 7 commits into
mainfrom
claude-auth-recommendation
May 16, 2026
Merged

max-sixty merged 7 commits into
mainfrom
claude-auth-recommendation

Conversation

@max-sixty

@max-sixty max-sixty commented May 16, 2026 •

Copy link
Copy Markdown
Owner

Summary

The install skill and README claimed Claude Code OAuth tokens stop funding CI runs after Anthropic's "2026-06-16" policy change, leaving the API key as the only viable Claude path. Reading Anthropic's authentication page and the Agent SDK support article shows that framing is wrong on two counts:

  1. The date is June 15, 2026, not June 16.
  2. OAuth tokens continue authenticating after the cutover. Subscription Agent SDK / claude -p usage just shifts to a separate monthly Agent SDK credit (Pro $20 / Max 5x $100 / Max 20x $200 / Team Standard $20 / Team Premium $100 / Enterprise usage-based $20 / Enterprise seat-based Premium $200; seat-based Enterprise Standard seats are not eligible). Credit exhaustion overflows to API rates only when the user has enabled "extra usage" in the Console; otherwise CI hard-stops until the credit refreshes.

The Kickoff text said "the OAuth path no longer funds CI runs" while step 7a said "Anthropic bills these CI runs at API rates regardless" — both wrong, in different directions. This PR reconciles them with the actual policy.

It also flips the recommendation: for adopters with an eligible Claude subscription, OAuth puts the bundled Agent SDK credit to work instead of billing tend runs separately via API. API key remains the right choice when the user is on an ineligible plan (e.g. seat-based Enterprise Standard), when there's no subscription, when the bot should bill against a dedicated Console org, or when per-key revocation matters.

Sources:

  • code.claude.com/docs/en/authentication — "Starting June 15, 2026, Agent SDK and claude -p usage on subscription plans will draw from a new monthly Agent SDK credit, separate from your interactive usage limits."
  • Support article 15036540 — per-plan allowances, credit-exhaustion behavior, "one-time opt-in" claim mechanism.

What changes

  • plugins/install-tend/skills/install-tend/SKILL.md Kickoff and step 7a rewritten with correct date, correct policy framing, OAuth listed first as the recommended path for eligible subscribers.
  • README.md Claude harness section corrected the same way; both Anthropic primary-source links land here. "Reasons not to use Tend" gets a refreshed credit-allowance summary in place of a stale "OAuth in grey zone" paragraph.

No action code, workflow YAML, or runtime behavior touched — docs and skill text only.

Test plan

  • Pre-commit clean (verified locally)
  • CI green on this branch

…subscribers

The install skill and README claimed Claude Code OAuth tokens stop funding
CI runs after Anthropic's 2026-06-16 policy change, with the API key as
the only viable Claude path. That framing is wrong on two counts:

1. The date is **June 15, 2026** per Anthropic's authentication page, not
   June 16.
2. OAuth tokens continue authenticating after the cutover. Subscription
   Agent SDK / `claude -p` usage shifts to a separate monthly Agent SDK
   credit ($20-$200 depending on plan) — it doesn't move to "API rates
   regardless." Credit exhaustion overflows to API rates only when the
   user has enabled "extra usage" in the Console.

Also flips the recommendation: for adopters with a Pro/Max/Team/Enterprise
subscription, OAuth puts the bundled Agent SDK credit to work instead of
billing tend runs separately via API. API key remains the right choice
when there's no subscription, when the bot should bill against a dedicated
Console org, or when per-key revocation matters.

Changes:

- New `docs/claude-auth-choice.md` quotes the two Anthropic primary
  sources (code.claude.com/docs/en/authentication and support article
  15036540) and records the recommendation rationale.
- Install skill Kickoff and step 7a rewritten with correct date, correct
  policy framing, and OAuth listed first as the recommended path.
- README Claude harness section gets the same correction.

No action code, workflow, or runtime behavior touched.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

@tend-agent tend-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found one source mismatch in the new credit-claiming language. Anthropic's support article describes the credit claim as a one-time opt-in that refreshes automatically each billing cycle, not something users claim every cycle.

Comment thread README.md Resolved
Comment thread docs/claude-auth-choice.md Resolved
Comment thread docs/claude-auth-choice.md Resolved
Anthropic's support article: "One-time opt-in. You claim your credit
through your Claude account once. After that, it refreshes automatically
each cycle." The earlier framing ("claimed each cycle", "claimed once per
cycle") was wrong. Five spots fixed across README, doc, and skill text.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

@tend-agent tend-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The June 15 / one-time opt-in update looks aligned with the current Anthropic docs. I found one remaining plan-table mismatch.

Comment thread docs/claude-auth-choice.md Resolved
Reviewer caught that the support article excludes seat-based Enterprise
Standard seats from the Agent SDK credit. Replace `Enterprise $20–$200/seat`
with the explicit breakdown: usage-based $20, seat-based Premium $200,
seat-based Standard not eligible.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

@tend-agent tend-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Enterprise eligibility correction made it into the allowance table, but a few recommendation summaries still read as though every Enterprise subscriber can claim the credit.

Comment thread README.md Resolved
Comment thread docs/claude-auth-choice.md Resolved
Reviewer flagged that the four recommendation summaries (README, doc,
skill kickoff, skill 7a) all said "Pro/Max/Team/Enterprise subscription"
while the plan table excludes seat-based Enterprise Standard seats. An
admin on one of those seats would be steered toward OAuth before reaching
the caveat. Replace with "eligible Claude subscription" + an explicit
exclusion note in the doc and skill.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

@tend-agent tend-agent left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One remaining eligibility wording issue after the latest fixes.

Also, the README's "Reasons not to use Tend" section still says Anthropic restricted Free/Pro/Max OAuth tokens to Claude Code/claude.ai and that claude-code-action CI is a grey zone. This PR's new Claude harness section now says OAuth remains supported and moves to the Agent SDK credit model on 2026-06-15, so that older paragraph should be updated or removed as part of this correction.

Comment thread docs/claude-auth-choice.md Resolved
max-sixty and others added 2 commits May 16, 2026 12:57
…efresh README "reasons not to use" caveat

Two more cleanups in the same theme:

1. docs/claude-auth-choice.md intro still said "Pro/Max/Team/Enterprise
   subscription" (auto-reviewer flagged this on the last commit). Replaced
   with "eligible Claude subscription" to match the rest of the doc.

2. README "Reasons not to use Tend" had a stale paragraph about OAuth
   being "in a grey zone" — that framing reflected the 2026-02 caveat,
   which is superseded by the June 15 Agent SDK credit policy.
   Replaced with the per-plan allowance summary and a link to the new
   doc. The grey-zone framing is no longer accurate.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
That bullet is about funding tend runs, not deciding between OAuth and
API key. The auth-choice doc is already linked from the Harnesses
section and the install skill — no need to send readers there from a
section they're scanning for showstoppers.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
…nique

The doc was mostly duplicating the README and skill — every iteration
forced us to mirror eligibility wording across surfaces. Collapse to
two surfaces (skill + README). The unique trade-offs (credit
exhaustion, leak scope, claim step) were already implicit in those.

- Delete docs/claude-auth-choice.md.
- Remove references from README harness section and the skill (Kickoff
  + 7a).

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@max-sixty
max-sixty merged commit eeccc0e into main May 16, 2026
6 checks passed
@max-sixty
max-sixty deleted the claude-auth-recommendation branch May 16, 2026 20:14
This was referenced May 16, 2026
max-sixty added a commit that referenced this pull request May 16, 2026
## Summary

Release 0.0.23. 6 commits since 0.0.22:

- #520 Cut tend's CI over to the Codex harness — tend now dogfoods Codex
- #531 fix(nightly-survey-files): print bucket/count to stderr — keep
JSON output uncontaminated
- #536 docs(claude-auth): correct June 15 2026 framing; recommend OAuth
for subscribers
- #538 **breaking:** rename default bot-token secret `BOT_TOKEN` →
`TEND_BOT_TOKEN`. Adopters using the default must add a `TEND_BOT_TOKEN`
repo secret before their next regen (or set `secrets.bot_token` in
`.config/tend.yaml` to keep using the old name)
- #539 fix(codex-action): export `CLAUDE_PLUGIN_ROOT` so plugin-bundled
scripts resolve under Codex
- #533 chore: regenerate workflows with tend 0.0.22

## Test plan

- [ ] CI green (test, test-worker, lint)
- [ ] After merge: tag `0.0.23`, PyPI publish, `uvx [email protected] --help`
works
- [ ] Regenerate tend's own workflows to `@0.0.23`

Co-authored-by: Claude <[email protected]>

Co-authored-by: Claude <[email protected]>
max-sixty added a commit that referenced this pull request May 16, 2026
## Summary

Release 0.0.23 — unblocks the review-reviewers Codex migration.

Since 0.0.22:
- #539 — codex-action exports `CLAUDE_PLUGIN_ROOT` so skills using
`${CLAUDE_PLUGIN_ROOT}/scripts/...` work unchanged under Codex (the
blocker on PR #537)
- #538 — `TEND_BOT_TOKEN` as the default bot-token secret name
- #540 — `install-tend --with-install-test` for pre-merge verification
- #536 — docs(claude-auth) framing for 2026-06-15
- #531 — nightly-survey-files prints bucket/count to stderr
- #520 — tend's own CI flipped to the Codex harness (live; consumer
regen moves it forward)

## Test plan

- [ ] CI green (test, test-worker, lint)
- [ ] After merge: tag `0.0.23`, PyPI publish, `uvx [email protected] --help`
works
- [ ] Regenerate main's workflows to `@0.0.23`
- [ ] Regenerate #537's codex workflows to `@0.0.23` and unblock the
review-reviewers migration

Co-authored-by: Claude <[email protected]>
max-sixty added a commit that referenced this pull request May 16, 2026
…subscribers (#536)

## Summary

The install skill and README claimed Claude Code OAuth tokens stop
funding CI runs after Anthropic's "2026-06-16" policy change, leaving
the API key as the only viable Claude path. Reading Anthropic's
authentication page and the Agent SDK support article shows that framing
is wrong on two counts:

1. The date is **June 15, 2026**, not June 16.
2. OAuth tokens continue authenticating after the cutover. Subscription
Agent SDK / `claude -p` usage just shifts to a separate monthly Agent
SDK credit (Pro $20 / Max 5x $100 / Max 20x $200 / Team Standard $20 /
Team Premium $100 / Enterprise usage-based $20 / Enterprise seat-based
Premium $200; seat-based Enterprise Standard seats are not eligible).
Credit exhaustion overflows to API rates only when the user has enabled
"extra usage" in the Console; otherwise CI hard-stops until the credit
refreshes.

The Kickoff text said "the OAuth path no longer funds CI runs" while
step 7a said "Anthropic bills these CI runs at API rates regardless" —
both wrong, in different directions. This PR reconciles them with the
actual policy.

It also flips the recommendation: for adopters with an eligible Claude
subscription, OAuth puts the bundled Agent SDK credit to work instead of
billing tend runs separately via API. API key remains the right choice
when the user is on an ineligible plan (e.g. seat-based Enterprise
Standard), when there's no subscription, when the bot should bill
against a dedicated Console org, or when per-key revocation matters.

Sources:

-
[`code.claude.com/docs/en/authentication`](https://code.claude.com/docs/en/authentication)
— "Starting June 15, 2026, Agent SDK and `claude -p` usage on
subscription plans will draw from a new monthly Agent SDK credit,
separate from your interactive usage limits."
- [Support article
15036540](https://support.claude.com/en/articles/15036540-use-the-claude-agent-sdk-with-your-claude-plan)
— per-plan allowances, credit-exhaustion behavior, "one-time opt-in"
claim mechanism.

## What changes

- `plugins/install-tend/skills/install-tend/SKILL.md` Kickoff and step
7a rewritten with correct date, correct policy framing, OAuth listed
first as the recommended path for eligible subscribers.
- `README.md` Claude harness section corrected the same way; both
Anthropic primary-source links land here. "Reasons not to use Tend" gets
a refreshed credit-allowance summary in place of a stale "OAuth in grey
zone" paragraph.

No action code, workflow YAML, or runtime behavior touched — docs and
skill text only.

## Test plan

- [x] Pre-commit clean (verified locally)
- [x] CI green on this branch

---------

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
max-sixty added a commit that referenced this pull request May 16, 2026
## Summary

Release 0.0.23. 6 commits since 0.0.22:

- #520 Cut tend's CI over to the Codex harness — tend now dogfoods Codex
- #531 fix(nightly-survey-files): print bucket/count to stderr — keep
JSON output uncontaminated
- #536 docs(claude-auth): correct June 15 2026 framing; recommend OAuth
for subscribers
- #538 **breaking:** rename default bot-token secret `BOT_TOKEN` →
`TEND_BOT_TOKEN`. Adopters using the default must add a `TEND_BOT_TOKEN`
repo secret before their next regen (or set `secrets.bot_token` in
`.config/tend.yaml` to keep using the old name)
- #539 fix(codex-action): export `CLAUDE_PLUGIN_ROOT` so plugin-bundled
scripts resolve under Codex
- #533 chore: regenerate workflows with tend 0.0.22

## Test plan

- [ ] CI green (test, test-worker, lint)
- [ ] After merge: tag `0.0.23`, PyPI publish, `uvx [email protected] --help`
works
- [ ] Regenerate tend's own workflows to `@0.0.23`

Co-authored-by: Claude <[email protected]>

Co-authored-by: Claude <[email protected]>
max-sixty added a commit that referenced this pull request May 16, 2026
## Summary

Release 0.0.23 — unblocks the review-reviewers Codex migration.

Since 0.0.22:
- #539 — codex-action exports `CLAUDE_PLUGIN_ROOT` so skills using
`${CLAUDE_PLUGIN_ROOT}/scripts/...` work unchanged under Codex (the
blocker on PR #537)
- #538 — `TEND_BOT_TOKEN` as the default bot-token secret name
- #540 — `install-tend --with-install-test` for pre-merge verification
- #536 — docs(claude-auth) framing for 2026-06-15
- #531 — nightly-survey-files prints bucket/count to stderr
- #520 — tend's own CI flipped to the Codex harness (live; consumer
regen moves it forward)

## Test plan

- [ ] CI green (test, test-worker, lint)
- [ ] After merge: tag `0.0.23`, PyPI publish, `uvx [email protected] --help`
works
- [ ] Regenerate main's workflows to `@0.0.23`
- [ ] Regenerate #537's codex workflows to `@0.0.23` and unblock the
review-reviewers migration

Co-authored-by: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants