core

core is a cursor rule for Cursor from paladini/harness-score. It costs 336 tokens per session, scanned A, original, MIT.

A set of mandatory project rules for the harness-score monorepo, a repository containing several related packages and documentation.

In plain words
What is it for?
Use it when changing scanner checks, guide documentation, check IDs, package dependencies, or scoring behavior.
Why use it?
It prevents changes from breaking deterministic scanning, public check identifiers, dependency limits, documentation translations, or the required score.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when changing scanner checks, guide documentation, check IDs, package dependencies, or scoring behavior.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/paladini/harness-score/core
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/paladini/harness-score

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 core

README.md
[![agentmods](https://agentmods.dev/badge/rules/paladini/harness-score/core/github.svg)](https://agentmods.dev/rules/paladini/harness-score/core)
Your own site
<a href="https://agentmods.dev/rules/paladini/harness-score/core"><img src="https://agentmods.dev/badge/rules/paladini/harness-score/core/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 core

Your own site · 80×15
<a href="https://agentmods.dev/rules/paladini/harness-score/core"><img src="https://agentmods.dev/badge/rules/paladini/harness-score/core.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 336 This file is loaded in full into every session.
When invoked 336 The same file — it is already loaded in full.
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.00336 $0.00336
Opus 5.5 $0.00134 $0.00134
Sonnet 5.5 $0.00067 $0.00067
Haiku 4.5 $0.00034 $0.00034

Measured 18d ago against content hash 597519f98680, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

core 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 18d 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/core.mdc · 25 lines

What it actually says

  • The scanner is deterministic by contract: no model calls, no network, no time-dependent output. If a proposed check needs judgment, it does not belong in the CLI — it belongs in the guide as advice.
  • packages/cli has zero runtime dependencies. Do not add one.
  • Check changes touch three files together: packages/cli/src/score.ts, docs/guide/maturity-model.md, docs/guide/measure-and-improve.md — enforced in CI by docs.test.ts and maturity-sync.test.ts.
  • Guide edits must keep all five locales in sync — see .cursor/rules/docs-i18n-parity.mdc and docs.test.ts (file set + anchor parity).
  • Check IDs are stable public API (they are documentation anchors and appear in users' CI logs). Never renumber, reuse, or delete an ID — deprecate by making the check always-pass if truly needed.
  • This repository must keep scoring L4 on npm run scan.
  • External PRs: push fixes to the contributor PR head branch, not local main ahead of origin/main.
  • English on GitHub: PR/issue comments and review bodies on paladini/harness-score are English only (changesets/release notes too, unless the user explicitly asks for another language). Do not post maintainer review feedback in Portuguese or other locales on public threads.
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. 18d ago Changed · +6 lines · +91 tokens per session 597519f98680
  2. 1mo ago First seen · 19 lines · 245 tokens per session scan A 7f0939d8b912

Subscribe to this mod's changes

core is a cursor rule published in the GitHub repository paladini/harness-score (552 stars, last pushed 3d ago), licensed MIT. It adds 336 tokens to every session, about $0.0013 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-30.