pm-brain-for-cursor: Agent for Claude Code

.cursor/agents/company-context-researcher.md

company-context-researcher is an agent for Claude Code, Cursor from ertra/pm-brain-for-cursor. It costs 73 tokens per session (2,307 once invoked), scanned A, original, MIT.

An agent that researches a company using its website and other public web information, then prepares a structured company brief.

In plain words
What is it for?
Use it when starting a project that needs company context from a website. It saves the research in a temporary cache file and leaves the project’s main context files unchanged.
Why use it?
It gives product-management work a factual starting point instead of relying on guesses about the company, its products, customers, vision, or competitors.

Agent for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

This is ertra/pm-brain-for-cursor's own configuration. It tells Claude Code and Cursor how to work on pm-brain-for-cursor itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pm-brain-for-cursor configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ertra/pm-brain-for-cursor. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ertra/pm-brain-for-cursor/main/.cursor/agents/company-context-researcher.md
Clone the repo
git clone --depth 1 https://github.com/ertra/pm-brain-for-cursor

Made for: Claude Code, Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for company-context-researcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/ertra/pm-brain-for-cursor/company-context-researcher/github.svg)](https://agentmods.dev/agents/ertra/pm-brain-for-cursor/company-context-researcher)
Your own site
<a href="https://agentmods.dev/agents/ertra/pm-brain-for-cursor/company-context-researcher"><img src="https://agentmods.dev/badge/agents/ertra/pm-brain-for-cursor/company-context-researcher/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for company-context-researcher

Your own site · 80×15
<a href="https://agentmods.dev/agents/ertra/pm-brain-for-cursor/company-context-researcher"><img src="https://agentmods.dev/badge/agents/ertra/pm-brain-for-cursor/company-context-researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,307 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.02307
Opus 5 $0.00036 $0.01154
Sonnet 5 $0.00015 $0.00461
Haiku 4.5 $0.00007 $0.00231

Measured 12d ago against content hash 06e8d2f1f19e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

company-context-researcher scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/agents/company-context-researcher.md · 282 lines

How it starts

The opening of the file, as written. The whole thing — 282 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Company Context Researcher (pm-brain)

You are a company research analyst for pm-brain. Your job is to gather public information about a company from its website and web search, then write a structured brief to a designated scratch file that an orchestrator will map into context files under 01-context/ (generic SaaS — no vertical-specific assumptions).

You operate in an isolated context. You may write only to the scratch path .cache/start/brief.md (gitignored). Do not modify 01-context/ or any other repo files. Your spoken response to the orchestrator is short (path + summary) — the full brief lives in the file.

The orchestrator passes you:

  • company_name — display name
  • website_url — normalized homepage URL (https://, no trailing slash)

Research sequence

  1. HomepageWebFetch the website_url. Note: positioning headline, product names, nav links, primary personas implied, surfaces (web, mobile, API, etc.).
  2. High-signal subpages — From nav/footer, fetch up to 6 additional URLs (cap 8 total fetches). Prioritize urls like /about, /company, /products, /platform, /pricing, /customers, /solutions, /security, /integrations. Skip blog, careers, legal, login unless nothing else exists.
  3. Web search — Run searches such as:
    • "[company_name]" product OR platform
    • "[company_name]" pricing OR plans
    • "[company_name]" customers OR case studies
    • "[company_name]" competitors OR alternatives
  4. Quality gates (non-negotiable):
    • Cite source type per claim: Primary, Secondary, Inference.
    • Do not invent funding, employee count, revenue, win/loss, or customer names without support.
    • Use To be verified for gaps.
    • Set section_confidence (high / medium / low) based on source mix per section.
    • Always include gaps.

Brief content format

Compose a single markdown document with exactly the sections and subsections below. Write it to .cache/start/brief.md (see "Hand-off" below) — do not paste the full document into your spoken response.

Read the full file on GitHub · 282 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 282 lines · 73 tokens per session scan A 06e8d2f1f19e

Subscribe to this mod's changes

company-context-researcher is an agent published in the GitHub repository ertra/pm-brain-for-cursor (22 stars, last pushed 3mo ago), licensed MIT. It adds 73 tokens to every session and 2,307 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

product-manager

Expert product manager specializing in product strategy, user-centric development, and business outcomes. Masters roadmap planning, feature prioritization, and cross-functional leadership with focus on delivering products that users love and drive business growth.

NickCrew/Claude-Cortex · 47 tokens

product-strategist

Senior product strategist mastering product vision, roadmap development, and go-to-market execution. Evaluates features through customer value, business impact, and strategic alignment lenses.

NickCrew/Claude-Cortex · 36 tokens

requirements-analyst

Transform ambiguous project ideas into concrete specifications through systematic requirements discovery and structured analysis. Ideal for early discovery, stakeholder alignment, and PRD creation engagements.

NickCrew/Claude-Cortex · 35 tokens

pm-ops-facilitator

PM operations orchestrator. Manages the operational rhythm of the PM team: retrospectives, post-mortems, process documentation, and CS playbooks. Routes to pm-sprint-retro, pm-postmortem, pm-process-docs, pm-customer-success skills. Use when someone says "ops", "operations", "team rhythm", "ceremonies", "retro"…

marfoerst/the-pragmatic-pm · 112 tokens

pm-data-analyst

Data analysis orchestrator agent. Helps PMs think quantitatively — define metrics, analyze funnels, design experiments, and build dashboards. Routes to pm-metric-framework, pm-funnel-analyzer, pm-ab-test, pm-dashboard-designer skills. Can query databases if Supabase tools are available. Use when someone says "data…

marfoerst/the-pragmatic-pm · 107 tokens

pm-gtm-strategist

Go-to-market orchestrator agent. Helps PMs create sales-ready materials: messaging frameworks, competitive battlecards, objection playbooks, sales decks, launch plans, and win/loss analysis. Routes to pm-messaging-framework, pm-battlecard, pm-objection-handler, pm-sales-deck, pm-gtm-launch, pm-win-loss skills. Use…

marfoerst/the-pragmatic-pm · 142 tokens