plugins/lisa-cursor/skills/lisa-automation-status/SKILL.md
Read-only operator surface for the current project's Lisa automation fleet. Resolves the expected recurring jobs from the same setup-automations contract Lisa uses to create them, inspects the active runtime scheduler (Codex automations or Claude /schedule), compares live command/cadence/queue arguments against the expected contract, and reports grouped fleet health such as healthy, missing, unsupported, drifted, stale, or failing with remediation guidance.
npx skillsauth add codyswanngt/lisa lisa-automation-statusInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
Security scan pending...
This skill is queued for security scanning. Results will appear when the scan completes.
/lisa:automation-status is the operator-facing inspection surface for Lisa's unattended job fleet. It answers, for the current repo only, whether the recurring Lisa automations that should exist actually exist, still match Lisa's setup contract, and appear healthy based on the runtime metadata available.
This command is read-only in v1. It does not create, update, resume, rerun, pause, or delete automations. It complements /lisa:setup-automations, /lisa:tear-down-automations, /lisa:intake, /lisa:repair-intake, doctor, and monitor; it does not replace them.
Do not ask for confirmation once invoked. This skill inspects scheduler state and reports what it finds. There are no write-side effects in the v1 surface.
Inspect only the Lisa automation fleet for the current project. Derive that fleet from
scripts/automation-status-expected-fleet.mjs (resolveExpectedAutomationFleet), which resolves
exactly what setup-automations registers for this repo — including the stack-guarded
exploratory-bugs and the opt-in learnings-audit gardener. Membership is registration, not a
roster (automation-runbook-contract): carry no fixed list of loop names here, so a loop added to
or removed from the registration set flows through without editing this skill.
The gardener is opted into at registration time and has no config key, so infer it from the
scheduler: list the project's automations first, then call
inferLearningsAuditRegistration({ automationPrefix, observedAutomationIds }) and pass the result
as learningsAudit when resolving the fleet. A lisa-auto-<project>-learnings-audit entry on the
scheduler means the project opted in, so the gardener is compared like any other loop; no such entry
means it is reported UNSUPPORTED (opted out), never MISSING. This skill stays read-only — it
infers, it never writes the flag anywhere.
Resolve the expected project identifier, fleet naming prefix, queue arguments, cadence, and stack-support rules from the same contract used by setup-automations and tear-down-automations. Do not invent a second source of truth for fleet naming or queue resolution.
Branch on the active runtime and prefer the runtime's native automation listing surface:
/schedule listing surface and any exposed recency or failure metadata available there.The report must stay repo-scoped: inspect only automations whose names belong to the current repo's Lisa fleet prefix, and do not absorb unrelated automations into the result.
Loops declared with scheduler: "github-actions" in .lisa.config.json are not visible to any runtime-native listing. Inspect them separately, and report a stopped clock as a finding in its own right — not merely the absence of recent work.
Three distinct states, all of which look identical from the work side:
| Observation | State | Remediation |
| --- | --- | --- |
| Workflow file exists, no schedule: trigger | registered-disabled | Expected until the production path is proven once. Prove it with a manual dispatch, then set enabled: true and regenerate. |
| schedule: present, but no run in well over the declared cadence | clock stopped | GitHub auto-disables scheduled workflows after 60 days of repository inactivity. Re-enable it in the Actions UI, or push any commit. |
| Runs firing, none dispatching | idle | Healthy. The queue is empty. |
The middle row is the one worth building for. A quiet repository silently stops running its loops and nothing announces it, so an unattended factory can be dead for weeks while every individual signal still looks fine. Do not infer health from "no failures"; a clock that never fires produces no failures at all.
gh run list --workflow "lisa-<loop>.yml" --limit 5 \
--json createdAt,conclusion,event
Compare the newest schedule-event run against the declared cron. Absent or far older than the cadence means the clock is the problem, and no amount of inspecting the queue will reveal it.
Also note that GitHub's scheduled triggers are best-effort: they are delayed under load, sometimes considerably. Judge against a generous multiple of the cadence rather than flagging a single late tick.
For each expected automation, report:
automation-runbook-contract), or not scaffolded — run /lisa:setup-automations when it is absent.no recorded runs yet when the loop has never recorded one.The last-run and history facts come from the durable run-outcome substrate recorded by each loop (the RBC-3 records under .lisa/automations/runs/<loop-id>.jsonl, read through readAutomationRunRecords). That directory is local scheduler state, not project knowledge — read it, never write it.
Emit an overall grouped fleet verdict such as HEALTHY, ATTENTION_NEEDED, or PARTIAL_SUPPORT, plus the runtime surface inspected. Repeated recovery is a fleet-health signal the scheduler cannot see: when a loop's last three or more consecutive recorded runs are all recovery-required, report that loop FAILING — and therefore the overall verdict ATTENTION_NEEDED — even when its scheduler entry itself looks healthy, and point the remediation at the recorded run summaries.
Typical entrypoint:
/lisa:automation-status
Use this command when an operator needs to answer one of these questions for the current repo:
The report should be terminal-first and immediately actionable: observable scheduler facts first, then the smallest useful remediation step.
/schedule listing as the primary runtime surface. Compare the live schedule name, cadence, and command shape against the Lisa contract, but degrade gracefully when /schedule does not expose equivalent recency or failure fields.HEALTHY: every expected automation exists and the inspected runtime metadata shows no actionable drift, staleness, or failure.PARTIAL_SUPPORT: the fleet is otherwise healthy, but at least one exploratory job is intentionally unsupported for this stack or runtime.ATTENTION_NEEDED: at least one automation is missing, drifted, stale, or failing.Status-specific remediation guidance:
MISSING: tell the operator which job is absent and recommend rerunning /lisa:setup-automations or recreating the missing job with the expected cadence and command.DRIFTED: show the expected versus observed cadence/command mismatch and recommend aligning the scheduler entry with Lisa's current setup contract, usually by rerunning /lisa:setup-automations.STALE: explain that the job exists but has not run recently enough for its cadence. Recommend inspecting the runtime's recent-run history or failure logs before changing queue state.FAILING: surface the failure signal directly and recommend checking the latest runtime error plus the affected queue command (/lisa:intake, /lisa:repair-intake, or exploratory job) after the scheduler issue is resolved. A loop also reports FAILING when its last three or more consecutive recorded runs are all recovery-required — even with a healthy scheduler entry — in which case cite the recorded run summaries and point the operator at the loop's runbook.UNSUPPORTED: explain why the job is intentionally absent and say that no remediation is required unless the project stack or runtime support changed.Render the report in grouped sections using the shared scripts/automation-status-report.mjs contract:
Overall verdict: <VERDICT>
Counts: <n HEALTHY>, <n MISSING>, <n UNSUPPORTED>, <n DRIFTED>, <n STALE>, <n FAILING>
Runtime inspected: <runtime surface>
Generated at: <ISO timestamp>
1. <group title>
- <STATUS> <automation-id>: <summary>
Expected: <cadence> -> <command>
Observed: <what the runtime exposed>
Runbook: <.lisa/automations/<loop-id>.runbook.md, or "not scaffolded — run /lisa:setup-automations">
Last run: <outcome> — <summary> (<ts>), or "no recorded runs yet"
History: <outcome>, <outcome>, … (newest first); … and <N> older records
Remediation: <next step when attention is needed>
The Runbook, Last run, and History lines are observable facts and sit between Observed and Remediation. Keep observable runtime facts separate from remediation guidance so operators can distinguish drift, unsupported jobs, and actual failures quickly.
setup-automations contract logic for expected fleet resolution, cadence, queue arguments, naming, and stack-specific support checks.exploratory-qa is not a failure.development
Prepare a machine — a fresh laptop or a throwaway container — to run coding agents, before any repository exists. Detects which of Lisa's supported agents (Claude Code, Codex, Cursor, OpenCode, Antigravity, Copilot) are already installed, asks which credential manager the machine uses (Bitwarden, 1Password, Doppler, Vault, AWS, or none), and installs only what is missing, each by its vendor's own preferred method. Idempotent, headless by default, and emits a Dockerfile for a spin-up/spin-down environment. Run it on a new machine, in a container, or before cloning anything.
tools
Provision and verify a remote execution environment for a host project — Codex Cloud today, other remote surfaces as they are added. Generates a repository-owned setup script that installs the declared toolchain, materializes secrets through lisa-secrets-access, and runs the project's own hook. Provisions by API where one exists, by driving the vendor console where one does not, and by emitting exact config otherwise — then proves the result with the same read-back regardless of which tier did the work. Use before dispatching any work with executionEnv.
tools
Bring a developer's machine in line with the toolchain the project declares. Reports every tool in remoteEnv.tools that is missing, outdated, or unpinned for this platform, and installs the missing ones into ~/.local/bin from the same pinned, checksummed entries the remote surfaces use — but only when asked. Same manifest, same pins, same installers as lisa-setup-remote-env; what differs is consent and that the pin is a floor rather than an equality. Run it on a fresh checkout, after a manifest change, or when a tool fails at the moment of use.
tools
Route one unit of work to a remote execution surface. Reads the executionEnv parameter (local by default, codex-cloud or claude-web today), verifies the environment is provisioned and bound to this repository, submits a thin skill invocation, records the task identifier to .lisa/remote-dispatch.json, and exits without polling. Routing only — the remote runs the identical skill from the identical repository. Composable and inline: other skills invoke it via the Skill tool rather than users calling it directly.