Skip to main content
Glama

AutoPM πŸš€

AutoPM is an agentic MCP server that transforms raw business ideas into complete product strategies. It orchestrates a specialized AI team to handle real-time market research, competitive deep-dives, persona building, and dynamic financial modeling, culminating in a fully-styled, pitch-ready presentation.

🟒 New to this? Check out the Quick Start Guide for Beginners for step-by-step setup instructions!

The Two-Phased Agentic Approach

Real-world Product Management requires distinguishing between finding the right thing to build and defining how to build it right. AutoPM mirrors this exact discipline through a strictly gated, two-phased workflow:

  1. Phase 1: Strategic Discovery ensures you are solving a real problem in a viable market before writing a single requirement. This phase answers the "Why?" and "Who?" through competitive intelligence, financial modeling, and roadmap prioritization.

  2. Phase 2: Execution Definition takes the validated strategy and translates it into rigorous engineering and design constraints. It answers the "What?" and "How?" by generating technical specifications, user stories, risk matrices, and success metrics.

By enforcing Phase 1 as a prerequisite for Phase 2, AutoPM prevents the most common PM trap: rushing into solution design and feature-building without a validated market strategy.

Related MCP server: Business Design MCP Server

Features

  • The Robot Pipeline:

    • Phase 1: Strategic Discovery

      • Interview Robot 🎀 - Dynamic, interactive context-gathering interview to lock in the product idea.

      • Scout Robot πŸ”­ - Market demand analysis (TAM/SAM/SOM, growth signals, demand validation)

      • Detective Robot πŸ”Ž - Competitive intelligence (competitors, gaps, moat, positioning)

      • People Robot πŸ‘₯ - User personas (segments, pain points, motivations, buying triggers)

      • Money Robot πŸ’° - Financial projections (unit economics, revenue models, 3-scenario forecast)

      • Feature Robot πŸ“ - Feature breakdown (must-have, nice-to-have, future, with WHY/WHEN)

      • Plan Robot πŸ—ΊοΈ - Product roadmap (phased 18-month plan with milestones, dependencies)

      • Priority Robot ⭐ - Feature prioritisation (RICE scoring with principled reasoning)

    • Phase 2: Execution Definition

      • User Stories Robot πŸ“– - Epic and user story generation with acceptance criteria.

      • Scope Spec Robot 🎯 - Strict scope definition, out-of-scope boundaries, and requirements.

      • Customer Journeys Robot πŸ›€οΈ - End-to-end journey mapping across touchpoints.

      • Feasibility Tech Robot βš™οΈ - Technical architecture evaluation and constraints.

      • Feasibility Design Robot 🎨 - UX/UI constraints, guidelines, and design complexity.

      • KPIs Robot πŸ“ˆ - Success metrics, instrumentation strategies, and target baselines.

      • Data Privacy Robot πŸ›‘οΈ - Security, compliance (GDPR/CCPA), and privacy risks.

      • GTM Readiness Robot πŸš€ - Go-to-market strategy, launch phases, and marketing channels.

      • Risks Registry Robot ⚠️ - Comprehensive risk matrix and mitigation strategies.

      • DACI Stakeholders Robot 🀝 - Stakeholder alignment (Driver, Approver, Contributor, Informed).

  • Agentic Presentation Generator: A specialized workflow instructing Claude to act as an expert UI designer to draft and deploy beautiful, custom HTML/CSS pitch-deck presentations directly to your filesystem.

  • Claude Desktop MCP Integration: Use the agents right out of the Claude MacOS/Windows desktop app.

How to Run

Via Claude Desktop (MCP integration)

  1. Open your Claude Desktop settings config file (claude_desktop_config.json).

  2. Point a new server at the Absolute Path of this project with command: "node" and args: ["/absolute/path/to/AutoPM/src/mcp-server.js"].

  3. Start the workflow using the interview tool, iterate via run-robot, and export using generate-presentation!

Via Other MCP Clients (Cursor, Roo Code, ChatGPT, etc.)

