Installation
npx skills add Affensus/couponbrain
Installs the CouponBrain skill: extract auth, request fields, canonical output, scope, tiers, events, and themes. Works with Claude Code, Cursor, GitHub Copilot, Codex, and Gemini CLI.
Commands
couponbrain extract
Wire POST /api/extract with a Bearer key, text, and optional as_of, model, and format. Empty model or format is latest and json.
couponbrain schema
Print the canonical result: coupons, scope flags, tiers, end_date, campaign_events, and campaign_themes.
couponbrain curl
Emit a ready curl with an aff_YOUR_API_KEY placeholder. Also triggers on "show me the extract request".
Try it
Extract coupons from this promotion text using the CouponBrain skill
Add CouponBrain extract to this project
Generate a curl for POST /api/extract with latest and json