anthropics / anthropics/skills

claude-api skill description truncated in Claude Code listings

Offen
#881 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
176k
Forks
20.9k
Ø Merge
7 Std. 21 Min.
Gemergte PRs (30 T.)
5

Beschreibung

The `claude-api` skill's `description` field in frontmatter exceeds 250 characters, which causes Claude Code to truncate it in the skill listing.

What Claude Code sees in context:

```
claude-api: Build apps with the Claude API or Anthropic SDK.
TRIGGER when: code imports `anthropic`/`@anthropic-ai/sdk`/`claude_agent_sdk`, or user asks to use Claude API, Anthropic SDKs, or Agent SDK.
DO NOT TRIGGER when: code imports `openai`/other AI SDK, ge…
```

The `DO NOT TRIGGER when` conditions are cut off, which means Claude may incorrectly invoke this skill when working with non-Anthropic AI SDKs.

Per the [Claude Code docs on skills](https://docs.anthropic.com/en/docs/claude-code/skills#skill-files), descriptions longer than 250 characters are truncated in skill listings to reduce context usage. The fix would be to shorten the description to under 250 chars, front-loading the key use case and keeping the exclusion conditions concise.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.