scholaraio: Cursor rule for Windsurf

.windsurfrules

windsurfrules is a cursor rule for Windsurf from ZimoLiao/scholaraio. It costs 159 tokens per session, scanned A, original, MIT.

A small Windsurf rule that tells the coding agent to read the repository's AGENTS.md file before doing work. It also points to the project's main guides, command-line entry point, skills, output directory, and test command.

In plain words
What is it for?
Use it at the start of tasks in the ScholarAIO repository so the agent follows the project's instructions, writes user output to the workspace, and runs the documented Python tests.
Why use it?
It keeps shared project instructions in one source instead of duplicating them in the rule. This helps the agent use the repository's expected locations and test process.

Cursor rule for Windsurf

Written for Windsurf: a Windsurf rule. Also seen: reads .claude/ paths; mentions AGENTS.md.

This is ZimoLiao/scholaraio's own configuration. It tells Windsurf how to work on scholaraio itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything scholaraio configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ZimoLiao/scholaraio. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ZimoLiao/scholaraio/main/.windsurfrules
Clone the repo
git clone --depth 1 https://github.com/ZimoLiao/scholaraio

Made for: Windsurf.

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 windsurfrules

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/zimoliao/scholaraio/windsurfrules"><img src="https://agentmods.dev/badge/rules/zimoliao/scholaraio/windsurfrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 159 This file is loaded in full into every session.
When invoked 159 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.00159 $0.00159
Opus 5.5 $0.00064 $0.00064
Sonnet 5.5 $0.00032 $0.00032
Haiku 4.5 $0.00016 $0.00016

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

Security

Grade A, and why

windsurfrules 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.

.windsurfrules · 14 lines

What it actually says

ScholarAIO — Windsurf Rules

This wrapper is intentionally light. Full shared project instructions are in AGENTS.md at the repository root. Read AGENTS.md before proceeding with any task.

Quick Reference

  • Shared entry doc: AGENTS.md
  • Deep reference: docs/guide/agent-reference.md
  • CLI entry point: scholaraio --help
  • Skills: .claude/skills/*/SKILL.md
  • Fresh runtime defaults: data/libraries/, data/spool/, workspace/
  • User output: write to workspace/, not the repo root or scholaraio/
  • Tests: python -m pytest -q -p no:cacheprovider
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. 1mo ago First seen · 14 lines · 159 tokens per session scan A 1c4fd7d74442

Subscribe to this mod's changes

windsurfrules is a cursor rule published in the GitHub repository ZimoLiao/scholaraio (584 stars, last pushed 10d ago), licensed MIT. It adds 159 tokens to every session, about $0.0006 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-09-21.

Related

windsurfrules compared with cursor rules from other repositories

windsurfrules next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
windsurfrulesZimoLiao/scholaraioCursor rule58410d agoMITA159Windsurf
git-workflowgrafana/grafana-cube-datasourceCursor rule20todayAGPL-3.0A616Cursor
feedback-enhancedMr-chen-05/rules-2.1-optimizedCursor rule17212mo agoMITA2,968Cursor
kiss-ponytailkellerza/hass-addonsCursor rule9yesterdayApache-2.0A599Cursor
122-swift-developmentn0rvyn/cursor-rulesCursor rule211mo agononeA0Cursor
ponytailDietrichGebert/ponytailCursor rule185k8d agoMITA604Cursor
angular-20angular/angularCursor rule101kyesterdayMITA0Cursor