Utility commands — commit, compile, validate-bib, journal, context-status, deploy, learn. Replaces individual utility skills.
Utility subcommands for project maintenance and infrastructure.
Input: $ARGUMENTS — subcommand followed by any arguments.
/tools commit [message] — Git CommitStage changes, create commit, optionally create PR and merge.
/tools compile [file] — LaTeX Compilation3-pass XeLaTeX + bibtex compilation.
For papers:
cd Paper && TEXINPUTS=../Preambles:$TEXINPUTS xelatex -interaction=nonstopmode [file]
BIBINPUTS=..:$BIBINPUTS bibtex [file_base]
TEXINPUTS=../Preambles:$TEXINPUTS xelatex -interaction=nonstopmode [file]
TEXINPUTS=../Preambles:$TEXINPUTS xelatex -interaction=nonstopmode [file]
For talks:
cd Talks && TEXINPUTS=../Preambles:$TEXINPUTS xelatex -interaction=nonstopmode [file]
/tools validate-bib — Bibliography ValidationCross-reference all \cite{} keys in paper and talk files against Bibliography_base.bib. Report: missing entries, unused entries, duplicate keys.
/tools journal — Research JournalRegenerate the research journal timeline from quality reports and git history. Shows chronological record of agent actions, phase transitions, scores, decisions.
/tools context — Context StatusShow current context status and session health. Check context usage, whether auto-compact is approaching, what state will be preserved.
/tools deploy — Deploy Guide SiteRender Quarto guide site and sync to GitHub Pages.
cd guide && quarto render
Then commit docs/ changes and push.
/tools learn — Extract LearningsExtract reusable knowledge from the current session into MEMORY.md. Look for non-obvious discoveries, workarounds, multi-step workflows. Follow the two-tier system: generic → MEMORY.md, machine-specific → .claude/state/personal-memory.md.