Claude-skill-registry env-update-secrets
Use when updating environment secrets like GITHUB_TOKEN, NPM_TOKEN, or API keys on the user's machine
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/env-update-secrets" ~/.claude/skills/majiayu000-claude-skill-registry-env-update-secrets && rm -rf "$T"
manifest:
skills/data/env-update-secrets/SKILL.mdsource content
Updating Environment Secrets
Location
All secrets live in:
~/.config/fish/config.secrets.fish
This file is sourced by
~/.config/fish/config.fish on shell startup.
Format
export VAR_NAME='value'
Current Secrets
| Variable | Purpose |
|---|---|
| GitHub CLI and API authentication |
| npm registry authentication |
| npm package publishing |
Workflow
- Read
~/.config/fish/config.secrets.fish - Edit the relevant
line with new valueexport - Tell user to reload:
source ~/.config/fish/config.fish
Adding New Secrets
Add new
export lines to the same file. Keep secrets consolidated here rather than scattered across dotfiles.