<< All versions

Skill v1.0.0

currentLLM-judged scan90/100
ehmo/gum/gum-hasp
──Details
PublishedOctober 22, 2026 at 07:25 AM
Content Hashsha256:9ff6bcb26bbb749d...
Git SHA54b7ca6999ea
──Files
Files (1 file, 1.3 KB)
SKILL.md1.3 KBactive
SKILL.md · 55 lines · 1.3 KB

version: "1.0.0" name: gum-hasp description: Use when a gum workflow needs local secrets protected by HASP.


gum + HASP

Use this when gum work also needs local secrets outside Google's OAuth flow.

gum handles Google API discovery, OAuth login, local refresh-token storage, and guarded API calls.

HASP handles repo, test, and deploy secrets for commands and agents.

Start

Install HASP and run setup:

bash
brew tap gethasp/homebrew-tap
brew install hasp
hasp setup

Read HASP at https://github.com/gethasp/hasp before changing secret policy.

Safe Pattern

Register gum OAuth secrets through stdin:

bash
printf '%s' "$GOOGLE_OAUTH_CLIENT_SECRET" \
| gum auth use-oauth-client --client-id "$GOOGLE_OAUTH_CLIENT_ID" --secret-stdin

Put other secrets in HASP, then run gum under a short grant:

bash
hasp secret add
hasp run --project-root . \
--env GUM_GOOGLE_ADS_DEVELOPER_TOKEN=@GOOGLE_ADS_DEVELOPER_TOKEN \
--grant-project session \
--grant-secret session \
-- gum doctor --format=json

Rules

Keep secret values out of prompts, repo files, shell history, and agent notes.

Use gum for Google API calls. Use HASP for non-Google secrets the command needs. Give agents the narrowest HASP grant that lets the command run.

Run hasp secret diff .env before committing a repo that used to carry plaintext secrets.

All versions