Agentic-creator-os template-monetization
Blueprint-to-template monetization system for deployment, affiliate, and revenue workflows.
install
source · Clone the upstream repo
git clone https://github.com/frankxai/agentic-creator-os
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/frankxai/agentic-creator-os "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/template-monetization" ~/.claude/skills/frankxai-agentic-creator-os-template-monetization && rm -rf "$T"
manifest:
.claude/skills/template-monetization/SKILL.mdsource content
Template Monetization Skill v1.0
Identity
System for managing the Blueprint → Template → Deploy → Revenue pipeline. Part of ACOS v11 intelligence layer.
Trigger Keywords
template, monetization, deploy, affiliate, railway, vercel, n8n, lemon squeezy, polar, revenue, blueprint monetize
Architecture
Revenue Stack (Oracle-Safe)
| Layer | Platform | Commission | Type |
|---|---|---|---|
| Deploy | Railway | 15% + 25% kickback | Recurring |
| Deploy | Vercel | $5/lead + 30% | Recurring |
| Deploy | n8n | 30% for 12 months | Recurring |
| Monitor | Better Stack | 25% for 12 months | Recurring |
| Sales | Lemon Squeezy | Keep 95% | Direct |
| Sales | Polar.sh | Keep 96% | Direct |
AVOID (Oracle Non-Compete)
AWS, GCP, Azure, DigitalOcean, Vultr, Linode, Hetzner — NEVER add to affiliate-manager.ts
Key Files
Data Layer
— Blueprint-to-platform mapping + template product configdata/deploy-targets.json
— Blueprint definitions (5 published)data/ai-architecture/prototypes.json
Type System
— Affiliate, DeployTarget, BlueprintDeployConfig, TemplateProducttypes/affiliates.ts
Business Logic
— Registry (17 affiliates, all Oracle-compatible)lib/affiliates/affiliate-manager.ts
— UTM link builderlib/affiliates/link-builder.ts
— Click trackinglib/affiliates/tracking.ts
— Checkout creation, webhook verificationlib/lemon-squeezy.ts
Components
— Deploy buttons with affiliate trackingcomponents/deploy/DeployButtonGroup.tsx
— Generic tracked affiliate linkcomponents/affiliates/AffiliateLink.tsx
Pages
— Blueprint detail with deploy buttonsapp/blueprint/[slug]/page.tsx
— Template marketplace with checkoutapp/ai-architecture/templates/page.tsx
Strategy Docs (Private)
— Full affiliate research + Oracle analysisdocs/strategy/AFFILIATE_MONETIZATION_STRATEGY.md
— Pipeline documentationdocs/strategy/PRODUCT_DEVELOPMENT_LIFECYCLE.md
Commands
Add New Blueprint with Deploy Targets
- Add blueprint to
data/ai-architecture/prototypes.json - Add deploy config to
data/deploy-targets.json - Deploy buttons render automatically on the blueprint page
Activate Template for Sale
- Create product on Lemon Squeezy
- Get variant ID from Lemon Squeezy dashboard
- Set
in template datalemonSqueezyVariantId - Change
fromstatus
to'coming-soon''active' - Push to production
Add New Affiliate Platform
- Add entry to
in appropriate categorylib/affiliates/affiliate-manager.ts - Ensure
(or DO NOT ADD)oracleCompatible: true - Add env var for referral code to
.env.local - If deploy platform: add to
platformMetacomponents/deploy/DeployButtonGroup.tsx
Track Revenue
GA4 events:
— {platform, blueprint} — deploy button clickeddeploy_click
— {template_id, price} — checkout completed (via Lemon Squeezy webhook)template_purchase
— {affiliate_id, page} — content affiliate link clickedaffiliate_click
Environment Variables Required
NEXT_PUBLIC_RAILWAY_REFERRAL_CODE NEXT_PUBLIC_N8N_AFFILIATE_ID NEXT_PUBLIC_VERCEL_AFFILIATE_ID BETTERSTACK_AFFILIATE_ID LEMON_SQUEEZY_API_KEY LEMON_SQUEEZY_STORE_ID LEMON_SQUEEZY_WEBHOOK_SECRET
Quality Rules
- NEVER add IaaS platforms to affiliate registry (Oracle compliance)
- ALWAYS include
on new entriesoracleCompatible: true - ALWAYS test deploy URLs before pushing to production
- ALWAYS include affiliate disclosure on pages with tracked links
- Template prices must be validated against competitive market rates
- Deploy buttons must use
withtarget="_blank"noopener noreferrer
ICP Alignment
- AI Engineers → Railway templates (backend compute)
- Startup CTOs → Pro templates ($99-199)
- Enterprise Architects → Better Stack monitoring
- Solo Developers → Free GitHub templates → paid upgrades
- Students → Newsletter capture → future customers