t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: Muse Code provider does not expose skills to the composer / picker

Open xharauenea opened this issue 1 month ago • 1 comments

Summary

For the Muse Code provider, skills work inside a running session, but they never appear in the T3 Code composer / skill picker.

This looks like a missing skill-discovery implementation in packages/provider-muse, rather than a local setup problem.

Environment

  • T3 Code: 0.1.4-nightly.20261028.3814
  • Muse Code: 1.4.14 (1.4.14-R7309.1)
  • Reproduced/checked on macOS with a valid Muse user skills directory.

Steps to reproduce

  1. Install/login to Muse Code on a T3 Code server host.
  2. Add valid Muse skills under the normal Muse skill roots, for example ~/.agents/skills/<skill>/SKILL.md.
  3. Verify Muse sees them:
    • muse skills list --source user --json returns the skills.
    • Start a Muse thread in T3 Code and ask it to use/read one of the skills; read_skill works.
  4. Open the composer skill picker with / for the Muse Code provider.
  5. Observe that the Muse skills are not listed.

Expected

Muse skills that Muse itself can see/use should be exposed through the provider snapshot so they can appear in the composer picker, similar to providers that implement workspace skill discovery.

Actual

The skills are usable in-session, but the composer / picker does not show them for Muse Code.

Investigation notes

  • packages/provider-muse/src/server/status.ts builds the provider snapshot with models and slash commands, but does not pass skills to buildServerProvider.
  • I could not find a snapshotForCwd implementation for the Muse driver in packages/provider-muse/src/server/driver.ts.
  • Other providers implement snapshotForCwd to populate workspace skills for the composer.
  • The client resolves picker skills from the provider snapshot/workspace snapshot (packages/client-runtime/src/providerSkills.ts), so with no Muse skills in either snapshot, the picker remains empty.
  • Muse already exposes the needed data. In Muse 1.4.14, the exported MSP schema includes skill/list, returning SkillCatalogEntry[]. The Muse CLI also has muse skills list.

Suggested fix

Implement Muse skill discovery in provider-muse, likely by reusing the existing read-only Muse SDK host pattern already used for model discovery, and mapping MSP skill/list results to ServerProviderSkill entries.

At minimum, populate the base provider snapshot with machine/user Muse skills. Ideally also implement snapshotForCwd so workspace/project skills match the composer's cwd.

Workaround

Invoke skills by name in the prompt text, for example: use diagnosing-bugs. The Muse session itself receives the catalog and can load skills; only picker discovery/dispatch is missing.

xharauenea avatar Oct 28 '26 13:10 xharauenea

Thanks for the detailed investigation. This is the same report as #19155 (Muse skills missing from the composer skill picker), which is still open, so I'm closing this one as a duplicate. Your notes on MSP skill/list and the missing snapshotForCwd are useful there.

Checked on main at 5211acfe95: packages/provider-muse builds its snapshot without skills and has no snapshotForCwd, and docs/user/providers-muse.md lists this as a current limitation.

juliusmarminge avatar Oct 28 '26 13:10 juliusmarminge