requirements

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

A requirements-gathering command for planning an Alfresco Content Services extension. It turns a feature description into user stories and checks how the extension should work before development begins.

In plain words
What is it for?
Use it to define and record extension requirements, including acceptance criteria and architecture decisions.
Why use it?
It reduces uncertainty about the project structure, timing, APIs, workflows, and content rules the extension needs.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

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

Good fit Use it to define and record extension requirements, including acceptance criteria and architecture decisions.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/aborroy/aiup-alfresco/requirements.svg)](https://agentmods.dev/commands/aborroy/aiup-alfresco/requirements)
Your own site
<a href="https://agentmods.dev/commands/aborroy/aiup-alfresco/requirements"><img src="https://agentmods.dev/badge/commands/aborroy/aiup-alfresco/requirements.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 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,779 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.00016 $0.01779
Opus 5 $0.00008 $0.00890
Sonnet 5 $0.00003 $0.00356
Haiku 4.5 $0.00002 $0.00178

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

Security

Grade A, and why

requirements 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/requirements.md · 155 lines

How it starts

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

/requirements — Requirements Gathering

You are helping the user define requirements for an Alfresco Content Services extension.

Given the user's description in "$ARGUMENTS", produce a structured requirements document.

Architecture Decision (ask first)

Before writing any section, ask the following architecture questions if the description does not make the answers obvious. Record the answers — they determine the whole project structure.

Q1 — Synchronous or asynchronous reaction?

"Does this feature need to react within the same transaction as the user action (e.g. reject an upload, enforce a rule, return an immediate API response)? Or can it react after the fact, asynchronously (e.g. send a notification, trigger an integration, update an analytics system)?"

Q2 — Does it expose a repository REST API or web script?

"Does the feature need to expose a custom REST endpoint served by the ACS JVM itself?"

Q3 — Does it need a multi-step approval workflow?

"Does this feature need to route content or tasks through multiple human approval steps, with assignee groups, parallel reviews, outcome decisions (approve/reject), timer escalations, or similar process orchestration?"

Q4 — Does it need to customize the legacy Share UI itself?

"Does this feature need Share-tier artefacts such as share-config-custom.xml, Share forms, Surf pages/components, Aikau pages/widgets, dashlets, or evaluators?"

Q5 — Is the UI target really Share, or should it be treated as a modern external frontend?

"If a user interface is needed, is the target the legacy Share web tier specifically? Or should this be treated as ACA/ADF/custom frontend work that consumes ACS APIs without deploying Share addon artefacts?"

Project-selection rules (use to populate Section 2 — Project Architecture):

Need Add this project
Same-transaction repository logic, ACS-hosted REST/Web Script, or workflow Platform JAR
Legacy Share-tier UI customization Share JAR
Asynchronous event-driven processing Event Handler

Read the full file on GitHub · 155 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 · 155 lines · 16 tokens per session scan A 3f2861aebbf3

Subscribe to this mod's changes

requirements is a command published in the GitHub repository aborroy/aiup-alfresco (13 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 16 tokens to every session and 1,779 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.