Skip to content

Conversation

@shellbytherobot
Copy link

@shellbytherobot shellbytherobot commented Jan 27, 2026

Summary

Add support for configuring the skills install directory via:

  • CLAWDHUB_DIR environment variable
  • dir field in config.json

Priority order: CLI flag (--dir) > ENV > config > default (skills)

Motivation

The current default of skills/ conflicts with hand-written local skills. Users can set dir: ".clawdhub/skills" in their config to keep installed skills alongside the lockfile, making it easy to gitignore the entire .clawdhub/ directory.

Changes

  • src/schema/schemas.ts: Add optional dir field to GlobalConfigSchema
  • src/cli.ts: Check env var and config when resolving skills directory
  • README.md: Document the new options

@vercel
Copy link
Contributor

vercel bot commented Jan 27, 2026

@bradleypriest is attempting to deploy a commit to the Amantus Machina Team on Vercel.

A member of the Team first needs to authorize it.

@shellbytherobot shellbytherobot force-pushed the feat/configurable-skills-dir branch 3 times, most recently from acfb973 to ab7b39a Compare January 27, 2026 19:21
@shellbytherobot shellbytherobot changed the title feat(cli): make skills directory configurable via config.json and env feat(cli): support CLAWDHUB_DIR env var for skills directory Jan 27, 2026
…rectory

Add support for configuring the skills install directory via:
- CLAWDHUB_DIR environment variable
- dir field in config.json

Priority: CLI flag (--dir) > ENV > config > default ('skills')
@shellbytherobot shellbytherobot force-pushed the feat/configurable-skills-dir branch from ab7b39a to 49c6afe Compare January 27, 2026 19:24
@shellbytherobot shellbytherobot changed the title feat(cli): support CLAWDHUB_DIR env var for skills directory feat(cli): support CLAWDHUB_DIR env var and config.json for skills directory Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants