x-ads

x-ads is a skill for Claude Code, Codex from adkit/ads-skills. It costs 89 tokens per session (1,721 once invoked), scanned A, a copy of tiktok-ads, MIT.

An AI-controlled connection for creating, editing, and reporting on X (formerly Twitter) advertising campaigns, ad groups, promoted posts, and account settings. Changes remain drafts until the user approves them.

In plain words
What is it for?
Use it to manage X advertising, prepare promoted posts, set account defaults, and check results.
Why use it?
It lets advertising work be reviewed before publication, reducing the risk of unapproved changes going live.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions Claude Code; built for openclaw.

Good fit Use it to manage X advertising, prepare promoted posts, set account defaults, and check results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/adkit/ads-skills/x-ads
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 adkit/ads-skills --skill x-ads
Clone the repo
git clone --depth 1 https://github.com/adkit/ads-skills

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 x-ads

README.md
[![agentmods](https://agentmods.dev/badge/skills/adkit/ads-skills/x-ads/github.svg)](https://agentmods.dev/skills/adkit/ads-skills/x-ads)
Your own site
<a href="https://agentmods.dev/skills/adkit/ads-skills/x-ads"><img src="https://agentmods.dev/badge/skills/adkit/ads-skills/x-ads/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 x-ads

Your own site · 80×15
<a href="https://agentmods.dev/skills/adkit/ads-skills/x-ads"><img src="https://agentmods.dev/badge/skills/adkit/ads-skills/x-ads.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,721 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 88% 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.00089 $0.01721
Opus 5.5 $0.00036 $0.00688
Sonnet 5.5 $0.00018 $0.00344
Haiku 4.5 $0.00009 $0.00172

Measured yesterday against content hash bf1916f81050, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

x-ads 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 yesterday.

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

88% identical to tiktok-ads — 110 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.

skills/x-ads/SKILL.md · 104 lines

How it starts

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

X Ads with AdKit

This skill tells you how to create, edit, and report on X (Twitter) ads through AdKit. It covers the steps, not the strategy.

Connect AdKit

AdKit is one MCP connector for Meta, Google, TikTok, LinkedIn, Microsoft, Reddit, X, and Pinterest ads.

  • Claude, ChatGPT, and most AI apps: add a custom connector with the address https://mcp.adkit.so, then sign in.
  • Claude Code: claude mcp add --transport http adkit https://mcp.adkit.so

For other AI apps, see how to set up the AdKit MCP server for X Ads. If the AdKit tools are not available, tell the user how to connect. Then stop.

What AdKit can do on X

Entity X name Actions
campaigns Campaigns list, get, create, update
ad-groups Line items list, get, create, update
ads Promoted posts list, get, create, delete
results list (needs from and to dates)
accounts list, available, connect, disconnect, update, profiles, pixels, funding-instruments
drafts get, publish (review your changes, then send them)

Steps

All calls go through adkit_manage with platform: "x". Before a call you have not made in this session, read its fields with adkit_help({ path: "manage x <entity> <action>" }). Do not guess field names. In this skill, campaigns create means entity: "campaigns", action: "create".

  1. Project: call adkit_projects and get the projectId. Every call needs it.
  2. Account: call adkit_status. If no X account is connected, call adkit_setup with platform: "x" and give the user the link. After they sign in, use accounts available, then accounts connect.
  3. Account defaults: find the profile, pixel, and funding instrument with accounts profiles, accounts pixels, and accounts funding-instruments. This change applies immediately, with no draft. So show the user what you picked and wait for a yes. Then save them with accounts update.
  4. Build from the top down. Each create saves a draft. For each level, do these steps before you start the next level:
    • Show the draft to the user (drafts get, or the link https://app.adkit.so/manage/drafts?open=<draftId>).
    • Wait for a yes. Then publish it with drafts publish.
    • Use the X ID that the publish result returns as the parent of the next level. A draft ID never works as a parent ID.

Read the full file on GitHub · 104 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. yesterday Changed · +3 tokens per session bf1916f81050
  2. 16d ago First seen · 104 lines · 86 tokens per session scan A cb30ba805913

Subscribe to this mod's changes

x-ads is a skill published in the GitHub repository adkit/ads-skills (44 stars, last pushed 2d ago), licensed MIT. It adds 89 tokens to every session and 1,721 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to tiktok-ads, differing in 110 lines, and is treated as a copy.

Related

x-ads compared with skills from other repositories

x-ads next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
x-adsadkit/ads-skillsSkill442d agoMITA89Claude Code, Codex
adcp-advertisingLeoYeAI/openclaw-master-skillsSkill2.2k8d agoMITA103Claude Code, Codex
adcp-advertisingLeoYeAI/openclaw-master-skillsSkill2.2k8d agoMITA103Claude Code, Codex
ads-copywriterclaude-office-skills/skillsSkill59910mo agoMITA27Claude Code, Codex
adcp-advertisinglxyeternal/MalSkillBenchSkill689d agononeA103Claude Code, Codex
adsitsjwill/ad-audit-proSkill99mo agoMITA166Claude Code
meta-ads-framework-esvladimirlucantis/meta-ads-framework-esSkill47mo agoMITA99Claude Code, Codex