agentsclimarketplace

Discogs authentication

Skill Nikolasgrizli/discogs-api-skills/discogs-authentication

Reference for authenticating with the Discogs API (api.discogs.com). Make sure to use this skill whenever the task touches Discogs auth, credentials, tokens, or signed requests — even if "authentication" isn't said outright. Triggers include: choosing between a User (personal access) token, a Consumer Key/Secret pair (Discogs Auth), or the full OAuth 1.0a flow; building or fixing the Authorization header; wiring up the oauth/request_token, oauth/authorize, oauth/access_token or oauth/identity endpoints; getting 401/403 or "authentication failed" from Discogs; or troubleshooting why image URLs, the higher rate-limit tier, or per-user resources (marketplace orders, a user's collection or wantlist, private inventory fields) are missing from responses.From its SKILL.md

Install
npx -y skills add Nikolasgrizli/discogs-api-skills --skill discogs-authentication

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.0 KB, 552 tokens by cl100k_base, as published. Nobody here has run it

Discogs API — Authentication

Discogs offers three ways to authenticate. Pick based on what the request needs.

Quick decision

MethodIdentifies a user?Image URLs + high rate limit?Use when
No authNoNoPublic, low-volume reads only
Discogs Auth — Consumer Key/SecretNoYes3rd-party app reads that don't need a specific user
Discogs Auth — User tokenYes (token holder only)YesAccessing your own account (simplest secure option)
OAuth 1.0aYes (any user, on their behalf)YesApp acting for other users' accounts

Per-user resources — marketplace orders, private inventory fields, private collections — require a token or OAuth; a bare Consumer Key/Secret will not grant them.

Discogs Auth (simple)

Send credentials in the query string or an Authorization header (HTTPS required):

curl "https://api.discogs.com/database/search?q=Nirvana&token=abcxyz123456"
curl "https://api.discogs.com/database/search?q=Nirvana&key=foo123&secret=bar456"

curl "https://api.discogs.com/database/search?q=Nirvana" \
  -H "Authorization: Discogs token=abcxyz123456"
curl "https://api.discogs.com/database/search?q=Nirvana" \
  -H "Authorization: Discogs key=foo123, secret=bar456"

OAuth 1.0a (act on behalf of users)

Three server-side endpoints; PLAINTEXT signature recommended over HTTPS (oauth_signature = consumer_secret&). Flow:

  1. Get Consumer Key/Secret from Developer Settings.
  2. GET https://api.discogs.com/oauth/request_token → request token + secret.
  3. Redirect user to https://discogs.com/oauth/authorize?oauth_token=… → verifier (15 min TTL).
  4. POST https://api.discogs.com/oauth/access_tokenaccess token + secret (do not expire; store them).
  5. Sign every request with the access token/secret. Test with GET https://api.discogs.com/oauth/identity.

Always send a unique User-Agent. Invalid/expired OAuth requests return 400 Bad Request.

Full reference

See reference.md for the complete text: registration steps, endpoint URLs, per-step request headers, response fields, and the full credentials comparison.

What ships with it: 2 files

10.2 KB alongside SKILL.md

evals/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.