/grain:grain-todo-processorfrom grain
Implements event-driven Grain processors with configurable checkpoint, effect, and replay behavior using defprocessor and defevent.
Ships in grain. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use defprocessor from ai.obney.grain.todo-processor-v2.interface. Subscribe
with {:topics #{:area/event}}. The handler receives the stored :event and
tenant context. Define each follow-up event type with defevent.
Return {:result/events [...]} to append those events with
the checkpoint, or {} to acknowledge the input.
For external work, return a zero-argument :result/effect. Set :result/checkpoint
according to which failure the operation can tolerate.
:after runs the effect, then commits :result/on-success events with the
checkpoint. A crash between the two can repeat the effect. Use a stable
idempotency key. A thrown effect can be checkpointed with :result/on-failure
events, so represent any required retry explicitly.:before commits the checkpoint first. A crash can leave the effect undone.A new processor can replay historical triggers. To start after a known event, initialize its checkpoint per tenant before any node polls that processor. Checkpoint initialization
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (obneyai/grain) — no native marketplace selected
npx claudepluginhub p/obneyai-grain18 skills in this plugin
/event-modelAuthor and validate Grain service topology, CQRS flows, registry declarations and links to Allium./event-model-distillRecover a Grain Event Model from existing code and live registries./event-model-elicitDiscover Grain service topology for a new feature or service area./event-model-propagateDerive Grain tests for registered topology, boot validation and Allium trace links./event-model-tendEdit an existing Grain Event Model when blocks, schemas, dependencies, flows or trace links change./event-model-weedDiagnose drift between a Grain Event Model, the live registries and linked Allium declarations.Other plugins' skills for the same job