Curated with by@mohithkumar808

№ 0873Skill

Model-aware harness extension for pi

A pi extension evolved from Cline's muse-code-harness plugin that picks a prompt profile by active model, including a muse-spark profile, and appends it to the system prompt.

tim-mcdonald/muse-code-harnessREADME ↗

model-harness (pi extension)

A small, model-aware harness extension for pi. It evolved from the Cline muse-code-harness plugin (ported to pi as muse-code-harness): instead of one fixed set of conventions, the extension now selects a profile from the active model and appends that profile's compact prompt fragment to the run's system prompt.

Profiles are minimal by design — a conservative matcher plus a small, evidence-based prompt. The first two share the original plugin's spirit:

  • muse-spark — the original 8 Muse Spark engineering conventions (preserved verbatim). Also the default profile forced in on mode when no model matches (preserving the legacy "/muse-harness on always injected" semantics).
  • laguna-s-2.1 — compact tool-schema discipline for the Laguna S 2.1 / Poolside family.

Footer status shows the mode, the detected profile (or none), and whether a project override is active, e.g. model-harness auto (Muse Spark) or model-harness off (none: z-ai/glm-5.2, override).

Install

Already installed globally at ~/.pi/agent/extensions/muse-code-harness/index.ts on this machine, so pi picks it up automatically in every project. It hot-reloads with /reload.

Per-project overrides

Each profile can be overridden per project via a markdown file at the project's .pi config dir:

  • .pi/model-harness/muse-spark.md — replaces the bundled Muse Spark conventions.
  • .pi/model-harness/laguna-s-2.1.md — replaces the bundled Laguna S 2.1 fragment.

If a profile's override file is absent, the bundled fragment is used. To add a profile later, add one ProfileDef entry in profiles.ts (a matcher regex, a label, and a prompt fragment) — no other code changes are needed.

Legacy override (Muse Spark only)

For backward compatibility, .pi/conventions.md still replaces the Muse Spark conventions when no .pi/model-harness/muse-spark.md exists. (The legacy file is ignored by other profiles.)

Overrides are read lazily on first use and re-read on a new session, a model switch to that profile, or /model-harness reload.

Control

/model-harness is the primary command. /muse-harness remains as a compatibility alias and does exactly the same thing.

By default the extension runs in auto mode: it injects only the prof

Model-aware harness extension for pi on github.com

Also filed under Coding & dev tools

See all →
  1. 0870

    CodexBar adds Muse Code usage tracking★

    CodexBar learned a few new tricks in the last few weeks! TypeSafe, Nous Portal, Muse Code, CodeRabbit, Replicate, HuggingFace, Pi, Helmcode, v0, Charm Hyper, GitKraken AI, Bifrost My ambitions for this app REALLY outgrew the app name. (Oh and these keychain alerts are no more)

    @steipete

    X post

    Coding & dev tools

  2. 0656

    Custom terminal built with a Muse★

    A cool thing about @Muse is that every Muse runs on its own Linux machine. So you and your Muse can do normal Linux stuff together — like build your own terminal!

    @lucas_switzer

    X post

    Coding & dev tools

  3. 0597

    Spark 1.3 Contributor free in Cline★

    Meta’s Muse Spark 1.3 Contributor model is now available for free in Cline. Benchmarks show it’s similar in performance to Opus 5, but considerably more affordable.

    @cline

    X post

    Coding & dev tools

  4. 0574

    Muse Spark 1.3 in Cursor★

    Muse Spark 1.3 from Meta is now available in Cursor!

    @cursor_ai

    X post

    Coding & dev tools

More Skills

See all →
  1. 1073

    Xahau skill for Muse

    Lets a Muse send XAH, manage trustlines, mint URITokens, claim the monthly reward and check out on xMerch stores, where the skill only proposes and the owner approves every transaction in the Xaman app on their phone.

    @terramike

    Skill

    Business & commerce

  2. 1072

    Review Times MCP server and skill

    An MCP server and skill that reports live review times for AI app, connector and plugin stores, including Meta Muse, so builders can see how long a connector submission is taking.

    @stevysmith

    Skill

    Connectors & MCP

  3. 1068

    musebook: shared family boards for Muses

    An open protocol plus Muse skill and Cloudflare Workers reference server that lets each family member's Muse join shared boards (groceries, trips, household lists) with per-board identities and an approval card before anything is ordered.

    @amanbthakkar

    Skill

    Errands & personal agent

  4. 1062

    xrpl-muse-skill: let your Muse trade XRP

    A terminal skill for trading any XRP Ledger token pair and minting NFTs, with a hard boundary between proposing and signing; testnet by default, and mainnet needs the Muse vault signer or a protected signer with per-transaction approval.

    @terramike

    Skill

    Business & commerce

Curator picks

  1. 1057

    Muse Mail: your agent gets an email address★

    MUSE FEATURE ALERT: y'all have been asking for this one. your @muse is getting its own email address. add it to a thread or forward it stuff and it’ll handle it for you. muse mail!

    @alexandr_wang

    X post

    Agents & automation

  2. 1054

    Kevin Roose gives his Muse $100 and a Kalshi account★

    gave my Muse $100 and a kalshi account, let's see how frontier this thing is

    @kevinroose

    X post

    Agents & automation

  3. 1046

    Medical bills audited line by line, $4,000 saved★

    Got Muse logged in to my medical provider’s portal, he pulled the itemized bills, and questioned every line. So far he’s found several times I’d been double billed, asked for some discounts and has saved me over $4,000. If your moat is bureaucracy, you’re cooked.

    @Ryan_Holdaway

    X post

    Errands & personal agent

  4. 1042

    GitHub connector for Muse★

    GitHub 🤝 @Muse A new way to connect your GitHub account to review PRs, catch up on issues and notifications, and leave comments without switching tabs.

    @github

    X post

    Connectors & MCP

Want more AI builds?artificialbuilds.com