grida: Skill for Claude Code

.agents/skills/agent-system/SKILL.md

agent-system is a skill for Claude Code, Codex from gridaco/grida. It costs 127 tokens per session (3,333 once invoked), scanned A, original, Apache-2.0.

A set of development rules for Grida's local daemon and AI-agent packages. The daemon handles local files, workspaces, secrets, and server access, while the agent handles sessions, providers, tools, prompts, and skills.

In plain words
What is it for?
Use it when editing the daemon or AI-agent packages, including server lifecycle, HTTP routes, sessions, workspaces, files, secrets, model providers, sandboxing, or tool execution.
Why use it?
It helps developers change these connected packages while preserving their boundaries and security rules. It also clarifies which package owns each part of the system.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is gridaco/grida's own configuration. It tells Claude Code and Codex how to work on grida itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything grida configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Adjacent: [`sdk-design`](../sdk-design/SKILL.md) and.

About the project

Grida is an open-source graphics workspace that combines an infinite canvas editor, SVG tools, a database and CMS, and forms. Designers and developers use it to create, import, render, and manage visual documents and connected data, while the catalogue add-ons support its workflows.

gridaco/grida · 2,693 stars · on GitHub · grida.co

Reuse

Borrowing it

Nothing to install: this file belongs to gridaco/grida. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/gridaco/grida/main/.agents/skills/agent-system/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/gridaco/grida

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for agent-system

README.md
[![agentmods](https://agentmods.dev/badge/skills/gridaco/grida/agent-system/github.svg)](https://agentmods.dev/skills/gridaco/grida/agent-system)
Your own site
<a href="https://agentmods.dev/skills/gridaco/grida/agent-system"><img src="https://agentmods.dev/badge/skills/gridaco/grida/agent-system/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.

agentmods 80×15 button for agent-system

Your own site · 80×15
<a href="https://agentmods.dev/skills/gridaco/grida/agent-system"><img src="https://agentmods.dev/badge/skills/gridaco/grida/agent-system.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,333 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 122
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.1 $0.00127 $0.03333
Opus 5.5 $0.00051 $0.01333
Sonnet 5.5 $0.00025 $0.00667
Haiku 4.5 $0.00013 $0.00333

Measured 2mo ago against content hash e25ac8802b71, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-system 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 2mo 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/agent-system/SKILL.md · 307 lines

How it starts

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

Grida Agent System

This skill is for the two packages behind Grida Desktop and future hosts (issue #927): @grida/daemon — the local host layer (DaemonServer lifecycle, the loopback HTTP perimeter, files/recents/workspaces, the secrets store, daemon discovery, the tenant seam) — and @grida/agent — the agent TENANT mounted on it (sessions, providers, tool execution, prompt composition, skills, the AI-SDK stream contract). Dependency direction is one-way: @grida/agent imports @grida/daemon; the daemon is AI-free by contract (pinned by packages/grida-daemon/src/__boundary__.test.ts).

Use desktop for Electron shell work: BrowserWindow, menus, preload, native dialogs, file associations, deep links, and CDP verification.

Adjacent: sdk-design and sdk-seam for exported contracts and host seams, security when a change touches a GRIDA-SEC boundary.

When to use this skill

  • Editing packages/grida-daemon/** or packages/grida-ai-agent/**.
  • Changing DaemonServer lifecycle, the tenant seam, server capabilities, HTTP routes, transport, Basic Auth, Referer policy, sessions, workspaces/files, recents, secrets, BYOK providers, model tiers, sandbox policy, shell policy, runtime, tools, prompts, skills, or message streams.
  • Touching the desktop sidecar protocol because the daemon contract changed.
  • Debugging empty file lists, missing sessions, broken stream parts, provider resolution, tool-call behavior, or agent state recovery.
  • Editing renderer agent chat transport when the bug is in stream/session semantics rather than Electron bridge presence.

Skip this skill for BrowserWindow, menu, native dialog, file association, deep-link, packaging, or preload-only bugs. Use desktop for those.


Shape

Host adapter (Desktop today, other hosts later)
  - supplies auth material, workspace roots, entitlement hooks, sandbox wrapper
  - starts the composed daemon (createAgentDaemon) as sidecar or CLI daemon
        |
        v
DaemonServer (@grida/daemon/server)
  - loopback Hono perimeter (CORS -> Referer -> Basic Auth)
  - host capability routes: files, recents, workspaces + secrets store
  - the DaemonTenant seam (static typed list, not a plugin registry)
        |
        v
Agent tenant (@grida/agent/server — createAgentTenant)
  - AI route groups: /agent, /events, /sessions, /secrets, /providers,
    /images, /video
  - sessions SQLite, endpoint configs, runtime + run loop, stream registry
        |
        v
Runtime-agnostic agent core (@grida/agent)
  - protocol DTOs, prompts, tiers, skills, toolset, AI-SDK UI-message stream

Read the full file on GitHub · 307 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. 2mo ago First seen · 307 lines · 127 tokens per session scan A e25ac8802b71

Subscribe to this mod's changes

agent-system is a skill published in the GitHub repository gridaco/grida (2,693 stars, last pushed 11d ago), licensed Apache-2.0. It adds 127 tokens to every session and 3,333 once invoked, about $0.0005 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-08-30.

Related

Other skills, from other repositories

explorer

Build and modify Studio Explorer surfaces, including notebooks, chats, SQL snippets, query cells, and their shared toolbar patterns.

supabase/supabase · 27 tokens

supabase

Use when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron, Queues); client libraries and SSR integrations (supabase-js, @supabase/ssr) in Next.js, React, SvelteKit, Astro, Remix; auth issues (login, logout, sessions, JWT, cookies…

supabase/agent-skills · 185 tokens

new-entity

Create a backend entity with EF Core configuration and migration.

fpindej/netrock · 10 tokens

find-postgres-bug

Find latent bugs in a local PostgreSQL source tree (RELxxSTABLE branch or HEAD) the way a core hacker does: build a heavily-poisoned debug instance (cassert + cache-discard + -O0/-ggdb3 + core dumps), fuzz it (sqlsmith) until the backend crashes, triage the core into a minimal reproducer (MRE), git-bisect the…

digoal/blog · 195 tokens

supabase

Use this skill when working with Supabase platform — PostgreSQL schema, Row Level Security, Realtime subscriptions, Auth, Storage, Edge Functions, pgvector. This skill enforces: RLS policies on every table, proper PostgreSQL schema design, real-time channel organization, storage bucket policies, edge function cold…

j4flmao/agent-skills · 100 tokens

django

Ship Django apps with env-backed secrets, safe migrations, ORM N+1 hygiene, Celery/Redis workers, and gunicorn/ASGI deploy settings agents routinely misconfigure.

alivirgo/Major-AI-Skills · 38 tokens