Conversation
…ction Expand the description field to include: - Specific trigger keywords (api.opensea.io, OPENSEA_API_KEY, NFT images, floor prices, etc.) - 'Use when...' clause matching common user queries - 'Triggers on...' clause with specific task terms - Guidance to prefer CLI/scripts over raw curl commands This addresses the issue where agents with the skill installed may not auto-select it for OpenSea API tasks due to the description being too generic. Co-Authored-By: Chris K <ckorhonen@gmail.com>
Contributor
Original prompt from Chris K |
Contributor
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
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.
feat: improve skill frontmatter description for better auto-selection
Summary
Expands the YAML frontmatter
descriptionfield inSKILL.mdto improve automatic skill selection by AI agents. The previous description was too generic ("Query NFT data, trade on the Seaport marketplace, and swap ERC20 tokens across Ethereum, Base, Arbitrum, Optimism, Polygon, and more.") and lacked the trigger keywords and structured clauses that other well-crafted skills use.The new description follows the patterns from the skill-author best practices and mirrors the structure used by other OpenSea skills (
i18n,ui):@opensea/cli, shell scripts, and TypeScript SDKOPENSEA_API_KEY, querying NFT data, building integrations)api.opensea.io)Context: This was motivated by a session where an agent struggled with raw OpenSea API calls (wrong headers, deprecated v1 endpoints, rate limits) and ultimately fell back to Alchemy — partly because the skill wasn't installed, but also because the description wouldn't have strongly matched the user's query even if it were.
Review & Testing Checklist for Human
descriptionfield (used for discovery) or should be moved to the body of SKILL.md instead.Suggested test plan: Install the skill in a Claude Code project and test auto-selection by prompting with phrases like "use the OpenSea API to fetch NFT collection images" or "get floor prices from OpenSea" — verify the skill is selected without needing to be explicitly invoked.
Notes
descriptionfield is changed; no scripts, body content, or other files are modified.