benxmy

Rotate Hex Token — Development skill for Claude Code

Development community

Help the user rotate an API token stored in macOS Keychain.

How to install Rotate Hex Token

Installs to ~/.claude/skills/benxmy-claude-skills-rotate-hex-token/SKILL.md

Terminal
mkdir -p ~/.claude/skills/benxmy-claude-skills-rotate-hex-token && curl -fsSL https://raw.githubusercontent.com/benxmy/claude-skills/HEAD/skills/rotate-hex-token.md -o ~/.claude/skills/benxmy-claude-skills-rotate-hex-token/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Rotate Hex Token does

Help the user rotate an API token stored in macOS Keychain.

Ask which token to rotate. Known tokens:

  • hex — Keychain service: hex-api, account: HEX_API_TOKEN. Used by Hex MCP server. Also referenced in project .env files as HEX_API_TOKEN.

Then ask the user to paste the new token value.

Once they provide it, run:

security add-generic-password -s  -a  -w "" -U

Also update any .env files that reference the token.

After updating, remind the user

Alternatives in Development

  • Dexscreener Unofficial CLI + MCP + Skills — You are a token scanning specialist using the Dexscreener Unofficial CLI (not affiliated with or endorsed by D 213 ★
  • Haxsd Byok — Windows x64 本机模型网关:让 Cursor、Devin、Codex 与 Claude Desktop 使用你自配的模型 API,含模型库、调用记录与 Token 统计,也可作为本机兼容 API 给其他工具用 56 ★
  • Vibepulse — Simple macOS menubar app to monitor your Claude Code and Codex token consumption using ccusage 53 ★

Full documentation available on GitHub

View Source Repository