researchforge-plan

researchforge-plan is a cursor rule for Cursor from forger-labs-hq/researchforge. It costs 0 tokens per session (709 once invoked), scanned A, original, Apache-2.0.

An experiment-planning rule for ResearchForge, a tool that tests repository changes against a defined hypothesis and benchmark. It creates a plan and patches that the tool can validate before running.

In plain words
What is it for?
Designing experiment variants, writing approved code patches, and preparing plans for validation and execution.
Why use it?
It keeps each experiment tied to one hypothesis and prevents changes to protected files such as benchmarks or evaluation code.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Designing experiment variants, writing approved code patches, and preparing plans for validation and execution.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/forger-labs-hq/researchforge/researchforge-plan
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.

Clone the repo
git clone --depth 1 https://github.com/forger-labs-hq/researchforge

Made for: 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 researchforge-plan

README.md
[![agentmods](https://agentmods.dev/badge/rules/forger-labs-hq/researchforge/researchforge-plan/github.svg)](https://agentmods.dev/rules/forger-labs-hq/researchforge/researchforge-plan)
Your own site
<a href="https://agentmods.dev/rules/forger-labs-hq/researchforge/researchforge-plan"><img src="https://agentmods.dev/badge/rules/forger-labs-hq/researchforge/researchforge-plan/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 researchforge-plan

Your own site · 80×15
<a href="https://agentmods.dev/rules/forger-labs-hq/researchforge/researchforge-plan"><img src="https://agentmods.dev/badge/rules/forger-labs-hq/researchforge/researchforge-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 709 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.00000 $0.00709
Opus 5.5 $0.00000 $0.00284
Sonnet 5.5 $0.00000 $0.00142
Haiku 4.5 $0.00000 $0.00071

Measured 3mo ago against content hash 10f7bb5ae2c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

researchforge-plan 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 3mo 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.

src/researchforge/cursor/rules/researchforge-plan.mdc · 78 lines

How it starts

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

Plan experiments

You author the plan and patches; the engine validates every layer before anything can run. One plan targets one hypothesis.

1. Export planning context

researchforge experiment plan <hypothesis-id> --json

This writes .researchforge/experiments/context.json: the hypothesis, the approved contract (metric, constraints, editable and protected paths, limits), baseline metrics, repository scan, and the embedded schema for the plan file. Read it fully before writing anything.

2. Write the plan and patches

  • .researchforge/experiments/plan.yaml conforming to the embedded schema: hypothesis_id, approach_summary, and one entry per experiment (key, title, change_summary, patch_file).
  • One unified diff per variant under .researchforge/experiments/patches/, applying cleanly to the frozen baseline commit.

Hard constraints the engine enforces (do not fight them):

  • patches may only touch permissions.editable_paths; a patch touching a protected path is recorded as rejected at import and will never run — never edit benchmarks, evaluation code, or .researchforge/ to make a metric look better;
  • changed files are extracted by git from the patch itself, never from your description;
  • keep variants small and single-idea: the funnel measures one change at a time;
  • to BUILD ON a prior result, set parent: on an entry (another key in this plan or an exp-NNN from the context's prior_experiments) — the parent's patch chain is applied first and your diff must be written against that combined state. A branched child's improvement is still measured against the baseline; report its increment over the parent separately and honestly.

3. Import (engine validates, six layers)

researchforge experiment import .researchforge/experiments/plan.yaml --json

On failure, the --json payload lists exactly what to fix (schema fields, unknown hypothesis, patch that does not apply, protected-path violations). Fix the plan or patch files and re-import.

Read the full file on GitHub · 78 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. 3mo ago First seen · 78 lines · 0 tokens per session scan A 10f7bb5ae2c4

Subscribe to this mod's changes

researchforge-plan is a cursor rule published in the GitHub repository forger-labs-hq/researchforge (12 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 709 tokens. 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.

Related

researchforge-plan compared with cursor rules from other repositories

researchforge-plan next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
researchforge-planforger-labs-hq/researchforgeCursor rule12todayApache-2.0A0Cursor
executing-red-team-engagement-planninggalyarderlabs/galyarder-frameworkCursor rule3011d agoMITA34Cursor
archcore-filesarchcore-ai/pluginCursor rule582mo agoApache-2.0A0Cursor
growth-engineergalyarderlabs/galyarder-frameworkCursor rule3011d agoMITA46Cursor
ponytailDietrichGebert/ponytailCursor rule202k9d agoMITA604Cursor
angular-20angular/angularCursor rule102ktodayMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor