productContext

A product-planning template for recording the problem being solved, intended users, user journeys, business goals, experience goals, competitors, and measures of success. The supplied content is mostly blank placeholders.

In plain words
What is it for?
Use it to capture requirements, user stories, product priorities, constraints, and how to judge whether the product is successful.
Why use it?
It gives coding work a clear product purpose and audience, but this file currently contains too little real information to guide implementation.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/hansonli05/cursor-rules-system/productcontext
Clone the repo
git clone --depth 1 https://github.com/Hansonli05/Cursor-rules-system

Made for: Cursor.

Per session 416 This file is loaded in full into every session.
When invoked 416 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00416 $0.00416
Opus 5 $0.00208 $0.00208
Sonnet 5 $0.00083 $0.00083
Haiku 4.5 $0.00042 $0.00042

Measured 2d ago against content hash 0f47a07190f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

productContext 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 2d 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/rules/memory-bank/productContext.mdc · 63 lines

What it actually says

Product Context

Problem Statement

[Detailed description of the problem you're solving]

  • [Specific pain point 1]
  • [Specific pain point 2]
  • [Market gap or opportunity]

Target Users

Primary Users

  • [User Type 1]: [Description, needs, behaviors]
  • [User Type 2]: [Description, needs, behaviors]

Secondary Users

  • [User Type 3]: [Description, needs, behaviors]

User Stories/Use Cases

Core User Flows

  1. [Primary Flow Name]

    • User wants to [goal]
    • Steps: [brief flow description]
    • Success: [end state]
  2. [Secondary Flow Name]

    • User wants to [goal]
    • Steps: [brief flow description]
    • Success: [end state]

Product Goals

Business Goals

  • [Business objective 1]
  • [Business objective 2]
  • [Success metrics]

User Experience Goals

  • [Key experience principles]

Competitive Landscape

  • [Competitor 1]: [What they do well, gaps]
  • [Competitor 2]: [What they do well, gaps]
  • Our Differentiator: [What makes this product unique]

Success Metrics

Product Principles


Note: This context drives feature prioritization and user experience decisions. Update when user research reveals new insights or market conditions change.

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. 2d ago First seen · 63 lines · 416 tokens per session scan A 0f47a07190f6

Subscribe to this mod's changes

productContext is a cursor rule published in the GitHub repository Hansonli05/Cursor-rules-system (2 stars, last pushed 1y ago), licensed MIT. It adds 416 tokens to every session, about $0.0021 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.