Skip to content

opencode install fails: missing caveman-compress.md in commands/ #451

@vgocoder

Description

@vgocoder

Bug Report

Command:

npx -y github:JuliusBrussee/caveman -- --only opencode

Error:

opencode install failed: ENOENT: no such file or directory, copyfile '/Users/zhh/.npm/_npx/1915db09411464bc/node_modules/caveman-installer/src/plugins/opencode/commands/caveman-compress.md' -> '/Users/zhh/.config/opencode/commands/caveman-compress.md'

Root Cause:
The installer references caveman-compress.md in src/plugins/opencode/commands/ but the file doesn't exist in the package. The source directory contains:

  • caveman-commit.md
  • caveman-help.md
  • caveman-review.md
  • caveman-stats.md
  • caveman.md

But caveman-compress.md is missing.

Workaround:
Manually created the missing file based on the caveman-compress skill:

---
description: Compress a Markdown file into caveman format to save tokens
---
Compress the file at: $ARGUMENTS

Load the caveman-compress skill, then run:

python3 -m scripts <absolute_filepath>

The compressed version overwrites the original. A human-readable backup is saved as FILE.original.md.

Environment:

  • OS: macOS (aarch64)
  • Node: v25.6.0
  • Package: caveman-installer (latest via npx)

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