Skip to content

Super unclear how the global scope works in OpenPackage, plus some feedback #22

@PaulRBerg

Description

@PaulRBerg

From the README:

Installs to home dir, ex: ~/.cursor/, ~/.opencode/
opkg install github:anthropics/claude-code -g

How does opkg know where to put the package I want to install?

Also, if the goal is solve the scattered-files problem, how does OpenPackage achieve that if it installs files in so many directories (global directories, at any rate)?

When I first heard about OpenPackage, my expectation was that you were creating a new standard global directory, e.g. ~/.opkg, in which all plugins live. The format would be either a custom one that you generate on-the-fly, or Claude plugin's format (because it's the most popular one). Then, additional global ~/.cursor and ~/.codex directories would either by symlinked or cloned/recreated to match their specific formats.

So unfortunately, opkg isn't super helpful as it's currently built. The ecosystem won't go through the hassle of adding openpackage.yml files to their plugins if all they get is a multitude of agent directories.

Tip

Take a look at skills/add-skill CLI built by Vercel. They are on the right track as they're putting all skills under ~/.agents/skills, and then all other agent directories simply symlink into ~/agents. Maybe you could also use ~/.agents for OpenPackage? And then, recreate directories for custom stuff.

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