Borrowing it
Nothing to install: this file belongs to Aviator-Coding/home-ops. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Aviator-Coding/home-ops/main/.agents/skills/authentik-terraform/SKILL.mdgit clone --depth 1 https://github.com/Aviator-Coding/home-opsWrote 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/aviator-coding/home-ops/authentik-terraform)<a href="https://agentmods.dev/skills/aviator-coding/home-ops/authentik-terraform"><img src="https://agentmods.dev/badge/skills/aviator-coding/home-ops/authentik-terraform/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/aviator-coding/home-ops/authentik-terraform"><img src="https://agentmods.dev/badge/skills/aviator-coding/home-ops/authentik-terraform.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.00091 | $0.01333 |
| Opus 5.5 | $0.00036 | $0.00533 |
| Sonnet 5.5 | $0.00018 | $0.00267 |
| Haiku 4.5 | $0.00009 | $0.00133 |
Grade A, and why
authentik-terraform scanned grade A with 1 finding 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 23d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- ExtAuth still redirects: `curl -sSI https://echo.${SECRET_DOMAIN} | head -1`. How it starts
The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Authentik SSO and the OpenTofu stack
terraform/authentik/ is applied and holds live SSO state. Flux does not
reconcile it. Nothing in CI runs tofu apply. The directory name stays
authentik-terraform (the 1Password item uses the same name).
Server chart tag is the OCIRepository in
kubernetes/apps/base/security/authentik/app/helmrelease.yaml (2026.8.3
when this skill was written). One chart ships server, worker and the embedded
outpost. postgresql.enabled: false; the DB is postgres-17.
Tripwires
tofu applyandtofu destroyneed an explicit, current go-ahead. A green PR, a clean plan and a passingterraform-diffare not that approval. Apply a saved plan fromsecrets-apply.vals.yaml. Never a baretofu apply.AUTHENTIK_APPLY_TOKENstays absent from 1Password until that go-ahead, so a stray apply fails closed. apply-runbook.md- Four traps
tofu validatecannot see.- Omitting
grant_typesis correct on an imported provider and fatal on a created one (grant_types = {}, every authorize returnsinvalid_request). authentik_flow.idis the slug.invalidation_flowandauthentik_flow_stage_binding.targetneed.uuid.- The S3 backend fails open to real AWS when
AWS_ENDPOINT_URL_S3is unset.backend.tofuomitsendpointson purpose. Never set the endpoint tohttps://s3.sklab.dev(OpenTofu's signer does not survive Envoy). - The write role's model-level
change_flowreaches every flow, includingdefault-authentication-flow. Snapshot flows and stage bindings from the database before and after an apply.
- Omitting
- Imported providers omit
client_secret. Declaring it rotates the live secret and breaks every login for that app.property_mappingsis the opposite: it must be declared or the plan strips scopes. The created LiteLLM provider inverts the secret rule (generated in OpenTofu, pushed to the cluster). inventory.md - Do not turn blueprint
datasources into resources. Authentik's blueprint reconciler already owns flows, stages, policies and mappings. OpenTofu and that reconciler would fight. - State is plaintext OAuth secrets in a hand-made RGW bucket. Not an
ObjectBucketClaim (
reclaimPolicy: Deleteplus Flux prune would destroy it). state-and-credentials.md - ExtAuth is one domain-wide proxy provider (
forward_domain, live namesklab-externel-auth-provider, typo included).skip_path_regexis an auth bypass if it is ever non-empty. A new namespace needs afrom:entry onkubernetes/apps/base/security/authentik/app/referencegrant.yamlor the SecurityPolicy's backendRef resolves to nothing. An unauthenticated 302 to login is host-agnostic and does not prove that host is covered. - Set the Authentik Base URL system setting before the 2026.11 line. It is optional on 2026.8 and mandatory in 2026.11. 2026.6 and 2026.7 are not release lines. upgrade-checklist.md
- Never seed
litellm-sso-credentialswith client-sidekubectl apply. The value lands inlast-applied-configuration.kubectl create, or server-side apply. Skillsecrets-1password.
What ships with it
6 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.
- 23d ago Changed · -1 lines e51960a03e24
- 25d ago Changed · +56 lines 3b93ad83949a
- 1mo ago First seen · 34 lines · 91 tokens per session scan A 8da8ae6d28bf
authentik-terraform is a skill published in the GitHub repository Aviator-Coding/home-ops (3 stars, last pushed today), licensed MIT. It adds 91 tokens to every session and 1,333 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.
Other skills, from other repositories
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…