How maxkmet/idea-validation-agents works
1. This repository is not a traditional app or service; it is a multi-platform AI agent playbook. The “runtime” is the user’s chat in Claude Code, OpenAI Codex CLI, or Cursor, which reads the repo’s instruction files and routes the conversation into the right validation workflow.
2. There are three platform-specific integration layers:
- CLAUDE.md for Claude Code
- AGENTS.md for Codex
- .cursor/rules/ for Cursor
These act as entry-point adapters that tell each tool how to behave and which workflow to activate.
3. The core capability is packaged as modular skills. The main skill set lives under skills/, with mirrored copies under .claude/skills/ and .codex/skills/ for platform compatibility. The skills are narrowly scoped analysis modules such as:
- trend analysis
- competitor mapping
- desire evaluation
- pricing and willingness-to-pay
- distribution analysis
- retention prediction
- CAC modeling
- TAM/SAM/SOM estimation
- pivoting
- decision memo generation
4. Workflow orchestration is defined separately from the skills. The workflows/ folder contains the user-facing pipelines:
- idea-generation.md
- idea-validation.md
- market-deep-dive.md
- pivot-optimization.md
These workflows chain multiple skills together in a fixed sequence, so the architecture is “workflow-first” rather than “single-agent prompt”.
5. The main data flow starts with a user prompt, then branches into one of the workflows, which in turn invokes the relevant skills. For example, validation flows through trend research, competition analysis, pricing, distribution, retention, CAC, then a final score and decision memo. Idea generation starts with a founder/background interview before trend mining and scoring.
6. External research sources materially shape the analysis layer. The README names the main market inputs as TikTok Creative Center, Reddit, X/Twitter, App Store, and Google Trends. These are not just references; they are the evidence sources used to infer demand signals, competitor gaps, and distribution opportunities.
7. State is persisted on disk, not in a database. The memory/ directory is the repository’s long-lived storage boundary and keeps results between sessions. It contains:
- user_profile.md for reusable founder context
- memory/ideas/ for per-idea artifacts
- memory/market_insights/ for category research outputs
- extra context files like memory/extra-context/core-human-desires.md
This makes the system session-independent and lets later workflows reuse prior analysis.
8. The outputs are artifact-driven and human-readable. Different workflows write different deliverables, including:
- scored idea lists
- competitor and pricing JSON
- market insight markdown files
- decision_memo.md
- pivot_options.json
The repository is optimized for generating structured analysis packages rather than executable code.
9. The repository also has a documentation duplication boundary. skills/, .claude/skills/, .codex/skills/, and .cursor/rules/ contain similar conceptual content but in the format each platform expects. That suggests the architecture’s portability strategy is “same knowledge, multiple tool-specific wrappers.”
10. Overall, the system architecture is:
user chat → platform adapter (CLAUDE.md / AGENTS.md / Cursor rules) → workflow orchestration → modular skills → external market signals + local memory → saved decision artifacts.
For an architecture diagram, the important boundaries are the chat surface, the workflow engine, the reusable skill library, the external research sources, and the filesystem-backed memory layer.
Main entry points: idea-validation.md Idea validate · SKILL.md Trend analysis · memory Memory · README.md Workflow guide
Components 34
Platform Adapters
Entry-point instructions for different chat runtimes.
- CLAUDE.md · Claude Code entry-point instructions.
CLAUDE.md - AGENTS.md · Codex entry-point instructions.
AGENTS.md - Cursor rules · Cursor rule set for tool behavior and workflow routing.
.cursor/rules
Workflows
User-facing pipelines that orchestrate analysis stages.
- Workflow guide · Overview of the repository's pipeline-first operating model.
workflows/README.md - Idea gen · Founder interview, trend mining, and initial scoring.
workflows/idea-generation.md - Idea validate · Full validation pipeline from research to decision.
workflows/idea-validation.md - Market dive · Deeper category and competitor analysis sequence.
workflows/market-deep-dive.md - Pivot optimize · Explores alternative directions and pivot options.
workflows/pivot-optimization.md
Skill Library
Reusable analysis modules invoked by workflows.
- Trend analysis · Finds demand signals across market sources.
skills/trend-analysis/SKILL.md - Competitors · Maps competing products and gaps.
skills/competitor-mapper/SKILL.md - Desire eval · Assesses user pain and motivation strength.
skills/desire-evaluator/SKILL.md - Pricing WTP · Estimates willingness to pay and price bands.
skills/pricing-and-wtp/SKILL.md - Distribution · Assesses acquisition and channel opportunity.
skills/distribution-analysis/SKILL.md - Retention · Predicts repeat usage and stickiness.
skills/retention-predictor/SKILL.md - CAC model · Models customer acquisition cost.
skills/cac-modeler/SKILL.md - TAM/SAM/SOM · Builds market size estimates.
skills/tam-sam-som-builder/SKILL.md - Idea score · Combines signals into a ranked score.
skills/idea-scoring/SKILL.md - Pivot engine · Generates alternative product directions.
skills/pivot-engine/SKILL.md - Decision memo · Writes the final recommendation artifact.
skills/decision-memo/SKILL.md - Founder interview · Collects reusable founder and context details.
skills/user-background-interviewer/SKILL.md - Segmentation · Profiles target users and segments.
skills/user-segmentation-profiler/SKILL.md - Weaknesses · Finds gaps and failure modes in ideas.
skills/weakness-detection/SKILL.md
Memory Layer
Filesystem-backed persistent context and artifacts.
- Memory · Long-lived filesystem state reused across sessions.
memory - User profile · Reusable founder context and preferences.
- Ideas · Per-idea session artifacts and outputs.
memory/ideas - Market insights · Category research outputs kept for reuse.
memory/market_insights - Core desires · Background framework for human motivation analysis.
memory/extra-context/core-human-desires.md
Evidence & Outputs
External market signals and generated deliverables.
- Market sources · External research inputs used to infer demand and distribution.
- TikTok · Creative Center and trend signals.
- Reddit · Community pain points and discussion signals.
- X/Twitter · Live market chatter and creator signals.
- App Store · Competitor presence and review signals.
- Google Trends · Search demand and interest over time.
Other components
- User chat · Interactive surface in Claude Code, Codex CLI, or Cursor.
Connections 43
- User chat → CLAUDE.md: Claude path · Claude Code reads the repo instructions.
- User chat → AGENTS.md: Codex path · Codex CLI reads the repo instructions.
- User chat → Cursor rules: Cursor path · Cursor applies rule files for behavior routing.
- CLAUDE.md → Workflow guide: routes to · Platform adapter points into workflow selection.
- AGENTS.md → Workflow guide: routes to · Platform adapter points into workflow selection.
- Cursor rules → Workflow guide: routes to · Platform rules activate the workflow catalog.
- Workflow guide → Idea gen: includes · Catalog exposes the available pipelines.
- Workflow guide → Idea validate: includes · Catalog exposes the available pipelines.
- Workflow guide → Market dive: includes · Catalog exposes the available pipelines.
- Workflow guide → Pivot optimize: includes · Catalog exposes the available pipelines.
- Idea gen → Founder interview: starts with · Idea generation begins with founder/context interview.
- Idea gen → Trend analysis: uses · Then mines demand signals for candidate ideas.
- Idea gen → Idea score: ends with · Produces scored ideas.
- Idea validate → Trend analysis: uses · Validation starts with trend research.
- Idea validate → Competitors: uses · Maps competing offerings and gaps.
- Idea validate → Pricing WTP: uses · Tests willingness to pay.
- Idea validate → Distribution: uses · Assesses acquisition and channels.
- Idea validate → Retention: uses · Estimates repeat usage and stickiness.
- Idea validate → CAC model: uses · Models acquisition cost.
- Idea validate → Idea score: concludes with · Combines signals into a final score.
- Idea validate → Decision memo: writes · Produces the recommendation artifact.
- Market dive → Trend analysis: uses · Category research starts with market signals.
- Market dive → Competitors: uses · Expands competitor understanding.
- Market dive → TAM/SAM/SOM: uses · Sizes the market.
- Market dive → Segmentation: uses · Defines relevant customer segments.
- Pivot optimize → Weaknesses: uses · Finds failure modes in the current concept.
- Pivot optimize → Pivot engine: uses · Generates alternative directions.
- Pivot optimize → Decision memo: writes · Summarizes pivot recommendations.
- Trend analysis → Market sources: pulls from · Trend work depends on external evidence.
- Competitors → App Store: pulls from · Uses app listings and review signals.
- Trend analysis → TikTok: pulls from · Uses creative trend signals.
- Trend analysis → Reddit: pulls from · Uses community demand signals.
- Trend analysis → X/Twitter: pulls from · Uses social chatter signals.
- Trend analysis → Google Trends: pulls from · Uses search interest signals.
- Idea gen → Memory: persists to · Stores session outputs for later reuse.
- Idea validate → Memory: persists to · Stores artifacts and scores.
- Market dive → Memory: persists to · Stores research outputs.
- Pivot optimize → Memory: persists to · Stores pivot artifacts.
- Memory → User profile: contains · Reusable founder context.
- Memory → Ideas: contains · Idea-specific artifacts.
- Memory → Market insights: contains · Category research artifacts.
- Memory → Core desires: contains · Shared context for desire analysis.
- Decision memo → Ideas: outputs · Decision memos and related artifacts are saved with ideas.