Skip to content

Sync the skill: catalog search takes a scope with no query - #17

Merged
kev1n merged 1 commit into
mainfrom
fix/scope-only-search
Sep 5, 2026
Merged

kev1n merged 1 commit into
mainfrom
fix/scope-only-search

Conversation

@kev1n

@kev1n kev1n commented Sep 5, 2026

Copy link
Copy Markdown
Member

Regenerated from getanyapi-com/anyapi src/lib/agentSkill.ts after anyapi#1038 deployed (verdict SHIPPED, frontend root 200).

The skill told agents that search_apis requires a query. Ranked search has taken any non-empty combination of query, category, and platform since gateway PR #1013; the four adapters shipped that today as @getanyapi/sdk@0.36.0, getanyapi@0.36.0, anyapi-cli@0.9.0 and n8n-nodes-anyapi@0.4.0.

Three lines, all generated:

  • search_apis now reads "Takes any non-empty combination of query, category, and platform, so a scope with no query is a complete search; optional limit."
  • The CLI cheat sheet reads anyapi search [query] [--category] [--platform], matching anyapi-cli@0.9.0.
  • metadata.version 0.3.0 -> 0.3.1, so the declared version does not drift from a changed body.

Not hand-edited: produced by npm run sync-skills in the source repository. scripts/check.sh passes, which is the proof the body matches what production serves - it refused this same change before the deploy.

Measured against production with no key:

GET https://api.getanyapi.com/catalog/search?platform=reddit  ->  200, 11 results, no q

@kev1n
kev1n merged commit be0cd16 into main Sep 5, 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