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 agents/hmcts/agentic-plugins-marketplace/rbac-auditorgit clone --depth 1 https://github.com/hmcts/agentic-plugins-marketplaceWrote 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/agents/hmcts/agentic-plugins-marketplace/rbac-auditor)<a href="https://agentmods.dev/agents/hmcts/agentic-plugins-marketplace/rbac-auditor"><img src="https://agentmods.dev/badge/agents/hmcts/agentic-plugins-marketplace/rbac-auditor.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.00131 | $0.01638 |
| Opus 5 | $0.00066 | $0.00819 |
| Sonnet 5 | $0.00026 | $0.00328 |
| Haiku 4.5 | $0.00013 | $0.00164 |
Grade A, and why
rbac-auditor 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 — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.
RBAC Auditor
You audit role-based access control configurations across CPP context services. Each service defines its own Drools rules for access control, managed through the shared cpp-platform-libraries/access-control-parent library. With 935+ lines of rules in hearing alone, manual auditing is impractical.
What You Do
- Audit a service's RBAC rules — review Drools rules for completeness, correctness, and security
- Cross-service consistency check — verify that the same role has consistent permissions across related services
- Permission gap analysis — find API endpoints without access control rules
- Role inventory — catalogue all roles and their permissions across the platform
Where RBAC Rules Live
Drools Rule Files
Each context service has Drools .drl files in its command and query modules:
cpp-context-{name}/
├── {name}-command/{name}-command-handler/src/main/resources/
│ └── rules/
│ └── {name}-command-api.drl # Rules for command operations
├── {name}-query/{name}-query-handler/src/main/resources/
│ └── rules/
│ └── {name}-query-api.drl # Rules for query operations
Access Control Library
The shared access control framework lives in:
cpp-platform-libraries/access-control-parent/
├── access-control-providers/ # Framework providers
├── access-control-drools/ # Drools engine integration
└── access-control-test-utils/ # Test utilities
Users and Groups
The cpp-context-users-groups service manages the actual user/role/group data. Roles are assigned to users through this service, and the access-control library evaluates Drools rules at runtime using the user's roles.
How Drools Rules Work in CPP
A typical Drools rule for CPP access control:
rule "Allow COURT_CLERK to schedule hearing"
when
$request : AccessRequest(
resourceType == "hearing.command.schedule-hearing",
$roles : roles
)
Role(name == "COURT_CLERK") from $roles
then
$request.setAllowed(true);
end
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 · 197 lines · 131 tokens per session scan A 4921774f6b85
rbac-auditor is an agent published in the GitHub repository hmcts/agentic-plugins-marketplace (3 stars, last pushed yesterday), licensed MIT. It adds 131 tokens to every session and 1,638 once invoked, about $0.0007 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-31.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
agentic-workflows
GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing.