Build and fix SKILL.md skillA
Build and fix from oleafly/oleafly is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add oleafly/oleafly/Build and fix@v1.1.0Pins v1.1.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- oleafly/oleafly
- Path
src-tauri/resources/skills/oleafly-latex-build/SKILL.md- Versions recorded
- 3
- Latest version
- v1.1.0, committed Oct 3, 2026
- First version recorded
- Sep 5, 2026
- Size
- 8,749 bytes
- Repository stars
- 258
- License
- AGPL-3.0
Drive Oleafly's compile, diagnose, fix loop until the document builds clean. Use when a compile fails, when the log shows undefined control sequence, missing package or file not found, missing $ inserted, runaway argument, undefined citation or reference, a font that will not load, overfull hbox warnings, a bibliography that will not resolve, a Typst error, or when the user says it will not compile, the PDF is stale, or asks why the build is different on another machine.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Build and fix A compile failure is a lookup, not a puzzle. Read the first error, name its class, apply the smallest edit that fixes that class, compile again. Repeat until `compile` returns `success: true` with an empty `errors` list. ## 1. Know the engine before touching anything `read_file` on `project.json`. The `engine` value decides almost everything below. In a Typst project, `typst.version` in the same file is the Typst version the project pins. | `engine` | What runs | Notes | |---|---|---| | `xetex` | Bundled Tectonic sidecar, XeTeX engine | The default. Fetches packages from a pinned TeX Live bundle. `fontspec` works. | | `latexmk` | The user's system TeX (MacTeX, TeX Live, MiKTeX, TinyTeX) | The underlying engine is pdfLaTeX unless a `% !TeX program =` line, or fontspec / polyglossia / unicode-math, forces XeLaTeX or LuaLaTeX. Shell escape is off unless the user granted it for this project on this machine. | | `typst` | The Typst CLI, at the version the project pins or the default version from Settings | No SyncTeX and no isolated compile. `preview_figure` still renders a Typst figure on its own. Exports to LaTeX, Word, HTML, Markdown and plain text. | …
Read the whole file at its exact version.
How to install
mdr add oleafly/oleafly/Build and fix@sha256:047a7bfeb988805bThe line at the top of this page pins the label v1.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_lj23ewrp7kjlmdxy)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Sep 5, 2026 and Oct 3, 2026, about one every 14 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.1.0 latest | 2026-10-03 | 8b56b75 | 8,749 B | A | view · diff |
| v1.0.0 | 2026-09-13 | d80450b | 8,023 B | A | view · diff |
| v1.0.0 | 2026-09-05 | 77b0587 | 7,939 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8749 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
oleafly/oleafly · 258 stars · license AGPL-3.0 · pushed 2026-10-19 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_lj23ewrp7kjlmdxy GET https://markdownregistry.com/api/v1/resolve?ref=oleafly/oleafly/Build and fix GET https://markdownregistry.com/api/v1/blob/047a7bfeb988805be932f98a80cbee850d38a2e18c297eec89c3aa5390a85308
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.