aca-extension

aca-extension is a command for Claude Code from aborroy/aiup-alfresco. It costs 65 tokens per session (5,476 once invoked), scanned A, original, Apache-2.0.

A generator for source files that add custom screens and controls to Alfresco Content Application (ACA) or Alfresco Digital Workspace (ADW), web applications for managing stored documents and content.

In plain words
What is it for?
Use it to create page, sidebar, context-menu, or toolbar extensions from documented requirements, including the files needed to add them to an existing ACA or ADW project.
Why use it?
It avoids having to assemble the extension descriptor, Angular components, state handling, HTTP service, and integration instructions by hand.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { {ServiceName}Service } from '../../services/{service-name}.service';.

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

Good fit Use it to create page, sidebar, context-menu, or toolbar extensions from documented requirements, including the files needed to add them to an existing ACA or ADW project.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/aborroy/aiup-alfresco
agentmods
npx agentmods add commands/aborroy/aiup-alfresco/aca-extension

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 aca-extension

README.md
[![agentmods](https://agentmods.dev/badge/commands/aborroy/aiup-alfresco/aca-extension.svg)](https://agentmods.dev/commands/aborroy/aiup-alfresco/aca-extension)
Your own site
<a href="https://agentmods.dev/commands/aborroy/aiup-alfresco/aca-extension"><img src="https://agentmods.dev/badge/commands/aborroy/aiup-alfresco/aca-extension.svg" alt="Measured on agentmods" height="20"></a>
Per session 65 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,476 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.00065 $0.05476
Opus 5 $0.00032 $0.02738
Sonnet 5 $0.00013 $0.01095
Haiku 4.5 $0.00006 $0.00548

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

Security

Grade A, and why

aca-extension 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/aca-extension.md · 652 lines

How it starts

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

/aca-extension — ACA/ADW UI Extension Generator

Out-of-Process, source drop-in — an ACA/ADW extension is not a Platform JAR. It is a folder of Angular TypeScript source that gets copied into an existing Alfresco Content Application (ACA) or Alfresco Digital Workspace (ADW) source checkout and compiled as part of that application's build.

Reference implementation: https://github.com/aborroy/alfresco-content-lake-ui

Verified against a fresh Alfresco/alfresco-content-app checkout at ACA 7.5.0 (Angular 19, ADF 8.6). Prefer the ACA 7.x patterns below over older ExtensionService/APP_INITIALIZER examples.

Input

Read REQUIREMENTS.md to identify UI extension requirements:

  1. Read Section 2 (Project Architecture). If it declares a Platform JAR project, the extension connects to repository REST APIs or Web Scripts generated by other commands. The UI extension itself has no Maven build — record only the backend URL base path.

  2. Read Section 7 (Behaviour Requirements) sub-section "ACA/ADW extension requirements". If none are present, stop and ask the user to run /requirements first (or provide a description as $ARGUMENTS).

  3. Derive from requirements:

    • {ext-name} — kebab-case extension identifier (e.g. ext-contract-review)
    • {ExtName} — PascalCase extension name (e.g. ExtContractReview)
    • {extPrefix} — dot-notation prefix for plugin IDs (e.g. ext-contract-review)
    • {vendor} — vendor/organisation name for the plugin manifest
    • {backendBaseUrl} — proxy path for the backend service (e.g. /api/contracts); set to /alfresco/api/-default-/public/alfresco/versions/1 if the extension only calls the standard Alfresco REST API
    • {extension-points} — the subset of: page, sidebar, contextMenu, toolbar
    • {PageName} / {SidebarName} / {ServiceName} — PascalCase component names

Output Files

All files below are required and must be generated together in a single run. After generation, apply the integration patches described at the end of this spec.

Read the full file on GitHub · 652 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 · 652 lines · 65 tokens per session scan A ac714ea424bf

Subscribe to this mod's changes

aca-extension is a command published in the GitHub repository aborroy/aiup-alfresco (13 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 65 tokens to every session and 5,476 once invoked, about $0.0003 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.