Cognito
itsmostafa/aws-agent-skills
AWS Cognito user authentication and authorization service. An agent skill from itsmostafa/aws-agent-skills.
Configure portal cookie names, prefixes, domains, paths, attributes, and refresh overrides.
$ npx skills add greenpau/caddy-security --skill configuration-authentication-cookies -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install greenpau/caddy-security configuration-authentication-cookies --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/greenpau/caddy-security.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/configuration-authentication-cookies .claude/skills/configuration-authentication-cookies && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "configuration-authentication-cookies" agent skill from https://github.com/greenpau/caddy-security/tree/main/.codex/skills/configuration-authentication-cookies into .claude/skills/configuration-authentication-cookies/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "configuration-authentication-cookies", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/greenpau/caddy-security/tree/main/.codex/skills/configuration-authentication-cookiesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add greenpau/caddy-security --skill configuration-authentication-cookies -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install greenpau/caddy-security configuration-authentication-cookies --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/greenpau/caddy-security.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.codex/skills/configuration-authentication-cookies .agents/skills/configuration-authentication-cookies && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "configuration-authentication-cookies" agent skill from https://github.com/greenpau/caddy-security/tree/main/.codex/skills/configuration-authentication-cookies into .agents/skills/configuration-authentication-cookies/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "configuration-authentication-cookies", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add greenpau/caddy-security --skill configuration-authentication-cookies -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install greenpau/caddy-security configuration-authentication-cookies --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/greenpau/caddy-security.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.codex/skills/configuration-authentication-cookies .cursor/skills/configuration-authentication-cookies && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "configuration-authentication-cookies" agent skill from https://github.com/greenpau/caddy-security/tree/main/.codex/skills/configuration-authentication-cookies into .cursor/skills/configuration-authentication-cookies/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "configuration-authentication-cookies", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/greenpau/caddy-security.git --path .codex/skills/configuration-authentication-cookies--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add greenpau/caddy-security --skill configuration-authentication-cookies -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install greenpau/caddy-security configuration-authentication-cookies --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/greenpau/caddy-security.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.codex/skills/configuration-authentication-cookies .gemini/skills/configuration-authentication-cookies && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "configuration-authentication-cookies" agent skill from https://github.com/greenpau/caddy-security/tree/main/.codex/skills/configuration-authentication-cookies into .gemini/skills/configuration-authentication-cookies/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "configuration-authentication-cookies", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install greenpau/caddy-security configuration-authentication-cookiesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add greenpau/caddy-security --skill configuration-authentication-cookies -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/greenpau/caddy-security.git skills-src && mkdir -p .github/skills && cp -r skills-src/.codex/skills/configuration-authentication-cookies .github/skills/configuration-authentication-cookies && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "configuration-authentication-cookies" agent skill from https://github.com/greenpau/caddy-security/tree/main/.codex/skills/configuration-authentication-cookies into .github/skills/configuration-authentication-cookies/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "configuration-authentication-cookies", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add greenpau/caddy-security --skill configuration-authentication-cookies -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install greenpau/caddy-security configuration-authentication-cookies --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/greenpau/caddy-security.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.codex/skills/configuration-authentication-cookies .opencode/skills/configuration-authentication-cookies && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "configuration-authentication-cookies" agent skill from https://github.com/greenpau/caddy-security/tree/main/.codex/skills/configuration-authentication-cookies into .opencode/skills/configuration-authentication-cookies/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "configuration-authentication-cookies", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
configuration-authentication-cookiesConfigure portal cookie names, prefixes, domains, paths, attributes, and refresh overrides.
Configuration Authentication Cookies is an agent skill from greenpau/caddy-security. Configure portal cookie names, prefixes, domains, paths, attributes, and refresh overrides. Use for cookie precedence and coordination with authorization token discovery.
Its SKILL.md is about 3.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).
It sits in Backend & APIs, covering Authentication and Authorization and RBAC. The repository describes itself as: 🔐 Authentication, Authorization, and Accounting (AAA) App and Plugin for Caddy v2. 💎 Implements Form-Based, Basic, Local, LDAP, OpenID Connect, OAuth 2.0 (Github, Google…. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit a48553d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
goFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
PORTAL_ID_TOKENPORTAL_ACCESS_TOKENPORTAL_REFRESH_TOKENAUTHP_ACCESS_TOKENJWT_SHARED_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Configuration Authentication Cookies loads about 3.8k tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 1,619 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from greenpau/caddy-security at commit a48553d, republished under its Apache-2.0 licence (© greenpau). 1,619 words, ~3,831 tokens.
.claude/skills/configuration-authentication-cookies/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Portal cookie statements are collected in caddyfile_authn.go. The thin
translation in caddyfile_authn_cookie.go preserves legacy Caddy spellings;
pkg/authn/cookie/parser.NewCookieConfigFromDirectives in the AuthCrunch version selected by go.mod owns grammar, normalization, duplicates, and validation.
PortalConfig.ConfigureCookies installs one complete validated snapshot.
It replaces previous cookie settings, rather than merging individual lines.
Portal construction wires the final access name into its grantor and validator.
Portal wiring belongs to configuration-authentication and policy behavior to configuration-authorization. Upstream source is read-only.
authentication portal myportal {
enable identity store localdb
set cookie name prefix PORTAL
}That one statement covers all ten roles:
| Role | Effective cookie name |
|---|---|
| Session ID | PORTAL_SESSION_ID |
| Referer/redirect URL | PORTAL_REDIRECT_URL |
| Sandbox ID | PORTAL_SANDBOX_ID |
| Identity token | PORTAL_ID_TOKEN |
| Access token | PORTAL_ACCESS_TOKEN |
| Refresh token | PORTAL_REFRESH_TOKEN |
| OIDC session ID | PORTAL_OIDC_SESSION_ID |
| OIDC request ID | PORTAL_OIDC_REQUEST_ID |
| SAML session ID | PORTAL_SAML_SESSION_ID |
| Cross-device session ID | PORTAL_CROSS_DEVICE_SESSION_ID |
set cookie name prefix portal preserves the legacy uppercasing behavior.
The shared spelling cookie prefix PORTAL preserves the supplied case.
With neither statement, every role uses the same suffix with AUTHP_.
For initialized Go configs, call SetCookieNamePrefix; assigning
CookieNamePrefix directly does not rename already initialized fields.
The SAML session cookie binds a SAML login to its initiating browser. It uses
host-only scope, path /, Secure, HttpOnly, SameSite=None and a 300-second
lifetime. Its name participates in shared prefix, override and collision checks;
changing its name does not weaken SAML state or assertion validation.
The cross-device cookie role is supplied by the v1.3.11 shared parser and uses
cookie cross-device session id name <name>. It participates in prefix,
uniqueness and runtime resolution just like the other names. Naming this cookie
does not enable cross-device login. Use
configuration-authentication-cross-device
to enable the optional flow and review its browser-binding lifetime and scope.
Its Secure/HttpOnly/host-only, mount-scoped, SameSite=None binding uses a
300-second Max-Age independently of ordinary cookie options. __Host- requires
a root mount; a nested mount fails closed.
Explicit names are complete, literal cookie names. No prefix is added to them. Keep the naming convention consistent in examples:
authentication portal myportal {
enable identity store localdb
cookie session id name AUTHP_SESSION_ID
cookie access token name AUTHP_LOGIN_ACCESS
cookie oidc session id name AUTHP_LOGIN_SESSION
cookie oidc request id name AUTHP_LOGIN_REQUEST
cookie saml session id name AUTHP_LOGIN_SAML
cookie cross-device session id name AUTHP_LOGIN_TRANSFER
cookie refresh token name AUTHP_LOGIN_REFRESH
cookie referer name AUTHP_LOGIN_REDIRECT
cookie sandbox id name AUTHP_LOGIN_SANDBOX
cookie identity token name AUTHP_LOGIN_IDENTITY
}An explicit name wins independently of statement order, including one equal
to an old default. For example, cookie session id name AUTHP_SESSION_ID
plus set cookie name prefix PORTAL leaves that session name unchanged and
sets all nine omitted names to PORTAL_<SUFFIX>.
cookie access token name LOGIN_ACCESS is also valid and stays exactly
LOGIN_ACCESS; use AUTHP_LOGIN_ACCESS when the intended convention is AUTHP.
redirect url aliases referer; id token aliases identity token.
Legacy set <role> cookie name <name> supports session_id, redirect_url,
sandbox_id, id_token, access_token, and refresh_token.
Each prefix, name (including aliases), and attribute per scope may be set
once. Duplicate statements are errors even when the values agree. Final
names must be valid HTTP cookie names and distinct across all ten roles.
Names may be explicitly unprefixed. __Host- and __Secure- remain optional
compatibility cases; a name alone does not establish the required attributes.
For enabled portal token refresh,
an explicit token refresh { cookie name ... } overrides the shared refresh
name before shared-parser collision checks and cookie factory construction.
An override may free the old name for another role; duplicate shared settings
still fail. Deferred refresh also defers cookie parsing, even for literal cookies.
Without that override, the shared name/prefix wins. Disabled refresh does not
rename cookies. Active refresh cookies use the configured portal mount with
host-only, Secure, HttpOnly, SameSite=Lax attributes; the legacy refresh subpath
below only describes retired-cookie cleanup.
AuthCrunch v1.3.3 preserves Secure, HttpOnly, SameSite, domain, and path
on matching deletion cookies, with a past expiry and Max-Age=0.
__Secure- names require secure cookies. __Host- additionally requires no
Domain and Path=/; a configured access path or domain must respect that scope.
Prefix checks are case-insensitive.
Access and session cookies can use explicit __Host- names with a portal
mounted at /auth, because their configured/default paths can remain /:
cookie session id name __Host-SESSION
cookie access token name __Host-ACCESS
cookie path /A common __Host- prefix also names referer and sandbox cookies, so that portal
must be mounted at /. Its identity-cookie role needs a compatible override
because identity cookies use the /whoami subpath:
cookie prefix __Host-PORTAL
cookie identity token name __Secure-PORTAL_ID_TOKENStatic incompatibilities fail configuration. A dynamically inferred non-root
mount with host-prefixed referer/sandbox cookies fails the request with HTTP 500
before issuing portal cookies. The retired refresh-cookie subpath cannot carry
a __Host- cookie; upstream omits that legacy tombstone and leaves active refresh
cleanup to its feature runtime. These examples do not enable OIDC or refresh.
cookie path /app
cookie lifetime 3600
cookie same site lax
cookie insecure disabled
cookie guess domain disabled
cookie strip domain enabled
cookie domain example.com
cookie domain example.com path /app
cookie domain example.com lifetime 600
cookie domain example.com same site strict
cookie domain example.com insecure disabled
cookie domain example.com strip domain enabledsame site/samesite accepts lax, strict, or none, normalized by the
shared validator. Lifetime is an integer interpreted by the issuing runtime;
use positive seconds for an expiring access cookie. Global and domain settings
are separate scopes. Domain guess domain is unsupported. Legacy forms remain:
cookie guess domain
cookie strip domain
cookie insecure off
cookie example.com path /app
cookie example.com lifetime 600
cookie example.com samesite strict
cookie example.com insecure off
cookie example.com strip domainLegacy insecure also accepts on/off, yes/no, true/false, and 1/0.
Domain insecure no longer mutates global or unrelated domain settings.
An explicit domain defaults to secure cookies; global insecure enabled alone
does not make an explicit domain insecure. Do not rely on the old parser's
order-dependent propagation of insecure across domains.
Domain names are lowercased and a leading dot is removed. Attributes can create a domain entry without a separate declaration. The first occurrence sets its sequence; subsequent attributes do not move it. Runtime matching prefers an exact host, otherwise the last matching suffix in declaration order. Choose overlapping domains deliberately; this is not automatic longest-suffix selection. Duplicate normalized domain declarations/settings are rejected.
Host-only cookies are the default. guess domain omits public suffixes such as
fly.dev. Domain-level strip domain enabled keeps the selected domain's
attributes while emitting a host-only cookie.
Access cookies use domain/global path, lifetime, and SameSite settings.
Session cookies use /. Referer and sandbox cookies use the portal base path;
identity-token cookies use <base>/whoami; legacy refresh cookies use
<base>/api/refresh_token. These roles do not all inherit the access path.
OIDC and refresh features own additional, stricter issuance requirements.
Caddy {$ENV} expansion happens before adaptation. Empty and whitespace-only
arguments are rejected before cfgutil.EncodeArgs, which trims trailing empties.
Quoted values retain token boundaries; replacements cannot inject statements.
If any portal cookie statement contains a runtime placeholder or secret lookup,
the entire collection is retained as security.portal_cookie_directives, keyed
by portal name. Provisioning expands each argument, translates legacy syntax,
and parses/applies the complete snapshot once. All cookie statements for that
portal are deferred together, so duplicate aliases, colliding resolved names,
and domains that resolve to the same value are checked together. Deferred
validation happens during provisioning; adaptation alone cannot validate it.
Preserve argument values through every encode/decode step, including trailing tabs and Unicode whitespace. The shared CSV codec trims record-edge whitespace; use the lossless directive encoder so an invalid cookie name cannot become valid before validation or be hidden by an enabled refresh-name override. Resolve into tokens and translate legacy syntax before re-encoding, with no lossy intermediate statement. Reject CR/LF in saved statements before decoding: the decoder consumes one record and would otherwise ignore subsequent settings. Replacements must also reject empty, multiline, NUL and invalid UTF-8 arguments before encoding.
The deferred snapshot replaces any typed cookie_config supplied for that
portal in JSON. Unknown or ambiguous portal references fail. Literal-only
Caddyfiles emit typed cookie_config directly. JSON roundtrips preserve both
forms. Existing typed JSON supports runtime replacement of path/domain fields;
use the deferred statement collection for runtime names and prefixes.
Resolved path values remain literal, including braces or spaces, in both legacy
and shared syntax. Typed JSON domain maps are rebuilt once; two entries resolving
to the same key fail instead of silently replacing one domain's settings.
For the prefix-only portal above:
authorization policy app_policy {
crypto key verify {env.JWT_SHARED_KEY}
set session_id cookie name PORTAL_SESSION_ID
set access_token cookie name PORTAL_ACCESS_TOKEN
set token sources cookie
allow roles authp/user
}Use compatible portal signing keys. For the AUTHP explicit-name example, use:
set session_id cookie name AUTHP_SESSION_ID
set access_token cookie name AUTHP_LOGIN_ACCESSThe Caddy policy parser maps these to PolicyConfig.SessionIDCookieName and
AccessTokenCookieNames. The session name carries correlation information;
it is not an access credential. Multiple access names can be intentionally
listed on one statement. Explicit access lists replace defaults.
During runtime resolution, absent policy cookie settings become
AUTHP_SESSION_ID and [AUTHP_ACCESS_TOKEN, access_token, jwt_access_token].
This prevents AuthCrunch's server-wide portal-name discovery. Custom portal
names are never implicitly shared across policies, including portals in one
security app. Deployments that relied on automatic discovery must add explicit
policy names. Equal names and signing keys still share credentials by design;
cookie names alone do not isolate trust.
Naming does not enable bearer, Basic, API-key, refresh, or identity-token
credentials. Existing token source settings still apply. AuthCrunch also adds
explicit access names, lowercased, to its named header/query lookup lists;
use set token sources cookie when only cookie transport should be accepted.
Policy cookie names can use Caddy {$ENV} expansion; typed policy names are
not runtime-replaced.
OAuth IdentityTokenCookieName belongs to the upstream identity provider,
which can be shared by portals. A portal prefix never rewrites it. Configure
that provider explicitly when changing its ID-token cookie name; the portal's
identity-cookie role is not an override of the shared provider.
caddyfile_authn_cookie_test.go: grammar, legacy translation, all nine prefix
defaults, order independence, domains, quoted/empty values, duplicates,
malformed input, runtime replacement, and typed/deferred JSON roundtrips.cookie_policy_test.go: defaults/overrides, session ID consumption, shared
provider ownership, and malformed policy settings.cookie_e2e_test.go: real TLS Caddy login, protected resources, and logout;
public-suffix-aware jars, host/path boundaries, matching deletion, negative
credential transports, cross-portal names, literal resolved paths, and rejected
reloads. Includes explicit secure-prefixed cookies and root-mounted host-prefixed
cookies, with issuance/deletion checks for Secure, HttpOnly, SameSite, domain,
path, Max-Age, and expiry. Certificate verification is enabled. These are HTTP
attribute assertions and jar tests; the jar does not enforce a browser's
SameSite or reserved-prefix rules.testdata/caddyfile_adapt/testcase_authenticate_with_cookie_parser.* covers
complete explicit grammar, set cookie name prefix PORTAL alone, reserved
prefixes, and legacy runtime paths containing literal braces.
Domain/credentials fixtures retain runtime placeholders and resolved snapshots.Run focused checks with:
go test -mod=readonly -race -count=1 -run 'TestPortalCookie|TestPolicyCookie|TestAppCookie|TestCaddyCookiesE2E|TestCaddyfileAdaptAuthenticationToJSON|TestResolveRuntimeAppConfig' .TestCaddyTokenRefreshE2E and TestCaddyOIDCProviderE2E exercise the stricter
refresh/OP cookie scopes, origin checks, rotation, and logout requirements.
The refresh E2E also rejects malformed shared-cookie names and saved multiline
statements during reload, then rotates the original session to verify that the
failed candidate preserved its store. The registered
testcase_authenticate_with_token_refresh_cookie_whitespace fixture covers
literal whitespace rejection before a refresh-name override.
© greenpau, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in .codex/skills/configuration-authentication-cookies of greenpau/caddy-security.
Open the folder on GitHubat commit a48553d
Configuration Authentication Cookies next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Configuration Authentication Cookies this skillgreenpau/caddy-security | 2.3k | — | ~3.8k | Automated safety check: Pass | Apache-2.0 | |
| Cognitoitsmostafa/aws-agent-skills | 1.2k | 1 repos | ~2.3k | Automated safety check: Pass | MIT | |
| Auth Implementation Patternsynulihao/AgentSkillOS | 618 | 10 repos | ~4.4k | Automated safety check: Pass | None | |
| Supercheck Security Authsupercheck-io/supercheck | 215 | — | ~1.2k | Automated safety check: Pass | AGPL-3.0 | |
| Bkend Authww-w-ai/bkit-claude-code | 601 | — | ~937 | Automated safety check: Notes | Apache-2.0 | |
| Authenticationcodewithmukesh/dotnet-claude-kit | 756 | 1 repos | ~1.9k | Automated safety check: Pass | MIT |
itsmostafa/aws-agent-skills
AWS Cognito user authentication and authorization service. An agent skill from itsmostafa/aws-agent-skills.
ynulihao/AgentSkillOS
Master authentication and authorization patterns including JWT, OAuth2, session management, and RBAC to build secure, scalable access control systems.
supercheck-io/supercheck
Work on Supercheck authentication, RBAC, tenant isolation, sessions, API and trigger keys, invitations, project membership, project variables, OAuth, super-admin behavior, SSRF, or…
ww-w-ai/bkit-claude-code
bkend.ai authentication — email/social login, JWT tokens, RBAC, session management.
codewithmukesh/dotnet-claude-kit
Authentication and authorization for ASP.NET Core. An agent skill from codewithmukesh/dotnet-claude-kit.
briiirussell/cybersecurity-skills
Audit REST, GraphQL, and RPC APIs against the OWASP API Security Top 10 (2023).
greenpau/caddy-security
Build or troubleshoot portal JSON/native login clients, refresh, profile and admin APIs, and public JWKS.
greenpau/caddy-security
Implement or review caddy-security Go code, Caddy modules, parsers, lifecycle, and HTTP delegation.
greenpau/caddy-security
Build or review caddy-security Caddyfiles and select focused configuration skills.
greenpau/caddy-security
Configure portal/policy JWT keys, token names and lifetimes, key loading and generation, public-key discovery, and System API encryption keys.
greenpau/caddy-security
Mount authenticate and authorize handlers, separate portal and protected routes, align auth URLs, and preserve trusted proxy metadata.
greenpau/caddy-security
Configure durable AuthCrunch runtime state, exclusive storage ownership, stop/start persistence, reload rejection, and recovery.
Categories
Configure portal cookie names, prefixes, domains, paths, attributes, and refresh overrides. Configuration Authentication Cookies is an agent skill from greenpau/caddy-security. Configure portal cookie names, prefixes, domains, paths, attributes, and refresh overrides.
Configuration Authentication Cookies fits situations like: cookie precedence and coordination with authorization token discovery; tasks that involve Authentication; tasks that involve Authorization and RBAC.
Run `npx skills add greenpau/caddy-security --skill configuration-authentication-cookies -a claude-code`. Or copy the skill folder (.codex/skills/configuration-authentication-cookies in greenpau/caddy-security) into .claude/skills/configuration-authentication-cookies in your project. Claude Code loads it when a task matches its description.
Run `npx skills add greenpau/caddy-security --skill configuration-authentication-cookies -a codex`. Or copy the skill folder (.codex/skills/configuration-authentication-cookies in greenpau/caddy-security) into .agents/skills/configuration-authentication-cookies in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add greenpau/caddy-security --skill configuration-authentication-cookies -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/configuration-authentication-cookies, .gemini/skills/configuration-authentication-cookies, .github/skills/configuration-authentication-cookies and .opencode/skills/configuration-authentication-cookies in your project.
Going by SKILL.md and its folder, Configuration Authentication Cookies needs the command-line tools its instructions call (go) and credentials named PORTAL_ID_TOKEN, PORTAL_ACCESS_TOKEN, PORTAL_REFRESH_TOKEN and AUTHP_ACCESS_TOKEN. Our summary lists: A credential in PORTAL_ID_TOKEN; A credential in PORTAL_ACCESS_TOKEN.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Configuration Authentication Cookies is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.8k tokens (SKILL.md is roughly 15k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Configuration Authentication Cookies: Cognito (itsmostafa/aws-agent-skills, 1.2k stars), Auth Implementation Patterns (ynulihao/AgentSkillOS, 618 stars), Supercheck Security Auth (supercheck-io/supercheck, 215 stars) and Bkend Auth (ww-w-ai/bkit-claude-code, 601 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
greenpau (a GitHub user) maintains it in greenpau/caddy-security, which has 2,252 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on October 5, 2026.
Source: greenpau/caddy-security on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.