setup
Skill116 starsChanged 57 days agoMITView on GitHub
Set up, inspect, or repair repository infrastructure for an Autoform Lean project, including the Lean/Mathlib shell, an in-repository Obsidian-compatible blueprint vault, ignore rules, MkDocs, GitHub Pages, and verification CI, with optional Zulip community synchronization. Use for new repositories, environment repair, publication setup, infrastructure checks, or an explicitly requested Zulip project sync; do not choose mathematical scope or build the roadmap and theorem DAG.
193 other projects use a version of this.
Adopted by
Most recently taken up by
- onetapstudiogames/1f3d9-citylifetheir own version, first seen Oct 7, 2026
- prathish-ks/isthmustheir own version, first seen Oct 6, 2026
- michielvandermeer/skillstheir own version, first seen Oct 4, 2026
- qbeka/jev-job-searchtheir own version, first seen Oct 4, 2026
- ProjectAJ14/eklavyatheir own version, first seen Oct 4, 2026
- nanocoai/nanoclawtheir own version, first seen Oct 4, 2026
Used with
Projects with it also use add-slack, add-parallel 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.
MicrosoftSkilladd-slack
Add Slack channel integration via Chat SDK.
Also in 6 projects that use this
MicrosoftSkilladd-parallel
Also in 5 projects that use this
sskarzSkilladd-telegram-swarm
Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".
Also in 5 projects that use this
- +9 more from microsoft
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- feder-cr/invisible_playwright_mcp★ 32ksame name
- nanocoai/nanoclaw★ 31ksame name
- anthropics/knowledge-work-plugins★ 26ksame name
- Q00/ouroboros★ 6.2ksame name
- agenticnotetaking/arscontexta★ 3.5ksame name
- aws/agent-toolkit-for-aws★ 2.8ksame name
- Shpigford/chops★ 1.9ksame name
- skyllwt/AutoSci★ 1.7ksame name
- microsoft/power-platform-skills★ 961same name
- SethGammon/Citadel★ 922same name
183 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- agent-reviewSkill
- develop-pluginSkill
- human-reviewSkill
- roadmapSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 3 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 171 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 28
Read the repo-shaped Cabannes thesis project as a concrete setup example.
- Very specific: line 44
create or repair a buildable Lean project with matching lean-toolchain and Mathlib revisions.
- Very specific: line 46
write the blueprint vault, site configuration, and CI with autoform init.
- Very specific: line 64
Never invent a ref. It must be a full 40-character commit sha: init refuses a branch, a tag, or an abbreviated sha, because CI would …
- Very specific: line 74
After it runs, fill in what only a human or a source can supply: the project description in blueprint/README.md, the coverage contract, and …
- Distinctive: line 110
When approved, prepare the commit, remote, Pages source, and push.
- Distinctive: line 112
If credentials, hosting, or repository settings block publication, report the minimal owner action required.
“Common” is measured: kept by at least 6 in 10 of the 171 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.
Files
Set up an Autoform repository
Setup prepares the Lean toolchain, an empty blueprint vault, ignore rules, MkDocs, CI, and optionally publication. It does not scope sources, choose theorems, write roadmap nodes, or prove results; Roadmap owns that work.
Inspect before writing and preserve existing Lean, Markdown, workflow, and
ignore files. Use scripts/workspace_inspector.py when auditing an existing
Lean workspace. Infer safe local defaults from the request and repository. If a
material choice is missing, ask once for the run type (new, repair, or inspect),
UpperCamelCase package name, target directory, and whether publication is
wanted. Without explicit publication approval, make no remote changes. Setup
prepares the shell and stops before
mathematical planning.
Read the repo-shaped Cabannes thesis project as a concrete setup example. Reuse its structure selectively: rename the Lean package, check the current matching stable Lean/Mathlib release, update branch and immutable workflow pins, and merge rather than overwrite. Its populated thesis notes illustrate later skills; Setup does not reproduce that mathematics.
For a new repository, require a target directory that does not already exist and bootstrap the Lean/Mathlib shell with the plugin's internal helper:
bash "<AUTOFORM_PLUGIN_ROOT>/scripts/make_project.sh" \
<ProjectName> [target-dir]For a new or incomplete repository:
- create or repair a buildable Lean project with matching
lean-toolchainand Mathlib revisions; and - write the blueprint vault, site configuration, and CI with
autoform init.
autoform init is the whole vault: blueprint/ with its landing page,
roadmap/README.md, coverage/, and sources/, plus mkdocs.yml, the theme
override, both workflows, and ignore rules. Do not hand-build any of it and do
not copy the bundled example: the layout is fixed, and a chapter written as a
sibling file instead of <chapter>/README.md still validates while publishing
a book with no chapters. init never overwrites an existing file, so it is
also the repair path; it reports what it left alone. See the
CLI reference for its flags.
init pins the generated workflows to the Autoform commit that ran it, but it
can only do that when Autoform is running from a Git checkout. Installed as a
plugin it is a plain directory copy, so there is nothing to read and init
writes no CI rather than guess a ref: guessing produced projects whose first
push failed with nothing in the workflow to explain why. When it reports that,
find the commit the plugin was installed from and pass
--autoform-ref <40-char-sha>, or say plainly that CI was not configured.
Never invent a ref. It must be a full 40-character commit sha: init refuses a
branch, a tag, or an abbreviated sha, because CI would silently reinstall a
different Autoform later and break a project that was passing.
The two workflows it writes are autoform-verify.yml, which validates the
Markdown DAG, builds Lean, rejects unfinished or unsafe proofs, and audits
theorem axioms on pull requests, and blueprint-pages.yml, which validates the
DAG and its lean: declarations, renders the blueprint, builds MkDocs, and
deploys GitHub Pages. Pass --autoform-ref to pin them at an immutable commit.
After it runs, fill in what only a human or a source can supply: the project
description in blueprint/README.md, the coverage contract, and a verified
repo_url. That URL is the formalization project's own repository, never
AutoformBot's: Material renders it as the repository link in the site header,
and pointing it at the plugin sends every reader to the wrong project. Pass
--repository-url to autoform init, or leave the key out until the remote
exists rather than guessing it. When a deployed site exists, feature its verified canonical URL in
the root README.md, never an inferred or pending one.
Adding workflow files is a local repository edit. Creating a remote, pushing, or enabling Pages are separate outward-facing actions; perform them only when the user requests them. Pin third-party Actions and the Autoform CLI source to immutable commits.
Validate the prepared repository before reporting it ready. Build Lean first, then run the publication sequence:
lake exe cache get # skip only when the project has no Mathlib dependency
lake buildThen validate, visualize, render, and strict-build the site, keeping
--require-declarations so a named Lean declaration that does not exist fails
here rather than in CI. The exact invocations, including how to resolve
<AUTOFORM_PLUGIN_ROOT>, are in the CLI reference;
do not restate them here.
render writes a derived tree; the vault stays the source of truth. Ignore
site-src/, site/, and blueprint/dependencies.md.
Publication is opt-in because files under blueprint/ become public site
content, together with derived progress, graph pages, and a path-free
publication manifest. Show that boundary, confirm the exact repository and
visibility, default to private, and warn that private Pages may require a paid
GitHub plan. Rendering rejects symlinks and operational or sensitive files.
When approved, prepare the commit, remote, Pages source, and push; otherwise
leave the workflow inert.
If credentials, hosting, or repository settings block publication, report the
minimal owner action required.
Zulip synchronization is a separate opt-in outward-facing action. When the user asks to discover community context or announce and coordinate the project, read and follow the shared Zulip workflow. Do not infer consent to post from repository setup, roadmap work, or permission to search.
Report the Lean toolchain, vault path, CI and Pages files, validation results, the publication decision, and any one-time GitHub setting the user must still apply. State explicitly that no sources were scoped, roadmap nodes created, or proofs started, then hand the repository to Roadmap.
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
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.

