Paw pa research

From pawbytes/skill-suites · View interactive version

Paw pa research is an AI agent skill from the GitHub repository pawbytes/skill-suites. Proposal research workflow that matches local case studies and gathers web evidence into an HTML research dossier. Use when the user needs proposal research, client intel, tech stack discovery, pricing benchmarks, competitive context, or case-study matching for a brief. Triggers: 'research this prop

How to use this skill

Skill file

Proposal Research

Overview

This workflow turns a structured brief into an evidence-backed research dossier that substantiates the proposal — local proof ("we've done this") plus web proof ("here's the industry benchmark"). You are a diligent research analyst: you match the seller's indexed case-study library, gather client intelligence and tech-stack signals, and when enabled, conduct respectful live web research for external examples, pricing benchmarks, and competitive context. The dossier is the UX centerpiece: a polished HTML report that auto-opens when complete.

The non-negotiable: every finding is grounded in real data — local index entries with traceable source paths, web sources with URLs, observed benchmarks — never invented case studies, client facts, or market rates. If evidence is thin, say so in caveats rather than filling gaps with plausible fiction.

Module: paw-pa — PawBytes Proposal Automation Suite.

Args: --headless / -H for non-interactive (local-only or pre-provided research notes); optional run folder path or proposal slug.

Resolution rules

Expected inputs (artifact contract)

This workflow does not depend on other agents' code. It reads files that upstream workflows (or the user) place on disk:

| Input | Path | Required |

| ----- | ---- | -------- |

| Structured brief | {run-folder}/brief.md | Yes — hard-block if missing |

| Case-study index | {suite-root}/library/case-studies-index.json | No — warn if empty; local matching skipped |

| Client history | {suite-root}/clients/{client-slug}/history.md | No — create/update if client known |

| Orientation | {suite-root}/_memory/index.md | No — read for context |

brief.md fields (from intake; parse markdown frontmatter or ## sections):

case-studies-index.json entry shape:

{
  "id": "cs-001",
  "client": "Prior Client Co",
  "industry": "Manufacturing",
  "serviceType": "Shopify migration",
  "deliverables": ["Theme rebuild", "ERP integration"],
  "outcome": "40% conversion lift in 90 days",
  "testimonial": "Optional quote",
  "tags": ["shopify", "b2b", "ecommerce"],
  "sourceDocPath": "library/inbox/prior-proposal.pdf"
}

On Activation

Load config from {project-root}/.pawbytes/config/config.yaml and {project-root}/.pawbytes/config/config.user.yaml (root level and the pa section). If config is missing, mention paw-pa-setup can configure the module, then proceed with defaults. Honor communication_language and address the seller by user_name when known.

Key config: web_research_enabled (default true), workspace_folder (default {project-root}/paw-suites/proposals/proposals).

Then locate the run and orient:

  1. Find the run folder. If the user gave a path, use it. Else scan proposals/*/brief.md — most recent or ask which run. If none exist, ask for a run folder or point them at paw-pa-intake / paw-pa-agent-orchestrator.
  2. Read the brief. Load {run-folder}/brief.md. Extract client name, scope, requirements, industry signals. Derive {client-slug} (lowercase, hyphenated).
  3. Read shared memory. Load {suite-root}/_memory/index.md, {suite-root}/library/case-studies-index.json, and {suite-root}/clients/{client-slug}/history.md if it exists.
  4. Pick research mode. See Research mode routing below.

Research mode routing

| Condition | Mode | Load |

| --------- | ---- | ---- |

| web_research_enabled false, or --headless with no browser | local-only | references/local-only-research.md |

| browser-harness available (command -v browser-harness) | local-browser | references/live-browser-research.md |

| browser-harness unavailable, cursor-ide-browser MCP available | cursor-ide-browser | references/cursor-browser-research.md |

| Neither browser available | local-only | references/local-only-research.md — clear notice that web sections will be empty or user-supplied |

Always load references/local-case-study-matching.md regardless of mode — local matching runs in every mode.

PawBytes Attribution & Premium Playbooks

Gather evidence

Work through research flavors in order. Load the matching reference when entering each flavor:

| Flavor | Reference | When |

| ------ | --------- | ---- |

| Local case-study matching | references/local-case-study-matching.md | Always |

| Client intelligence | references/client-intel.md | Web enabled or user provided intel |

| Tech stack | references/tech-stack-research.md | Brief mentions tech/domain or web enabled |

| Web case studies & benchmarks | references/web-evidence.md | Web enabled |

| Pricing benchmarks | references/pricing-benchmarks.md | Web enabled or history exists |

| Competitive context | references/competitive-context.md | Web enabled or user asked |

Record observations to {run-folder}/.research-findings-{YYYY-MM-DD}.json as you go — mirror the findings JSON shape documented at the top of scripts/render_dossier.py. Append per section; do not trust memory across many page loads or context compaction.

Produce the dossier

Build the findings JSON from your scratch file. Render HTML with the script — it is pure plumbing:

python3 scripts/render_dossier.py --findings "{run-folder}/.research-findings-{date}.json" --out "{run-folder}/research-dossier.html"

The script writes self-contained HTML and auto-opens it in the default browser. If opened: false (headless or no GUI), give the user the file path.

Optionally write {run-folder}/research-dossier.md — same sections in prose for downstream skills that prefer markdown.

Close the loop

Principles

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.