system-check

system-check is a skill for Claude Code from wrg32786/aigent-os. It costs 31 tokens per session (702 once invoked), scanned A, original, MIT.

A read-only installation smoke test for an agent system. It checks that required skills, background services, memory files, nightly freshness checks, and terminal evidence are present and valid.

In plain words
What is it for?
Use it after setup or maintenance to find missing files, parsing failures, invalid state files, and other system-level issues.
Why use it?
It provides one repeatable check for installation and operational problems instead of relying on manual inspection.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash daemons/system-check.sh.

Good fit Use it after setup or maintenance to find missing files, parsing failures, invalid state files, and other system-level issues.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/wrg32786/aigent-os
agentmods
npx agentmods add skills/wrg32786/aigent-os/system-check

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for system-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/wrg32786/aigent-os/system-check/github.svg)](https://agentmods.dev/skills/wrg32786/aigent-os/system-check)
Your own site
<a href="https://agentmods.dev/skills/wrg32786/aigent-os/system-check"><img src="https://agentmods.dev/badge/skills/wrg32786/aigent-os/system-check/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for system-check

Your own site · 80×15
<a href="https://agentmods.dev/skills/wrg32786/aigent-os/system-check"><img src="https://agentmods.dev/badge/skills/wrg32786/aigent-os/system-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 702 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.00702
Opus 5 $0.00015 $0.00351
Sonnet 5 $0.00006 $0.00140
Haiku 4.5 $0.00003 $0.00070

Measured 9d ago against content hash d1fee35455c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

system-check scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/system-check/SKILL.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/system-check

Run from the aigent-OS root:

bash daemons/system-check.sh

The script is read-only. It prints one line per check, a final SUMMARY: N PASS / N FAIL / N INFO, and exits 1 when any check fails.

Path resolution

Framework code resolves from AIGENT_ROOT, defaulting to the parent directory of daemons/system-check.sh.

Operational memory resolves in this order:

  1. AIGENT_STATE_HOME_DIR/vault/memory when the state-home diversion is set.
  2. AIGENT_STATE_HOME_DIR/memory as a compatibility fallback.
  3. AIGENT_ROOT/vault/memory for a normal installation.
  4. AIGENT_ROOT/memory only when the canonical vault path does not exist.

This is the same shape used by the nightly controller. Tests should set AIGENT_ROOT, AIGENT_STATE_HOME_DIR, and date-sensitive environment values explicitly so ambient state cannot change the result.

Checks

  • Required top-level skills exist, including the nightly close-parity skills.
  • Shell and Python daemons parse.
  • Every nightly daemon exists and passes node --check.
  • The memory-heat daemon parses.
  • Operational state files have their required schemas, including the generic sweep log and dispatch-fitness table.
  • Capsules have valid frontmatter, identity, and status.
  • Canonical cognitive JSON and JSONL inputs exist and parse. Missing canonical input is a failure, not an empty-success case.
  • DREAM_LOG.md freshness comes from its newest valid dated header, never its file modification time.
  • The newest NIGHTLY_LOG.md pass is current and has complete terminal evidence. A terminal status: FAIL remains red even when every checkpoint row is present.
  • /nightly resolves through the unique /nightly-close-parity route.
  • The eval directory contains at least one supported file.
  • The local daemon error log is surfaced as INFO when it contains entries.

Date configuration

All date-sensitive checks use one timezone and one cutoff:

export AIGENT_NIGHTLY_TIME_ZONE="America/Los_Angeles"
export AIGENT_NIGHTLY_CUTOFF_HOUR="4"
bash daemons/system-check.sh

Read the full file on GitHub · 86 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 86 lines · 31 tokens per session scan A d1fee35455c6

Subscribe to this mod's changes

system-check is a skill published in the GitHub repository wrg32786/aigent-os (18 stars, last pushed today), licensed MIT. It adds 31 tokens to every session and 702 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.