Agent skill

Event Model Distill

by ObneyAI in ObneyAI/grain

Distill Grain Event Model topology from an existing system as the topology companion to Allium distill.

MITAuto-check passed

Install Event Model Distill

skills CLI
$ npx skills add ObneyAI/grain --skill event-model-distill -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ObneyAI/grain event-model-distill --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ObneyAI/grain.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/event-model-distill .claude/skills/event-model-distill && rm -rf skills-src

Use ~/.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/

Facts

Skill name
event-model-distill
GitHub stars
123
Token cost
~248 tokens
SKILL.md length
91 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

Distill Grain Event Model topology from an existing system as the topology companion to Allium distill.

  • A live Grain catalog exists and the user wants commands
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Links to distilled Allium declarations

What it does

Event Model Distill is an agent skill from ObneyAI/grain. Distill Grain Event Model topology from an existing system as the topology companion to Allium distill. Use when code or a live Grain catalog exists and the user wants commands, events, read models, queries, processors, schedules, screens, flows, and links to distilled Allium declarations.

Its SKILL.md is about 250 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Build Reasonable Applications with Clojure in the World of Natural Language Programming. The licence is MIT.

When your agent uses it

  • A live Grain catalog exists and the user wants commands
  • Links to distilled Allium declarations

Example prompts

  • “/event-model-distill”

What it can do on your machine

Read from SKILL.md and the folder at commit dbf5b52. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Event Model Distill loads about 248 tokens when it runs. Until then it costs about 78 tokens; SKILL.md has 91 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~78
When it runs · the whole SKILL.md, loaded when a task matches
~248

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from ObneyAI/grain at commit dbf5b52, republished under its MIT licence (© ObneyAI). 91 words, ~248 tokens.

