Repository navigation
Conversation
The skill told agents to curl the gateway list and match providers by hand, and knew only two buckets. S1 sprites now ship `sprite-env connectors find <service or host>` (superfly/sprite-env), which matches a name, keyword, host, or URL against `connections`, `restricted`, and `available` and prints one `match` with a `next_step`. The skill now leads with that command, explains the four outcomes and the `setup_url`, `manage_url`, and `access_reason` fields, keeps the raw curl as the fallback, and keeps the rules: no provider authorization header, 403 is policy, 401 is not a sprite, never weaken policy, never ask for a pasted token. The description now triggers on API keys and credentials so the skill loads before an agent asks for one. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Contributor
superfly/s2_host@c4a3a20 changed what next_step says for an available provider (a setup link, or dashboard steps when none) and for no match. The skill now tells agents to relay whichever next_step gives, and notes that hosts are matched against upstream_host with an exact host first. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Contributor
Contributor
aezell
marked this pull request as draft
November 20, 2026 18:39
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.
What
Rewrites
images/sprites-classic/agents/home/sprite/.sprite-shared/skills/sprite-api-gateway/SKILL.md, the skillimages/sprites-classic/agents/Dockerfilecopies into every agent's skills directory.sprite-env connectors findexamples and explains the four outcomes. It tells agents how to call a connected connector, request access to a restricted connector, check for an existing connection before setting up an available provider, or suggest a Custom API connector when nothing matches. The dashboard setup link selects the provider. The user grants the Sprite access before the agent rerunsfind.curl -s https://api.sprites.dev/v1/gateway/liststays as the fallback, with the three buckets (connections,restricted,available) and their fields described, includingsetup_url,manage_url, andaccess_reason. Older gateway responses omit therestrictedbucket and hide denied connections, so the skill directs users to check the dashboard before creating a connector in that case.request_scopes_urlwith the existing and required scopes. The gateway handles credentials, and the user manages access in the dashboard.descriptionstill triggers on external APIs and third-party services, and now also on API keys, tokens, and credentials so the skill loads before an agent asks for one.Why
The command the skill now describes lands for S1 sprites in superfly/sprite-env#1086 and mirrors the S2 guest CLI in superfly/s2_host#286, so the same instructions hold on both. The platform side is superfly/sprites-api#2059, which adds the
restrictedbucket,setup_url,upstream_host,categories, andkeywordstoGET /v1/gateway/list.Verification
Documentation only. The YAML frontmatter parsed, both shell blocks passed
bash -n, and the example searches passed their arguments correctly. The linked matcher returned the expected outcomes for legacy and current gateway fixtures. CI (Build and test images) is green on 0646d08.Related PRs
Draft until reviewed together. Merge after superfly/sprite-env#1086 so the command the skill names exists in the image.
restrictedbucket,setup_url,auth_kind,upstream_host, dashboard linkssprite-env connectorsfor current Sprites, AGENTS.md andspriteskill guidancesprite-env connectorsfor classic Sprites?type=<provider>&sprite=<name>on Add connector🤖 Generated with Claude Code
PR description update generated by Codex.