Skip to content

Sync: tell an agent to sign in before minting a trial key - #13

Merged
kev1n merged 1 commit into
mainfrom
sync-account-signin-first
Sep 2, 2026
Merged

kev1n merged 1 commit into
mainfrom
sync-account-signin-first

Conversation

@kev1n

@kev1n kev1n commented Sep 2, 2026

Copy link
Copy Markdown
Member

Mirrors getanyapi-com/anyapi#959, which shipped to production first (verdict SHIPPED, merge 7d632a6c).

Section 1 of the live skill now leads with anyapi login when the human says they already have an AnyAPI account, with the free trial as the explicit fallback.

Why: a customer who tops up returns from Stripe with the one-time key secret gone, so the agent handoff degraded to the bare setup prompt. The old section 1 read "if ANYAPI_API_KEY is not set, mint a free trial key", so the agent self-signed-up for a $0.05 trial and the wallet it had just been funded to spend sat untouched. Both of the last two paying customers left this way.

Generated by npm run sync-skills in the anyapi repo, so the body is byte-synced with the deployed /SKILL.md. bash scripts/check.sh passes, which is the proof the live body and this file agree.

Mirrors getanyapi-com/anyapi#959. Section 1 of the live skill now leads with
`anyapi login` when the human says they already have an AnyAPI account, and the
trial branch is explicitly the fallback.

The bug it fixes: a customer who tops up returns from Stripe with the one-time
key secret gone, so their agent read "if ANYAPI_API_KEY is not set, mint a free
trial key" and self-signed-up for a $0.05 trial while the wallet they had just
funded sat untouched.

Generated by `npm run sync-skills`; the body is byte-synced with the live
/SKILL.md, which shipped first.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@kev1n
kev1n merged commit 4890d82 into main Sep 2, 2026
1 check passed
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.

1 participant