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.
npx agentmods add commands/aborroy/aiup-alfresco/actionsgit clone --depth 1 https://github.com/aborroy/aiup-alfrescoWrote 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.
[](https://agentmods.dev/commands/aborroy/aiup-alfresco/actions)<a href="https://agentmods.dev/commands/aborroy/aiup-alfresco/actions"><img src="https://agentmods.dev/badge/commands/aborroy/aiup-alfresco/actions.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00023 | $0.01201 |
| Opus 5 | $0.00012 | $0.00600 |
| Sonnet 5 | $0.00005 | $0.00240 |
| Haiku 4.5 | $0.00002 | $0.00120 |
Grade A, and why
actions 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.
How it starts
The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/actions — Action Executor Generator
In-Process SDK only — deploys inside the ACS JVM as a Platform JAR.
Generate Alfresco action classes.
Input
Read REQUIREMENTS.md to identify action requirements and resolve the Platform JAR
project's Root path from Section 2 (Project Architecture).
- If Section 2 contains no
Platform JARproject, stop and explain that/actionsonly applies to the in-process repository addon project.
Output Files
1. Action Class
{platform-project-root}/src/main/java/{package}/action/{Name}ActionExecuter.java
- Extend
ActionExecuterAbstractBase - Implement
executeImpl()method - Define parameters via
addParameterDefinitions()
2. Spring Bean Registration
Add to {platform-project-root}/src/main/resources/alfresco/module/{module-id}/context/service-context.xml:
<bean id="{prefix}.{actionBeanName}" class="{package}.action.{Name}ActionExecuter" parent="action-executer">
<property name="nodeService" ref="NodeService"/>
<!-- additional service references -->
</bean>
The bean id is the repository action identifier used by Share, rules, and the Action REST API.
Follow Spring Beans and Share UI Model → Repository action wiring in AGENTS.md.
Action Reference
Synchronous vs asynchronous execution
Actions can run inline or in a background thread. Asynchronous actions run in their own transaction after the current one commits.
// Programmatic invocation
actionService.executeAction(action, nodeRef, checkConditions, executeAsynchronously);
- Set
executeAsynchronously=truefor long-running or external-integration work so the caller's transaction is not held open. - An action can also declare a default by overriding
getAdhocPropertiesAllowed()/ setting the executer'sexecuteAsynchronouslybean property.
Parameter constraints (dropdown-style values)
To constrain a parameter to a fixed set of values, reference a registered parameter constraint
in getParameterDefinitions():
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.
- 6d ago First seen · 109 lines · 23 tokens per session scan A 246911282abf
actions is a command published in the GitHub repository aborroy/aiup-alfresco (13 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 23 tokens to every session and 1,201 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.
Other commands, from other repositories
benchmark
Design and coordinate a reproducible Java performance test.
profile
Coordinate a reproducible Java profiling and optimization lifecycle.
analyze-java
分析 Legacy Java Spring Boot 專案並生成教學文件.
analyze-java-domain
分析 Legacy Java Spring Boot 專案中的特定領域邏輯與業務流程.
analyze-java-domain-flow
高效分析 Java Spring Boot 專案的調用鏈與流程圖(單一檔案輸出).
update-issue
Update an issue description with structured, evidence-backed content.