Because AutoPM is built on the standard Model Context Protocol (MCP), you can use it with any compatible client!

  • ChatGPT macOS Desktop App: Open or create ~/Library/Application Support/OpenAI/ChatGPT/mcp.json and add the productflow server configuration similar to Claude Desktop (command: node, args: ["/absolute/path/to/AutoPM/src/mcp-server.js"]). Restart the app.

  • Cursor: Go to Settings -> Features -> MCP. Add a new MCP server. Type: command, Command: node, Args: /absolute/path/to/AutoPM/src/mcp-server.js.

  • Roo Code (VS Code): Open MCP Settings and add a configuration similar to Claude Desktop:

    "mcpServers": {
      "productflow": {
        "command": "node",
        "args": ["/absolute/path/to/AutoPM/src/mcp-server.js"]
      }
    }

Via standard CLI

  1. Ensure Node.js (v20+) is installed

  2. npm install

  3. Update run.js to change your target product idea

  4. Run: node run.js

Key Folders

  • src/ - Core MCP Server implementation (mcp-server.js)

  • robots/ - The specialized autonomous agent logic

  • brain/ - Persistent memory, agent instructions, and user feedback engine

  • leader/ - TeamLeader orchestrator managing the flow

  • utils/ - Output engines and file tooling

  • plans/ - Auto-generated HTML presentation deliverables


Cockpit UI: Navigation & Custom Local Domain Setup

The ProductFlow Cockpit UI supports full URL routing, browser history (Back/Forward navigation), page-refresh persistence, and deep-linking via a hash-based routing system.

Custom Local Domain (autopm.ai)

Instead of accessing the Cockpit UI via http://localhost:4321, you can configure your machine to access it via a custom local domain: http://autopm.ai.

Step 1: Map the domain locally on macOS

  1. Open a terminal.

  2. Edit your system's hosts file:

    sudo nano /etc/hosts
  3. Add the following entry at the bottom of the file:

    127.0.0.1 autopm.ai
  4. Save and exit (Ctrl + O, Enter, then Ctrl + X).

Step 2: Start the server

You have two options for starting the HTTP Cockpit server:

  • Option A: Run on Port 4321 (Default) Start the server normally:

    npm run http

    Access it in the browser at: http://autopm.ai:4321

  • Option B: Run on Port 80 (No port number in URL) Port 80 is a privileged port, so you must start Node with sudo permissions:

    sudo PRODUCTFLOW_HTTP_PORT=80 node src/http-server.js

    Access it in the browser directly at: http://autopm.ai

Available Tools

36 tools
accept-termsA

Accept the ProductFlow Terms of Service / EULA.

Must be called once per persona before running any robot analyses. Until accepted, 'pm-profile-save' will return actionRequired: "accept-terms".

What the terms cover:

  • Usage data (ratings, feedback notes) stored locally only in data/brain-database.json

  • Anonymised process improvement suggestions optionally emailed to the owner (only if PRODUCTFLOW_OWNER_EMAIL + SMTP env vars are set β€” off by default)

  • No product names, ideas, or personal data are included in any notification

Full terms text: docs/EULA.md in the project root.

Inputs: agreedToTerms (required), eulaVersion.

add-researchA

Add external research data to a product. This is a convenience wrapper around 'context-add' specifically for research-flavoured content.

Use this when the PM wants to:

  • Upload user interview transcripts or notes

  • Paste survey results or analysis findings

  • Record feedback from prototype testing or A/B experiments

  • Add competitive intelligence or analyst reports

The research data will be automatically aggregated and fed to all Phase 2 robots via the enrichedContext.researchContext field. Adding research also marks affected robots as stale so they re-run with the new evidence.

WORKFLOW:

  1. PM provides research content β†’ call this tool

  2. Check which robots are now stale β†’ call 'freshness-check'

  3. Re-run stale robots β†’ call 'run-robot' with forceRerun: true

Inputs: title (required), content (required), productSlug (required), researchType (required), +1 more.

ask-createB

Register a new Ask/Hypothesis for a product. This creates the foundational structure for running robots on a new problem space.

Inputs: askId (required), hypothesis (required), productSlug (required), targetAudience, +1 more.

context-addA

Attach a piece of PM-provided context to a product. Context entries feed future analyses β€” robots see them alongside interview answers.

Types: note β€” ad-hoc note or observation url β€” a link with optional commentary document β€” a longer writeup (stored as its own file in context/documents/) analyst-report β€” third-party research report pasted as text research β€” external user research (interview transcripts, persona studies, etc.) survey-result β€” results from user surveys or questionnaires experiment-feedback β€” feedback from A/B tests, prototype testing, or multivariate experiments

