SurfSense: Skill for Codex

.agents/skills/frontend-workflow/SKILL.md

frontend-workflow is a skill for Codex from MODSetter/SurfSense. It costs 143 tokens per session (1,354 once invoked), scanned A, original, Apache-2.0.

A coordinated workflow for frontend and user-interface implementation, refactoring, and review. It brings together guidance for React, shadcn/ui, interface polish, performance, and animation.

In plain words
What is it for?
It is for building, improving, and reviewing React-based interfaces and their styling and animations.
Why use it?
It gives frontend tasks a consistent process instead of handling implementation and review guidance separately.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

This is MODSetter/SurfSense's own configuration. It tells Codex how to work on SurfSense 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 SurfSense configures →

About the project

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.

MODSetter/SurfSense · 16,789 stars · on GitHub · surfsense.com

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/MODSetter/SurfSense/main/.agents/skills/frontend-workflow/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/MODSetter/SurfSense

Made for: Codex.

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 frontend-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/modsetter/surfsense/frontend-workflow/github.svg)](https://agentmods.dev/skills/modsetter/surfsense/frontend-workflow)
Your own site
<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.

agentmods 80×15 button for frontend-workflow

Your own site · 80×15
<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>
Per session 143 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,354 The whole file, excluding the scripts and references it only reads on demand.
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.00143 $0.01354
Opus 5.5 $0.00057 $0.00542
Sonnet 5.5 $0.00029 $0.00271
Haiku 4.5 $0.00014 $0.00135

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

Security

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.

.agents/skills/frontend-workflow/SKILL.md · 112 lines

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.md is the same rules compiled into one document — do not load it by default.
  • polish/ splits into typography.md, surfaces.md, animations.md, icons.md, performance.md.
  • ../shadcn/rules/ splits by concern; ../shadcn/cli.md, registry.md, customization.md cover tooling and theming.
  • color/PALETTE.css is 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.

Read the full file on GitHub · 112 lines

Files

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.

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. 11d ago Changed · -3 tokens per session 32f377706942
  2. 1mo ago Changed · +1 lines 18aa96e9b75b
  3. 1mo ago Changed · +12 lines · +92 tokens per session 4d81689b1bf9
  4. 1mo ago First seen · 99 lines · 54 tokens per session scan A b448b486c429

Subscribe to this mod's changes

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.

Related

frontend-workflow compared with skills from other repositories

frontend-workflow next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
frontend-workflowMODSetter/SurfSenseSkill17ktodayApache-2.0A143Codex
web-design-engineerConardLi/garden-skillsSkill14k12d agoMITA96Codex
agentos-ui-uxSapienXai/AgentOSSkill1296d agoMITA62Codex
artifacts-builderonurkanbakirci/awesome-skillsSkill1410mo agononeA63Claude Code, Codex
frontend-ui-dark-tsmicrosoft/skillsSkill3.2kyesterdayMITA48Claude Code
web-animation-designvercel-labs/open-agentsSkill5.9k2mo agoMITA177Claude Code, Codex
component-searchyonatangross/orchestkitSkill299yesterdayMITA34Claude Code