Sync: tell an agent to sign in before minting a trial key - #13
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mirrors getanyapi-com/anyapi#959, which shipped to production first (verdict SHIPPED, merge
7d632a6c).Section 1 of the live skill now leads with
anyapi loginwhen 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_KEYis 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-skillsin the anyapi repo, so the body is byte-synced with the deployed /SKILL.md.bash scripts/check.shpasses, which is the proof the live body and this file agree.