agentleFS
romermaromerma/mstack/skills/setup/SKILL.md

setup

Skill1 starsChanged 13 days agoMITView on GitHub

Initialize mstack in a repository, creating the durable state directory and seeding the work queue from what the repo already tells you. Use once per repository, when mstack reports no .mstack directory, or when asked to set up or install mstack here.

192 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use update-nanoclaw, get-qodo-rules and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    update-nanoclaw

    Efficiently bring upstream NanoClaw updates into a customized install, with preview, selective cherry-pick, and low token usage.

    Also in 9 projects that use this

  • MicrosoftSkill

    get-qodo-rules

    Loads org- and repo-level coding rules from Qodo before code tasks begin, ensuring all generation and modification follows team standards. Use before any code generation or modification task when rules are not already loaded. Invoke when user asks to write, edit, refactor, or review code, or when starting implementation planning.

    Also in 8 projects that use this

  • TomGranotSkill

    add-anydoc

    Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when agents need to read attached Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV, or text-based PDF files without uploading them to a hosted parser.

    Also in 5 projects that use this

  • TomGranotSkill

    add-clidash

    Add clidash — a zero-dependency, read-only web dashboard that derives its tabs and tables at runtime from any CLI that lists resources as JSON. Ships pre-wired for NanoClaw's ncl CLI (agent groups, sessions, channels, users, roles), plus message-activity charts, a log tail, and a read-only file viewer for group skills/CLAUDE.md/profiles.

    Also in 5 projects that use this

  • +5 more from TomGranot
  • +3 more from microsoft

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 169 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Commit it. The store is the durable state and it belongs in version control: progress/ is reviewable, decisions.tsv renders as a table on …

    line 19
  2. Distinctive:

    Add a short section to the project's CLAUDE.md, or create one:

    line 52

“Common” is measured: kept by at least 6 in 10 of the 169 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Setup

1. Create the store

mstack setup

That writes .mstack/ with state.json, progress/current.md, progress/history.md, ledger.tsv, decisions.tsv and an empty specs/. It never overwrites an existing file unless you pass --force.

Commit it. The store is the durable state and it belongs in version control: progress/ is reviewable, decisions.tsv renders as a table on GitHub, and a worktree needs its own copy for the one-active-item rule to mean anything.

2. Interview the repository, not the user

Fill state.json from what the repo already knows. Do not ask questions the code answers.

  • verify: the command CI actually runs. Look at .github/workflows/, the Makefile, the scripts block of package.json. If several exist, pick the one that mirrors CI most closely, because that is the one whose green means something.
  • project: the repository name.

3. Seed the queue honestly

mstack state add --slug <kebab> --title "<what it is>" \
  --acceptance "<criterion>" --acceptance "<criterion>" \
  [--sdd] [--source "issue #12"] [--verification "<command>"]

Two rules the gate enforces, so get them right now:

  • Acceptance criteria are quoted from the source, not paraphrased. A paraphrase is where scope quietly changes, and nobody notices until the review.
  • The slug is kebab-case, because it names the spec directory, the branch and the progress files.

Mark --sdd only where the spec path earns its cost: the change crosses subsystems, or the person asking will step away and trust the result later.

4. Tell the repository about it

Add a short section to the project's CLAUDE.md, or create one:

## Workflow

This repository uses mstack. Start work with `/mstack`. Durable state is in `.mstack/`;
`mstack gate` must be green before a session closes.

A plugin-root CLAUDE.md is not loaded as context, but the project's is. That line is what makes a fresh session find the workflow without being told.

5. Prove it works

mstack gate

Green, with at most the two expected warnings about being on the default branch and having uncommitted changes. If it is red, it is telling you something real about the seed data.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.