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.
Borrowing it
Nothing to install: this file belongs to MODSetter/SurfSense. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/MODSetter/SurfSense/main/.agents/skills/frontend-workflow/SKILL.mdgit 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/frontend-workflow)<a href="https://agentmods.dev/skills/modsetter/surfsense/frontend-workflow"><img src="https://agentmods.dev/badge/skills/modsetter/surfsense/frontend-workflow/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/frontend-workflow"><img src="https://agentmods.dev/badge/skills/modsetter/surfsense/frontend-workflow.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.00143 | $0.01354 |
| Opus 5.5 | $0.00057 | $0.00542 |
| Sonnet 5.5 | $0.00029 | $0.00271 |
| Haiku 4.5 | $0.00014 | $0.00135 |
Grade A, and why
frontend-workflow 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 11d 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 — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Frontend Workflow
Single entry point for frontend work in www and
surfsense_local/frontend. Both are React + Tailwind + shadcn/ui with their own
components.json. Detect which tree the task touches, and treat that tree's
package.json, components.json, and styling setup as authoritative. All
guidance lives in this skill's own folders; load only what the task touches.
Reference Map
| Read this | When |
|---|---|
| react-performance/SKILL.md | React or Next.js code — components, pages, data fetching, bundles, re-renders |
| ../shadcn/SKILL.md | shadcn/ui components, or any project with components.json. Separate skill — it inspects the project live and grants its own CLI. |
| base-ui.md | Components in surfsense_local/frontend — composition, menus, dialogs, tooltips, tabs, and testing them on Base UI |
| color/SKILL.md | Colors, themes, charts, design tokens, borders, shadows |
| polish/SKILL.md | Typography, surfaces, icons, micro-interactions, enter/exit transitions |
| motion/apple-design.md | Gesture-driven or physical motion — drag, swipe, sheets, springs, momentum, interruptible transitions, translucent materials |
Each entry is an index. Open its supporting files only when the touched code needs them:
react-performance/rules/holds one file per rule. Load the applicable ones.react-performance/rules-compiled.mdis the same rules compiled into one document — do not load it by default.polish/splits intotypography.md,surfaces.md,animations.md,icons.md,performance.md.../shadcn/rules/splits by concern;../shadcn/cli.md,registry.md,customization.mdcover tooling and theming.color/PALETTE.cssis the canonical palette contract.
Do not load motion references for work with no motion concern. Apple-style motion is for gesture, physics, and material work; a hover state or a color change does not need it.
What ships with it
60 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.
- base-ui.md 4.1 KB
- color/PALETTE.css 4.5 KB
- color/SKILL.md 4.0 KB
- motion/apple-design.md 22 KB
- polish/agents/openai.yaml 130 B
- polish/animations.md 12 KB
- polish/icons.md 2.2 KB
- polish/performance.md 3.0 KB
- polish/SKILL.md 12 KB
- polish/surfaces.md 7.1 KB
- polish/typography.md 4.6 KB
- react-performance/rules-compiled.md 106 KB
- react-performance/rules/_sections.md 1.5 KB
- react-performance/rules/_template.md 631 B
- react-performance/rules/advanced-effect-event-deps.md 1.8 KB
- react-performance/rules/advanced-event-handler-refs.md 1.4 KB
- react-performance/rules/advanced-init-once.md 958 B
- react-performance/rules/advanced-use-latest.md 1.0 KB
- react-performance/rules/async-api-routes.md 1.1 KB
- react-performance/rules/async-cheap-condition-before-await.md 1.2 KB
- react-performance/rules/async-defer-await.md 2.2 KB
- react-performance/rules/async-dependencies.md 1.3 KB
- react-performance/rules/async-parallel.md 654 B
- react-performance/rules/async-suspense-boundaries.md 2.5 KB
- react-performance/rules/bundle-analyzable-paths.md 2.3 KB
- react-performance/rules/bundle-barrel-imports.md 2.7 KB
- react-performance/rules/bundle-conditional.md 949 B
- react-performance/rules/bundle-defer-third-party.md 920 B
- react-performance/rules/bundle-dynamic-imports.md 791 B
- react-performance/rules/bundle-preload.md 1.1 KB
- react-performance/rules/client-event-listeners.md 1.9 KB
- react-performance/rules/client-localstorage-schema.md 1.9 KB
- react-performance/rules/client-passive-event-listeners.md 1.6 KB
- react-performance/rules/client-swr-dedup.md 1.1 KB
- react-performance/rules/js-batch-dom-css.md 3.2 KB
- react-performance/rules/js-cache-function-results.md 1.9 KB
- react-performance/rules/js-cache-property-access.md 532 B
- react-performance/rules/js-cache-storage.md 1.6 KB
- react-performance/rules/js-combine-iterations.md 753 B
- react-performance/rules/js-early-exit.md 1.1 KB
- react-performance/rules/js-flatmap-filter.md 1.4 KB
- react-performance/rules/js-hoist-regexp.md 1.0 KB
- react-performance/rules/js-index-maps.md 837 B
- react-performance/rules/js-length-check-first.md 1.7 KB
- react-performance/rules/js-min-max-loop.md 2.2 KB
- react-performance/rules/js-request-idle-callback.md 2.6 KB
- react-performance/rules/js-set-map-lookups.md 532 B
- react-performance/rules/js-tosorted-immutable.md 1.7 KB
- react-performance/rules/rendering-activity.md 564 B
- react-performance/rules/rendering-animate-svg-wrapper.md 1.2 KB
- react-performance/rules/rendering-conditional-render.md 980 B
- react-performance/rules/rendering-content-visibility.md 815 B
- react-performance/rules/rendering-hoist-jsx.md 1.0 KB
- react-performance/rules/rendering-hydration-no-flicker.md 2.3 KB
- react-performance/rules/rendering-hydration-suppress-warning.md 872 B
- react-performance/rules/rendering-resource-hints.md 2.5 KB
- react-performance/rules/rendering-script-defer-async.md 1.8 KB
- react-performance/rules/rendering-svg-precision.md 588 B
- react-performance/rules/rendering-usetransition-loading.md 2.0 KB
- react-performance/rules/rerender-defer-reads.md 973 B
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.
- 11d ago Changed · -3 tokens per session 32f377706942
- 1mo ago Changed · +1 lines 18aa96e9b75b
- 1mo ago Changed · +12 lines · +92 tokens per session 4d81689b1bf9
- 1mo ago First seen · 99 lines · 54 tokens per session scan A b448b486c429
frontend-workflow is a skill published in the GitHub repository MODSetter/SurfSense (16,789 stars, last pushed today), licensed Apache-2.0. It adds 143 tokens to every session and 1,354 once invoked, 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-13.
frontend-workflow compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| frontend-workflowMODSetter/SurfSense | Skill | 17k | today | Apache-2.0 | A | 143 | Codex |
| web-design-engineerConardLi/garden-skills | Skill | 14k | 12d ago | MIT | A | 96 | Codex |
| agentos-ui-uxSapienXai/AgentOS | Skill | 129 | 6d ago | MIT | A | 62 | Codex |
| artifacts-builderonurkanbakirci/awesome-skills | Skill | 14 | 10mo ago | none | A | 63 | Claude Code, Codex |
| frontend-ui-dark-tsmicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 48 | Claude Code |
| web-animation-designvercel-labs/open-agents | Skill | 5.9k | 2mo ago | MIT | A | 177 | Claude Code, Codex |
| component-searchyonatangross/orchestkit | Skill | 299 | yesterday | MIT | A | 34 | Claude Code |