Notes and URLs are appended to notes.md. Documents, analyst reports, research, survey results, and experiment feedback are saved as individual markdown files in context/documents/.

IMPORTANT: Adding research, survey-result, experiment-feedback, or analyst-report entries will automatically mark affected robots as stale so they re-run with the new evidence on the next invocation.

Inputs: type (required), title (required), content (required), productSlug (required), +1 more.

context-getB

Retrieve the full content of a single context entry by its id.

Inputs: id (required), productSlug (required).

context-listB

List all context entries attached to a product. Optionally filter by type.

Inputs: productSlug (required), type.

epic-listA

List all epics generated for a given product by reading the epic robot output. Use this to determine valid epicId and featureId values to pass to downstream robots.

Inputs: productSlug (required).

feedbackA

Save user feedback for a robot's analysis output. Call this after showing the user each robot's results and asking them to rate it.

REQUIRED: You MUST provide either 'analysisMarkdown' or 'bypassReason' β€” never neither.

analysisMarkdown β€” the full analysis text Claude generated for this robot. Providing it here persists it atomically alongside the rating so Phase 2 robots can read Phase 1 outputs. This is the normal path for every human-in-the-loop run.

bypassReason β€” escape hatch for headless / programmatic callers that have already persisted the output via 'save-robot-output'. Describe why the text is not being passed here. Example: "output already saved via save-robot-output before feedback was available".

Feedback ratings: 4-5 β†’ recorded as successful patterns (learning engine improves future runs) 1-3 β†’ recorded as areas to improve

If the session is tied to a product, the rating is also appended to the robot's asset file on disk.

Inputs: rating (required), robotName (required), analysisId (required), notes, +2 more.

freshness-checkA

Show which robot analyses and interview answers are fresh, stale, or missing for a product. Use this BEFORE starting an interview or running robots to decide what can be reused and what should be refreshed.

Each robot reports one of: fresh β€” last run is within the staleness window (reuse automatically) stale β€” older than the staleness window (re-run recommended) missing β€” never run

The response also includes the staleness window in days per robot so the user can make informed decisions.

Inputs: productSlug (required), askId.

generate-pddA

Assemble a Product Definition Document (PDD) for a product that has completed Phase 2.

HOW IT WORKS:

  1. This tool loads every robot output saved to disk (Phase 1 + Phase 2) via save-robot-output.

  2. It returns a structured assemblyPayload with all those outputs, plus metadata.

  3. Claude uses that payload to compose the final PDD JSON according to the schema provided.

  4. After Claude generates the PDD JSON, call 'save-pdd' with the full JSON to persist it.

WHEN TO CALL:

  • After all required Phase 2 robots have run and their outputs saved via 'save-robot-output'.

  • Can be called with partial output (not all robots need to have run) β€” missing sections will be marked as incomplete in the PDD status tracker.

WORKFLOW:

  1. Call generate-pdd β†’ receive assemblyPayload

  2. Claude assembles PDD JSON using the payload (role + mandate + schema all included)

  3. Call save-pdd with the JSON Claude produced

Inputs: productSlug (required), epicId, pddVersion.

generate-presentationA

Begin the presentation generation process. The presentation is a STRATEGIC artifact β€” it covers Phase 1 analysis only and is designed for stakeholder buy-in before Phase 2 execution begins.

This tool does NOT immediately create the file.

TWO INPUT MODES (prefer productSlug): productSlug β€” loads Phase 1 robot outputs from the workspace (survives server restarts, regeneratable any time). This is the preferred path. analysisId β€” loads from the in-memory session (deprecated, lost on server restart). Only use if productSlug is unavailable.

FLOW:

  1. If design preferences are missing β†’ returns actionRequired: "ask_user_for_preferences".

  2. If preferences exist β†’ returns Phase 1 robot outputs + design preferences + instructions for Claude to generate HTML.

  3. Claude generates the HTML and calls 'save-presentation-file' to write it to disk.

Can be regenerated any time Phase 1 outputs are on disk β€” no re-runs required.

Inputs: analysisId, productSlug.

get-process-suggestionsA

Retrieve process improvement suggestions generated by the Process Advisor.

Suggestions are created automatically after every 5 feedback events for a robot. Two suggestion types: improve-robot β€” robot's average rating has fallen below 3.5 across 5+ runs new-robot β€” feedback notes repeatedly mention a topic no existing robot covers

