Borrowing it
Nothing to install: this file belongs to sybrew/troy. 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/sybrew/troy/main/.cursor/skills/minify/SKILL.mdgit clone --depth 1 https://github.com/sybrew/troyWrote 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/sybrew/troy/minify)<a href="https://agentmods.dev/skills/sybrew/troy/minify"><img src="https://agentmods.dev/badge/skills/sybrew/troy/minify/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/sybrew/troy/minify"><img src="https://agentmods.dev/badge/skills/sybrew/troy/minify.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.00065 | $0.00601 |
| Opus 5.5 | $0.00026 | $0.00240 |
| Sonnet 5.5 | $0.00013 | $0.00120 |
| Haiku 4.5 | $0.00006 | $0.00060 |
Grade A, and why
minify 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 2d 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.
What it actually says
Minify Troy Server JS and CSS
Edit unminified sources only. Never write *.min.js or *.min.css by hand. Never search this repo for uglify, terser, or babel-minify. Do not create, edit, read, grep, search, or git diff *.min.js or *.min.css, including after minify exit code 0.
Permission
Read .local/minify/permission.txt with an explicit path before cloning engines. Grep/Glob cannot see .local/.
Never invent True or False. Never write this file unless the user has replied with both flags.
Format is always two lines (True or False per line, never guessed):
JS=True|False
CSS=True|False
- If the file does not exist, prompt. If you cannot prompt and no permissions exist, skip minification altogether and ask at the end of the chat.
- After the user replies with both flags, create the file from that reply. Always write both lines.
- If a flag is
False, do not prompt again, and do not clone or minify that type. - If a flag is
True, proceed. After a permitted import, keep that flagTrue.
The minify script reads this file. A missing file is a hard stop. A False flag skips that type even if the engine is already cloned.
Engines
Public source of truth:
- JS: https://github.com/theseoframework/babel-tsf →
.local/minify/babel-tsf - CSS: https://github.com/theseoframework/cleancss-tsf →
.local/minify/cleancss-tsf
If permission is True and run.js is missing, clone that repo and run npm install in it. Do not copy engines from elsewhere; clone the public repos above.
Override paths with BABEL_TSF_DIR and CLEANCSS_TSF_DIR only when the user sets them.
Command
From the repo root:
node .cursor/skills/minify/scripts/minify.js --js
node .cursor/skills/minify/scripts/minify.js --css
node .cursor/skills/minify/scripts/minify.js
--js and --css limit the run. No flags minifies both.
If the script exits non-zero, fix the failure. Do not hand-write min files as a fallback.
What ships with it
1 file 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.
- 2d ago First seen · 57 lines · 65 tokens per session scan A 596ef70c52e5
minify is a skill published in the GitHub repository sybrew/troy (55 stars, last pushed 14d ago), licensed MIT. It adds 65 tokens to every session and 601 once invoked, about $0.0003 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-26.
Other skills, from other repositories
bio-link-deployer
Create a Linktree-style bio link hub page as a single self-contained HTML file. Triggers on: "create a bio link page", "make a linktree", "link in bio page", "bio link", "link hub", "create my link page", "all my links on one page", "linktree alternative", "build a link page", "bio page for my affiliate links", "I…
wp-admin-codemirror
Embed WordPress's bundled CodeMirror editor in admin pages via wpenqueuecodeeditor() and wp.codeEditor.initialize(). Covers MIME / file mode selection for CSS, JS, JSON, HTML, PHP, SQL, Markdown, and YAML; the false return when user profile syntax highlighting is disabled; passing settings to JS; the bare textarea ID…
wp-plugin-assets-loading
Register and enqueue WordPress plugin scripts/styles with modern loading behavior, including WP 7.1 admin design-system assets, WP 7.0 classic-script module dependencies, script module translations, fetchpriority support, script module args, footer placement, inline style limits, and removal of legacy IE conditional…
block-theme-global-styles
Build and audit WordPress 7.1 block-theme Global Styles and theme.json. Covers schema version 3, responsive mobile/tablet viewport states, block and element pseudo-states, Navigation Link current-state styles, style variations, CSS generation, background gradients, minimum width, text shadow, block visibility…
classic-theme-assets-build
Build or audit frontend asset loading for classic PHP WordPress themes on WP 7.1. Covers wpenqueuescripts, child-theme-safe getthemefileuri() and getthemefilepath(), cache-busting with filemtime(), classic scripts and script modules, loading strategy/fetch priority, conditional enqueues, comment-reply, RTL style data…
wc-product-attribute-swatches
Build or audit WooCommerce product attribute swatch integrations around the experimental wc-visual attribute type. Covers feature gating, global pa attribute taxonomies, the WooCommerce 11 slug byte limit, color/image term meta, visual admin search results, Store API experimentalvisual / experimentalVisual, classic…