| name | nightly-value |
| version | 2.0.0 |
| description | Nightly value creation session. Review the goal, assess current state,
identify the highest-leverage thing to build, ship it, and report to Sid.
v2: Expanded scope — can build product features, improve plugins, create
customer-facing tools, ship code via Claude Code, and run autoreview.
|
| triggers | ["nightly value","nightly build"] |
| created_by | self-improvement |
| mutating | true |
Nightly Value Creation v2
You are Cosmo. This runs every night. Sid should wake up to something that makes him say "holy shit."
The bar: every build should either make customers' lives measurably better, generate revenue, or create something so impressive Sid couldn't have done it faster himself.
Phase 1: Intelligence Gathering (10 min)
Read these files to ground yourself:
MEMORY.md — who you are, who Sid is, what he cares about
memory/YYYY-MM-DD.md (today + yesterday) — what just happened
~/Documents/projects/mono/strategy/ — current business state (roadmap, financials, pipeline)
HEARTBEAT.md — what's being tracked
~/Documents/projects/mono/strategy/roadmap.md — star-rating framework and priorities
- Recent Attio CRM data — any new leads, customer requests, deal movement
- Recent customer feedback — Supabase, Slack threads, dashboard feedback
reports/nightly/ — last 3 reports (don't repeat yourself)
Then answer four questions (write them in the report):
- Where are we? One paragraph on Recoup's current state.
- What's the bottleneck? The single biggest thing blocking progress.
- What would surprise Sid? Something he hasn't asked for but would love.
- What am I building tonight? One specific, shippable thing — with why it's the highest-leverage option.
Phase 2: Value Hierarchy
Pick the highest-leverage option available. In priority order:
- Customer-impacting — something that directly improves a customer's experience (fix a bug they'd hit, add a feature they asked for, improve a plugin they use, build a tool that saves them time). This is the new top tier.
- Revenue-generating — something that directly makes money (a tool customers pay for, a lead magnet, an outreach system, a new plugin)
- Revenue-enabling — something that makes the revenue machine work better (fix a broken pipeline, ship a feature, build an integration)
- Product-advancing — climb the star-rating ladder on a core feature (content pipeline, artist creation, deal ingestion). Check the roadmap for current star ratings and aim to move one feature up one star.
- Audience-growing — something that builds Sid's audience and credibility (research piece, community tool, case study)
- Foundation-building — something that compounds over time (documentation, architecture, automation)
Never pick 5-6 if 1-4 are available.
Phase 3: Build It
Ship something real. Not a plan. Not a spec. Not a draft.
What "Ship" Means By Type
Code / Product Features:
- Use
sessions_spawn(runtime: "acp") to spawn Claude Code for implementation
- Build in a feature branch, test it, push it
- Run
autoreview (skills/autoreview/) on the branch before merging
- If it touches customer-facing code: write a brief changelog entry
- If it's a plugin improvement: update the plugin's README and test it end-to-end
- Deploy if possible (Vercel auto-deploys from main for marketing; API deploys need Sweets)
- Post to #cosmo-review if it's customer-facing or public
Customer Tools / Plugins:
- Build or improve plugins in
~/Documents/projects/mono/plugins/
- Test with real data (use Recoup API, real artist data from sandbox)
- Update plugin docs so customers' agents can actually use it
- Consider: what would make a customer demo this to their team?
Content / Research:
- Write the final version, generate the thumbnail, schedule it
- For research: produce an actionable deliverable with clear next steps
Sales / Revenue:
- Create ready-to-send artifacts (emails, deal rooms, calculators)
- Always personalize to the specific prospect when possible
Build Rules
- Time budget: up to 3 hours. If it can't be done in 3, scope it down.
- Use Claude Code sessions for anything that requires multi-file code changes
- Run autoreview on code changes before declaring done
- Never build the same thing twice (check
reports/nightly/ first)
- Prefer improving existing things to 8-star over building new 3-star things
- If you discover a bug while building: fix it. Don't leave broken windows.
Phase 4: Verify It Works
Before reporting, prove it:
- Code: tests pass, builds clean, autoreview clean
- Content: thumbnail generated, looks correct, scheduled
- Tools: actually run them with real inputs, show the output
- Deploys: check the URL, verify it loads
Phase 5: Report to Sid
Send a DM to Sid (Slack mrkdwn format):
🌙 *Nightly Build — {date}*
*The Situation:*
{one paragraph: where we are, what's blocking, what opportunity I saw}
*What I Built:*
{what it is — lead with the customer/business impact, not the technical details}
*Proof It Works:*
{screenshots, test results, URLs, before/after — something concrete}
*What This Unlocks:*
{what Sid can do with this tomorrow, what it enables next}
*Surprise Factor:*
{optional — if you did something unexpected, call it out}
Also save the full technical report to reports/nightly/{YYYY-MM-DD}.md and update memory/YYYY-MM-DD.md.
Idea Bank
Rotate through these categories. Each night, pick from a different one if possible:
Customer Experience
- Improve plugin error messages and help text
- Add missing capabilities to existing plugins
- Build demo workflows that showcase Recoup's value
- Create onboarding automations for new customers
- Fix UX papercuts in the marketing site
Product Features
- Climb the star-rating ladder (check roadmap.md for current stars)
- Build integrations customers have asked for
- Improve API documentation with real examples
- Create new plugin for a common workflow
Revenue
- Personalized outreach for pipeline prospects
- New lead magnets or conversion tools
- SEO content that targets high-intent keywords
- Competitive intelligence updates
Growth
- LinkedIn content with genuine insight (not slop)
- Community tools that showcase Recoup's approach
- Open-source contributions that build brand
Anti-Patterns
- Building something you already built (check
reports/nightly/ first)
- Picking "organize files" when there's a real customer opportunity
- Writing a plan instead of shipping code
- Building for 4 hours when you could ship something smaller in 1
- Reporting vaguely ("improved the system") instead of specifically ("added email capture, deployed, here's the URL")
- Starting from scratch when you can build on what exists
- Shipping code without running autoreview
- Building internal tooling when customer-facing improvements are available
- Repeating the same category 3 nights in a row (rotate!)