momhq/mom

mom-status

Show MOM's current state.

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/momhq/mom --skill mom-status

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

Preflight

Check that mom is on PATH:

bash
command -v mom

If it is missing, tell the user MOM is not installed and ask permission to install it:

text
MOM is not installed. Install it now with Homebrew?
  brew install momhq/tap/mom
Source: https://github.com/momhq/mom

If the user agrees, run that command. If the user declines, stop. Do not install MOM without explicit permission.

Run

bash
mom status

Report a short summary of: the bound project for the current directory (or that it is unbound), Ledger stats (total events and time span), the vault fold watermark (folded-to offset and last fold time), and watcher state.

Rules:

  • Never print the raw output verbatim. Summarize.
  • If any field looks like a secret (key, token, password, cookie, auth header), replace its value with [REDACTED] before showing it.
  • If mom is not on PATH, say MOM is not installed and stop.
  • If the directory is unbound, say so and mention /mom-project binds it — nothing is captured until then.

Postflight (version hint)

Any mom ... command may print a banner to stderr like:

MOM 0.40.1 available. Run `brew upgrade mom` or `mom self-update`

If you see that line, finish the task first, then add one short line at the end of your reply suggesting the upgrade. Do not run the upgrade yourself.

Verwandte Aufgaben

aus demselben Repository

Weitere Skills

Alle Skills