hashimiche/hal/jwt
Claude Code and agent skill by hashimiche/hal
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
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/jwtSemi-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
halfor lifecycle actions andvault read/writefor 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 port8080; tracks--gitlab-port) - Bound claims:
project_path=root/secret-zeroandref=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:
auth/jwt/configauth/jwt/role/cicd-rolesys/authsys/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
| Component | Value | Description | |
|---|---|---|---|
| Auth Path | auth/jwt/ | The mount point for the JWT auth method | |
| Bound Issuer | http://gitlab.localhost:<gitlab-port> | The trusted GitLab issuer (default port 8080, follows --gitlab-port) | |
| JWKS URL | http://gitlab.localhost:<gitlab-port>/oauth/discovery/keys | Public key source | |
| Role | cicd-role | The role used by the GitLab pipeline | |
| Policy | cicd-read | Read access to the demo secret | |
| Bound Claims | project_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
- Vault is not running: Instruct the user to run
hal vault createfirst. - GitLab is not ready yet: Tell the user the GitLab boot sequence can take several minutes.
- Missing or mismatched claims: Point the user to
vault read auth/jwt/role/cicd-roleand comparebound_claims,bound_claims_type, andbound_audiences. - 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. - 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
- SKILL.md in the repositoryCheckinginternal/skills/data/vault/jwt/SKILL.md
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
[](https://verified-skill.com/skills/hashimiche/hal/jwt)