Skip to content

Discover skills from every provider-native location #1292

Closed

Description

@SawyerHood

BB discovers skills from a small set of shared directories. Each supported agent also searches provider-specific user, project, compatibility, plugin, and configured directories.

Add skill discovery for every documented stable location used by Codex, Claude Code, Cursor, Pi, OpenCode, omp, Grok Build, and Hermes Agent.

The discovery rules must preserve provider-specific recursive behavior and environment overrides. Recursive searches must have safe limits.

Activity

  1. self-assigned this
    on Aug 10, 2026
  2. added theissue type on Aug 10, 2026
  3. added a commit that references this issue on Aug 11, 2026
    a701803
  4. added a commit that references this issue on Aug 14, 2026
    e4979e4
  5. VinSpee commented on Oct 16, 2026

    @VinSpee

    I installed the pstack-omp OMP npm plugin and used it from an acp-omp thread. BB's skill inventory did not list poteto-mode or pstack-omp. I expected BB to list them without extra settings. Adding the plugin's skills folder to OMP's skills.customDirectories made BB list both.

    Versions and environment

    • bb 0.46.1 (bb --version). Install method not recorded.
    • macOS 26.2, build 25C56, arm64.
    • Provider acp-omp; OMP 18.11.2 (omp --version).
    • Plugin pstack-omp 0.15.25, an enabled npm plugin (omp plugin list).
    • Environment env_dh9c9thq9z (personal workspace). Thread thr_eadc9n9t73.
    • Not tested on the latest release or on main.

    Steps to reproduce

    1. Install [email protected] as an OMP npm plugin. Its manifest sets "omp": {"skills": ["./skills"]}, and its skills/ folder contains poteto-mode and pstack-omp.

    2. Leave skills.customDirectories empty. omp config get skills.customDirectories --json showed an empty value array before the change.

    3. Run:

      bb skill list --environment env_dh9c9thq9z --json |
        jq -r '.skills[] | select(.provider == "acp-omp" and (.name == "poteto-mode" or .name == "pstack-omp")) | [.name, .provider, .scope] | @tsv'
    4. Add ~/.omp/plugins/node_modules/pstack-omp/skills to skills.customDirectories in ~/.omp/agent/config.yml. Run step 3 again.

    Expected vs actual

    Expected: step 3 lists both skills before any path setting.

    Actual before step 4: not captured in this session. An earlier isolated-HOME probe of BB's resolver did not include the folder.

    Actual after step 4 (verbatim):

    poteto-mode	acp-omp	provider-user
    pstack-omp	acp-omp	provider-user
    

    Evidence

    • omp config get skills.customDirectories --json returns the plugin's skills path after step 4.
    • Plugin manifest and skills folder, as in step 1.
    • Thread thr_eadc9n9t73; environment env_dh9c9thq9z.
    • Suspected cause: BB does not include the skill folders declared by OMP npm plugins. The missing inventory entries and successful path workaround support this, but no source patch was tested.

    What I ruled out

    • Missing skill files: both skills exist in the declared folder.
    • Related prior work: #1292 was closed by #1293, which added provider-native discovery, including OMP configured roots. This may be an incomplete fix or a regression; that distinction is not verified. Add this evidence to Discover skills from every provider-native location #1292 first rather than assume a separate bug. #5364 concerns nested Pi roots.
    • Searched open and closed issues for omp skill, pstack, and poteto. #2318 (skill chip) and #3856 (symlinked project skills) are different bugs.
    • Whether a new thread or restart is needed: not tested.
    • The isolated-HOME probe disagreed with the live inventory. I have not found why.

    AGENT GENERATED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions