Parent
Part of #245
Problem
When deepwork is installed via Nix flake (as a dependency in another project's flake.nix), only the deepwork CLI binary is available. The Claude Code plugin assets are not installed:
- Skills:
/deepwork, /review, /configure_reviews slash commands are missing
- Hooks:
post_compact.sh, post_commit_reminder.sh, session_stop.sh, post_task.sh are not registered
- MCP server: Not auto-registered (no
.mcp.json written)
- Learning agents: Plugin scaffolding not present
These are all provided by the Claude Code plugin system (plugins/claude/), which is a separate distribution channel from the Nix flake.
Current state
| Asset |
Plugin install |
Flake install |
deepwork binary |
Via uvx |
On PATH from Nix store |
/deepwork skill |
Registered by plugin |
Missing |
/review skill |
Registered by plugin |
Missing |
| MCP server |
Auto-registered via .mcp.json |
Missing |
| Hooks |
Auto-registered via hooks.json |
Missing |
| Learning agents |
Plugin scaffolding |
Missing |
Expected behavior
When deepwork is installed via Nix flake, running deepwork install or deepwork repair should detect this and set up the equivalent of what the plugin provides — either by registering the plugin or by writing the necessary config files directly.
Questions
- Should
deepwork install register the plugin (so the plugin system fetches skills/hooks from GitHub)?
- Or should the flake package include the plugin assets and
deepwork install write them locally?
- Should both install methods be supported simultaneously (flake binary + plugin skills)?
Parent
Part of #245
Problem
When deepwork is installed via Nix flake (as a dependency in another project's
flake.nix), only thedeepworkCLI binary is available. The Claude Code plugin assets are not installed:/deepwork,/review,/configure_reviewsslash commands are missingpost_compact.sh,post_commit_reminder.sh,session_stop.sh,post_task.share not registered.mcp.jsonwritten)These are all provided by the Claude Code plugin system (
plugins/claude/), which is a separate distribution channel from the Nix flake.Current state
deepworkbinaryuvx/deepworkskill/reviewskill.mcp.jsonhooks.jsonExpected behavior
When deepwork is installed via Nix flake, running
deepwork installordeepwork repairshould detect this and set up the equivalent of what the plugin provides — either by registering the plugin or by writing the necessary config files directly.Questions
deepwork installregister the plugin (so the plugin system fetches skills/hooks from GitHub)?deepwork installwrite them locally?