Skip to content

Investigate Python dependency management for Claude Code plugins #76

@jhs

Description

@jhs

Currently, Python dependencies for Claude Code plugins are handled through direct prompting in SKILL.md, which is wasteful after the initial run.

Goal

Find a more efficient approach to ensure Python dependencies are installed when needed.

Approaches to Investigate

  1. Claude Code Hooks - Check if hooks can handle dependency installation automatically
  2. MCP Server Integration - Explore if MCP servers have dependency management features
  3. Plugin Initialization Scripts - Research if plugins can run setup scripts on first use
  4. Caching/State Detection - Detect when dependencies are already installed to avoid redundant prompts

Current Issue

SKILL.md currently contains dependency installation instructions that get processed on every skill invocation, wasting tokens and time.

Desired Outcome

A mechanism that:

  • Ensures dependencies are installed when missing
  • Avoids redundant installation attempts
  • Minimizes token usage
  • Works reliably across different environments

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions