mathtranslation-build-verify
Skill5 starsChanged 56 days agoMITView on GitHub
Build and verify a LaTeX translation using its actual toolchain; inspect logs, rendered pages, numbering, bookmarks, glyphs, bibliography, and indices. Use after TeX/template changes or for build diagnosis. The bundled driver supports a conventional XeLaTeX, biber, texindy workflow; other projects retain their own build commands.
In this repository12 other files it gives its agents.
- aimath-translations-skillSkill
- latex-array-diagram-auditSkill
- latex-bookmark-anchor-auditSkill
- latex-display-layout-auditSkill
- latex-eq-numbering-auditSkill
- latex-footnote-fidelity-auditSkill
- latex-ocr-math-defect-auditSkill
- latex-translation-fidelity-auditSkill
- math-pdf-bookmarkSkill
- mathtranslation-cls-v31-upgradeSkill
- mathtranslation-hardrefSkill
- pdf-scanned-ocr-bookmarkSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. About 0 are common, 9 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use the project's actual build driver and inspect the supplied class/version.
- Distinctive: line 21
If non-ASCII paths or PDF write locks cause failure, diagnose those conditions from the current tools rather than assuming every shell or …
- Distinctive: line 23
Use absolute paths and an explicit working directory for background jobs.
- Distinctive: line 34
If the project has an index, include its actual index driver and resolving passes.
- Very specific: line 48
Do not use -halt-on-error while diagnosing: you want to see every error in one run.
- Very specific: line 53
Run the configured processor between passes that write its input and read its output.
- Distinctive: line 66
Verify processor exit status, expected output filename, entry content and page numbers, then inspect the rendered index.
- Very specific: line 74
Keep the project's configured output directory when it works.
- Distinctive: line 81
Check where the engine, bibliography processor, and index driver actually read and write auxiliary files.
- Very specific: line 90
Run python scripts/build_and_check.py <project_dir> from this skill directory only for projects compatible with its XeLaTeX/biber/texindy …
- Distinctive: line 138
Write a small script and run it with the managed Python:
- Distinctive: line 163
Never argue a font pairing from intuition.
- Very specific: line 165
A. Variant probe: Write a throwaway .tex that renders the *same* string under each candidate font command on a single page, compile once, …
- Very specific: line 192
Measure every display row in pt: Write a probe .tex that \sboxes each row in \ensuremath{\displaystyle ...} and emits …
- Very specific: line 201
alignedcomputes ONE column width from the widest cell-1: If one row puts a long expression before its first &, every other row's cell-2 … - Distinctive: line 277
Fix + guard: write to the correct name AND put it in the build's cleanup list, so a stale survivor cannot be reused after a failed run.
- Very specific: line 295
Fix: never leave & at end-of-line.
- Very specific: line 350
If a .cls is shared, remember the class file must sit next to main.tex (or on TEXINPUTS).
- Very specific: line 363
\xlongequalmay simply be undefined: if the class deliberately avoids mathtools' version — check the class for a house macro (e.g.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Build And Verify A LaTeX Translation
Environment And Scope
Use the project's actual build driver and inspect the supplied class/version.
Historical recipes below are conditional examples, not facts about this machine.
Discover Python, TeX binaries, fonts, and shell capabilities locally. The bundled
driver finds tools on PATH or in TEXLIVE_BIN; it must not assume a private
installation path. Verify whether the project needs biber, bibtex, texindy,
makeindex, or a custom index driver before selecting the fallback sequence.
Preserve UTF-8 encoding and existing line endings. If log bytes are not UTF-8, decode them using the actual producer's encoding; retain original logs for diagnosis. If non-ASCII paths or PDF write locks cause failure, diagnose those conditions from the current tools rather than assuming every shell or platform has the issue. Use absolute paths and an explicit working directory for background jobs.
Render changed pages and inspect them when image tools are available. If direct visual inspection is unavailable, report that limitation. Check algorithm and listing pages too: their source-language keywords, indentation, line numbers, and symbols must survive the build. Compilation is not a proof of translation, mathematical, or algorithmic correctness.
Build the document
For the conventional fallback below, use enough XeLaTeX passes to resolve all generated data; respect the actual project driver. If the project has an index, include its actual index driver and resolving passes; the five-step sequence below is one conventional example, not a universal count.
$d = "<the directory containing main.tex>"
Set-Location $d
Remove-Item "main.aux","main.bcf","main.log","main.out","main.toc","main.run.xml" -ErrorAction SilentlyContinue
& "xelatex" -interaction=nonstopmode -file-line-error main.tex *> "build1.log"
if (Test-Path "main.bcf") { & "biber" main *> "build_biber.log" }
& "xelatex" -interaction=nonstopmode -file-line-error main.tex *> "build2.log"
& "xelatex" -interaction=nonstopmode -file-line-error main.tex *> "build3.log"-file-line-erroris what makes./file.cls:69: messageappear — keep it.- Do not use
-halt-on-errorwhile diagnosing: you want to see every error in one run. - Judge success on build3, not build1 (
Citation undefinedin pass 1 is normal).
Index step (when the actual project needs an index processor)
Run the configured processor between passes that write its input and read its
output. For a compatible project this may be
xelatex → biber → xelatex → texindy → xelatex; other projects use makeindex,
named indices, automatic processing, or no external index step. A stale .ind
can be reused without a LaTeX error, so verify the file the document actually reads.
A locale warning or failed texindy run requires diagnosis of the installed
Perl/xindy environment. UTF-8 locales are not universally unsupported. If a
reproduction confirms an unavailable or incompatible locale, temporarily use a
supported locale for that process while retaining the index input encoding
(for example, -C utf8 when supported). Save and restore any existing locale
variables in a finally block; do not erase the user's previous settings.
Verify processor exit status, expected output filename, entry content and page numbers, then inspect the rendered index. A rerun warning alone does not prove staleness: check input/output content and resolving passes. If repeated passes produce unchanged data and correct rendered entries, stop rather than chasing a timestamp warning indefinitely.
Diagnose output-directory and path failures
Keep the project's configured output directory when it works. For an error such
as I can't write on file main.log, inspect destination existence, permissions,
file locks, path quoting, tool versions, and encoding. Non-ASCII paths can be a
compatibility issue in a particular installation; they are not a universal TeX
failure. Test a controlled working-directory or ASCII-path variant only when
it helps isolate the observed failure, without overwriting the original build.
Check where the engine, bibliography processor, and index driver actually read
and write auxiliary files. Mixed directories or stale search-path results can
produce old references or bookmarks. Resolve that mismatch through consistent
paths and the existing build driver; removing -output-directory is a possible
diagnostic workaround, not a required policy. Confirm the bookmarks in the PDF
rather than inferring failure from a flag or a single auxiliary timestamp.
Bundled Fallback Driver
Run python scripts/build_and_check.py <project_dir> from this skill directory
only for projects compatible with its XeLaTeX/biber/texindy sequence. It writes
_build_report.txt and returns failure for failed build steps or reported defects.
It is not a replacement for a supplied driver with custom bibliography or indices.
For file-backed commands, keep regexes and LaTeX strings out of ambiguous nested
shell quoting. Inspect process return codes as well as the final log.
Scan the log
$t = [System.IO.File]::ReadAllText("$d\build3.log", [System.Text.Encoding]::GetEncoding(28591))
$ls = $t -split "`r?`n"
"errors: " + ($ls | Where-Object { $_ -match '^! ' -or $_ -match ':\d+: ' }).Count
"overfull: " + ($ls | Where-Object { $_ -match '^Overfull \\hbox' }).Count
"missing char: " + ($ls | Where-Object { $_ -match 'Missing character' }).Count
$ls | Where-Object { $_ -match 'undefined|Output written' }A clean verdict looks like: LaTeX Error = 0, Overfull/Underfull \hbox = 0,
Missing character = 0, Font shape ... not available = 0, undefined = 0 on pass 3.
TRAP —
grep -c '^! 'is NOT a sufficient error check. Under-file-line-error(which you are told to keep above) most errors are printed as./chapters/ch04.tex:665: Missing } inserted.— no leading!. A build that returns non-zero and shows a real error can therefore still reportgrep -c '^! ' main.log== 0, and you will declare it clean. This has silently hidden a genuineMissing } inserted.for several rounds in a real project. Always grep BOTH patterns —grep -cE '\.tex:[0-9]+:' main.logandgrep -c '^!' main.log— and require both to be 0.-file-line-erroris the whole reason the^!form stops being reliable, so the two go together.
Missing character requires checking the exact glyph and font in use. With
fontset=none, an unassigned CJK family is one possible cause; a font's missing
glyph coverage or an unintended fallback is another. Inspect the affected text
and rendered page before choosing a font change.
Font shape … undefined can signal lost emphasis despite an otherwise successful
build. Inspect the project's definitions of \emph, \textbf, font families,
and any synthetic-bold settings; ctex does not guarantee that \emph maps to
a particular Hei family in every setup. Preserve semantic emphasis and choose
a remedy compatible with the actual template. Compare magnified rendered text
with its surrounding body; PDF font-span names are supporting evidence, not a
universal assertion that FandolHei-Bold is the only valid emphasis or that a
regular family necessarily proves emphasis was lost. Recheck affected environments
after the change.
Visual verification (mandatory before reporting success)
Write a small script and run it with the managed Python:
import os, pymupdf
d = r"<dir>"
doc = pymupdf.open(os.path.join(d, "main.pdf"))
out = os.path.join(d, "_verify"); os.makedirs(out, exist_ok=True)
print("pages", doc.page_count)
for i in [0, 1, 2, doc.page_count - 1]: # cover / body / TOC / last page
doc[i].get_pixmap(dpi=110).save(os.path.join(out, "page%02d.png" % (i+1)))
print("=== page", i+1, "==="); print(doc[i].get_text().strip())Then Read the PNGs — only if the probe above showed the running model is multimodal; on a
text-only model see the environment facts instead of pretending to look. Check, at minimum:
- Cover: title, author, logo actually resolved (not the
LOGOplaceholder box), imprint line. - TOC:
第 X 章prefix on numbered sections and附录 Xafter\appendix. - Terminology index (last page): rows present and page numbers filled (not
??). - Cross-references:
\autoref/\eqrefrender as引理1.1.1/式(1), never??.
Also compare page count against a pre-change backup to catch a silently dropped section.
Typography / font changes: decide with a probe, then measure
Never argue a font pairing from intuition. Two cheap techniques:
A. Variant probe. Write a throwaway .tex that renders the same string under each candidate
font command on a single page, compile once, then rasterise a cropped, magnified region —
get_pixmap(matrix=pymupdf.Matrix(z, z), clip=pymupdf.Rect(...)) with z around 5. A full page at
100 dpi is far too small to judge stroke weight or 衬线 details. Locate the crop with
page.search_for("<marker>") rather than guessing coordinates. Pick from the image, then edit the
real class, then re-verify the real document.
B. Measure the rendered result. page.get_text("rawdict") returns a bbox per glyph, which turns
"did the punctuation backspace survive the font swap?" into a number instead of an opinion:
for b in pg.get_text("rawdict")["blocks"]:
for l in b.get("lines", []):
cs = [(c["c"], c["bbox"]) for s in l["spans"] for c in s["chars"]]
# cs[i][1][2] = right edge of glyph i ; cs[i+1][1][0] = left edge of the next oneThe bbox is the advance box, not the ink — for a full-width CJK glyph it is the whole em (a Fandol 「:」 measures 11.96 pt at 12 pt). So compare like with like, and compare the same measurement before/after the change. Useful consequence: Fandol's Song and Hei share punctuation metrics, so a spacing constant tuned for 宋体 still holds after switching to 黑体.
Reducing Overfull boxes in a narrow text block (115 mm / 327.4 pt)
Long display formulas from a printed book rarely fit a 115 mm measure. Work measurement-driven, never by character count — math width is not linear in characters.
- Measure every display row in pt. Write a probe
.texthat\sboxes each row in\ensuremath{\displaystyle ...}and emits\typeout{MEAS|tag|\the\wd\mb}; compile once (-no-pdf) and parseMEAS|...|NNN.NNpt. The probe preamble must mirror the real one (fontspec +unicode-math+mathtools), and must define any project-local macros the rows use, or the recovered width is garbage. - Drive the breaker from those widths. A row wider than the measure gets split at a top-level
relation sign (
=,\le,\to, …), preferring the last sign that keeps the first piece inside budget. Prefer breaking a whole display by wrapping it inaligned; a row already insidealign*/alignedgets an extra\\+&continuation row. alignedcomputes ONE column width from the widest cell-1. If one row puts a long expression before its first&, every other row's cell-2 is pushed right by that width and the whole block overflows even when each row measured alone fits. Fix: keep cell-1 empty — every row is written&<content>.\label/\tagstay OUTSIDE thealigned; strip them before splitting and re-attach.- Iterate: recompile → re-measure → re-split. Guard every iteration with a
\label→number snapshot diff so re-typesetting can never silently renumber equations. - Expect a residual tail in shapes that resist mechanical splitting: side-by-side
cases, already balancedmultline*, and prose-in-display. Judge those individually; pushing them to zero moves the text further from the source layout than it is worth.
PDF bookmarks (the .out file): verify from the built PDF, never only from main.out
hyperref writes the bookmark tree to main.out; the PDF embeds it. Three failure modes bite here:
- A starred heading (
\section*,\chapter*) creates NO anchor of its own. With\section*{T}+\addcontentsline{toc}{section}{T}and no\phantomsection, the bookmark inherits the anchor of the previous numbered environment (Item.11,proposition.1, a theorem, anexercise), so it is mislabelled and jumps to the wrong page — and two such headings can even collide on one anchor, producing a dead duplicate. Fix: (a) put\phantomsectionimmediately before the\addcontentslineof every\chapter*front/back-matter heading — and never before the starred heading itself. The order is\subsection*{T}→\phantomsection→\addcontentsline{...}, and the failure mode of getting it wrong is intermittent and misleading:\phantomsectionsamples the position at once, so if the following\section*happens to trigger a page break, the anchor stays on the old page while\addcontentslinesamples\thepageon the new one — TOC page number correct, bookmark one page early. Measured at 20 of 63 entries in a real book; it reads like an off-by-one page-offset bug and will send you chasing the offset constant instead. (Dedicated treatment: skilllatex-bookmark-anchor-audit.) (b) for in-chapter subheadings, define\newcommand{\subsec}[1]{\section{#1}}and use a numbered\section— it creates its own anchor and restores the printedx.ynumbering. Do not hand-roll a counter +\pdfbookmark; under this toolchain that silently emits nothing. - The
bookmarkpackage can silently stop writing.outunder xelatex. It loadsbkm-dvipdfm.def(dvipdfm backend) even though hyperref correctly pickedhxetex.def, andmain.outis then never rewritten — every rebuild embeds the stale tree, which looks exactly like "I fixed the source but the bookmarks did not change" (the PDF/aux/TOC all get fresh mtimes, only.outstays old). Fix: drop\usepackage{bookmark}and rely on hyperref's nativebookmarksnumbered/bookmarksopen/bookmarksopenlevelin\hypersetup. Prove it by deletingmain.out, rebuilding, and confirming it is recreated. \printindexordering.\phantomsectionmust come before\printindex, otherwise the "Index" bookmark lands past the index (its last page). Sincetheindexopens with\twocolumn[...](which starts a fresh page), a bare reorder is not enough — you also need\cleardoublepagefirst:\cleardoublepage \phantomsection \addcontentsline{toc}{chapter}{Index} \printindex.
Verify against the PDF, not the log. main.out proves what was written; only the PDF proves
what a reader sees. With PyMuPDF:
import pymupdf
d = pymupdf.open("main.pdf")
print(d.page_count, len(d.get_toc()))
for lvl, title, page in d.get_toc(): # page is 1-based
...Sanity-check every level-1 bookmark by asserting its heading keyword appears on the target page
(allow ±1 page for a heading sitting near the top of the next page). One wrong target — e.g. Index
pointing at the last index page instead of the first — is the entire bug.
Gotchas hit in practice
- ★ The index processor's
-ofilename must be the file\printindexactually\inputs — otherwise the PDF index is silently frozen. Withimakeidx+splitindex+noautomatic, for a jobmainand the DEFAULT index, LaTeX readsmain-main.ind(visible in the log as(./main-main.ind [605] [606] …)); a second named indexsym1readsmain-sym1.ind. A build script that runstexindy -o main-min.ind main-main.idxlooks perfectly healthy — file written, non-zero size, plausible entry count — while no step readsmain-min.ind, so the shipped PDF keeps whatevermain-main.indwas produced last time. In the project where this was found the noun index was 28 days stale (522 top-level entries instead of 546; every term added in the meantime missing from the PDF), and several earlier "index has N entries" measurements had been taken from the unused file, so the regression stayed invisible. Detection (30 seconds):grep -o '(\./main[a-z0-9-]*\.ind' <job>.log | sort | uniq -c— compare against the files your script writes; then comparels -latimestamps of the.indfiles against the last build, and confirm a term you just added appears in the rendered PDF (pdftotext -f <idxpage> -l <last> <job>.pdf - | grep <term>). Fix + guard: write to the correct name AND put it in the build's cleanup list, so a stale survivor cannot be reused after a failed run. Do not rely on "some later step renames it". &at the END of a line insidealigned/align*is a fatal trap whenmathtoolsis loaded. Writing
(cell content starting on the next line) dies with\begin{aligned}& \int\cos(\beta x)\,dx = \dots\\ \end{aligned}! Missing control sequence inserted. <inserted text> \inaccessible, because the newline becomes a space token at the start of the alignment entry and amsmath's\@ifnextcharlook-ahead misreads it while scanning the\haligntemplate. It only fires when the affected cell later contains a top-level math operator (\cos,\sin,\log, …);\cosnested inside\frac{}{}is safe, and so is a cell with no operator. The same file compiles fine with plainamsmathand nomathtools— which is exactly why a minimal standalone probe can pass while the real document fails.mathtoolsplus a leading-&alignedis the reproduction recipe. Fix: never leave&at end-of-line; write&<content>on one line. The reverse of this trap also holds, so when a&-heavy block suddenly fails at a line that looks perfectly legal, suspect an earlier line ending in&first.- Diagnosing "the same code works in a probe but fails in the document": bisect both axes.
(a)
\errorcontextlines=99then recompile — the printed context names the macro being expanded (<template> ...+\@ifnextcharpointed straight at the alignment machinery). (b) Run the block under the real preamble (\usepackage{<project>.sty}) vs. plainamsmath; the delta is the culprit package. (c) Run the same block with and without a newline after&; one token is the whole difference. \ProcessKeyvalOptions*takes NO argument. The family comes from\SetupKeyvalOptions. Writing\ProcessKeyvalOptions*{MT}makes TeX typeset{MT}in the preamble and raisesLaTeX Error: Missing \begin{document}.at that exact line. Correct forms:\ProcessKeyvalOptions{MT}(unstarred, needs the family) or\ProcessKeyvalOptions*(starred).\IfFileExistsdoes NOT consult\graphicspath. A class that sets\graphicspath{{graphics/}}and then tests\IfFileExists{logo.pdf}will take the false branch while\includegraphics{logo.pdf}would have worked. Test explicit candidates.- A bare
\parmust never appear inside a\titleformatargument. titlesec's\ttl@format@iiis not\long, so scanning hits the\parand reportsParagraph ended before \ttl@format@ii was complete, followed by cascadingToo many }'sandMissing \begin{document}— the reported line is the one containing the\par. Wrap the code in a\newcommandand call that instead. - Do not hand-roll a "第 X 章" TOC prefix on ctex classes.
ctexbook/ctexrep's\@chapteralready writes\numberline{\CTEXthechapter\hspace{.3em}}into the.toc, and\appendixturns it into\numberline{附录 A\hspace{.3em}}by itself. A custom\numberlineoverride prints both, overlapping. Checkmain.tocbefore writing any TOC styling. The same trick exists for other levels via\CTEXnumberline. ctexbookhas no\maketitle(only thearticlefamily does). Use\providecommand{\maketitle}{}before\renewcommand{\maketitle}{...}.- Moving an article-style class to
ctexbookrenumbers equations from global(1)to per-chapter(1.1)— that is book-class default. Revert with\counterwithout{equation}{chapter}if the project wants global numbering. ctex+titlesecdo coexist (ctex ships an explicit\ctex_at_end_package:nn{titlesec}hook), but ctex's own\ctexset{chapter=...}settings are bypassed once you call\titleformat{\chapter}.- To restyle a TOC level's font,
\patchcmdthe\bfseries— never rewrite\l@chapter.\l@chapter/\l@partin thebookfamily carry the label width (\@tempdima), the penalties and the dotted-leader logic; a hand-written replacement silently changes all of that (and on ctex it collides with the\numberlineabove). In\AtBeginDocument:\patchcmd{\l@chapter}{\bfseries}{\headfont}{}{\typeout{MT-WARN: patch failed}}swaps only the font token. Always give\patchcmda failure branch that\typeouts — that is how you learn a future LaTeX release moved the\bfseries. - A class with heading font options needs an in-page CJK font family, not
\sffamily. Withfontset=none,\sffamilysilently falls back to the Latin sans for CJK. Define the family explicitly, e.g.\newCJKfontfamily\heifont{FandolHei-Regular.otf}[BoldFont=FandolHei-Regular.otf]— mappingBoldFontback to the regular keeps the CJK at normal weight while\bfseriesstill bolds the Latin. Resolve a string class option into a font command inside\AtBeginDocumentwith etoolbox's\ifdefstring, otherwise you hit a load-order problem (the option exists before the font families do). @is already catcode 11 inside.cls/.sty.\makeatotherthere breaks every later\@-macro; never use the pair in a class file.- Preserve script encoding when paths contain non-ASCII characters. Use the current shell's supported encoding or a file-backed Python driver.
- Back up the existing
main.pdf(main.pdf.bak) before the first rebuild, and delete the backup plus all_*.log/_*.txt/_verify/scratch afterwards. Leavemain.aux/.bcf/.toc/ .run.xml/.blg/.bblin place — they are normal build artifacts. - If a
.clsis shared, remember the class file must sit next tomain.tex(or onTEXINPUTS); a copy at the workspace root will not be found when compiling from a nested dir. - A class that redefines
\[→equation*and\qedhere→\tag*breaks two things at once, both reported asPackage amsmath Error: (a)align*must NOT be wrapped in\[ \]— nesting it insideequation*givesErroneous nesting of equation. Make thealign*a top-level display (drop the outer\[ \]). (b)\qedhereis illegal insidealigned(→\tag not allowed here); write\end{aligned}\qedhereso the\tag*lands at theequation*level (or put it on the last row of a top-levelalign*). AMissing $ inserteda few lines later is usually just the cascade. - A macro that
\sboxes its argument captures it in TEXT mode. If callers pass raw math you getMissing $ inserted/Undefined control sequenceon a line that looks perfectly fine. Fix at the call site by wrapping math args in$...$(match the class's own documented usage), not by editing the macro (which would then mis-typeset genuinely-textual arguments). \xlongequalmay simply be undefined if the class deliberately avoids mathtools' version — check the class for a house macro (e.g. a\reason-style rule-with-label) before assuming it exists.- A sub-threshold overfull (
< 25pt) can be absorbed locally without touching global settings:{\emergencystretch=3em …the paragraph…\par}— the explicit\parmust be inside the group, else the group closes first and the extra stretch never applies (the implicit\parbefore the following display happens after the group). xdvipdfmx: fatal: Unable to open "main.pdf"is a FILE LOCK, not a content error. A PDF viewer (Foxit / Edge / …) that has the file open re-locks it after each rewrite, so pass N can fail while pass N−1 succeeded. Retry the pass (2–3×, ~3 s apart) instead of hunting for a LaTeX bug; the preceding pass already wrote a complete PDF.
Imported PDF figure checks
For PDF crops or reported selection/black-patch defects, use PDF figure safety. Check the standalone asset and the final compiled page, both visually and by text extraction. Clipping, a clean build, or zero extracted text alone cannot establish correct rendering. Record the renderer used and any reader-specific behavior that remains untested.
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.

