x-ads

x-ads is a skill for Claude Code, Codex from squadcodercom/squadcoder. It costs 258 tokens per session (3,846 once invoked), scanned A, original, MIT.

A practical guide to advertising on X, the social network formerly known as Twitter. It explains campaign goals, audience targeting, promoted posts and trends, bidding, and campaign structure.

In plain words
What is it for?
Use it to plan, launch, structure, target, and optimize X campaigns for reach, engagement, website visits, app promotion, or video views.
Why use it?
It helps turn an advertising goal into the right X campaign setup instead of guessing which objective, audience, or bid to use.

Skill for Claude CodeCodex

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

Good fit Use it to plan, launch, structure, target, and optimize X campaigns for reach, engagement, website visits, app promotion, or video views.

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

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/squadcodercom/squadcoder/x-ads/github.svg)](https://agentmods.dev/skills/squadcodercom/squadcoder/x-ads)
Your own site
<a href="https://agentmods.dev/skills/squadcodercom/squadcoder/x-ads"><img src="https://agentmods.dev/badge/skills/squadcodercom/squadcoder/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/squadcodercom/squadcoder/x-ads"><img src="https://agentmods.dev/badge/skills/squadcodercom/squadcoder/x-ads.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 258 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,846 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 original No closer match found 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.00258 $0.03846
Opus 5.5 $0.00103 $0.01538
Sonnet 5.5 $0.00052 $0.00769
Haiku 4.5 $0.00026 $0.00385

Measured 1mo ago against content hash d1acdb427e07, 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 1mo 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.

.squadcoder/skills/x-ads/SKILL.md · 179 lines

How it starts

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

X (Twitter) Ads — Pro Playbook

A practical, current playbook for running performance and brand campaigns on X Ads Manager (ads.x.com). X is a high-intent, real-time, conversation-driven channel: it wins for launches, news-jacking, B2B/tech, events, and culturally-timed pushes. It is weaker than Meta/Google for pure broad-reach DR at scale, so structure for intent + timing, not just audience size.


1. Account & campaign structure (hierarchy)

X uses a 3-level tree: Campaign → Ad Group → Ad (Promoted post).

  • Campaign = objective + total/daily budget + start/end + funding source.
  • Ad Group = audience, placements, bid, schedule, optimization preference. (This is X's equivalent of Meta's ad set / Google's ad group.)
  • Ad = the Promoted post(s) served. Multiple ads per group A/B test automatically against the objective.

Objectives (pick by funnel stage):

Funnel Objective Optimizes for Use when
Awareness Reach Max unique users (CPM) New brand, launch, max eyeballs
Awareness Video Views 6s/2s/15s views Video brand story
Awareness Pre-roll Views Views before X creator video Align with content verticals (Amplify)
Consideration Engagements Likes/reposts/replies (CPE) Build social proof, conversation
Consideration Followers New followers Grow owned audience
Conversion Website Traffic / Clicks Link clicks / landing-page visits Send to site, blog, store
Conversion Website Conversions Pixel/CAPI events (purchase, lead) DR with tracking installed — the money objective
App App Installs Installs (MACT/SDK) Mobile app growth
App App Re-engagement Opens/in-app actions Win-back / retention

Structure rules of thumb:

  • One objective per campaign; don't mix awareness and conversion budgets.
  • ABO-style control: set budgets at the ad-group level to force spend across audiences while testing; consolidate winners later. X has no true CBO — manage pacing per ad group.
  • Start with 3–5 ad groups max per campaign (one variable each: audience type, placement, or bid) so signal isn't fragmented. X needs ~50 conversions/week per optimization to learn well; don't over-split.
  • Separate prospecting and retargeting campaigns so reporting and bids stay clean.

Read the full file on GitHub · 179 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. 1mo ago First seen · 179 lines · 258 tokens per session scan A d1acdb427e07

Subscribe to this mod's changes

x-ads is a skill published in the GitHub repository squadcodercom/squadcoder (12 stars, last pushed 3mo ago), licensed MIT. It adds 258 tokens to every session and 3,846 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

tool-prompt-optimization

Optimize the description prompts an AI agent reads to learn its built-in tools (the .md files under prompts/tools/). Two halves: (1) measure how much of a prompt is already inferable from the tool's JSON parameter schema + name, to prune redundancy with evidence; (2) house authoring rules for what belongs in a tool…

can1357/oh-my-pi · 0 tokens

semantic-compression

Re-encode verbose prose into a dense telegraphic register — punctuation as connectives, label frames, verbless assertions — without losing normativity or precision. Use when compressing system prompts, tool/function descriptions, skill bodies, or agent instructions; reducing token count or context bloat; making…

can1357/oh-my-pi · 77 tokens

write-zot-themes

Help the user create, install, or package zot themes, including theme-only extensions.

patriceckhart/zot · 23 tokens

writing-git-commits

Write clear, focused Git commit messages and keep commits easy to review.

patriceckhart/zot · 14 tokens

hatch3r-cli-toolbox

Category-indexed reference for 34 specialist CLI tools beyond the always-on five (ripgrep, jq, gh, fd, fzf). Use to pick the right tool for HTTP clients, ai-chat, structural-search, sed-style edits, data ops, browser automation, container ops, and more.

hatch3r/hatch3r · 68 tokens

hatch3r-board-groom

Ongoing backlog refinement for existing board items. Re-prioritize, reclassify, re-scope, archive stale items, decompose oversized issues, merge duplicates, refresh dependencies, and remediate board health findings.

hatch3r/hatch3r · 52 tokens