egregore: Skill for Claude Code

.claude/skills/checkup/SKILL.md

checkup is a skill for Claude Code from egregore-labs/egregore. It costs 46 tokens per session (3,355 once invoked), scanned B, original, MIT.

A diagnostic workflow for checking an Egregore environment, including its services and dependencies, and producing a health report. It can automatically fix some problems it finds.

In plain words
What is it for?
Use it for a health check, status check, or diagnosis of local or connected Egregore setups, with checks adjusted to the available mode.
Why use it?
It helps locate the cause of a broken or unhealthy setup when the failing component is not obvious.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

This is egregore-labs/egregore's own configuration. It tells Claude Code how to work on egregore itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything egregore configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is RESULT=$(bash bin/graph.sh query "MATCH (p:Person {github: \$gh}) RETURN p.name AS name, p.github AS github" "{\"gh\":\"$AUTHOR\"}" 2>/dev/null).

Reuse

Borrowing it

Nothing to install: this file belongs to egregore-labs/egregore. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/egregore-labs/egregore/main/.claude/skills/checkup/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/egregore-labs/egregore

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 checkup

README.md
[![agentmods](https://agentmods.dev/badge/skills/egregore-labs/egregore/checkup/github.svg)](https://agentmods.dev/skills/egregore-labs/egregore/checkup)
Your own site
<a href="https://agentmods.dev/skills/egregore-labs/egregore/checkup"><img src="https://agentmods.dev/badge/skills/egregore-labs/egregore/checkup/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 checkup

Your own site · 80×15
<a href="https://agentmods.dev/skills/egregore-labs/egregore/checkup"><img src="https://agentmods.dev/badge/skills/egregore-labs/egregore/checkup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,355 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 9 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 58
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 71
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 108
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 122
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 233
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 264
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Data Exfiltration · line 72
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 123
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Prompt Injection · line 317
    Subtle instructions detected that may alter agent decision-making or introduce hidden biases.
    Fix: Review content for implicit steering or bias. Ensure instructions are explicit and align with the skill's stated purpose.
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.00046 $0.03355
Opus 5 $0.00023 $0.01677
Sonnet 5 $0.00009 $0.00671
Haiku 4.5 $0.00005 $0.00335

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

Security

Grade B, and why

checkup scanned grade B with 2 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.

Subtle steeringmediumPrompt injection

Instructions that bias recommendations or shape behaviour without the user noticing.

Never tell the user to "run a command in terminal." Either fix it yourself or explain what's wrong in plain language.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -H "Authorization: token $TOKEN" https://api.github.com/user --max-time 5
.claude/skills/checkup/SKILL.md · 318 lines

How it starts

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

Run diagnostics on your Egregore environment.

Check every service and dependency, render a TUI diagnostic box, and auto-fix what you can.

When to invoke

  • User says "checkup", "diagnose", "what's broken", "health check", "status check"
  • Session greeting shows ⚠ Issues detected — run /checkup
  • User reports something not working and root cause is unclear

Procedure

First, detect mode. This gates which checks run.

MODE=$(jq -r '.mode // empty' egregore.json 2>/dev/null)
API_URL=$(jq -r '.api_url // empty' egregore.json 2>/dev/null)
if [ "$MODE" = "local" ] || [ -z "$API_URL" ]; then
  MODE="local"
else
  MODE="connected"
fi

In local mode, Checks 3b, 4, 5, 6 are skipped entirely (no graph, no API key, no telegram). The SERVICES section of the diagnostic box is not rendered.

In connected mode, all checks run as below.

Run checks in 3 sequential batches. Within each batch, checks can run in parallel. Never run network checks (5-6) in the same parallel batch as local checks (7-10) — a network timeout will cascade-cancel the siblings.

Batch 1 (local, fast): Checks 1-2, GitHub token. Batch 2 (network, may timeout, connected mode only): Checks 3b, 4, 5-6 — identity (Person node), API key, graph, telegram Batch 3 (local + git): Checks 7-10 — memory, git, framework, alias

Collect results into a checks array, then render the diagnostic box.

Check 1: Config (egregore.json)

jq . egregore.json
  • Pass (connected mode) if valid JSON with non-empty org_name, github_org, slug, api_url
  • Pass (local mode) if valid JSON with non-empty org_name, github_org, slugapi_url is not required
  • Fail if file missing, invalid JSON, or required fields empty
  • Fix: run /setup

Extract slug and org_name for display.

Check 2: Environment (.env)

test -f .env && grep -c '^[A-Z]' .env
  • Pass (connected mode) if .env exists and has both GITHUB_TOKEN and EGREGORE_API_KEY
  • Pass (local mode) if .env exists and has GITHUB_TOKENEGREGORE_API_KEY is not required
  • Fail if missing file or missing keys
  • Fix: for missing GITHUB_TOKEN, run bash bin/github-auth.sh. In connected mode, a missing EGREGORE_API_KEY is auto-fetched via Check 4's fix below.

Read the full file on GitHub · 318 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 · 318 lines · 46 tokens per session scan B 7177d6624f51

Subscribe to this mod's changes

checkup is a skill published in the GitHub repository egregore-labs/egregore (282 stars, last pushed 5d ago), licensed MIT. It adds 46 tokens to every session and 3,355 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 2 findings (subtle steering, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

printing-press-polish

Polish a generated CLI to pass verification and become publish-ready. Runs diagnostics (dogfood, verify, scorecard, go vet, gosec), automatically fixes all issues (verify failures, static-analysis findings, dead code, descriptions, README, MCP tool quality), reports the before/after delta, and offers to publish. Use…

mvanhorn/cli-printing-press · 125 tokens

printing-press-amend

Amend a published CLI from one of two input sources: (1) dogfood mode mines the active Claude Code session transcript for friction (missing flags, hand- rolled API payloads, silent-null returns); (2) direct-input mode accepts user-supplied asks (rename a command, add commands or feeds, fix a named bug, optionally…

mvanhorn/cli-printing-press · 222 tokens

printing-press-output-review

Internal sub-skill: agentic review of a printed CLI's sampled command output for plausibility issues that rule-based checks can't encode (substring-match relevance, format bugs, silent source drops, ranking failures). Invoked via the Skill tool by the main printing-press skill at Phase 4.85 and printing-press-polish…

mvanhorn/cli-printing-press · 102 tokens

fix

Dispatch fix subagent for FIX-FIRST gaps from review, re-review, then diagnose unresolved failures after 2 loops.

automagik-dev/genie · 25 tokens

report

Investigate bugs comprehensively — cascade through trace, capture browser evidence, extract observability data, and prepare or explicitly create a GitHub issue with grounded findings.

automagik-dev/genie · 34 tokens

trace

Dispatch trace subagent to investigate unknown issues — reproduces, traces, and reports root cause for fix handoff.

automagik-dev/genie · 25 tokens