events

events is a command for Claude Code from aborroy/aiup-alfresco. It costs 17 tokens per session (1,038 once invoked), scanned A, original, Apache-2.0.

A generator for an out-of-process Spring Boot application that listens for Alfresco repository events through ActiveMQ, a message broker for delivering events between services.

In plain words
What is it for?
Creating listeners that send notifications, synchronize content with external systems, or start workflows when Alfresco content changes.
Why use it?
It separates asynchronous event handling from the main Alfresco repository application and prevents event-listener code from being placed in the wrong project.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the aiup-alfresco plugin — 38 skills, 25 commands, 3 agents, 3 hooks shipped together

Good fit Creating listeners that send notifications, synchronize content with external systems, or start workflows when Alfresco content changes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/aborroy/aiup-alfresco/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.

Clone the repo
git clone --depth 1 https://github.com/aborroy/aiup-alfresco

Made for: Claude Code.

Or install aiup-alfresco, the plugin that ships this one along with the rest of its 38 skills, 25 commands, 3 agents, 3 hooks.

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 events

README.md
[![agentmods](https://agentmods.dev/badge/commands/aborroy/aiup-alfresco/events.svg)](https://agentmods.dev/commands/aborroy/aiup-alfresco/events)
Your own site
<a href="https://agentmods.dev/commands/aborroy/aiup-alfresco/events"><img src="https://agentmods.dev/badge/commands/aborroy/aiup-alfresco/events.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,038 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.
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.00017 $0.01038
Opus 5 $0.00009 $0.00519
Sonnet 5 $0.00003 $0.00208
Haiku 4.5 $0.00002 $0.00104

Measured 8d ago against content hash 14c64f59fc06, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

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 8d 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.

commands/events.md · 101 lines

How it starts

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

/events — Out-of-Process Event Listener Generator

Generate a Spring Boot Out-of-Process application that consumes Alfresco repository events via ActiveMQ.

/scaffold must run first. This command augments the existing Event Handler project; it must not invent a second project layout or merge event-listener code into the Platform JAR project.

When to use

Use this command for asynchronous, reactive integrations: notifications, external system sync, workflow triggers based on content changes.

Do NOT use for:

  • Synchronous content validation → use /behaviours (In-Process)
  • REST API exposure → use /web-scripts (In-Process)
  • On-demand triggered logic → use /actions (In-Process)

Input

Read REQUIREMENTS.md to identify event-driven integration requirements and resolve the Event Handler project's Root path from Section 2 (Project Architecture).

  • If Section 2 contains no Event Handler project, stop and explain that /events only applies to an out-of-process Spring Boot project.
  • If Section 2 contains both Platform JAR and Event Handler projects, write files only under the Event Handler Root path (typically {name}-events/), never under the Platform JAR module or the aggregator root.

Output Files

1. Spring Boot Application

{event-project-root}/src/main/java/{package}/{Name}Application.java

  • Expected to exist already from /scaffold; create only if missing
  • @SpringBootApplication

2. Event Handler

{event-project-root}/src/main/java/{package}/handler/{Name}EventHandler.java

  • Annotate with @AlfrescoEventListener
  • Filter by node type or aspect where applicable
  • Log at INFO level on successful processing; ERROR on failure
  • Configure a dead-letter queue for error handling

3. Application Properties

{event-project-root}/src/main/resources/application.properties

spring.activemq.broker-url=${SPRING_ACTIVEMQ_BROKER_URL:tcp://localhost:61616}
spring.activemq.user=${SPRING_ACTIVEMQ_USER}
spring.activemq.password=${SPRING_ACTIVEMQ_PASSWORD}
alfresco.events.defaultExchangeName=alfresco.repo.event2
  • Expected to exist already from /scaffold; update only if required properties are missing

Read the full file on GitHub · 101 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. 8d ago First seen · 101 lines · 17 tokens per session scan A 14c64f59fc06

Subscribe to this mod's changes

events is a command published in the GitHub repository aborroy/aiup-alfresco (13 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 17 tokens to every session and 1,038 once invoked, about $0.0001 per session on Opus 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.