← Product MapCONTENT HISTORY

Update to Product Map

Snapshot Nov 25, 2026 · 18:15 UTC · version 1.0.1

Collection source: downloaded plugin package.

WHAT CHANGED

First saved snapshot

No earlier snapshot is available to establish a change.

Save Product Map and check future changes in Following.

Up to 3 plugins free · no card required.

Compare saved observations

Download comparison JSON
Full technical diff · 0 changed fields
Full snapshot data
{
  "description": "Use KPIs, analytics, and finance to drive product. Runs Product Map's \"Make data-driven decisions\" agent for one request in this session's Product Map chat, with the project's knowledge base and a brief about the work in progress as context. Use when the user asks for this agent by name or invokes $pm-data-driven-product-decisions.",
  "included_files": [
    {
      "relative_path": "agents/openai.yaml",
      "size_in_bytes": 451
    },
    {
      "relative_path": "assets/product-map-small.png",
      "size_in_bytes": 21287
    },
    {
      "relative_path": "assets/product-map.png",
      "size_in_bytes": 158280
    }
  ],
  "name": "pm-data-driven-product-decisions",
  "skill_md_contents": "---\nname: pm-data-driven-product-decisions\ndescription: Use KPIs, analytics, and finance to drive product. Runs Product Map's \"Make data-driven decisions\" agent for one request in this session's Product Map chat, with the project's knowledge base and a brief about the work in progress as context. Use when the user asks for this agent by name or invokes $pm-data-driven-product-decisions.\n---\n<!-- generated by backend/scripts/generate_agent_skills.py in the productmap monorepo; edit the script, not this file -->\n\n# Product Map agent: Make data-driven decisions\n\nAgent tool: `run_data_driven_product_decisions` (the `$pm-data-driven-product-decisions` skill). The tools below belong to the `productmap` MCP server (sign in once with\n`codex mcp login productmap`, or Authenticate in the app). You stay the user's coding assistant before and\nafter; the agent answers this one request with the project's context in view.\n\n1. **Connect once per session.** If you already know this session's `project_id` and `client_session_id` (an\n   earlier Product Map result in this conversation), skip ahead. Otherwise gather the facts: `git rev-parse\n   --show-toplevel` (the repository root), `git remote -v` (the remote URLs), `cat .productmap/productmap.json`\n   (the marker, if the file exists), and `folder_fingerprint` = `printf '%s:%s' \"$(hostname)\" \"<repository\n   root>\" | shasum -a 256 | cut -d' ' -f1`. Call `connect_workspace(remote_urls, marker, cwd=<repository\n   root>, folder_fingerprint, client=\"codex\")`.\n   `connected`: use `project.project_id`; if `write_marker` is true, write `marker` as JSON to\n   `.productmap/productmap.json` under the repository root (create the folder if needed) and tell the user it\n   can be committed. `choose`: show the user `projects` (name, type, storage_mode) and ask which one - or\n   whether to create a new project with context stored on Product Map (`create_project(name, description,\n   project_type)`). Never pick or create without asking; then call `connect_workspace` again with `project_id`.\n2. **Brief.** Write `client_context` (under 1,500 characters, plain text): the task you and the user are on,\n   decisions already made, the files or diff excerpts this request is about. Attach files the user pointed at\n   as `attachments=[{path: <relative to the repository root>, content}]`, at most 10 text files.\n3. **Run.** `run_data_driven_product_decisions(message=<the user's request as they put it>, client=\"codex\",\n   client_session_id=<the id a previous result returned in this conversation, else omit>,\n   client_context=<brief>, cwd=<repository root>, attachments=<if any>, project_id=<project_id>)`. Print\n   `reply` to the user as written. Keep the `client_session_id` from the result and pass it on every later\n   Product Map call in this conversation. `status: generating` → `wait_for_reply(chat_id, generation_id)`\n   until complete. `reply_truncated` → `read_chat(chat_id, message_id=<assistant_message_id>)`. Mention\n   `chat_url` once. `proposals_pending: true` → `wait_for_reply(chat_id, generation_id, until=\"postprocess\")`.\n4. **Proposals**, if any: `read_context_proposal(project_id, proposal_id, include_content=true)`; show `title`\n   and the `diff` verbatim; ask accept / edit then accept / discard.\n   - `proposals_mode: \"local_files\"`: do not change local files before the user accepts the proposal.\n     Accept = resolve `target_full_path` inside the repository root; if the file exists and its sha256 differs\n     from `base_content_sha256`, say so and ask before overwriting. Write `proposed_content` (or the user's\n     accepted edited content), creating folders for a new file; show `git diff -- <path>`. Then\n     `git add <path>`, `git commit -m \"Apply Product Map context proposals: <title>\"`,\n     `reconcile_context_proposals(project_id, items=[{proposal_id, accepted: true, commit_sha,\n     local_content_sha256}])`; push only if asked. Discard = only call\n     `reject_context_proposals(project_id, [proposal_id])`; leave local files and the Git index untouched.\n     Never restore or delete files when discarding. Do not call `accept_context_proposals` here.\n   - `proposals_mode: \"server\"`: accept = `accept_context_proposals(project_id, [proposal_id])` (applied on\n     Product Map); discard = `reject_context_proposals`.\n5. **Carry on** as the coding assistant. Only a Product Map skill runs an agent; everything else you answer\n   yourself. Other agents are their own skills (`list_agents` shows them) and take their turns in the same\n   chat. Keep your own words around the agent's reply minimal.\n\nIf the user has not said what they want yet, offer these starters and run the one they pick:\n\n- Define KPIs: \"Help define the right KPIs. We want to align the team on clear metrics that drive outcomes.\"\n- Analyze product metrics: \"Help review our product metrics. We're tracking several numbers, but we're not sure which ones truly reflect product health.\"\n- Investigate a drop: \"Help investigate a drop in performance. We've seen a decline in one of our key metrics, but we're not sure what's causing it.\"\n- Suggest optimizations: \"Help spot areas where we can improve performance through data. We have tracking in place, but want to dig deeper into what's working and what's not.\"\n- Calculate unit economics: \"Help calculate our unit economics. We want to understand the cost and value per user, and whether we're building a scalable, profitable model.\"\n"
}

SHA-256 of public snapshot: 052337c04fee7802e5c568837e93f0fbe70afa94c75864e4718a036f670477a8