rule-conditions

rule-conditions is a skill for Claude Code, Cursor from aborroy/aiup-alfresco. It costs 34 tokens per session (136 once invoked), scanned A, original, Apache-2.0.

A generator for an Alfresco rule condition evaluator, a component that decides whether an automated repository rule should run. It creates parameter definitions, Spring registration, and a unit test for an in-process Maven SDK project.

In plain words
What is it for?
Use it to create or update custom Alfresco rule conditions, including their parameters, Spring bean, and test.
Why use it?
It provides the surrounding project files needed for a custom condition, reducing setup work and helping the component fit Alfresco’s configuration model.

Skill for Claude CodeCursor

Written for Claude Code and Cursor: disable-model-invocation in frontmatter, but also installed under .cursor/. Also seen: mentions AGENTS.md.

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

Good fit Use it to create or update custom Alfresco rule conditions, including their parameters, Spring bean, and test.

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

Any agent
npx skills add aborroy/aiup-alfresco --skill rule-conditions
Clone the repo
git clone --depth 1 https://github.com/aborroy/aiup-alfresco

Made for: Claude Code, Cursor.

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 rule-conditions

README.md
[![agentmods](https://agentmods.dev/badge/skills/aborroy/aiup-alfresco/rule-conditions/github.svg)](https://agentmods.dev/skills/aborroy/aiup-alfresco/rule-conditions)
Your own site
<a href="https://agentmods.dev/skills/aborroy/aiup-alfresco/rule-conditions"><img src="https://agentmods.dev/badge/skills/aborroy/aiup-alfresco/rule-conditions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rule-conditions

Your own site · 80×15
<a href="https://agentmods.dev/skills/aborroy/aiup-alfresco/rule-conditions"><img src="https://agentmods.dev/badge/skills/aborroy/aiup-alfresco/rule-conditions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 136 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.00034 $0.00136
Opus 5 $0.00017 $0.00068
Sonnet 5 $0.00007 $0.00027
Haiku 4.5 $0.00003 $0.00014

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

Security

Grade A, and why

rule-conditions 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 11d 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.

.cursor/skills/rule-conditions/SKILL.md · 15 lines

What it actually says

AIUP command: rule-conditions

  1. Read AGENTS.md.
  2. Execute the full procedure in commands/rule-conditions.md.
  3. Apply referenced validator skills under .cursor/skills/ when the command mentions them.
  4. Create or update real files unless the user asked for a plan only.

Treat any user text after /rule-conditions as $ARGUMENTS from the command spec.

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. 11d ago First seen · 15 lines · 34 tokens per session scan A 529b4cace4ad

Subscribe to this mod's changes

rule-conditions is a skill published in the GitHub repository aborroy/aiup-alfresco (13 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 34 tokens to every session and 136 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

fastify-testing

This skill should be used when testing Fastify applications, using .inject() for HTTP testing, writing Fastify unit tests, testing Fastify plugins in isolation, separating app from server for testing, using light-my-request, testing route handlers, integration testing Fastify, test setup and teardown with Fastify…

RadOrigin-LLC/RAD-Claude-Skills · 81 tokens

sync-new-data-type

Adds scaffolding for a new Sync data type in Chromium across protocol buffers, DataType definitions, feature flags, controller builders, unit tests, and metrics.

chromium/chromium · 36 tokens

generate-testability-wrappers

DO NOT USE when the target already consumes an injected interface or built-in abstraction such as IFileSystem or TimeProvider, even if the request says "generate a wrapper"; no new wrapper is needed. Use only when C# source calls an ambient/static dependency and no injectable seam exists: first-time TimeProvider…

dotnet/skills · 147 tokens

convex-test

Generate convex-test tests for the app's Convex functions.

openclaw/clawhub · 16 tokens

platform-apex-test-generate

Generate and validate Apex test classes with TestDataFactory patterns, bulk testing (251+ records), mocking strategies, assertion best practices, and disciplined test-fix loops. Use this skill when creating new Apex test classes, improving test coverage, debugging and fixing failing Apex tests, running test execution…

forcedotcom/sf-skills · 135 tokens

api-tester

A tool for creating and checking API tests from the real API contract and implementation. An API is the agreed way that software sends requests and receives responses.

laolaoshiren/claude-code-skills-zh · 86 tokens