skills/dub-links-api/SKILL.md
Integrates Dub Links API endpoints to create, update, delete, retrieve, list, count, and run bulk operations on short links. Use when the user asks for "dub links api", "create link dub", "upsert link dub", "list links", "count links", "bulk links", or lookups by linkId/domain+key/externalId.
npx skillsauth add ferminrp/agent-skills dub-links-apiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Skill for integrating Dub Links API with strict scope limited to /links* endpoints.
https://api.dub.coAuthorization: Bearer <DUB_API_KEY>https://dub.co/docs/api-reference/endpoint/create-a-linkhttps://dub.co/docs/api-reference/tokensreferences/openapi-spec.jsonUse this flow when the user does not have an API key yet:
https://dub.co/docs/api-reference/tokensexport DUB_API_KEY="..."curl -s -H "Authorization: Bearer $DUB_API_KEY" "https://api.dub.co/links/count" | jq '.'Useful onboarding note: if initial signup is needed, this referral can be used:
https://refer.dub.co/agents
POST /linksurl.curl -s -X POST "https://api.dub.co/links" \
-H "Authorization: Bearer $DUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com"}' | jq '.'
PATCH /links/{linkId}linkId (also accepts externalId prefixed with ext_).curl -s -X PATCH "https://api.dub.co/links/{linkId}" \
-H "Authorization: Bearer $DUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/new"}' | jq '.'
PUT /links/upsertcurl -s -X PUT "https://api.dub.co/links/upsert" \
-H "Authorization: Bearer $DUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com"}' | jq '.'
DELETE /links/{linkId}linkId (also accepts externalId prefixed with ext_).{"id": "string"}.curl -s -X DELETE "https://api.dub.co/links/{linkId}" \
-H "Authorization: Bearer $DUB_API_KEY" | jq '.'
GET /links/infodomain + keylinkIdexternalIdcurl -s "https://api.dub.co/links/info?domain=acme.link&key=promo" \
-H "Authorization: Bearer $DUB_API_KEY" | jq '.'
GET /linksdomain, search, tagIds, tagNames, folderId, userId, tenantId, showArchived, page, pageSize (default: 100, max: 100), sortBy (createdAt|clicks|saleAmount|lastClicked), sortOrder (asc|desc).curl -s "https://api.dub.co/links?page=1&pageSize=100&sortBy=createdAt&sortOrder=desc" \
-H "Authorization: Bearer $DUB_API_KEY" | jq '.'
GET /links/countdomain, search, tagIds, tagNames, folderId, userId, tenantId, showArchived, groupBy (domain|tagId|userId|folderId).curl -s "https://api.dub.co/links/count?domain=acme.link" \
-H "Authorization: Bearer $DUB_API_KEY" | jq '.'
POST /links/bulkurl).curl -s -X POST "https://api.dub.co/links/bulk" \
-H "Authorization: Bearer $DUB_API_KEY" \
-H "Content-Type: application/json" \
-d '[{"url":"https://example.com/a"},{"url":"https://example.com/b"}]' | jq '.'
PATCH /links/bulkdata; target selection via linkIds or externalIds.curl -s -X PATCH "https://api.dub.co/links/bulk" \
-H "Authorization: Bearer $DUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"linkIds":["lnk_123","lnk_456"],"data":{"archived":true}}' | jq '.'
DELETE /links/bulklinkIds (comma-separated).{"deletedCount": number}.curl -s -X DELETE "https://api.dub.co/links/bulk?linkIds=lnk_123,lnk_456" \
-H "Authorization: Bearer $DUB_API_KEY" | jq '.'
Common response fields (from LinkSchema):
iddomainkeyshortLinkurlcreatedAtupdatedAtarchivedexternalIdtagsfolderIdResult shapes by endpoint:
GET /links: array of linksGET /links/count: numberurl, linkId, filters, bulk ids).curl -s and Bearer header.jq and verify logical operation result.id, shortLink, url, and archived status when relevant./links*.linkId or GET /links/info criteria.Retry-After if present.Recommended output format:
id | domain | key | shortLink | url | createdAtThis skill must not use:
/tokens/* endpoints (including /tokens/embed/referrals).The tokens page is used only for API key onboarding, not as operational scope.
Use references/openapi-spec.json as the stable local source for methods, paths, parameters, and schemas.
development
Audit and improve user-provided writing for clarity, concision, and impact. Use when the user asks to audit, review, improve, edit, or rewrite text. Apply seven checks (sentence length, clutter, unsupported modifiers, weasel words, jargon/acronyms, "so what", and flow), then return severity-ranked findings and a full rewrite suggestion.
development
Consulta promociones de viajes desde Argentina usando Anduin Promos API. Usar cuando el usuario pida promos de viaje en Argentina, promociones de vuelos, hoteles o paquetes, mejores ofertas del dia, promos a brasil/usa/europa, ranking por score o ultimas promos de promociones-aereas.
development
Consulta riesgo pais de Argentina con serie historica desde Anduin API. Usar cuando el usuario pida "riesgo pais argentina", "ultimo riesgo pais", "serie historica de riesgo pais", "riesgo pais por fecha o periodo", o "evolucion del riesgo pais".
development
Technical guide to integrate mapcn in React + shadcn projects. Use when the user asks to integrate mapcn, add mapcn to a shadcn app, use mapcn MapControls/Markers/Routes/Clusters, implement controlled viewport state, use the useMap hook, or access MapLibre through mapcn.