Algo Ad Vcg
Implement VCG mechanism for incentive-compatible ad slot allocation with truthful bidding. Use this skill when the user needs to design a truthful auction mechanism, compute externality-based payments, or understand why platforms may prefer GSP over VCG — even if they say 'truthful auction design', 'VCG payments', or 'incentive-compatible mechanism'.
Install
npx skills add asgard-ai-platform/skills --skill algo-ad-vcggit clone --depth 1 https://github.com/asgard-ai-platform/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/algo-ad-vcg ~/.claude/skills/algo-ad-vcgPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# VCG Mechanism (Vickrey-Clarke-Groves) ## Overview VCG allocates slots to maximize total social welfare and charges each winner the externality they impose on others. Truthful bidding is a dominant strategy. Runs in O(N log N + K × N) where N=bidders, K=slots. ## When to Use **Trigger conditions:** - Designing an incentive-compatible (truthful) multi-slot auction - Computing welfare-maximizing allocations with externality pricing - Academic analysis comparing VCG to GSP auctions **When NOT to use:** - When revenue maximization matters more than truthfulness (GSP often generates more revenue) - For single-item auctions (standard Vickrey suffices) ## Algorithm ``` IRON LAW: VCG Guarantees Truthful Bidding BUT May Not Maximize Revenue VCG payments are based on externality (harm to others), not competition. This makes VCG payments often LOWER than GSP payments. Platforms choose GSP because it typically generates higher revenue despite strategic bidding. Truthfulness has a revenue cost. ``` ### Phase 1: Input Validation Collect true valuations per click for each advertiser and CTR for each slot position. Valuations must be non-negative. **Gate:** All valuations non-negative, slot CTRs decreasing by position. ### Phase 2: Core Algorithm 1. Compute welfare-maximizing allocation: assign advertisers to slots to maximize Σ(value_i × CTR_slot_i) 2. For each winner i in slot s: compute total welfare WITHOUT advertiser i (re-optimize remaining bidders)
Details
- Skill name
algo-ad-vcg- Repository
- asgard-ai-platform/skills
- Path
algo-ad-vcg/SKILL.md- License
- MIT
- Repo updated
- 6 June 2026
FAQ
What does the Algo Ad Vcg skill do?
Implement VCG mechanism for incentive-compatible ad slot allocation with truthful bidding. Use this skill when the user needs to design a truthful auction mechanism, compute externality-based payments, or understand why platforms may prefer GSP over VCG — even if they say 'truthful auction design', 'VCG payments', or 'incentive-compatible mechanism'.
How do I install the Algo Ad Vcg skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add asgard-ai-platform/skills --skill algo-ad-vcg. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Algo Ad Vcg popular?
It lives in asgard-ai-platform/skills, which has 248 GitHub stars and 30 forks.
Related skills
Algo Ad Bidding
248asgard-ai-platform/skills
Implement and select ad bidding strategies from manual CPC to automated target-CPA and target-ROAS. Use this skill when the user needs to choose a bidding strategy, set up automated bidding, or optimize bid parameters — even if they say 'what bidding strategy should I use', 'target CPA setup', or 'smart bidding configuration'.
Algo Ad Budget
248asgard-ai-platform/skills
Optimize advertising budget allocation across campaigns using marginal returns analysis. Use this skill when the user needs to distribute budget across multiple campaigns, optimize spend pacing, or maximize overall ROAS under budget constraints — even if they say 'how to split my ad budget', 'campaign budget optimization', or 'diminishing returns on ad spend'.
Algo Ad Ctr
248asgard-ai-platform/skills
Build CTR prediction models for estimating ad click-through rates from features. Use this skill when the user needs to predict click probability, build an ad ranking model, or evaluate ad creative performance — even if they say 'predict click rate', 'ad relevance scoring', or 'which ad will get more clicks'.
Algo Blockchain Smart Contract
248asgard-ai-platform/skills
Design and implement smart contracts as self-executing programmatic agreements on blockchain. Use this skill when the user needs to build automated on-chain logic, evaluate smart contract security, or design tokenized business rules — even if they say 'smart contract development', 'automated agreement', or 'on-chain logic'.
Algo Ad Gsp
248asgard-ai-platform/skills
Implement Generalized Second Price auction for ad slot allocation and pricing. Use this skill when the user needs to understand search ad auctions, compute ad positions and costs-per-click, or analyze bidding dynamics — even if they say 'how does Google Ads auction work', 'ad rank calculation', or 'second price auction for ads'.
Algo Ecom Bm25
248asgard-ai-platform/skills
Implement BM25 ranking function for e-commerce product search relevance scoring. Use this skill when the user needs to build a text-based product search engine, improve search result relevance, or replace basic TF-IDF with a more robust ranking function — even if they say 'product search ranking', 'search relevance', or 'BM25 implementation'.
Browse the most popular Claude skills, all marketing, sales & business skills, or write your own with the skills generator.