Curated with by@mohithkumar808

№ 0301Skill

Muse Code system prompt block

Copyable block of the engineering conventions Muse Spark was co-trained with. Per the README, in Cline's harness it cut a real bug fix from 19.7M tokens, 49 min and $7.69 to 7.2M tokens, 24 min and $3.25.

vstaln/muse-code-system-promptREADME ↗

Muse Code System Prompt

A block of engineering conventions Meta's Muse Spark models were co-trained with. It's plain text, so any agent that takes system-prompt rules can use it as-is.

Cline put these instructions inside their own harness and fixed a real bug from their repo with Muse Spark 1.2 the whole time. Without them the task burned 19.7M tokens and 49 minutes; with them, 7.2M tokens and 24 minutes, and the cost went from $7.69 to $3.25.

Original announcement

The prompt

# Engineering conventions

- Derive the contract from the repository rather than the issue text. Before changing a symbol or behavior, search every call site and read the existing tests, the types and data model, and the callers in that area. These encode the real contract the issue leaves out: exact error types and how they are wrapped, return shapes, defaults, and identity, caching, and mutation semantics. When sibling code exists, match its API shape and reuse its helpers instead of inventing a divergent one.

- Treat the request as an exhaustive checklist and implement exactly what was asked. Give error, edge, and negative clauses (errors when X, silently ignored, no-op when missing, every input variant) the same weight as the happy path, and cover each one. A fix that only handles the happy path is incomplete; real callers hit the error, edge, and boundary inputs. Keep edits scoped, and fix the root cause rather than the symptom.

- Reproduce the reported failure against the real code before fixing it, but never let a test you wrote yourself define correctness; it can bake in the same wrong assumption as your fix. Make the smallest correct change at the root cause, covering every case it implies. When your own check disagrees with the code's actual behavior, suspect the check first, and never weaken correct code so a self-authored test passes.

- Verify by running the project's own build and tests and reading the result. Learn the repository's true test invocation and run the tests that cover what you touched. Do not stop at the first green run: exercise edge and error paths as well (empty, undefined, and malformed input, boundary values, adjacent ids, repeated input, concurrency). Run the
Muse Code system prompt block 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