Skip to content

Feature: Configure the CLI executable per target #307

Closed

Description

@wuhaoyujerry

Problem

I use OmO/Senpi, a Pi-compatible harness exposed through the omo CLI. I want Skillshare to keep using the Pi adapter while invoking that executable for native plugin operations.

A target can select an adapter and configuration directory:

targets:
  omo:
    agent: pi
    config_dir: ~/.omo/agent

However, the current target configuration schema allows only claude, codex, or pi for agent and provides no per-target executable override. Naming the target omo does not select the omo executable. Changing the configuration directory alone does not express which compatible CLI should run.

Proposed feature

Separate adapter selection from executable selection. For example, with proposed syntax, not currently supported:

targets:
  omo:
    agent: pi
    cli: omo
    config_dir: ~/.omo/agent

Support an executable name resolved through PATH or an explicit executable path. Keep the existing adapter and default executable when the override is omitted. The field name is open for discussion.

Expected behavior

  • Native plugin operations use the selected executable while retaining the chosen adapter's protocol and the target's configuration directory.
  • Different targets using the same adapter can choose different executables without a global PATH shim or replacing pi.
  • Missing executables produce a clear error; no silent fallback to another CLI or configuration directory.
  • Existing configurations continue to work unchanged on macOS, Linux, and Windows.

Scope

This is an executable override for compatible CLIs, not automatic conversion between unrelated harness APIs or bypassing native trust/authentication. I am opening the issue first for scope and design discussion, as requested in CONTRIBUTING.md.

Activity

  1. self-assigned this
    on Oct 1, 2026
  2. added
    feature
    on Oct 1, 2026
  3. runkids commented on Oct 1, 2026

    @runkids
    Owner

    Thanks for the detailed write-up. We'll implement this, no further design input needed.

    I checked omo and senpi, and adding a per-target cli override is all it takes; the Pi adapter works with omo as is. I'll update here when it's ready to try.

  4. added
    awaiting-reply
    on Oct 1, 2026
  5. runkids commented on Oct 1, 2026

    @runkids
    Owner

    This is out in v0.23.1. An account target can now set cli, so its plugin commands run that executable with the Pi adapter:

    skillshare target add omo --agent pi --config-dir ~/.omo/agent --cli omo

    or in config:

    targets:
      omo:
        agent: pi
        config_dir: ~/.omo/agent
        cli: omo

    Thanks for the detailed write-up! Closing this; feel free to reopen if something doesn't work with your setup.

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

Metadata

Metadata

Assignees

Labels

awaiting-replyfeature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions