Skip to main content
← Back to list
01Issue
FeatureOpenSwamp CLIPublicTeam
AssigneesNone

Relationships

#1697 Add native support for the Pi coding harness

Opened by webframp · 8/17/2026

Problem

Pi is a minimal terminal coding harness with a small core and extension points for TypeScript extensions, Agent Skills, prompt templates, themes, packages, custom models, custom providers, SDK embedding, and RPC integration. Swamp can expose its own models and workflows, but there is no native Pi harness integration. Users must wire the two systems together manually.

Pi skill support is broader than a single project directory. Pi discovers skills from:

  • ~/.pi/agent/skills/
  • ~/.agents/skills/
  • trusted project .pi/skills/ and .agents/skills/ directories
  • package skills/ directories and pi.skills package.json entries
  • settings.json skill paths
  • repeated --skill CLI paths

Each skill is a self-contained directory with SKILL.md, Agent Skills frontmatter, optional scripts, references, templates, and assets. Pi loads skill metadata at startup, loads full SKILL.md content on demand, and exposes skills through /skill:name commands.

Proposed solution

Add a first-class Pi harness integration to Swamp. The integration should provide a native model or extension that can:

  1. Discover Pi installations, projects, packages, and configured skill locations.
  2. List discovered skills with source path, name, description, validation warnings, and load status.
  3. Validate SKILL.md files against the Agent Skills specification before Pi loads them.
  4. Install, update, enable, disable, and remove skills without editing settings or copying directories manually.
  5. Manage Pi package skill entries and preserve package metadata.
  6. Expose Swamp workflows as Pi skills, prompt templates, or extensions with generated, valid metadata.
  7. Run Pi with explicit --skill paths and capture the resulting session or JSON/RPC events as Swamp data.
  8. Track skill versions, source packages, file hashes, and validation results for reproducible environments.
  9. Support global and project scopes with explicit trust boundaries.
  10. Report conflicts when the same skill name is discovered from multiple locations.

The integration should use the Pi CLI or documented SDK/RPC interfaces instead of relying on private files or implementation details.

Alternatives considered

  • Manual symlinks or copied SKILL.md directories. This does not manage versions, validation, scope, or provenance.
  • A generic shell model. This leaves Pi-specific discovery, package metadata, trust, and session integration to every user.
  • A third-party Swamp extension. This can prototype the integration, but native support can define stable resource types, lifecycle behavior, and compatibility testing.

References

Please consider this a request for native Swamp support for the Pi coding harness, with custom skill management as the first capability.

02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED

Open

8/17/2026, 11:03:55 PM

No activity in this phase yet.

03Sludge Pulse

Sign in to post a ripple.