Rebalance — Development skill for Claude Code
Compute and optionally apply a Meta ads daily-budget reallocation plan — shift from low-ROAS ad sets to winners.
How to install Rebalance
Installs to ~/.claude/skills/samirerr-meta-claude-skills-rebalance/SKILL.md
mkdir -p ~/.claude/skills/samirerr-meta-claude-skills-rebalance && curl -fsSL https://raw.githubusercontent.com/samirerr/meta-claude-skills/HEAD/commands/rebalance.md -o ~/.claude/skills/samirerr-meta-claude-skills-rebalance/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Rebalance does
description: Compute and optionally apply a Meta ads daily-budget reallocation plan — shift from low-ROAS ad sets to winners. Invokes meta-ads-rebalance.
Invoke the `meta-ads-rebalance` skill.
Inputs
--roas-floor=(default 0.85 — cut ad sets below 85% of account avg ROAS)--max-shift-pct=<%>(default 30 — max % to move per ad set per run)--lookback-days=(default 7)--min-spend=(default 100 — ignore ad sets below this)--execute— apply ch
Alternatives in Development
- Google Ads Meta Ads MCP — Google Ads MCP server + Meta Ads MCP (Facebook Ads MCP) + GA4 + Search Console in one hosted remote MCP for Cl 3.2k ★
- Weekly Retro — Weekly retro - pull metrics, compare to goal trajectory, recommend one priority shift 324 ★
- Claude Code Is Programmable — Scale your compute with Claude Code as a programmable agentic coding tool 294 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Bulk Creative
Generate 50-500 Meta ad image variations from a creative brief via HTML templates and Puppeteer. Invokes the m
Fatigue Scan
Detect creative fatigue via 14-day rolling CTR/CPM/frequency/hook-rate trends. Generate replacement briefs for
Harness Session
Start or end a harness-tracked agent session. Provides context from previous sessions, sets focus feature, sta
Scale Account
The month-1 finale - stamp the proven build across the whole map in one run: clusters, campaigns, ads, assets,
Ad Campaign Runbook
Agent Skill: turn one blog post into a LinkedIn Ads campaign runbook a marketer can execute — a probe of what
Gen Budget
View or update spend caps (daily / weekly / monthly)
Related Agents
Budget Optimizer
Finds wasted spend and winners across platforms, then reallocates budget by ROAS, tunes bids, and kills losers
Cost Governor
Track aggregate token spend and API costs across all agent operations. Enforce budget constraints, detect cost
Meta Performance
Campaign performance analyst. Analyzes spend, ROAS, CPA, CTR, CPM trends across campaigns, ad sets, and ads. D