hashimiche/hal/jwt

Claude Code and agent skill by hashimiche/hal

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Deploy, verify, and troubleshoot the Vault JWT auth lab in hal. Use this skill when the user asks to enable JWT auth, configure CI/CD authentication with Vault, debug bound claims, test GitLab or pipeline logins, or reset the JWT demo. Triggers include "enable jwt", "configure jwt", "gitlab vault auth", "pipeline auth", "bound claims", and "hal vault jwt".

Install

npx vskill@latest install hashimiche/hal/jwt

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as hashimiche/hal/jwt.

Hal Vault JWT Configurator

This skill covers the local GitLab-backed JWT auth demo implemented by hal vault jwt.

Lab Assumptions

  • Vault runs at http://vault.localhost:8200
  • Root token defaults to root
  • The JWT demo deploys GitLab CE and a runner, then configures Vault JWT auth
  • Prefer hal for lifecycle actions and vault read/write for post-deploy inspection

What The Command Actually Sets Up

  • GitLab container: hal-gitlab
  • GitLab runner: hal-gitlab-runner
  • Vault auth mount: jwt/
  • KV engine: kv-jwt/
  • Policy: cicd-read
  • Role: auth/jwt/role/cicd-role
  • Bound issuer: http://gitlab.localhost:<gitlab-port> (default port 8080; tracks --gitlab-port)
  • Bound claims: project_path=root/secret-zero and ref=v*
  • Bound claims type: glob (tag-based guardrail)

Workflow

Step 1: Choose the lifecycle action

Use smart status mode if needed:

hal vault jwt

Then use the correct lifecycle command:

hal vault jwt enable --gitlab-tag 18.11.9-ce.0 hal vault jwt update hal vault jwt disable

Step 2: Verify the resulting Vault config

If Vault MCP is available, inspect:

  1. auth/jwt/config
  2. auth/jwt/role/cicd-role
  3. sys/auth
  4. sys/mounts

If MCP is unavailable, use:

export VAULT_ADDR='http://vault.localhost:8200' export VAULT_TOKEN='root'

vault read auth/jwt/config vault read auth/jwt/role/cicd-role vault list auth/jwt/role

Step 3: Present structured results

Synthesize the output from the hal CLI and the Vault MCP into a clean, markdown-formatted response.

Tier 1 — Success Summary Provide a brief confirmation that the JWT auth method is enabled and configured.

Tier 2 — Configuration Details Table

ComponentValueDescription
Auth Pathauth/jwt/The mount point for the JWT auth method
Bound Issuerhttp://gitlab.localhost:<gitlab-port>The trusted GitLab issuer (default port 8080, follows --gitlab-port)
JWKS URLhttp://gitlab.localhost:<gitlab-port>/oauth/discovery/keysPublic key source
Rolecicd-roleThe role used by the GitLab pipeline
Policycicd-readRead access to the demo secret
Bound Claimsproject_path=root/secret-zero, ref=v*Restricts access to this repository and protected tag pattern

Tier 3 — Actionable Testing Commands

export VAULT_ADDR='http://vault.localhost:8200' export VAULT_TOKEN='root'

vault read auth/jwt/config vault read auth/jwt/role/cicd-role

Handling Edge Cases

  1. Vault is not running: Instruct the user to run hal vault create first.
  2. GitLab is not ready yet: Tell the user the GitLab boot sequence can take several minutes.
  3. Missing or mismatched claims: Point the user to vault read auth/jwt/role/cicd-role and compare bound_claims, bound_claims_type, and bound_audiences.
  4. Tag/branch mismatch in CI: Explain that the default lab policy is tag-focused (ref=v*) and suggest explicit role updates if branch-based auth is desired.
  5. User wants to modify the configured role after deployment: Provide exact vault write auth/jwt/role/... commands rather than suggesting Go code edits.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
33
Repository forks
9
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hashimiche/hal/jwt/badge)](https://verified-skill.com/skills/hashimiche/hal/jwt)

Something wrong with this skill or its page? Tell us.