Skip to content

Claude Code CLI sessions (claude -p) not injected with freshell skills #148

@danshapiro

Description

@danshapiro

Summary

When claude -p is invoked from within a freshell session (e.g., via a script), the spawned CLI process does not have freshell skills available. The child session runs without any of the skills that the parent freshell session had loaded.

Reproduction

  1. Start a freshell session with skills installed
  2. Run a script that invokes claude -p (e.g., piping a prompt into it)
  3. The claude -p session does not have access to freshell skills

Expected behavior

Skills available in the parent freshell session should be propagated to claude -p child sessions, or there should be a documented mechanism to pass them through (e.g., via --plugin-dir or environment variable).

Context

Discovered while building an import script for trycycle that uses claude -p to dynamically adapt skills. The child sessions needed access to the trycycle repo context but had no skill awareness.

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