dub

dub is a skill for Claude Code, Codex from withoneai/one-agent-plugin. It costs 98 tokens per session (3,534 once invoked), scanned A, a copy of 2-chat, MIT.

A link-management and marketing-attribution service for creating branded short links and measuring what happens after people click them. It also supports affiliate-program management.

In plain words
What is it for?
Use it to create and organize short links, track conversions, manage domains and affiliates, and analyze link performance.
Why use it?
It connects links to clicks, conversions, and revenue so teams can see which campaigns or partners produce results.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create and organize short links, track conversions, manage domains and affiliates, and analyze link performance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/withoneai/one-agent-plugin/dub
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add withoneai/one-agent-plugin --skill dub
Clone the repo
git clone --depth 1 https://github.com/withoneai/one-agent-plugin

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dub

README.md
[![agentmods](https://agentmods.dev/badge/skills/withoneai/one-agent-plugin/dub/github.svg)](https://agentmods.dev/skills/withoneai/one-agent-plugin/dub)
Your own site
<a href="https://agentmods.dev/skills/withoneai/one-agent-plugin/dub"><img src="https://agentmods.dev/badge/skills/withoneai/one-agent-plugin/dub/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dub

Your own site · 80×15
<a href="https://agentmods.dev/skills/withoneai/one-agent-plugin/dub"><img src="https://agentmods.dev/badge/skills/withoneai/one-agent-plugin/dub.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,534 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 81% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00098 $0.03534
Opus 5 $0.00049 $0.01767
Sonnet 5 $0.00020 $0.00707
Haiku 4.5 $0.00010 $0.00353

Measured 7d ago against content hash ced3c868285e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

dub scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

81% identical to 2-chat — 248 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

platforms/one-dub/skills/dub/SKILL.md · 203 lines

How it starts

The opening of the file, as written. The whole thing — 203 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Dub through One

Dub is a link management and attribution platform that enables teams to create branded short links, track conversions from click to revenue, and manage affiliate programs with real-time analytics and APIs for scalable marketing workflows.

One exposes Dub through four MCP tools. The table below carries real action ids from One's knowledge base, so for a common operation you can skip search and go straight to reading the action's parameters.

How to run an action

  1. Find the action in the table below, or call search_one_platform_actions with platform dub if it is not listed.
  2. Call get_one_action_knowledge with the action id. Do this every time, including for actions in this table. The table gives you the id, not the parameters.
  3. Call execute_one_action with parameters copied from that knowledge.

Never guess a parameter name, a body field, or an enum value. The knowledge has the real schema, and a guessed field is either a 400 or a silent write of the wrong thing.

Before you start

Call list_one_integrations once and confirm Dub is connected. If it is missing, the user has not connected it: say so and point them at https://app.withone.ai rather than reaching for raw HTTP.

Each connection carries an access field. If it reports {"policy": "methods", "methods": ["GET"]} the agent is read-only here, so plan a read-only answer instead of attempting a write that will be refused.

Before a write

Creates, updates, deletes and sends land on a real Dub account and cannot be recalled. State the action and the specific target in one line before the first write in a task, and let the user stop you. Reads need no confirmation.

Actions

Links

Action Method Path Action id
List Links GET /links conn_mod_def::GKxTTNwIv2A::H2BbZqZbSqyuWO0cpif63g
Retrieve a Link GET /links/info conn_mod_def::GKxTTJKHl_g::jVqd8rGKSiO5bne5y8At7g
Retrieve Links Count GET /links/count conn_mod_def::GKxTTbCwEDg::sE6I6z4_TCqZdRjH81CNsQ
Bulk Create Links POST /links/bulk conn_mod_def::GKxTS7CZLyg::HK3MnYFgRQmmgDFyIr7xoA
Bulk Delete Links DELETE /links/bulk conn_mod_def::GKxTS9SMN7g::99T4up_ZQcG63XFolGpFYQ
Bulk Update Links PATCH /links/bulk conn_mod_def::GKxTTIWxfcg::-cIpjeIqS4KJQfTDg63rZQ
Create a Link POST /links conn_mod_def::GKxTTHhVAUA::MmjqnWDTSwi16M08Odak9w
Delete a Workspace Link DELETE /links/{{linkId}} conn_mod_def::GKxTTHhU2jA::nbpNc2LoT0mi8Voi6yTKRQ
Update a Workspace Link PATCH /links/{{linkId}} conn_mod_def::GKxTTYsnYAA::AVgQx32hQ-Kb3EEBeiJSUA
Upsert a Link PUT /links/upsert conn_mod_def::GKxTTX7qYSA::f9AxhziETzabSEboc-KmGg

Read the full file on GitHub · 203 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 203 lines · 0 tokens per session scan A ced3c868285e

Subscribe to this mod's changes

dub is a skill published in the GitHub repository withoneai/one-agent-plugin (1 stars, last pushed 21d ago), licensed MIT. It adds 98 tokens to every session and 3,534 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 81% identical to 2-chat, differing in 248 lines, and is treated as a copy.

Related

Other skills, from other repositories