Skip to content

Nix flake install doesn't provide skills, hooks, or MCP registration #248

@ncrmro

Description

@ncrmro

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)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions