Stats
Actions
Tags
From geekmidas-toolbox
Use when editing files that import from @geekmidas/auth, @geekmidas/auth/client, use TokenClient, CacheTokenStorage, or implement JWT/OIDC token management, refresh strategies, or server-side token validation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/geekmidas-toolbox:gkm-authThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Docs: https://geekmidas.github.io/toolbox/packages/auth.html
Docs: https://geekmidas.github.io/toolbox/packages/auth.html
@geekmidas/auth, @geekmidas/auth/client, @geekmidas/auth/serverTokenClient, CacheTokenStorage, TokenStoragegetAccessToken(), refreshTokens(), or JWT payload handlingimport { TokenClient } from '@geekmidas/auth/client';
import { CacheTokenStorage } from '@geekmidas/auth/cache';
const tokenClient = new TokenClient({
storage: new CacheTokenStorage(cache),
refreshEndpoint: '/auth/refresh',
onTokensRefreshed: (tokens) => console.log('Tokens refreshed'),
});
const accessToken = await tokenClient.getAccessToken();
@geekmidas/cache — CacheTokenStorage backend for token persistence@geekmidas/constructs — protect endpoints with auth middleware@geekmidas/errors — throw unauthorized errors for invalid tokens@geekmidas/logger — audit token refresh eventsnpx claudepluginhub technanimals/geekmidas-skills --plugin geekmidas-toolboxCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.