10-of-my-most-popular-text-to-image-series-prompts-78b0897e
generate a bunch of images, then you curate the results to handpick the best ones
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.
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install ferminrp/dub-links-apiInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
Skill for integrating Dub Links API with strict scope limited to /links* endpoints.
https://api.dub.co
Authorization: Bearer <DUB_API_KEY>
https://dub.co/docs/api-reference/endpoint/create-a-link
https://dub.co/docs/api-reference/tokens
references/openapi-spec.json
Use this flow when the user does not have an API key yet:
https://dub.co/docs/api-reference/tokens
export 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 /links
url.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.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/upsert
curl -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 '.'
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
# Dub Links API
Skill for integrating Dub Links API with strict scope limited to `/links*` endpoints.
## API Overview
- **Base URL**: `https://api.dub.co`
- **Auth**: Bearer token required
- **Header**: `Authorization: Bearer <DUB_API_KEY>`
- **Response format**: JSON
- **Scope**: Links endpoints only
- **Docs**: `https://dub.co/docs/api-reference/endpoint/create-a-link`
- **Token docs (onboarding)**: `https://dub.co/docs/api-reference/tokens`
- **Local snapshot**: `references/openapi-spec.json`
## API Key Onboarding
Use this flow when the user does not have an API key yet:
1. Create a Dub account/workspace (if needed).
2. Go to the dashboard token section (per docs):
- `https://dub.co/docs/api-reference/tokens`
3. Generate an API key and export it in shell:
- `export DUB_API_KEY="..."`
4. Validate credentials with a Links endpoint:
- `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`
## Links Endpoints
### 1) Create
- `POST /links`
- Creates a link in the authenticated workspace.
- Minimum recommended body: `url`.
```bash
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 '.'
```
### 2) Update
- `PATCH /links/{linkId}`
- Updates an existing link by `linkId`.
```bash
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 '.'
```
### 3) Upsert
- `PUT /links/upsert`
- If a link with the same URL exists, returns/updates it; otherwise creates it.
```bash
curl -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 '.'
```
### 4) Delete...generate a bunch of images, then you curate the results to handpick the best ones
generate a bunch of images, then you curate the results to handpick the best ones
Productivity system based on Maya calendar with 13 natural tones for project management and personal development
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.