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-documentsgit 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-documents)<a href="https://agentmods.dev/skills/modsetter/surfsense/surfsense-documents"><img src="https://agentmods.dev/badge/skills/modsetter/surfsense/surfsense-documents/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-documents"><img src="https://agentmods.dev/badge/skills/modsetter/surfsense/surfsense-documents.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.00089 | $0.01786 |
| Opus 5.5 | $0.00036 | $0.00714 |
| Sonnet 5.5 | $0.00018 | $0.00357 |
| Haiku 4.5 | $0.00009 | $0.00179 |
Grade A, and why
surfsense-documents 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Documents, decks and workbooks
Make a file with surfsense_render_document: give it a title, a format (pdf, docx, pptx or xlsx) and a short Python script. SurfSense runs the script, keeps the file as a version in Studio and keeps the script beside it. Then look at every page the result shows before you go on. To change the file later you change the script and render it again, which makes the next version.
For a PDF, a Word document or a deck, write the script with the surfsense_docs helper: it lays out headings, text, lists, tables, images, charts and speaker notes, so the script stays short.
The files in this skill
| File | Read it |
|---|---|
workbooks.md |
Before you write any Excel workbook: numbers and formats, totals as formulas, native charts, and how to check one. |
by-hand.md |
Before a script that writes python-docx, ReportLab or python-pptx itself: the user's own Word or PowerPoint file as a template, a PowerPoint chart they can edit, the look of a source you can only see, or a layout the helper cannot make. |
A whole PDF with the helper
A Word document or a deck is the same script with another format.
from surfsense_docs import Doc
doc = Doc("Spring plan: Elm Road community garden", subtitle="For the garden committee")
doc.heading("What changes this spring")
doc.paragraph("The garden opens to members on **12 April**, two weeks earlier than last year.")
doc.bullets(["Members water their own plots", "Shared tools stay in the shed"])
doc.heading("Budget")
doc.table(["Item", "Cost (USD)"],
[["Raised beds", 1200], ["Soil and compost", 450], ["Hand tools", 300]],
total=["Total", 1950],
after=[["Water, each month", 40]])
doc.chart("bar", ["Raised beds", "Soil and compost", "Hand tools"], [1200, 450, 300],
title="Where the money goes", ylabel="USD")
doc.save()
Doc(title, subtitle=None, letter=False), then its parts in reading order, thensave(). Pages are A4;letter=Truemakes US Letter pages, for a reader in the US or Canada or when the user asks for Letter.heading(text, level=1),paragraph(text),bullets(items),numbered(items).**bold**and*italic*work inside any text.table(header, rows, total=None, bold_total=False, after=None). Put numbers in as numbers.totalis the total row as you write it: add up only the rows it covers. A row that is not part of the total, such as a monthly fee below one-off costs, goes inafter, below it.bold_total=Truesets the total row in bold.total="Total"instead adds a row that sums every number column ofrows: use it only when each of those columns is an amount to add up.image(name, width_cm=None, caption=None)places a picture by the namesurfsense_list_imagesorsurfsense_make_imagegave; list every name you use in the call'simages.chart(kind, labels, values, title=None, ylabel=None)draws a"bar","line"or"pie"chart.notes(text)is what the presenter says, in the speaker notes of the slide it falls on; a PDF or a Word document leaves it out.page_break()starts a new page, or a new slide under the same heading.- In a deck each
headingstarts a slide: keep each slide to a few bullets, a table or a chart.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 · -272 lines · +9 tokens per session 10a4240d9e06
- 1mo ago First seen · 346 lines · 80 tokens per session scan A ba5fc705dfee
surfsense-documents is a skill published in the GitHub repository MODSetter/SurfSense (17,247 stars, last pushed 3d ago), licensed Apache-2.0. It adds 89 tokens to every session and 1,786 once invoked, about $0.0004 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-10-10.
surfsense-documents compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| surfsense-documentsMODSetter/SurfSense | Skill | 17k | 3d ago | Apache-2.0 | A | 89 | Claude Code, Codex |
| xberg-extracting-tablesxberg-io/xberg | Skill | 9.6k | today | MIT | A | 36 | Claude Code |
| smart-data-collectionUnicomAI/wanwu | Skill | 2.4k | 5d ago | Apache-2.0 | A | 115 | Claude Code |
| standardize-health-datathetahealth/mirobody | Skill | 1.9k | 3d ago | Apache-2.0 | A | 133 | Claude Code |
| convert-documents-to-markdownkortix-ai/suna | Skill | 21k | yesterday | none | A | 86 | Claude Code, Codex |
| coff0xc-office-doc-toolsCoff0xc/coffee-skill | Skill | 18 | 14d ago | none | A | 77 | Claude Code, Codex |
| markitdownK-Dense-AI/scientific-agent-skills | Skill | 59k | 7d ago | MIT | A | 62 | Claude Code, Codex |