empiricaai/empirica/services-audit-cron
Claude Code and agent skill by empiricaai/empirica
- community
Checking that the SKILL.md file is still in the repository.
Use when scheduling the canonical biweekly services-audit cron loop for Empirica's AI service scanner (Phase 3). The auditor body is `empirica services-audit` — captures a fresh scan, diffs against the previous, and emits a notification when novel running services appear. This skill provides the prompt template that wires the body into Claude Code's `/loop` cron mode + Empirica's loop registry. Recommended cadence: `0 6 1,15 * *` (1st and 15th of each month at 06:00 UTC — biweekly).
Install
npx vskill@latest install empiricaai/empirica/services-audit-cronSKILL.md
Services-audit cron loop wiring
The Phase 3 services-audit loop runs empirica services-audit on a biweekly cadence, captures novelty between runs, and notifies the operator when something new is running.
This skill is a thin wrapper over /loop-cron — same self-scheduling template, with services-audit plugged in as the body.
When to Use
Register the canonical biweekly services-audit cron when:
- You've just shipped Phase 1 + Phase 2 of the scanner (one-shot scan +
auditor skill) and want the audit to run unattended on a schedule
- You want novelty notifications (new processes, new listening ports,
new MCP servers) without remembering to scan manually
- You want a durable audit trail in
~/.empirica/scan_history_<project_id>.jsonl
If you only want a one-shot audit, run empirica services-audit directly — no loop needed.
Cron Prompt Template
When invoking /loop in cron mode, prepend these CLI lines to your task prompt. The body itself is one command — the rest is registry wiring.
Cadence
The default cron 0 6 1,15 * * fires at 06:00 UTC on the 1st and 15th of each month — closest stable approximation of "biweekly" that cron expression syntax allows. Adjust the hour/day for your timezone or operational rhythm.
For more frequent monitoring (e.g. weekly): 0 6 * * 1 (every Monday).
For less frequent (monthly): 0 6 1 * * (1st of each month).
services-audit is cheap on a typical dev machine (~1-2 seconds for the snapshot + diff), so cadence is purely a noise-budget question, not a resource one.
Reading the result
empirica services-audit --output json returns:
Result mapping for `loop heartbeat --result`:
found— novel processes or listeners detected. Notification fired
via the configured backend (stdout / log / ntfy). Backoff resets to base.
empty— no novelty since the previous scan. Quiet success. Backoff
advances streak (if --backoff exponential is set; the default template uses none since biweekly is already a slow cadence).
fail—services-auditerrored (no project context, scan crashed).
Backoff resets to base; retry next interval.
Operator workflow
After installing the loop:
- Review history:
empirica scan-history --limit 10— last 10
audit fires
- Compare two snapshots:
empirica scan-diff <a> <b>— spot-check
what changed between two cycles
- Re-render a snapshot:
empirica scan-show <scan_id>— full
markdown report
- Pause if noisy:
empirica loop pause services-audit— body
exits cleanly on next fire, no next-cron installed
- Resume:
empirica loop resume services-auditthen
empirica loop fire services-audit to bootstrap (CronCreate-mode only emits a hint).
Notification routing
The services-audit notification has:
severity: warningsource: loop:services-audittags: [services-audit, security]
To route audit notifications to a specific backend (e.g. ntfy on a dedicated topic), add a routing rule to ~/.empirica/notify.yaml:
Without a routing rule, the dispatcher's default backend handles them (stdout, by default — visible in your tmux scrollback or the cockpit's notification panel).
See also
/loop-cron— the generic cron template this skill specialises/services-auditor— the AI-judgment skill (Phase 2) that runs
alongside the deterministic scanner; complementary not redundant
docs/architecture/SERVICES_SCANNER.md— Phase 1/2/3 architecturedocs/specs/PROPOSAL_LOOP_BACKOFF.md— backoff math (services-
audit doesn't use it — biweekly is already slow — but the option is there if you switch to a tighter cadence)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingempirica/plugins/claude-code-integration/skills/services-audit-cron/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/empiricaai/empirica/services-audit-cron)