discogs-overview
Skill0 starsChanged 5 months agoMITView on GitHub
Cross-cutting conventions for the Discogs API (api.discogs.com) that apply to every endpoint. Make sure to use this skill whenever a Discogs request touches general API behaviour rather than one specific resource — setting the mandatory User-Agent, handling rate limiting (X-Discogs-Ratelimit headers, 60/min authenticated vs 25/min unauthenticated), paginating list responses (page / per_page, Link header, pagination object), pinning an API version via the Accept header, returning JSONP, or interpreting HTTP status codes (200/201/204/401/403/404) and empty responses from Discogs.
In this repository10 other files it gives its agents.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Every request must send a unique, descriptive User-Agent (RFC 1945 style), e.g.
- Very specific: line 41
Add ?callback=name; status and headers are wrapped in the body ({"meta":{"status":200},"data":{…}}) since JSONP can't read real headers.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Discogs API — Overview & Conventions
Base URL: https://api.discogs.com. RESTful, JSON, currently v2 only.
User-Agent (mandatory)
Every request must send a unique, descriptive User-Agent (RFC 1945 style),
e.g. MyDiscogsClient/1.0 +http://mydiscogsclient.org. Missing or generic
agents get an empty response or are silently blocked. Don't copy the docs'
examples verbatim.
Rate limiting
Throttled by source IP: 60 req/min authenticated, 25 req/min unauthenticated
(moving 60-second window). Track via response headers:
X-Discogs-Ratelimit, X-Discogs-Ratelimit-Used, X-Discogs-Ratelimit-Remaining.
A unique User-Agent is required to get the max rate. Throttle locally.
Pagination
List endpoints default to 50 items/page, max 100. Use ?page= and
?per_page=. Responses carry a Link header (rel=next/prev/first/last) and a
pagination object (page, pages, items, per_page, urls).
Versioning (Accept header)
Future-proof with Accept: application/vnd.discogs.v2.<format>+json where
<format> is discogs (default), html, or plaintext. Unknown/absent →
defaults to discogs.
JSONP
Add ?callback=name; status and headers are wrapped in the body
({"meta":{"status":200},"data":{…}}) since JSONP can't read real headers.
HTTP status codes
| Code | Meaning |
| 200 OK | Success, data in body |
| 201 Created | POST created a resource; new ID in body |
| 204 No Content | Success, empty body |
| 401 Unauthorized | Needs authentication (see discogs-authentication) |
| 403 Forbidden | Authenticated but not allowed (e.g. editing another user) |
| 404 Not Found | Often a modified/signed image URL or wrong ID |
Auth details live in [[discogs-authentication]]. Full text, FAQ, and client library links are in reference.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

