Loading...
Loading...
Use for the Twingate Identity Firewall (IDFW) and the Twingate Gateway — protocol-level identity enforcement for SSH, the Kubernetes API, AND self-hosted/internal web apps, not just network-level access. LOAD whenever the user wants to grant, secure, SSO into, or audit access to a self-hosted or internal web application — including forwarding or injecting the logged-in user's identity into HTTP requests, or a per-user/request-level audit trail of who accessed an app. This is the Gateway acting as a Layer 7 reverse proxy that injects signed ES256 JWTs (Gateway Access Tokens) or trusted headers into web apps: JWKS verification, request-header injection, framework middleware (Express, Django, Next.js, Auth.js), and no-code SSO integrations (Grafana, Jenkins). Also use when the user deploys the Gateway; configures SSH privileged access with short-lived certificates; manages privileged / vendor / contractor access; configures Certificate Authorities (X.509 or SSH CA, local or HashiCorp Vault); routes kubectl through the Gateway; automates IDFW with Terraform or Ansible; or implements/reviews session recording (asciicast/.cast playback and archival, scanning recorded SSH or kubectl sessions for dangerous commands or leaked secrets, self-hosting a recording browse UI). If a question is about identity-aware access to an app or host — "can Twingate pass the user's identity to my app?", "audit who used this app", "SSO for my internal tool" — assume this skill is relevant and load it.
npx skill4agent add twingate-solutions/twingate-assistant twingate-idfwtwingate-connectorstwingate-terraformssh.resources[].usernametwingate_resourcereferences/ssh-privileged-access-overview.mdreferences/ssh-installation.mdreferences/identity-firewall.mdreferences/identity-firewall-overview.mdhttps://<tenant>.twingate.com/api/v1/jwk/ecreferences/web-app-access.mdauth.proxytypGATJWTtyp: JWTexpreferences/web-app-access.mdgh-twingate-solutions-gatorcast.mdreferences/grep -ril "asciicast" references/ # -> gh-twingate-gateway-wiki.md, gh-twingate-gateway.md, gh-twingate-solutions-gatorcast.md
grep -ril "vault" references/ # -> ssh-privileged-access-overview.md, ssh-installation.md
grep -ril "jwks" references/ # -> web-app-*.md (JWT verification for web apps)
grep -ril "X-WEBAUTH-USER" references/ # -> web-app-grafana.md (exact trusted-header env var)references/gateway-troubleshooting.mdtypalg{{jwt}}{{username}}{{groups}}X-JWT-Assertionweb-app-*gh-twingate-gateway-wiki.mdgh-twingate-gateway.mdhttps://github.com/Twingate/gatewaydeploy/references/TwingateResourcereferences/gateway-troubleshooting.mdreferences/gateway-troubleshooting.md{slug}.mdtwingate.com/docsgh-{org}-{repo}.md| If the user asks about… | Read first |
|---|---|
Gateway not working — TLS/cert failures, 401/407 CONNECT errors, SSH upstream rejection, kubectl | |
| IDFW feature overview, protocol support matrix, roadmap | |
| SSH gateway architecture, CA types, supported SSH features, Client requirements | |
| SSH gateway deployment (Terraform, local vs Vault CA, cloud quick-starts) | |
| Kubectl proxy mode, K8s RBAC integration, K8s session recording (docs page) | |
Web App privileged access — architecture, request flow, GAT/JWT payload claims, JWKS endpoint, | |
Web App developer guides index — which framework middleware exists, ES256/ | |
Web App middleware — Express.js ( | |
Web App middleware — Django ( | |
Web App middleware — Next.js App Router ( | |
Web App middleware — Next.js + Auth.js (NextAuth v5, session cookie minting, | |
| Web App integrations (no-code / trusted-header) — security model, JWT-vs-header choice, own-the-code vs off-the-shelf | |
Web App SSO — Grafana ( | |
Web App SSO — Jenkins (reverse-proxy-auth-plugin, role-strategy, JCasC, | |
| Gateway repo/wiki — protocol support (K8s/SSH/Web App), GAT auth flow, identity propagation, asciicast v2 session recording, Prometheus metrics, Helm chart values, Docker image | |
| Session-recording browse/replay UI (Gatorcast) — ingests Gateway asciicast fragments via HTTP/syslog, reassembles by connection, flags dangerous commands and secret exposure; example/reference project, not a supported product | |
| Remote development with SSH (VS Code, JetBrains Gateway, Cursor) | |
| Smallstep CA integration | |
| Gateway config YAML schema, exact field names | Gateway repo: |
references/