io-grida

Instructions for Grida's .grida file format and the Rust code that reads those files into its canvas engine. FlatBuffers is a compact format for storing structured data, and ZIP archives can bundle files and images.

In plain words
What is it for?
Use it when changing the FlatBuffers schema, generated Rust bindings, ZIP or JSON loading, node data structures, or .grida format behavior.
Why use it?
It identifies the source schema, supported file variants, generated code, and decoder locations, making format changes and loading bugs easier to trace.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/gridaco/nothing/io-grida
Any agent
npx skills add gridaco/nothing --skill io-grida
Clone the repo
git clone --depth 1 https://github.com/gridaco/nothing

Made for: Claude Code, Codex.

Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,175 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00070 $0.01175
Opus 5 $0.00035 $0.00588
Sonnet 5 $0.00014 $0.00235
Haiku 4.5 $0.00007 $0.00118

Measured 2d ago against content hash e61a40d01a9d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

io-grida 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.

.agents/skills/io-grida/SKILL.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Grida I/O — .grida Format & Loading (engine side)

Format Overview

Grida uses FlatBuffers as the canonical binary format. File identifier: "GRID".

Two on-disk variants:

Variant Detection Notes
Raw FlatBuffers "GRID" at bytes 4–7 Bare document, no images
ZIP archive ZIP magic bytes manifest.json + document.grida + images/

Document model: Flat node repository (not nested). Nodes reference parents via ID + fractional-index position strings. Multi-scene: each Figma page → a SceneNode.

Key Locations

Path Role
format/grida.fbs Source of truth — FlatBuffers schema
format/AGENTS.md Schema evolution rules (append-only, never reuse field IDs)
crates/grida/src/io/ Rust decoder (FBS/ZIP/JSON → Scene)
crates/grida/src/io/generated/grida.rs Auto-generated Rust FlatBuffers bindings (committed)
crates/grida/src/node/schema.rs Rust runtime node schema

The TS side (reader/writer, archive pack, clipboard) lives in the grida product repo: packages/grida-canvas-io and packages/grida-canvas-schema/grida.ts.

Rust Side — crates/grida/src/io/

File Role
io_grida_file.rs Format detection + unified decode_all(&bytes)Vec<Scene>
io_grida_fbs.rs FlatBuffers → Rust runtime (GridaFileScene)

Read the full file on GitHub · 111 lines

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. 2d ago First seen · 111 lines · 70 tokens per session scan A e61a40d01a9d

Subscribe to this mod's changes

io-grida is a skill published in the GitHub repository gridaco/nothing (43 stars, last pushed 3d ago), licensed Apache-2.0. It adds 70 tokens to every session and 1,175 once invoked, about $0.0003 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.

Related

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.

marc2332/freya · 35 tokens

code-ts

TypeScript code shape inside a well-named module — taste, not lint. Prefer one class or namespace per file (the unit a test targets) over scattered free exports; consolidate related code, don't fragment. The unit of code should be the unit of spec. Use when authoring TS in editor/grida-canvas, editor/lib/, or…

gridaco/grida · 99 tokens

bevy-ecs

Structure a Bevy app around its Entity Component System: build the App with plugins, define Component/Resource types, write systems with Query/Res/Commands, filter and order systems, and use the Time resource for frame-rate-independent motion. Use when building or debugging a Bevy game in Rust — when the user mentions…

gamedev-skills/awesome-gamedev-agent-skills · 100 tokens

gdextension

Use when building native extensions for Godot — godot-cpp (C++) or gdext (Rust), binding classes, building, and GDScript/C# interop.

jame581/GodotPrompter · 38 tokens

bevy-ecs-patterns

Advanced Bevy ECS: complex queries, system scheduling, change detection, and performance tuning. Use when optimizing Bevy architecture or implementing complex game systems.

laurigates/claude-plugins · 37 tokens

bevy-game-engine

Bevy game engine: ECS, rendering, input, and asset management. Use when building Bevy games, working with entities/components/systems, or mentioning Rust gamedev or 2D/3D games.

laurigates/claude-plugins · 48 tokens