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 juspay/xyne-spaces --skill brand-extractiongit clone --depth 1 https://github.com/juspay/xyne-spacesWrote 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/juspay/xyne-spaces/brand-extraction)<a href="https://agentmods.dev/skills/juspay/xyne-spaces/brand-extraction"><img src="https://agentmods.dev/badge/skills/juspay/xyne-spaces/brand-extraction/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/juspay/xyne-spaces/brand-extraction"><img src="https://agentmods.dev/badge/skills/juspay/xyne-spaces/brand-extraction.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.00044 | $0.01521 |
| Opus 5.5 | $0.00018 | $0.00608 |
| Sonnet 5.5 | $0.00009 | $0.00304 |
| Haiku 4.5 | $0.00004 | $0.00152 |
Grade B, and why
brand-extraction 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 1mo 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.
Instruction-override phrasingmediumPrompt injection
Text telling the model to disregard its earlier instructions or safety rules is the shape of a prompt injection, whoever wrote it.
*you* what to do ("ignore previous instructions", "you are now…", "always Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Brand extraction
Produce a design system from a source someone already has. You are reading an existing brand, not designing one. Measure what is there; never improve it.
Deliver exactly three files, plus assets:
| File | Purpose |
|---|---|
DESIGN.md |
The prose contract. Injected verbatim into later /design runs. |
tokens.css |
Custom properties under :root. |
brand.json |
Structured summary. Renders the review card. |
Assets: logo.*, favicon.*, screenshot-desktop.png, screenshot-mobile.png.
From a URL
Measure computed styles. Do not read colours off a screenshot — anti-aliasing and image compression shift them, and a hex that is one digit out produces a system that looks subtly wrong everywhere it is used.
-
sandbox-pw-navigateto the URL.sandbox-pw-wait-forthe page to settle so webfonts have swapped — reading before that yields the fallback stack. -
sandbox-pw-evaluateto walk the rendered DOM and tally real values:// Count every colour actually painted, with the element it came from. const tally = new Map(); const bump = (map, key, el) => { const e = map.get(key) ?? { n: 0, tags: new Set() }; e.n += 1; e.tags.add(el.tagName.toLowerCase()); map.set(key, e); }; for (const el of document.querySelectorAll('body *')) { const cs = getComputedStyle(el); const rect = el.getBoundingClientRect(); if (!rect.width || !rect.height) continue; // skip hidden nodes bump(tally, `color|${cs.color}`, el); if (cs.backgroundColor !== 'rgba(0, 0, 0, 0)') bump(tally, `bg|${cs.backgroundColor}`, el); if (cs.borderTopWidth !== '0px') bump(tally, `border|${cs.borderTopColor}`, el); }Gather the same way:
fontFamily,fontSize,fontWeight,lineHeight,letterSpacing,borderRadius,boxShadow, and the margin/padding values that repeat. -
Skip invisible nodes (zero-area,
display:none,visibility:hidden) — they carry inherited defaults that are not part of the brand and will otherwise dominate the tally. -
Assign roles from usage, not from appearance:
background— the colour behind the largest painted areatext— thecolorof the most body copyprimary— the colour of primary buttons and linksborder,surface,muted— as measured Leave a role out rather than guessing it.
-
Derive the type scale from headings actually present (
h1…h6) plus body. Record measured px, not a theoretical ratio. -
Capture the logo (
header img,[class*=logo], or an inlinesvgin the header) and the favicon fromlink[rel~=icon]. Capturescreenshot-desktop.pngat 1440px wide andscreenshot-mobile.pngat 390px. -
Follow redirects and record the URL you actually landed on in
sourceUrl.
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.
- 1mo ago First seen · 127 lines · 44 tokens per session scan B 1be88c5c8396
brand-extraction is a skill published in the GitHub repository juspay/xyne-spaces (836 stars, last pushed yesterday), licensed Apache-2.0. It adds 44 tokens to every session and 1,521 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (instruction-override phrasing). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-23.
brand-extraction compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| brand-extractionjuspay/xyne-spaces | Skill | 836 | yesterday | Apache-2.0 | B | 44 | Claude Code, Codex |
| omh-accessibility-auditrlaope/oh-my-hermes | Skill | 6.2k | today | MIT | A | 20 | Claude Code |
| omh-apple-designrlaope/oh-my-hermes | Skill | 6.2k | today | MIT | A | 21 | Claude Code |
| conversational-uxOwl-Listener/designer-skills | Skill | 3.6k | yesterday | MIT | A | 43 | Claude Code, Codex |
| platform-conventionsOwl-Listener/designer-skills | Skill | 3.6k | yesterday | MIT | A | 55 | Claude Code, Codex |
| design-negotiationOwl-Listener/designer-skills | Skill | 3.6k | yesterday | MIT | A | 48 | Claude Code, Codex |
| form-designOwl-Listener/designer-skills | Skill | 3.6k | yesterday | MIT | A | 51 | Claude Code, Codex |