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/content-modelgit 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/content-model)<a href="https://agentmods.dev/commands/aborroy/aiup-alfresco/content-model"><img src="https://agentmods.dev/badge/commands/aborroy/aiup-alfresco/content-model.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.00013 | $0.02174 |
| Opus 5 | $0.00006 | $0.01087 |
| Sonnet 5 | $0.00003 | $0.00435 |
| Haiku 4.5 | $0.00001 | $0.00217 |
Grade A, and why
content-model 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 5d 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 — 237 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/content-model — Content Model Generator
Generate Alfresco content model files based on requirements.
Input
Read REQUIREMENTS.md (or use "$ARGUMENTS" as input) to extract content model 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/content-modelonly applies to the in-process repository addon project.
Output Files
1. Content Model XML
Create {platform-project-root}/src/main/resources/alfresco/module/{module-id}/model/content-model.xml:
<?xml version="1.0" encoding="UTF-8"?>
<model name="{prefix}:contentModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<description>...</description>
<version>1.0</version>
<imports>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
</imports>
<namespaces>
<namespace uri="http://www.{company}.com/model/{prefix}/1.0" prefix="{prefix}"/>
</namespaces>
<!-- types and aspects here -->
</model>
2. Spring Context
Create {platform-project-root}/src/main/resources/alfresco/module/{module-id}/context/bootstrap-context.xml:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" ...>
<bean id="{prefix}.dictionaryBootstrap"
parent="dictionaryModelBootstrap"
depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/module/{module-id}/model/content-model.xml</value>
</list>
</property>
</bean>
</beans>
3. Model Constants Interface
Create {platform-project-root}/src/main/java/{package}/model/{Name}Model.java:
package {package}.model;
import org.alfresco.service.namespace.QName;
/**
* Constants for the {prefix} content model.
*
* Use these constants everywhere instead of constructing QNames inline.
* The two-argument QName.createQName(URI, localName) form is safe at class-load
* time because it does not require a registered namespace prefix resolver.
*/
public interface {Name}Model {
String NAMESPACE_URI = "http://www.{company}.com/model/{prefix}/1.0";
String NAMESPACE_PREFIX = "{prefix}";
// --- Types ---
QName TYPE_{TYPE_LOCAL_NAME_UPPER} = QName.createQName(NAMESPACE_URI, "{typeLocalName}");
// --- Aspects ---
QName ASPECT_{ASPECT_LOCAL_NAME_UPPER} = QName.createQName(NAMESPACE_URI, "{aspectLocalName}");
// --- Properties ---
QName PROP_{PROP_LOCAL_NAME_UPPER} = QName.createQName(NAMESPACE_URI, "{propLocalName}");
// --- Associations ---
QName ASSOC_{ASSOC_LOCAL_NAME_UPPER} = QName.createQName(NAMESPACE_URI, "{assocLocalName}");
}
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.
- 5d ago First seen · 237 lines · 13 tokens per session scan A a57036ce1212
content-model is a command published in the GitHub repository aborroy/aiup-alfresco (13 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 13 tokens to every session and 2,174 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
genshijin-compress
Markdown・テキストファイルを原始人形式へ安全圧縮.
save
Save this conversation as a new or existing reusable context.
claude-recall
Update project context using the local LLM (Qwen2.5 0.5B).
review
Submit a story for verification (In Progress → In Review, no PR yet).
standup
Alias of /board — the async sprint snapshot.
wp-cleanup
Find and clean up unused PHP code, Composer dependencies, imports, and dead code in WordPress projects.