Skip to content

docs: use server-side --traits filter from opensea-skill v2.2.3#7

Merged
ryanio merged 1 commit into
mainfrom
docs/server-side-trait-filter
May 1, 2026
Merged

docs: use server-side --traits filter from opensea-skill v2.2.3#7
ryanio merged 1 commit into
mainfrom
docs/server-side-trait-filter

Conversation

@ryanio
Copy link
Copy Markdown
Collaborator

@ryanio ryanio commented May 1, 2026

Summary

  • opensea-skill v2.2.3 added a --traits flag to three collection-scoped commands: nfts list-by-collection, listings best, events by-collection. This PR teaches the copilot to use it instead of paginating + filtering client-side.
  • One new bullet in SOUL.mdHow You Work covering the three endpoints, AND-combine semantics, the OR workaround (call-per-value + union), the empty-array vs error distinction, and the >1000-match 400 fallback. Points at the skill's Server-side trait filtering section for the full reference.
  • No AGENTS.md change. The earlier closed PR (docs: trait filtering is client-side; add memory schema #6) introduced memory/trait_holders.<slug>.json and a trait_scans cursor in scan_state.json only to support whole-collection scanning — server-side filtering removes the need for either.

Test plan

  • Manually verify the bullet renders cleanly in workspace/SOUL.md
  • Sanity-check the example commands against skills/opensea/SKILL.mdServer-side trait filtering in the v2.2.3 skill
  • Confirm no orphan references to the dropped client-side pattern remain (grep -ri "trait_holders\|trait_scans" should return nothing)

🤖 Generated with Claude Code

opensea-skill v2.2.3 added a `--traits` flag to three collection-scoped
commands — `nfts list-by-collection`, `listings best`, and
`events by-collection`. The previous attempt to document this on the
copilot side (#6, closed) walked the agent through a client-side scan
because the server filter didn't exist yet. Now it does.

SOUL.md → How You Work: one bullet calling out the three endpoints
that accept --traits, the AND-combine semantics, the OR workaround
(one call per value + union token IDs), the empty-array vs error
distinction, and the >1000-match 400 fallback. Points at the new
"Server-side trait filtering" section in the skill for the full
reference.

No AGENTS.md change — the only reason the prior draft introduced
`memory/trait_holders.<slug>.json` and a `trait_scans` cursor in
`scan_state.json` was to support whole-collection scanning. Server-side
filtering removes that need.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ryanio ryanio merged commit 9e22aa6 into main May 1, 2026
3 checks passed
@ryanio ryanio deleted the docs/server-side-trait-filter branch May 7, 2026 00:19
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