Suggestions with frequency >= NOTIFICATION_THRESHOLD (default 3) are also emailed to the owner when PRODUCTFLOW_OWNER_EMAIL is configured.

Inputs: status.

greetA

Call this tool FIRST at the start of every new AutoPM session, before any other tool.

It returns a complete picture of the PM's current environment:

  • Where AutoPM stores data on disk (workspace root, profiles dir, products dir)

  • Which PM personas exist and which is currently active

  • EULA acceptance status for the active persona

  • Which products already exist in the workspace

  • A step-by-step workflow guide so the PM knows exactly what to do next

Use the response to orient the conversation:

  1. If no persona exists β†’ greet the user, explain AutoPM, and guide them through 'pm-profile-save' + 'accept-terms'

  2. If a persona exists but EULA is not accepted β†’ surface the terms summary and guide them to 'accept-terms'

  3. If persona + EULA are set up β†’ list existing products and ask which one to work on (or offer to create a new one)

  4. Once a product is chosen β†’ guide through interview β†’ run-robot (Phase 1) β†’ feedback loop β†’ promote-to-phase-2 β†’ Phase 2 robots β†’ generate-pdd / generate-presentation

Never skip this tool at session start β€” it prevents wasted effort from running robots without a persona or EULA acceptance.

Inputs: no named parameters.

historyB

Retrieve the history of past product analyses stored in the brain database.

Inputs: no named parameters.

interviewA

Interactive PM-style interview β€” ONE question at a time.

