Skip to content

Environment variables

All optional. Reasonable defaults apply if unset.

VariableEffect
CLAUDE_CONFIG_DIROverride Claude home (default ~/.claude).
CODEX_HOMEOverride Codex home (default ~/.codex).
XDG_CONFIG_HOMEXDG base used for OpenCode and Universal global dirs (default ~/.config).
XDG_STATE_HOMEIf set, the global lock lives at $XDG_STATE_HOME/skills/.skill-lock.json instead of ~/.agents/.skill-lock.json.
SKILLS_CLONE_TIMEOUT_MSHard timeout for git clone in milliseconds (default 300000 = 5 min).
INSTALL_INTERNAL_SKILLSSet to 1 or true to include skills with metadata.internal: true in scans.
SKILLS_API_URLOverride the search backend used by find (default https://skills.sh).
GITHUB_TOKEN / GH_TOKENUsed by update only after a rate-limit 403. Silent fallback.

Git environment

git clone is invoked with these environment variables set, regardless of your shell config:

VariableValueWhy
GIT_TERMINAL_PROMPT0Never block on credential prompts. Auth must be configured up front.
GIT_LFS_SKIP_SMUDGE1Skip LFS object download - skills are small and LFS-fetched content slows things down for no benefit

This means an agentskills-cli add against a private repo without configured credentials will fail fast (no prompt), not hang.

Verbosity flags

These are CLI flags rather than env vars, but worth noting alongside:

FlagEffect
-v, --verboseRaise minimum log level to Debug (shows DI resolution, source resolution, etc.)
-q, --quietLower minimum log level to Warning (suppresses info notes)
--traceLowest minimum log level. Lots of output.
(none)Default Information level

Released under the MIT License.