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 rojim666/SztuCode --skill shared-stylesgit clone --depth 1 https://github.com/rojim666/SztuCodeWrote 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/rojim666/sztucode/shared-styles)<a href="https://agentmods.dev/skills/rojim666/sztucode/shared-styles"><img src="https://agentmods.dev/badge/skills/rojim666/sztucode/shared-styles/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/rojim666/sztucode/shared-styles"><img src="https://agentmods.dev/badge/skills/rojim666/sztucode/shared-styles.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.00038 | $0.00443 |
| Opus 5.5 | $0.00015 | $0.00177 |
| Sonnet 5.5 | $0.00008 | $0.00089 |
| Haiku 4.5 | $0.00004 | $0.00044 |
Grade A, and why
shared-styles 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 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.
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
Working with Shared Styles
Bind reusable shared styles (text / fill / stroke / effect) to nodes by GUID. The <StyleId> is the style nodeId.
| Location | template |
|---|---|
| Local | xxxStyleId:<StyleId> |
| Team library | xxxStyleId:<StyleId>, libraryKey:<LibraryKey> |
title=I(parent, {type: "text", content: "Heading", textStyleId: "<StyleId>"})
card=I(parent, {type: "frame", fillStyleId: "<StyleId>"})
card=U("nodeId", {strokeStyleId: "<StyleId>"})
card=U("nodeId", {effectStyleId: "<StyleId>"})
libraryCard=I(parent, {type: "frame", fillStyleId: "366:20", libraryKey: "693499159567438"})
Style Rules
- ID format: pass the bare style nodeId. Do NOT prepend
$(that prefix is for variable references). textStyleIdis TEXT-only.fillStyleId/strokeStyleIdapply to any node with fills/strokes.effectStyleIdapplies to any node with effects.- Style binding wins at render time over inline
fontName/fills/strokes/effects— when binding a style, omit the matching literal property unless overriding for a single instance. - For team-library styles, pass
styleIdandlibraryKeyfromsearch_styles. - To remove a style binding, set the field to
null:
U("nodeId", {textStyleId: null, fillStyleId: null, strokeStyleId: null, effectStyleId: null})
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 · 39 lines · 38 tokens per session scan A 25b9f7d91860
shared-styles is a skill published in the GitHub repository rojim666/SztuCode (110 stars, last pushed yesterday), licensed MIT. It adds 38 tokens to every session and 443 once invoked, about $0.0002 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-12.
Other skills, from other repositories
design-skill
Use BEFORE building or restyling anything a user will see — web/mobile UIs, landing pages, dashboards, components, emails, AND creative work like Three.js/WebGL/canvas/SVG scenes, data-viz, games, and animations — to make it look intentional and polished, not generic; covers tokens, type, color, layout, motion…
frontend-design
Designs and builds distinctive, production-quality frontend interfaces in HTML/CSS, React, or Tailwind: websites, landing pages, marketing pages, dashboards, web applications, interface components, and style overhauls. Classifies the surface as expressive, conventional, or governed by an existing design system, then…
ui-reviewer
Review rendered UI screenshots for hierarchy, spacing, readability, states, consistency, and visual slop.
design-system
DESIGN.md integration for Forge — ensures visual consistency across all UI tasks through standardized design specifications.
prototype
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
iot-ai-web-visual-quality
Bounded visual-quality guidance for websites, dashboards, frontend UI, design systems and graphic prompts.