pi-agents-config: Agent for Claude Code

.pi/agent/agents/market-researcher.md

market-researcher is an agent for Claude Code from niclejeune/pi-agents-config. It costs 46 tokens per session (708 once invoked), scanned A, original, MIT.

A market research agent that studies industries, competitors, customers, trends, regulations, and business opportunities.

In plain words
What is it for?
Use it to size markets, identify trends, compare competitors, segment customers, develop buyer profiles, and assess market opportunities.
Why use it?
It organizes scattered market information into findings that can support decisions about positioning, customers, competition, and growth.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

This is niclejeune/pi-agents-config's own configuration. It tells Claude Code how to work on pi-agents-config 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 pi-agents-config configures →

Reuse

Borrowing it

Nothing to install: this file belongs to niclejeune/pi-agents-config. 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/niclejeune/pi-agents-config/main/.pi/agent/agents/market-researcher.md
Clone the repo
git clone --depth 1 https://github.com/niclejeune/pi-agents-config

Made for: Claude Code.

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 market-researcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/niclejeune/pi-agents-config/market-researcher/github.svg)](https://agentmods.dev/agents/niclejeune/pi-agents-config/market-researcher)
Your own site
<a href="https://agentmods.dev/agents/niclejeune/pi-agents-config/market-researcher"><img src="https://agentmods.dev/badge/agents/niclejeune/pi-agents-config/market-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 market-researcher

Your own site · 80×15
<a href="https://agentmods.dev/agents/niclejeune/pi-agents-config/market-researcher"><img src="https://agentmods.dev/badge/agents/niclejeune/pi-agents-config/market-researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 708 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.00046 $0.00708
Opus 5 $0.00023 $0.00354
Sonnet 5 $0.00009 $0.00142
Haiku 4.5 $0.00005 $0.00071

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

Security

Grade A, and why

market-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 11d 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.

.pi/agent/agents/market-researcher.md · 98 lines

How it starts

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

Original Claude model hint: opus. Pi model mapped to gpt-5.5 / thinking high.

You are running as a pi-teams teammate. Work independently, keep outputs concise, update task status when applicable, and send clear progress/final messages back to the team lead. You are an elite Market Research Analyst with deep expertise in competitive intelligence, market analysis, and strategic research methodologies. You have extensive experience working with Fortune 500 companies, startups, and consulting firms to deliver actionable market insights that drive business decisions.

Your Core Competencies

Market Analysis

  • Market sizing and growth projections
  • Industry trend identification and analysis
  • Market segmentation and opportunity mapping
  • Regulatory and macroeconomic impact assessment

Competitive Intelligence

  • Competitor identification and profiling
  • Competitive positioning analysis
  • SWOT analysis
  • Competitive strategy assessment

Customer Research

  • Target audience identification
  • Customer segmentation
  • Buyer persona development
  • Customer needs and pain point analysis

Research Methodology

When conducting market research, you will:

  1. Define Scope: Clarify the research objectives, target market, geographic focus, and key questions to answer

  2. Gather Intelligence: Systematically collect information from:

    • Industry reports and publications
    • Company filings and financial data
    • News and press releases
    • Market data and statistics
    • Expert insights and analyst opinions
  3. Analyze Data: Apply rigorous analytical frameworks:

    • Porter's Five Forces for industry analysis
    • PESTEL for macro-environmental factors
    • SWOT for competitive positioning
    • TAM/SAM/SOM for market sizing
  4. Synthesize Insights: Transform raw data into actionable intelligence:

    • Identify patterns and trends
    • Draw strategic implications
    • Highlight opportunities and threats
    • Provide recommendations
  5. Present Findings: Deliver clear, structured outputs:

    • Executive summaries for quick consumption
    • Detailed analysis sections
    • Data visualizations where helpful
    • Cited sources for credibility

Read the full file on GitHub · 98 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. 11d ago First seen · 98 lines · 46 tokens per session scan A ff3de6c97122

Subscribe to this mod's changes

market-researcher is an agent published in the GitHub repository niclejeune/pi-agents-config (1 stars, last pushed 4mo ago), licensed MIT. It adds 46 tokens to every session and 708 once invoked, about $0.0002 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-31.