executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
auth-rbac-securityApply ContextForge authentication, token scoping, teams, RBAC, SSO/OAuth, CSRF, and security invariants without reimplementing policy helpers.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task touches ContextForge authentication, authorization, token scoping, teams, roles, SSO/OAuth, CSRF, trusted proxy auth, query-parameter auth restrictions, or security-sensitive regression tests.
teams, including admin bypass, public-only scope, and
session narrowing.../registry-admin-api/SKILL.md..env catalog and startup secret generation: ../runtime-configuration/SKILL.md.../mcp-transports-federation/SKILL.md.../development-validation/SKILL.md.references/auth-rbac-token-scoping.md for the two-layer model and canonical helper rules.references/oauth-sso-token-exchange.md for OAuth, SSO, and token-exchange boundaries.references/troubleshooting.md for common 401/403, public-only, CSRF, and token issues.scripts/token_scope_probe.py for a safe, unsigned JWT/JSON claim classifier.ContextForge uses two independent gates:
Do not collapse the two layers. A caller can have an admin identity but a public-only visibility scope, and a caller can see a resource while still being forbidden from mutating or executing it.
teams: public-only [].teams: []: public-only [].teams: null and is_admin: true: admin-bypass scope
None.teams: ["t1"]: team plus public visibility.teams only narrows
non-admin sessions and cannot broaden revoked membership.When you need to classify a token quickly, run:
python scripts/token_scope_probe.py --token "$TOKEN" --token-use api
python scripts/token_scope_probe.py --payload '{"email":"u@example.com","is_admin":true,"teams":null}' --token-use api
The helper does not verify signatures; use it only to reason about claim shape and expected ContextForge visibility semantics.
When answering security questions, state the caller identity, token-use class, visibility scope, required RBAC permission, and deny-path evidence separately. If the user is debugging a token, ask for decoded claims only; do not ask for a raw signing secret or private token value.