caddy-security is a security application and set of plugins for Caddy v2, a web server, that handles user authentication and controls access to HTTP requests. It supports methods including local, LDAP, OpenID Connect, OAuth 2.0, SAML, JWT, and PASETO, and is used to protect web services behind Caddy.
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 skills add greenpau/caddy-security --skill configuration-identity-storesgit clone --depth 1 https://github.com/greenpau/caddy-securityWrote 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/skills/greenpau/caddy-security/configuration-identity-stores)<a href="https://agentmods.dev/skills/greenpau/caddy-security/configuration-identity-stores"><img src="https://agentmods.dev/badge/skills/greenpau/caddy-security/configuration-identity-stores/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.
<a href="https://agentmods.dev/skills/greenpau/caddy-security/configuration-identity-stores"><img src="https://agentmods.dev/badge/skills/greenpau/caddy-security/configuration-identity-stores.svg" alt="Reviewed on agentmods" width="80" 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.00041 | $0.02491 |
| Opus 5.5 | $0.00016 | $0.00996 |
| Sonnet 5.5 | $0.00008 | $0.00498 |
| Haiku 4.5 | $0.00004 | $0.00249 |
Grade A, and why
configuration-identity-stores 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 today.
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 — 257 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Configuration Identity Stores
Purpose
Use this skill to configure local identity store <name> and
ldap identity store <name> blocks. The dispatcher is caddyfile_identity.go;
the store parser is caddyfile_identity_store.go.
Use configuration-users to configure static
user <username> entries, password imports, API keys, and stored challenge rules.
For password verification, credential versions, management/profile mutations,
reload invalidation, and Caddy qualification, read
local identity compatibility.
Check github.com/greenpau/go-authcrunch/pkg/ids when changing this skill:
ids.IdentityStoreConfig.Validate admits only local and ldap stores and
validates the authcrunch parameter names produced by the Caddyfile parser.
For SQLite password accounts and trusted offline administration, read SQLite identities. The bundled module uses root runtime injection and preserves its own kind, epoch and password-only capabilities. The separate SQLite API-key authenticator does not create portal password accounts.
Local Stores
Local stores require realm and path in the authcrunch config. The full
Caddyfile form is:
{
security {
local identity store localdb {
realm local
path assets/config/users.json
}
}
}
The local shortcut is valid and sets realm local plus the user file path.
Only local stores support this shortcut:
local identity store localdb assets/config/users.json
Add users inline only when the Caddyfile should own the local account data:
user alice {
name "Alice Example"
email [email protected]
password {env.ALICE_PASSWORD} overwrite
roles authp/user authp/admin
}
Local store-level options supported by authcrunch are login_icon,
username_recovery_enabled, password_recovery_enabled,
contact_support_enabled, support_link, and support_email. In Caddyfile,
set those with icon, enable username recovery, enable password recovery,
enable contact support, support link, and support email.
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- today First seen · 257 lines · 41 tokens per session scan A 6f215dddc94c
configuration-identity-stores is a skill published in the GitHub repository greenpau/caddy-security (2,263 stars, last pushed today), licensed Apache-2.0. It adds 41 tokens to every session and 2,491 once invoked, about $0.0002 per session on Opus 5.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-10-25.
Other skills, from other repositories
auth-patterns
Use when implementing authentication (JWT, sessions, OAuth), authorization (RBAC, ABAC), password hashing, MFA, or security best practices for backend services.
auth0-docs
Auth0 — identity platform: auth flows, Universal Login, SSO, identity providers, MFA, RBAC, Actions, tokens.
JWT Security Testing
Comprehensive JWT token security testing including signature verification, expiration checks, algorithm confusion attacks, and claim validation.
laravel-docs
Laravel 13.x — routing, Eloquent ORM, Blade, middleware, queues, broadcasting, auth, testing, Artisan, packages.
security-review
Security Code Review: Reviews code for security vulnerabilities including authentication (OAuth2, JWT), authorization (RBAC, roles), API security, data protection, payment security, and common attack vectors. Use whenever the user wants a security review, penetration test analysis, threat model, or mentions OAuth2…
query-review
Review an authorized codebase for ORM misuse, N+1 query patterns, authorization-after-fetch bugs, raw SQL risks, cache key collisions, and missing tenant scopes. Use for data-access layers and security-adjacent performance pitfalls.