FIRST CALL: Pass only 'businessIdea' to start the interview. Returns the first question.

  • Optional: pass 'productSlug' to tie the interview to an existing product so answers persist to disk.

  • Optional: pass 'useEarlierResearch: true' (requires productSlug) to reuse fresh prior answers β€” those questions will be pre-filled and skipped. SUBSEQUENT CALLS: Pass 'interviewSessionId' + 'answer' (the user's reply). Returns the next question. SKIP: Pass 'interviewSessionId' + 'action' = 'skip' to use the default answer.

The interview robot ANALYSES each answer:

  • If the answer covers a future question, that question is AUTO-SKIPPED

  • If the answer is too vague/shallow, a FOLLOW-UP question is asked

  • Progress dynamically updates as questions are skipped or covered

When all questions are done, returns type="complete" with the enriched context to pass to 'run-robot'. The completion payload also includes 'reusedAnswerIds' listing which answers were reused from prior research.

WORKFLOW:

  1. Call with just businessIdea (+ optional productSlug / useEarlierResearch) β†’ get first question

  2. Show the question to the user, wait for their reply

  3. Call again with interviewSessionId + answer β†’ get next question

  4. Repeat until type="complete"

  5. Use the enrichedContext from the completion response to call 'run-robot'

Inputs: action, answer, productSlug, businessIdea, +2 more.

pm-persona-createA

Create a new PM persona with an optional initial profile. Does NOT switch to the new persona β€” call 'pm-persona-switch' to activate it.

A persona is an industry-specific PM context (e.g. "ccaas-pm", "ai-cxm-pm"). Different personas can have different staleness windows and product portfolios.

Inputs: slug (required), name, role, analysisDepth, +2 more.

pm-persona-listA

List all PM personas stored in the workspace. Each persona has its own profile, staleness overrides, and products context. Use this at session start to confirm which persona is active, or to switch to a different industry focus.

Inputs: no named parameters.

pm-persona-switchA

Switch the active PM persona. The persona must already exist β€” create it first with 'pm-persona-create' if needed.

After switching, all subsequent calls to 'pm-profile', 'pm-profile-save', and 'run-robot' will use the new persona's profile and staleness windows.

Inputs: slug (required).

pm-profileA

Retrieve the active PM persona's profile (role, industry focus, preferred frameworks, products owned).

Returns { exists: false, actionRequired: 'setup' } if no profile exists β€” interview the PM and call 'pm-profile-save'. If the profile is older than 90 days, returns staleness: 'stale' β€” confirm it is still accurate before proceeding.

To see all available personas, call 'pm-persona-list'. To switch to a different persona, call 'pm-persona-switch'.

Inputs: no named parameters.

pm-profile-saveA

Save or update the active PM persona's profile. All fields are optional β€” unspecified fields keep their prior values. If no persona is active yet, creates a "default" persona automatically.

Inputs: name, role, analysisDepth, industryFocus, +2 more.

product-createA

Create a new product in the PM's workspace. Scaffolds the directory structure (context/, assets/, product.md, freshness.json) and adds the product to the PM profile's Products Owned list. Idempotent β€” creating a product that already exists returns the existing one. NOTE: The slug is automatically generated from the name, so you do not need to provide one.

Inputs: name (required), slug, tags, stage, +3 more.

product-getB

Retrieve full metadata for a specific product by its slug.

Inputs: slug (required).

product-listA

List all products the PM has created in their workspace. Use this to let the PM pick which product they want to work on in the current session.

Inputs: no named parameters.

product-statusA

Show the current workflow status for a product across all G1–G8 gates.

Gates evaluated (in order): G1 PM Profile exists β†’ G2 Product created β†’ G3 Interview answered G4 Phase 1 complete β†’ G5 Phase 2 promoted β†’ G6 Phase 2 in progress G7 PDD exported β†’ G8 Presentation generated

Returns which gates passed, which are blocked, the highest consecutive gate reached, and a precise next-action instruction for the PM.

Use this tool to orient the PM at the start of any session, or whenever they ask "where are we?" or "what should I do next?".

Inputs: productSlug (required), askId.

promote-to-phase-2A

Promote a product from Phase 1 (strategic discovery) to Phase 2 (execution definition).

TWO-CALL PATTERN β€” promotion requires explicit PM confirmation:

CALL 1 β€” Review (omit 'confirm'):

  1. Verifies all 7 Phase 1 robots are fresh (gate check).

  2. Loads Phase 1 robot output files and extracts one-line summaries per robot.

  3. Surfaces persona, feature, and competitor candidates for PM review.

  4. Writes a pending-promotion.json with a confirmationToken (14-day expiry).

  5. Returns requiresConfirmation: true β€” present the summaries to the PM and ask them to confirm.

CALL 2 β€” Confirm (confirm: true + confirmationToken):

  1. Verifies the token is valid and not expired.

  2. Writes context/phase2-context.json with any PM-supplied overrides.

  3. Deletes pending-promotion.json (token is single-use).

  4. Returns { promoted: true } β€” Phase 2 robots are now unlocked.

Override fields accepted only on Call 2: personaOverride, featureOverride, scopeOverride, ownerName, ownerRole, ownerEmail, linkJira, linkTdd, linkFigma, linkConfluence.

Do NOT call run-robot with any Phase 2 robot (user-stories, scope-spec, etc.) until this tool returns { promoted: true }.

Inputs: productSlug (required), confirm, linkTdd, linkJira, +10 more.

resetB

Clear all saved analysis data and feedback from the brain database.

Inputs: no named parameters.

robots-listA

List all available ProductFlow analysis robots with their capabilities, phase grouping, staleness windows, and average user ratings.

Phase 1 robots run first (strategic discovery) β€” no prerequisites. Phase 2 robots run after Phase 1 is complete and promote-to-phase-2 has been confirmed.

Inputs: no named parameters.

run-robotA

Run a SINGLE analysis robot and return its results. Call one robot at a time so the PM can review and give feedback before proceeding.

Available robots β€” Phase 1 (strategic discovery, run first):

  1. scout β€” Market demand (TAM/SAM/SOM, growth signals, demand validation)

  2. detective β€” Competitive landscape (competitors, gaps, differentiators, moat)

  3. people β€” User personas (segments, pain points, behaviors, jobs-to-be-done)

  4. money β€” Financial model (unit economics, CAC/LTV/ARR/NRR/GRR, 3-scenario projections, Vega-Lite charts)

  5. feature β€” Feature breakdown (MoSCoW-tagged, must-have vs nice-to-have vs future)

  6. plan β€” Product roadmap (phased 12-18 month plan with milestones)

  7. priority β€” Feature prioritization (RICE scoring, effort vs impact)

Available robots β€” Phase 2 (execution definition β€” all 7 Phase 1 robots must be fresh first): 8. user-stories β€” MoSCoW-tagged user stories derived from people + feature outputs 9. scope-spec β€” Scope, assumptions, constraints, and critical-change flag 10. feasibility-tech β€” Architecture, technical concerns, third-party vendors, infrastructure deps 11. feasibility-design β€” Design principles, wireflow (screen-by-screen), accessibility commitments 12. customer-journeys β€” End-to-end journey narratives per persona with step-by-step flows 13. data-privacy β€” InfoSec, legal, and certification impact matrix (GDPR, SOC 2, etc.) 14. gtm-readiness β€” CX stage matrix, rollout waves, Preview β†’ GA criteria, pricing model 15. risks-registry β€” Structured risk register across 5 risk categories with mitigations 16. kpis β€” Adoption, retention, usage, and revenue KPIs with targets + source systems 17. daci-stakeholders β€” DACI table + key contacts (persists across runs, updates incrementally)

Phase 2 prerequisite: call 'promote-to-phase-2' and receive { promoted: true } before running any Phase 2 robot.

If 'productSlug' is provided:

  • Results are persisted to the product's assets/ folder as markdown.

  • On subsequent calls, fresh results are reused automatically (see freshness windows).

  • Pass 'forceRerun: true' to re-run and overwrite a still-fresh result.

RICH OUTPUT RULE: When generating your analysis, use rich HTML with inline styles for visual elements:

  • Persona cards with avatar circles, colored badges, styled blockquotes

  • Journey maps as horizontal card flows with colored stage headers

  • Data tables with styled headers and alternating row colors

  • Chart.js canvas+script blocks for charts β€” ALWAYS inside a ```html fence

  • Mermaid diagrams in ```mermaid fences

  • Vega-Lite chart specs in plain json fences (rendered as live charts in the saved HTML) Wrap EVERY multi-line HTML block and EVERY <script> block in a html fence β€” bare multi-line HTML breaks the saved file. When you later call 'save-robot-output', pass this EXACT rich content β€” do NOT flatten to plain markdown.

VERDICT BLOCK RULE: scout, detective, people, money, and synthesizer end their output with a machine-readable

of the output β€” the Synthesizer and PDD composer parse it as data.

IMPORTANT: After showing the user this robot's output, ask them to rate it 1-5 and suggest improvements. Then call the 'feedback' tool before running the next robot.

Inputs: robotName (required), enrichedContext (required), askId, epicId, +4 more.

save-artifactB

Save any arbitrary file (e.g. .html, .xlsx, .pptx, .md) generated by Claude into the product's assets directory. Supports both text and base64 encoded binary files.

Inputs: filename (required), fileContent (required), productSlug (required), encoding.

save-design-preferencesC

Save the user's presentation design preferences to the database.

Inputs: fontFamily (required), themeStyle (required), primaryColor (required), logoUrl.

save-pddA

Persist the PDD JSON that Claude assembled via 'generate-pdd'.

This tool:

  1. Validates the PDD JSON has a meta block with productName + version.

  2. Saves three files to assets/pdd/: pdd--v.json β€” machine-readable PDD pdd--v.md β€” Notion-compatible markdown pdd--latest.md β€” copy of latest version (overwritten on every save)

  3. Optionally renders an HTML file to plans/ directory.

  4. Updates pddVersion in context/phase2-context.json.

Call this immediately after Claude generates the PDD JSON from 'generate-pdd'.

Inputs: pddJson (required), productSlug (required), epicId, renderHtmlFlag.

save-presentation-fileB

Save the raw HTML string generated by Claude into an actual HTML file in the plans directory.

Inputs: filename (required), htmlContent (required).

save-robot-outputA

Save the analysis text that Claude generated for a robot to the product's assets folder.

This is distinct from the prompt payload saved by run-robot. This tool saves the ACTUAL ANALYSIS TEXT Claude produced β€” the content that Phase 2 robots read as their primary input.

Call this immediately after Claude generates a robot's analysis, passing the clean Markdown and rich HTML versions.

CRITICAL FORMATTING RULE: You must provide TWO versions of your output:

  1. 'cleanMarkdown': Standard, plain Notion-compatible Markdown. No HTML tags, no inline CSS, no elements. This is used by Phase 2 robots and the final PDD.

  2. 'htmlText': The EXACT rich HTML content you rendered in the chat window, including all colored badges, styled divs, and visuals. Do not use dark mode or dark backgrounds; use white or light backgrounds for the HTML files. Wrap every multi-line HTML block and every block in a ```html fence β€” bare multi-line HTML breaks the saved HTML file.

VERDICT BLOCK RULE: If the robot's output ends with a machine-readable json verdict block (scout, detective, people, money, synthesizer), that block MUST be preserved verbatim as the last element in BOTH cleanMarkdown and htmlText β€” the Synthesizer and PDD composer parse it. The same applies to Money's Vega-Lite json chart specs. ```json fences are valid plain Markdown and do not violate the no-HTML rule.

File pattern:

  • assets/YYYY-MM-DD--output.md (stores cleanMarkdown)

  • assets/YYYY-MM-DD--output.html (stores htmlText)

IMPORTANT: Call this tool after EVERY Phase 1 robot run if the product will eventually go to Phase 2. Phase 2 robots (user-stories, scope-spec, etc.) read the .md output files to derive their analysis.

Inputs: htmlText (required), robotName (required), productSlug (required), cleanMarkdown (required), +2 more.

select-experimentA

Select the winning experiment cluster (or cherry-pick stories) after reviewing multi-cluster output from the user-stories robot.

When UserStoriesRobot generates multiple experiment clusters (because experimentClusterCount > 1 in phase2Context), the PM reviews the competing solution hypotheses and selects the best approach.

Three selection modes:

  1. WHOLE CLUSTER: Pass a single 'clusterId' to accept one cluster entirely.

  2. CHERRY-PICK: Pass an array of 'storyIds' from any cluster to build a hybrid.

  3. CLEAR: Pass neither to remove any previous selection.

The selection is stored in context/experiment-selection.json and read by 'generate-pdd' when assembling the final PDD.

Inputs: productSlug (required), storyIds, clusterId, rationale.

staleness-policyA

Show the resolved staleness windows (in days) for every ProductFlow artifact.

Resolution order (highest precedence wins):

  1. Per-product override β€” products//staleness-overrides.json

  2. Per-persona override β€” profiles//staleness-overrides.json

  3. Project policy β€” config/staleness-policy.json

  4. Compiled-in defaults

Each entry shows: windowDays, phase, provenanceSource (which layer set this value).

Use this tool to explain to the PM why a robot is marked stale, or to review the current effective windows before recommending whether to re-run.

Inputs: personaSlug, productSlug.

start-sessionA

Begin a ProductFlow work session. Call this at the start of every conversation.

Evaluates all G1–G8 workflow gates and returns a structured status report showing exactly where the PM is in the 5-step process:

G1 PM Profile exists β†’ G2 Product created β†’ G3 Interview answered G4 Phase 1 complete β†’ G5 Phase 2 promoted β†’ G6 Phase 2 in progress G7 PDD exported β†’ G8 Presentation generated

Writes active-session.json so run-robot can attach a sessionHint if no session is active.

Returns the current gate level and the precise next action β€” use this to greet the PM and guide them to their next step without asking open-ended questions.

Inputs: askId, productSlug.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 36 tools

    Disambiguation2/5

    Three tools β€” 'greet', 'start-session', and 'product-status' β€” all claim to be the session-start orienter and all evaluate the same G1–G8 gates, and their descriptions even conflict over which must be called first. Several other pairs overlap: 'add-research' is explicitly a wrapper around 'context-add', and 'feedback' persists analysisMarkdown while 'save-robot-output' saves the same analysis text, giving two competing persistence paths. 'freshness-check' vs 'staleness-policy' and 'pm-profile' vs 'pm-persona-list' add further boundary confusion.

    Naming Consistency3/5

    Two conflicting orderings are in use: noun-verb/object-action (pm-persona-list, product-create, context-add, pm-profile-save) and verb-noun (run-robot, save-robot-output, generate-pdd, add-research, select-experiment). Single bare words (greet, interview, feedback, history, reset) add a third style. It remains readable but is not a predictable pattern.

    Tool Count2/5

    36 tools is heavy for a PM analysis workflow, and several are mergeable rather than earning their place (greet/start-session/product-status; context-add/add-research; feedback/save-robot-output). The large surface forces an agent to choose among near-duplicates before it can act.

    Completeness3/5

    The core lifecycle is covered end-to-end: personas, products, context, robot runs, freshness/promotion, PDD, and presentation. However, resources are create/read-only β€” there is no product-update, product-delete, context-delete, persona-delete, or artifact-delete, and no tool to list already-saved assets or presentations. Agents will hit dead ends when they need to correct or clean up state.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers