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 agentmods add skills/gridaco/nothing/io-svgnpx skills add gridaco/nothing --skill io-svggit clone --depth 1 https://github.com/gridaco/nothingWrote 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/gridaco/nothing/io-svg)<a href="https://agentmods.dev/skills/gridaco/nothing/io-svg"><img src="https://agentmods.dev/badge/skills/gridaco/nothing/io-svg.svg" alt="Measured on agentmods" 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 | $0.00108 | $0.01531 |
| Opus 5 | $0.00054 | $0.00766 |
| Sonnet 5 | $0.00022 | $0.00306 |
| Haiku 4.5 | $0.00011 | $0.00153 |
Grade A, and why
io-svg 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 4d 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 — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SVG I/O — Rust SVG Import Pipeline
Crate: crates/grida/src/import/svg/
When to Use This Skill
- Adding support for new SVG elements or attributes
- Fixing SVG-to-Grida conversion bugs (wrong transform, wrong paint, etc.)
- Authoring new SVG test fixtures in
fixtures/test-svg/L0/ - Debugging cross-boundary codec failures (Rust encodes ≠ TS decodes)
- Understanding what SVG features are supported vs. dropped
- Investigating text import fidelity
Architecture
.svg bytes
→ usvg::Tree::from_data() — parse + resolve (third_party/usvg/)
→ packed_scene::* — usvg::Tree → Grida scene graph
→ pack::* — pack nodes into IPackedSceneDocument
→ io::archive::pack() — produce .grida ZIP
Key design: SVG import is Rust-only. There is no TypeScript path for SVG→Grida.
Cross-boundary status: the TS-side codec test (fbs-svg-cross-boundary.test.ts,
grida repo) was retired at the engine split — it reached across the repo seam
and consumed Rust-generated artifacts from this repo's gitignored
fixtures/test-svg/.generated/. Verification is now Rust-side (cargo test -p grida
round-trips). If TS-decode coverage is ever wanted again, it must be re-plumbed
deliberately (publishable artifact or in-repo wasm-decode test), not revived as-was.
Key Files
| Path | Role |
|---|---|
crates/grida/src/import/svg/packed_scene.rs |
Core conversion: usvg nodes → Grida nodes |
crates/grida/src/import/svg/pack.rs |
Packs converted nodes into scene document |
crates/grida/src/import/svg/from_usvg.rs |
High-level entry: bytes → scene |
crates/grida/src/formats/svg/sanitize.rs |
Pre-processing / sanitization |
crates/grida_dev/src/main.rs |
svg-to-grida subcommand |
fixtures/test-svg/L0/ |
Committed SVG fixtures |
fixtures/test-svg/.generated/ |
Gitignored, generated .grida outputs |
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.
- 4d ago First seen · 171 lines · 108 tokens per session scan A 02965feaa71b
io-svg is a skill published in the GitHub repository gridaco/nothing (46 stars, last pushed today), licensed Apache-2.0. It adds 108 tokens to every session and 1,531 once invoked, about $0.0005 per session on Opus 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-08-30.
Other skills, from other repositories
freya
Freya Rust GUI framework best practices, patterns, and conventions. Use when writing Freya components, hooks, elements, or working on a Freya project.
docs-svg-kit
Author SVG figures for Grida docs — diff-able, version-controlled vector diagrams embedded in doc pages instead of screenshots. Provides reusable primitives (selection chrome, size badges, anchor pins, resize cursors, click ripples), color/typography tokens, a starter template, and finished examples to crib from.…
editor-perf
Guides performance investigation, benchmarking, and optimization of the Grida Canvas web editor (TypeScript reducer, Immer, React hooks). Use when profiling reducer dispatch cost, diagnosing slow interactions (drag, resize, color change), writing or running editor benchmarks, instrumenting with PerfObserver, or…
sdk-seam
Discipline for the seam between two SDKs (or two sides of one contract) that the same hand writes. The failure mode: "we own both sides" produces dirty contracts no foreign reviewer would accept. The exercise: pretend the other side is FFI, IPC, or a network protocol you cannot rewrite. Spawn an adversarial subagent…
agent-system
Grida AI agent system work: @grida/daemon (DaemonServer, loopback HTTP perimeter, files/workspaces, secrets store, daemon discovery) and @grida/agent (the agent tenant: sessions, providers/BYOK, runtime/tool execution, skills discovery, prompts, tiers, sandbox hosts). Use for packages/grida-daemon/…
ai-models
Research, compare, and update AI model configurations. Covers text model tiers, image and video generation models, image tool models, pricing data sourcing, and provider-cost metering against prepaid org credit. Use when bumping model versions, adding new models, updating pricing, or auditing model specs against…