You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
engine: natural "when to use" phrasing for generated skills
The skill description forced the OpenAPI summary (a Title) into a verb clause:
"Use when the user wants to stripe get charges" — reads wrong. Derive the intent
from the HTTP method + resource instead: intentOf() picks the first meaningful
path segment (skipping params and version/api prefixes, so /v1/charges/search ->
"charges" not "v1" or "search") and phrases by verb — "list or search charges",
"create charges", "retrieve a specific charges record".
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
description: `${(op.summary||tool.description).replace(/\.$/,'')} via the ${title}. Use when the user wants to ${(op.summary||tool.name).toLowerCase().replace(/\.$/,'')}.`,
222
+
description: `${(op.summary||tool.description).replace(/\.$/,'')} via the ${title}. Use when the user wants to ${intentOf(op)}.`,
0 commit comments