Sync State Invariants
openchamber/openchamber
A skill your agent uses when changing session synchronization, bootstrap or reconnect state, event reducers, polling, optimistic updates, message queues, live activity, ordering/reconciliation…
Read, write, and validate Grain's service-area-first Event Model topology.
$ npx skills add ObneyAI/grain --skill event-model -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ObneyAI/grain event-model --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ObneyAI/grain.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/event-model .claude/skills/event-model && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "event-model" agent skill from https://github.com/ObneyAI/grain/tree/main/skills/event-model into .claude/skills/event-model/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "event-model", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ObneyAI/grain/tree/main/skills/event-modelType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ObneyAI/grain --skill event-model -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ObneyAI/grain event-model --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ObneyAI/grain.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/event-model .agents/skills/event-model && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "event-model" agent skill from https://github.com/ObneyAI/grain/tree/main/skills/event-model into .agents/skills/event-model/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "event-model", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ObneyAI/grain --skill event-model -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ObneyAI/grain event-model --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ObneyAI/grain.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/event-model .cursor/skills/event-model && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "event-model" agent skill from https://github.com/ObneyAI/grain/tree/main/skills/event-model into .cursor/skills/event-model/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "event-model", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ObneyAI/grain.git --path skills/event-model--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ObneyAI/grain --skill event-model -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ObneyAI/grain event-model --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ObneyAI/grain.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/event-model .gemini/skills/event-model && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "event-model" agent skill from https://github.com/ObneyAI/grain/tree/main/skills/event-model into .gemini/skills/event-model/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "event-model", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ObneyAI/grain event-modelInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ObneyAI/grain --skill event-model -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ObneyAI/grain.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/event-model .github/skills/event-model && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "event-model" agent skill from https://github.com/ObneyAI/grain/tree/main/skills/event-model into .github/skills/event-model/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "event-model", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ObneyAI/grain --skill event-model -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ObneyAI/grain event-model --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ObneyAI/grain.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/event-model .opencode/skills/event-model && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "event-model" agent skill from https://github.com/ObneyAI/grain/tree/main/skills/event-model into .opencode/skills/event-model/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "event-model", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
event-modelRead, write, and validate Grain's service-area-first Event Model topology.
Event Model is an agent skill from ObneyAI/grain. Read, write, and validate Grain's service-area-first Event Model topology. Use for defeventmodel EDN, Grain CQRS blocks and flows, live registry reconciliation, boot mandates, or :grain/allium trace links. Event Model describes topology only; route observable behavioural rules and test obligations to Allium.
Its SKILL.md is about 540 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Business, Finance & HR, covering Event-driven systems and Accounting and bookkeeping. The repository describes itself as: Build Reasonable Applications with Clojure in the World of Natural Language Programming. The licence is MIT.
Read from SKILL.md and the folder at commit dbf5b52. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are clojure).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Event Model loads about 536 tokens when it runs. Until then it costs about 80 tokens; SKILL.md has 153 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from ObneyAI/grain at commit dbf5b52, republished under its MIT licence (© ObneyAI). 153 words, ~536 tokens.
.claude/skills/event-model/SKILL.md (or your agent's skills folder).An Event Model is {area -> service-area} EDN. Areas contain :commands,
:events, :read-models, :queries, :todo-processors, :periodic-tasks,
:screens, and :flows. Blocks use :<area>/<name> keys; identity is
[kind name] because kinds come from structural position.
Legal flow adjacency:
command -> event -> read-model -> query -> screen
query -> todo-processor -> command
screen -> command
read-model -> command
periodic-task -> command | eventProcessor :subscribes is event trigger wiring, not a flow input. Commands and
queries :reads target read models. Production/read declarations at def* sites
use :grain.event-model/produces and :grain.event-model/reads.
Commands must link to at least one Allium rule and screens to at least one Allium surface for the dev/CI composition gate:
:grain/allium
[{:spec "components/orders/orders.allium"
:kind :rule
:name "PlaceOrder"}]Paths are safe repository-relative .allium paths. Optional references on other
blocks and flows must also resolve. Never add :given-when-thens; behavior lives
in Allium.
Over the project nREPL, require:
[ai.obney.grain.event-model.interface :as em]
[ai.obney.grain.event-model-validator.interface :as emv]
[ai.obney.grain.code-agent-tools.interface :as tools]Use (em/registered-model), (tools/catalog),
(emv/validate-event-model model {:strict true}),
(tools/event-model-coverage model), and
(tools/validate-spec-composition model {:project-root "." :event-model-opts {:strict true}}).
The last call requires the Allium CLI and is dev/CI-only. Production boot uses
emv/verify-or-throw! and never requires Allium source or tooling.
© ObneyAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/event-model of ObneyAI/grain.
Open the folder on GitHubat commit dbf5b52
Event Model next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Event Model this skillObneyAI/grain | 123 | — | ~536 | Automated safety check: Pass | MIT | |
| Sync State Invariantsopenchamber/openchamber | 11k | — | ~2.7k | Automated safety check: Pass | MIT | |
| Persona Performance Tuningjeremylongshore/tons-of-skills-marketplace | 2.8k | — | ~1.2k | Automated safety check: Pass | MIT | |
| Sync Upstreamnyaruka/phonenumbers | 1.6k | — | ~2.8k | Automated safety check: Pass | MIT | |
| Longbridge Value Investinghelsome/folio | 269 | 2 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Radiology Tablehuang-sir1/radiology-skills | 1.9k | — | ~1.3k | Automated safety check: Pass | Custom licence |
openchamber/openchamber
A skill your agent uses when changing session synchronization, bootstrap or reconnect state, event reducers, polling, optimistic updates, message queues, live activity, ordering/reconciliation…
jeremylongshore/tons-of-skills-marketplace
Improve Persona integration latency and throughput with event-driven processing, bounded reconciliation, and evidence-based measurement.
nyaruka/phonenumbers
Sync this Go port with a new upstream google/libphonenumber release — regenerate the embedded metadata and reconcile the ported Java logic.
helsome/folio
Value investing analysis using Graham (NCAV/net-net/defensive-investor) and Buffett (economic moat/ROE/FCF) methodologies.
huang-sir1/radiology-skills
Create/audit editable publication tables with source reconciliation; not figures or statistical inference.
erpipe-org/mcp-odoo
Review many client Odoo databases at once through odoo-mcp's cross-instance tools — fleet-wide accounting health, per-client aging, partial-failure triage — for agencies and partners managing 5–50…
ObneyAI/grain
Drive a Grain engineering goal through one composed Allium and Event Model loop.
ObneyAI/grain
Build or update Grain's interactive component genome. An agent skill from ObneyAI/grain.
ObneyAI/grain
Distill Grain Event Model topology from an existing system as the topology companion to Allium distill.
ObneyAI/grain
Generate Grain topology and composition contract tests after Allium propagates behavioural tests.
ObneyAI/grain
Reconcile Grain Event Model topology with the live runtime and its linked Allium declarations as the topology phase after Allium weed.
ObneyAI/grain
Add Grain Event Model topology to an Allium intent-first elicitation.
Categories
Read, write, and validate Grain's service-area-first Event Model topology. Event Model is an agent skill from ObneyAI/grain. Read, write, and validate Grain's service-area-first Event Model topology.
Event Model fits situations like: defeventmodel EDN; grain CQRS blocks and flows; live registry reconciliation; :grain/allium trace links.
Run `npx skills add ObneyAI/grain --skill event-model -a claude-code`. Or copy the skill folder (skills/event-model in ObneyAI/grain) into .claude/skills/event-model in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ObneyAI/grain --skill event-model -a codex`. Or copy the skill folder (skills/event-model in ObneyAI/grain) into .agents/skills/event-model in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ObneyAI/grain --skill event-model -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/event-model, .gemini/skills/event-model, .github/skills/event-model and .opencode/skills/event-model in your project.
SKILL.md names no scripts, command-line tools or credentials: Event Model is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Event Model is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 536 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Event Model: Sync State Invariants (openchamber/openchamber, 11k stars), Persona Performance Tuning (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Sync Upstream (nyaruka/phonenumbers, 1.6k stars) and Longbridge Value Investing (helsome/folio, 269 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ObneyAI (a GitHub organization) maintains it in ObneyAI/grain, which has 123 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on September 24, 2026.
Source: ObneyAI/grain on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.