Skip to content

chore: point office skills at ~/.claude/skills (read by Claude Code) - #247

Merged
quickbeard merged 1 commit into
mainfrom
docs/office-skills-claude-dir
Aug 6, 2026
Merged

chore: point office skills at ~/.claude/skills (read by Claude Code)#247
quickbeard merged 1 commit into
mainfrom
docs/office-skills-claude-dir

Conversation

@quickbeard

Copy link
Copy Markdown
Owner

Why

codevhub skill office runs a bundled setup script that installs the four office skills. Those skills used to land in ~/.config/codev/skills, which Claude Code does not scan — so only CoDev Code / OpenCode saw them. The setup scripts now default to ~/.claude/skills (see quickbeard/codev-scripts#24), which Claude Code and CoDev Code both read.

Changes (codev-hub side)

codevhub owns none of the path logic here, and deliberately so: it passes no -SkillsRoot/--skills-root, so it inherits the setup script's default. That's load-bearing — pinning a path from codevhub would defeat the script's console-user detection under a different-account Windows UAC elevation. So this PR only:

  • documents the destination and the no-pin rationale in the office.ts header comment, and
  • updates the officeManualWindowsCommand test's synthetic -SkillsRoot example from …\.config\codev\skills to …\.claude\skills (the test asserts space-quoting; the example path just tracks the new convention).

Validation

pnpm typecheck, full pnpm test (1384 pass), and pnpm build all green via the pre-commit hook.

Coordinates with

quickbeard/codev-scripts#24 (the actual path change + migration), quickbeard/codev-code#160 (.claude outranks the config dir), and the landing-page docs PR.

🤖 Generated with Claude Code

The bundled setup scripts now default their skills root to
~/.claude/skills so Claude Code (not just CoDev Code) reads the office
skills. codevhub still passes no -SkillsRoot, so it inherits that
default and preserves the script's console-user detection under a
different-account Windows elevation. Documents the destination in the
office.ts header and updates the manual-command example path.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@quickbeard quickbeard changed the title Office skills install to ~/.claude/skills (read by Claude Code) chore: point office skills at ~/.claude/skills (read by Claude Code) Aug 6, 2026
@quickbeard
quickbeard merged commit 2f1ce8e into main Aug 6, 2026
2 of 4 checks passed
@quickbeard
quickbeard deleted the docs/office-skills-claude-dir branch August 6, 2026 01:40
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.

1 participant