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.
git clone --depth 1 https://github.com/perniemann/pnCoreWrote 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.
[](https://agentmods.dev/rules/perniemann/pncore/pn-mcp-proactive)<a href="https://agentmods.dev/rules/perniemann/pncore/pn-mcp-proactive"><img src="https://agentmods.dev/badge/rules/perniemann/pncore/pn-mcp-proactive/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.
<a href="https://agentmods.dev/rules/perniemann/pncore/pn-mcp-proactive"><img src="https://agentmods.dev/badge/rules/perniemann/pncore/pn-mcp-proactive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00853 | $0.00853 |
| Opus 5.5 | $0.00341 | $0.00341 |
| Sonnet 5.5 | $0.00171 | $0.00171 |
| Haiku 4.5 | $0.00085 | $0.00085 |
Grade A, and why
pn-mcp-proactive 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 1mo 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.
What it actually says
pn-core MCP: Proactive Skill Use
When pn-core MCP is available and the user's task clearly matches a pn skill or agent, use the MCP tools to load and follow that content.
Discovery: Use list_skills or list_agents when unsure which id applies. Unfiltered list_skills returns a category index (not the full description catalog). Use get_skill, get_agent, get_command, or get_rule to load full content. Call list_workflow_types when the user asks "what workflows are available?"
Session start: When pn-core MCP is available, call project_context (default mode: "agent") once at the start of a coding session to load the cold-session packet (context-index artifacts, resume line, attested drift, recent handoff/run-events trail, active_run, consistency). Read consistency before resuming: when ok is false, active_run.run_id is null by design. Name the run with run_id (and state_path) instead of trusting the default state file, and never treat drift: 0 as proof the run is current. Do not rely on Cursor sessionStart hook inject for this packet. On a tight context window pass max_tokens; the packet packs deterministically (trail first, settled artifacts next; drift, next_incomplete, active_run, and consistency never) and budget.steps says what was cut.
Harness-aware writes: pnCore runs on Cursor, Claude Code, Codex, and Pi. Before creating rules, skills, commands, or project-context files, call harness_detect and write only into the folders the detected harness reads (.cursor/, .claude/, .agents/skills + AGENTS.md, .pi/). Never create .cursor/ on a non-Cursor surface.
Quick map (high-traffic intents; full table: pn-core://reference/RUNBOOK.md):
| User intent | pn-core id |
|---|---|
Chat shortcodes scr / eli / foc / ref / scp |
get_skill("pn-response-aliases") |
| Today's date (changelog, "as of", copyright) | health → use calendarDateUtc / timestampUtc |
| Session start / resume / what is drifted | project_context (mode: "agent" default; operator for counts) |
| New project or feature, kickoff | get_command("pn-new") |
| Configure / onboard existing project | get_command("pn-setup") |
| Which harness, where project files go | harness_detect → pn-core://reference/harness-matrix.md |
| Full dev loop, multi-step feature | workflow_step("full_dev", 0, {}) |
| Review code quality | get_command("pn-review") |
| Plan before coding | pn-writing-plans |
| Design / UI build | get_command("pn-design") |
When the user names a skill (e.g. "use pn-discovery-questionnaire"), call get_skill immediately. For design with philosophy alignment, prefer get_command("pn-design").
Octocode: Preferred for prior-art and code archaeology. Use its tools for code search, LSP navigation, and GitHub research when available.
Companion MCPs: When present, combine with pn skills — Stripe MCP + pn-payment-integration; n8n MCP + pn-n8n-patterns; shadcn MCP for component install; Playwright MCP + pn-smoke-tests; unreal-mcp + pn-unreal-dev; blender MCP + pn-blender-scripting; godot MCP + pn-godot-dev.
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.
- 1mo ago Changed · +83 tokens per session 0db6c9d27c63
- 2mo ago Changed · +42 tokens per session a10b126ef732
- 2mo ago Changed · -21 lines · -548 tokens per session fe9fc1bcaf12
- 2mo ago Changed · +4 lines · +165 tokens per session 276dd62e42aa
- 3mo ago First seen · 53 lines · 1,111 tokens per session scan A e853f9435eca
pn-mcp-proactive is a cursor rule published in the GitHub repository perniemann/pnCore (0 stars, last pushed today), licensed MIT. It adds 853 tokens to every session, about $0.0034 per session on Opus 5.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.
pn-mcp-proactive compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pn-mcp-proactiveperniemann/pnCore | Cursor rule | 0 | today | MIT | A | 853 | Cursor |
| t-800-mandatory-routingKhar-AG/t-800-agent | Cursor rule | 8 | 3mo ago | MIT | A | 1,682 | Cursor |
| t-800-operator-routingKhar-AG/t-800-agent | Cursor rule | 8 | 3mo ago | MIT | A | 76 | Cursor |
| t-800-factory-routingKhar-AG/t-800-agent | Cursor rule | 8 | 3mo ago | MIT | A | 65 | Cursor |
| t-800-cloud-hub-routingKhar-AG/t-800-agent | Cursor rule | 8 | 3mo ago | MIT | A | 0 | Cursor |
| typescript-conventionsVirtusLab-Open-Source/strapi-plugin-mcp | Cursor rule | 3 | 9mo ago | MIT | A | 0 | Cursor |
| 1001-typescriptdavenicoll/cursor-rules | Cursor rule | 11 | 1y ago | none | A | 1,145 | Cursor |