actions-events

actions-events is a skill for Claude Code from filipebraida/adonisjs-starter-kit. It costs 144 tokens per session (3,194 once invoked), scanned A, original, MIT.

A code-organization pattern for AdonisJS business actions and domain events. An action performs one main operation, while an event tells separate listeners to handle effects such as email or notifications.

In plain words
What is it for?
It helps structure action classes, validate inputs, return results or expected errors, emit events, and connect listeners for mail, notifications, realtime updates, or external requests.
Why use it?
It keeps controllers and business logic small and makes side effects easier to replace, combine, and test.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It helps structure action classes, validate inputs, return results or expected errors, emit events, and connect listeners for mail, notifications, realtime updates, or external requests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/filipebraida/adonisjs-starter-kit/actions-events
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.

Any agent
npx skills add filipebraida/adonisjs-starter-kit --skill actions-events
Clone the repo
git clone --depth 1 https://github.com/filipebraida/adonisjs-starter-kit

Made for: Claude Code.

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 actions-events

README.md
[![agentmods](https://agentmods.dev/badge/skills/filipebraida/adonisjs-starter-kit/actions-events/github.svg)](https://agentmods.dev/skills/filipebraida/adonisjs-starter-kit/actions-events)
Your own site
<a href="https://agentmods.dev/skills/filipebraida/adonisjs-starter-kit/actions-events"><img src="https://agentmods.dev/badge/skills/filipebraida/adonisjs-starter-kit/actions-events/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 actions-events

Your own site · 80×15
<a href="https://agentmods.dev/skills/filipebraida/adonisjs-starter-kit/actions-events"><img src="https://agentmods.dev/badge/skills/filipebraida/adonisjs-starter-kit/actions-events.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 144 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,194 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 Data Exfiltration · line 28
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00144 $0.03194
Opus 5.5 $0.00058 $0.01278
Sonnet 5.5 $0.00029 $0.00639
Haiku 4.5 $0.00014 $0.00319

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

Security

Grade A, and why

actions-events 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 6d 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.

packages/skills/actions-events/SKILL.md · 195 lines

How it starts

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

Actions + events

Business logic lives in actions; cross-cutting effects run through events. Controllers stay thin (policy → validate → action → response). Actions take a plain input, never HttpContext. When an action needs a side effect (mail, notification, transmit, external HTTP), it emits a domain event. The module's start/events.ts binds a listener class to it; the listener only schedules a durable workflow (XWorkflow.dispatch(plainData)), and the workflow performs the effect inside checkpointed steps that retry on failure. The in-process emitter has no retry, so an effect run inside a listener is lost when it fails; the workflow's run lives in Postgres and survives a crash. This keeps actions synchronous domain code, keeps side effects composable (a new listener is a new file, not an edit to the action), and makes each layer testable on its own — fake the emitter, run the listener and the workflow on a test engine.

Rules

  • Location: app/<mod>/actions/<verb_noun>.ts — one file per action.

  • Shape: default-export a class with a single public method async handle(input): Promise<Result | void>. input is a plain interface. No HttpContext.

  • Return or throw: return the primary value (a model, an id, void). Throw domain exceptions from app/<mod>/exceptions/ for expected failure paths (rate limits, permission denials, invariant violations).

  • Side effects go through events. Anything that reaches out is emitted, not called inline:

    emitter.emit('user:registered', { user, token })
    

    This applies to every kind of effect without exception:

    Kind Example call the action must not make
    Mail mail.send(new WelcomeEmail(...))
    In-app notification facteur.notification(...).send()
    SSE / realtime broadcast transmit.broadcast(channel, payload)
    External HTTP fetch('https://api.stripe.com/...')
    Audit log write any write to an audits / activity_logs table that's cross-cutting

Read the full file on GitHub · 195 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. 6d ago Changed · +1 lines a9b5b8920c48
  2. 14d ago Changed · +55 lines · +33 tokens per session 59030c5d87c1
  3. 3mo ago First seen · 139 lines · 111 tokens per session scan A 057c3ae1c3a6

Subscribe to this mod's changes

actions-events is a skill published in the GitHub repository filipebraida/adonisjs-starter-kit (98 stars, last pushed 2d ago), licensed MIT. It adds 144 tokens to every session and 3,194 once invoked, about $0.0006 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

actions-events compared with skills from other repositories

actions-events next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
actions-eventsfilipebraida/adonisjs-starter-kitSkill982d agoMITA144Claude Code
calendarcnvmnog/calendarcnSkill1643d agoMITA76Claude Code, Codex
ui-beatsnikhils4/ui-beatsSkill2363mo agoMITA62Claude Code, Codex
declare-typesone-ie/oneSkill1356d agononeA49Claude Code, Codex
sdkone-ie/oneSkill1356d agononeA34Claude Code
frontend-engineerbuiphucminhtam/forgewrightSkill492d agononeA55Claude Code
react-doctorshipkit-io/bonesSkill21todaynoneA31Claude Code, Codex