Download SKILL.mdSave it as .claude/skills/event-model-distill/SKILL.md (or your agent's skills folder).
name
event-model-distill
description
Distill Grain Event Model topology from an existing system as the topology companion to Allium distill. Use when code or a live Grain catalog exists and the user wants commands, events, read models, queries, processors, schedules, screens, flows, and links to distilled Allium declarations.

Event Model Distill

Run Allium distill to capture intentional observable behaviour. Independently inspect Grain def* sites and, when available, the live catalog to construct the service-area topology. Treat registries and schemas as authoritative facts; infer design-only screens and flows from boundaries and data movement.

Link each command to its matching distilled Allium rule and each screen to its surface. Mark uncertain topology as an open question instead of inventing it. Validate structurally, then run the composition gate. Review intended versus accidental behavior in Allium before treating the result as durable context.

© ObneyAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/event-model-distill of ObneyAI/grain.

Open the folder on GitHubat commit dbf5b52

Compare with similar skills

Event Model Distill 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.

Event Model Distill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Event Model Distill this skillObneyAI/grain123—~248Automated safety check: PassMIT
Eventscoreyhaines31/marketingskills54k—~3kAutomated safety check: PassMIT
Event Sourcing Architectdavila7/claude-code-templates32k4 repos~659Automated safety check: PassMIT
Event Store Designwshobson/agents40k9 repos~828Automated safety check: PassMIT
Topology Authoringnetdata/netdata81k—~3.9kAutomated safety check: PassGPL-3.0
Paperclip Distillpaperclipai/paperclip99k—~2.8kAutomated safety check: PassMIT

Similar skills

  • Events

    coreyhaines31/marketingskills

    When the user wants to plan, run, sponsor, speak at, or get pipeline from events — webinars, conferences, trade shows, meetups, dinners, workshops, virtual summits, or user conferences.

    54k GitHub stars~3k tokensUpdated yesterday
    Marketing & SEOAuto-check passed
  • Event Sourcing Architect

    davila7/claude-code-templates

    Expert in event sourcing, CQRS, and event-driven architecture patterns.

    32k GitHub starsUsed in 4 repos~659 tokens
    Backend & APIsAuto-check passed
  • Event Store Design

    wshobson/agents

    Designs event stores for event-sourced systems: requirements, a comparison of EventStoreDB, PostgreSQL, Kafka, DynamoDB and Marten, and stream and versioning practices.

    40k GitHub starsUsed in 9 repos~828 tokens
    Backend & APIsAuto-check passed
  • Topology Authoring

    netdata/netdata

    Design, change or review Netdata topology producers and netdata.topology.v1 payloads, including actors, links, evidence, correlation, presentation, modals, overlays and validators.

    81k GitHub stars~3.9k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Paperclip Distill

    paperclipai/paperclip

    A skill your agent uses when an operation issue is a Paperclip cursor-window, distill, or backfill.

    99k GitHub stars~2.8k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Agent skill for topology-optimizer - invoke with $agent-topology-optimizer

    74k GitHub starsUsed in 2 repos~6.2k tokens
    Auto-check passed

More from ObneyAI/grain

All 8 skills in this repo
  • Event Model

    ObneyAI/grain

    Read, write, and validate Grain's service-area-first Event Model topology.

    123 GitHub stars~536 tokensUpdated yesterday
    Auto-check passed
  • Grain

    ObneyAI/grain

    Drive a Grain engineering goal through one composed Allium and Event Model loop.

    123 GitHub stars~482 tokensUpdated yesterday
    Auto-check passed
  • Grain Genome

    ObneyAI/grain

    Build or update Grain's interactive component genome. An agent skill from ObneyAI/grain.

    123 GitHub stars~445 tokensUpdated yesterday
    Auto-check passed
  • Generate Grain topology and composition contract tests after Allium propagates behavioural tests.

    123 GitHub stars~247 tokensUpdated yesterday
    Auto-check passed
  • Event Model Weed

    ObneyAI/grain

    Reconcile Grain Event Model topology with the live runtime and its linked Allium declarations as the topology phase after Allium weed.

    123 GitHub stars~241 tokensUpdated yesterday
    Auto-check passed
  • Event Model Elicit

    ObneyAI/grain

    Add Grain Event Model topology to an Allium intent-first elicitation.

    123 GitHub stars~249 tokensUpdated yesterday
    Auto-check passed

Questions about Event Model Distill

What does Event Model Distill do?

Distill Grain Event Model topology from an existing system as the topology companion to Allium distill. Event Model Distill is an agent skill from ObneyAI/grain. Distill Grain Event Model topology from an existing system as the topology companion to Allium distill.

When should I use Event Model Distill?

Event Model Distill fits situations like: A live Grain catalog exists and the user wants commands; links to distilled Allium declarations.

How do I install Event Model Distill in Claude Code?

Run `npx skills add ObneyAI/grain --skill event-model-distill -a claude-code`. Or copy the skill folder (skills/event-model-distill in ObneyAI/grain) into .claude/skills/event-model-distill in your project. Claude Code loads it when a task matches its description.

How do I install Event Model Distill in Codex?

Run `npx skills add ObneyAI/grain --skill event-model-distill -a codex`. Or copy the skill folder (skills/event-model-distill in ObneyAI/grain) into .agents/skills/event-model-distill in your project. Codex loads it when a task matches its description.

Can I use Event Model Distill in Cursor, Gemini CLI or GitHub Copilot?

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-distill -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-distill, .gemini/skills/event-model-distill, .github/skills/event-model-distill and .opencode/skills/event-model-distill in your project.

What does Event Model Distill need to run?

SKILL.md names no scripts, command-line tools or credentials: Event Model Distill is instructions for the agent only.

Does Event Model Distill access the network?

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.

Is Event Model Distill safe to install?

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.

What licence does Event Model Distill use?

Event Model Distill is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Event Model Distill use?

About 248 tokens (SKILL.md is roughly 992 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Event Model Distill?

Skills that share tags, products or a category with Event Model Distill: Events (coreyhaines31/marketingskills, 54k stars), Event Sourcing Architect (davila7/claude-code-templates, 32k stars), Event Store Design (wshobson/agents, 40k stars) and Topology Authoring (netdata/netdata, 81k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Event Model Distill?

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 October 9, 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.