SurfSense is an open-source desktop application that uses an AI agent to research, transform, and edit documents while keeping their index on the user's machine. It is intended for people working with documents they cannot upload, with a choice of local or remote models and no account required.
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.
npx skills add MODSetter/SurfSense --skill surfsense-revisionsgit clone --depth 1 https://github.com/MODSetter/SurfSenseWrote 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/skills/modsetter/surfsense/surfsense-revisions)<a href="https://agentmods.dev/skills/modsetter/surfsense/surfsense-revisions"><img src="https://agentmods.dev/badge/skills/modsetter/surfsense/surfsense-revisions/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/skills/modsetter/surfsense/surfsense-revisions"><img src="https://agentmods.dev/badge/skills/modsetter/surfsense/surfsense-revisions.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.00083 | $0.01623 |
| Opus 5.5 | $0.00033 | $0.00649 |
| Sonnet 5.5 | $0.00017 | $0.00325 |
| Haiku 4.5 | $0.00008 | $0.00162 |
Grade B, and why
surfsense-revisions scanned grade B with 1 finding 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 5d 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.
Subtle steeringmediumPrompt injection
Instructions that bias recommendations or shape behaviour without the user noticing.
Every Word edit is a tracked change (shown underlined when inserted, struck through when deleted) that the user accepts or rejects in Studio or in Word. There is no way to edit without tracking, so never tell the user a How it starts
The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Revising the user's own files
surfsense_revise_document edits a copy of a source file the user selected. Their file is never changed: the first call makes version 1 of a new revised copy in Studio, and each later call on that copy makes its next version. The user reviews it there and downloads it "With changes" or "Clean".
Revise, or make a new document?
- Revise when the user wants their file back changed: "fix the dates in this contract", "redline clause 7", "comment on the risks", "update the Q3 numbers in my workbook", "change the title on slide 1". Their layout, styles, headers, charts and everything you do not touch stay exactly as they were.
- Make a new document with
surfsense_render_document(load surfsense-documents) when the user wants something that does not exist yet: a summary, a report from several sources, a fresh deck. Also when the change is so large that almost nothing of the original survives. - Run a job when one is installed for the request and its skill is listed: a contract reviewed against the firm's playbook, or a security questionnaire filled in from its policies. Load that job's skill instead; it checks every change or answer against the firm's documents. Edits the user directs themselves stay here.
- When unsure, ask the user which they want.
Before you edit
- Read the file's text first (
readon its file insources/, orsurfsense_read_document), so every quote you send is copied from what is really there. For a workbook, read its cells withsurfsense_read_documentwith itsdocument_id(or the revised copy'sartifact_id): it lists each sheet's name and used range, then every cell's address and value or formula. The text insources/has no sheet names, cell addresses or formulas, so never guess them from it. To read a revised copy again, callsurfsense_read_documentwith itsartifact_id: a Word copy comes back with every author's tracked changes marked inline and its comments listed with the text each is on, a deck as each slide's text. - Give
document_id(the number at the end of the source's file name) for the first edit. The result names the revised copy'sartifact_id; every later edit of the same file usesartifact_idinstead, so the changes build on one copy. - Send all the edits for one request in one call, in reading order. All of them apply or none do.
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.
- 5d ago Changed · +1 lines 78d84c720292
- 1mo ago First seen · 69 lines · 83 tokens per session scan B 3e59b609d969
surfsense-revisions is a skill published in the GitHub repository MODSetter/SurfSense (17,247 stars, last pushed 3d ago), licensed Apache-2.0. It adds 83 tokens to every session and 1,623 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (subtle steering). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-10.
surfsense-revisions compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| surfsense-revisionsMODSetter/SurfSense | Skill | 17k | 3d ago | Apache-2.0 | B | 83 | Claude Code, Codex |
| rag-prepsanic732/P2P-4PDA-edition | Skill | 17 | 3mo ago | MIT | A | 168 | Claude Code |
| markitdownK-Dense-AI/scientific-agent-skills | Skill | 59k | 7d ago | MIT | A | 62 | Claude Code, Codex |
| docxHKUDS/DeepTutor | Skill | 64k | yesterday | Apache-2.0 | A | 91 | Claude Code, Codex |
| xlsxHKUDS/DeepTutor | Skill | 64k | yesterday | Apache-2.0 | A | 88 | Claude Code, Codex |
| xberg-extracting-tablesxberg-io/xberg | Skill | 9.6k | today | MIT | A | 36 | Claude Code |
| format-specific-extractionxberg-io/xberg | Skill | 9.6k | today | MIT | A | 15 | Claude Code |