researchforge-autorun

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

A rule set for repeatedly improving a code repository through research, experiments, benchmarks, and recorded results. It chooses which research node and hypothesis should be considered next.

In plain words
What is it for?
Use it to guide autonomous or assisted repository optimization across multiple experiment rounds.
Why use it?
It keeps long-running research from losing track of earlier attempts, remaining budget, or unproductive branches.

Cursor rule for Cursor

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

Good fit Use it to guide autonomous or assisted repository optimization across multiple experiment rounds.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/forger-labs-hq/researchforge/researchforge-autorun"><img src="https://agentmods.dev/badge/rules/forger-labs-hq/researchforge/researchforge-autorun.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 987 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.00987
Opus 5 $0.00000 $0.00494
Sonnet 5 $0.00000 $0.00197
Haiku 4.5 $0.00000 $0.00099

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

Security

Grade A, and why

researchforge-autorun 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 8d 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-autorun.mdc · 107 lines

How it starts

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

Drive the research loop

researchforge autorun runs this loop by itself when an API key is configured. Without one, you are the intelligence and the engine is still the lab: it chooses where to search, validates what you write, runs the benchmark, and records the result. Your job is the one part it cannot do without a provider — writing the plan and the patches.

Never guess at the next move. The engine's search knows things a results table does not show: which ideas were already tried at which node, what is in each node's ancestry, and how much budget is left.

1. Ask where to go next

researchforge autorun --dry-run --json

This spends nothing — no AI call, no experiment runs. It returns the node the loop would expand, the hypotheses it would try there in ranked order, and the exact command to take that step:

  • node — the experiment to build on, or null for the baseline;
  • hypotheses — ranked, best candidate first;
  • command — run this next;
  • retreat: true — the only moves left are on branches that gained nothing. Tell the user: this measures an idea without the gains already banked, which is an ablation rather than progress;
  • needs_resynthesis: true — every hypothesis has been tried everywhere it can apply. Go to step 5.

2. Plan at that node

Run the command from step 1. With a parent it looks like:

researchforge experiment plan hyp-002 --parent exp-008 --json

The exported context's repository section shows the files as exp-008 leaves them, and applied lists the experiments already baked into what you are reading. Write the change against those contents: do not re-apply the parent's change, and do not expect the baseline's values.

Then follow the researchforge-plan skill to write plan.yaml and the patches. Set parent: exp-008 on every entry — on this path nothing sets it for you, and a patch written against the parent but imported without it will be applied to the baseline and fail.

Read the full file on GitHub · 107 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. 8d ago First seen · 107 lines · 0 tokens per session scan A 3b1f3b1755c9

Subscribe to this mod's changes

researchforge-autorun is a cursor rule published in the GitHub repository forger-labs-hq/researchforge (8 stars, last pushed 10d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 987 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-09-04.

Related

Other cursor rules, from other repositories