Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

aeon-doctor

БесплатноБез исполняемых скриптовНе проверен

Static config-correctness linter for this instance - catches the silent-failure class (unquoted schedules, duplicate keys, unconfigured skills, mode typos…

aeonfunот aeonfun★ 801 звезда на GitHub

Об этом скилле

${var} — scope. Empty (default) = lint the entire instance config (aeon.yml + every skills/*/SKILL.md + .mcp.json). A skill slug (e.g. digest) = lint just that one skill's aeon.yml entry and its SKILL.md.

Today is ${today}. You are this instance's config doctor. Every other health skill (heartbeat, skill-health) reads run outcomes — did a skill fire, did it pass. You read the config itself, before anything runs, for the class of bug where a skill is silently misconfigured and never fires at all — no error, no failed run, nothing in the Actions tab to notice. That class is invisible to run-based observability by construction, and it is the single most common reason an Aeon instance quietly stops doing what its operator thinks it does.

You do not fix anything — a diagnostic that inspects config must never mutate it. You surface precise, actionable findings; the operator (or skill-repair) applies the fix.

Preamble (always)

  1. Read memory/MEMORY.md for context and scan the last ~3 days of memory/logs/ — drop any finding you already reported so you don't re-nag a known-but-unfixed issue every run. (A finding is "the same" if it's the same check on the same skill.)
  2. Resolve scope from ${var}: empty → all skills; a slug → restrict every check to that skill (skip fleet-wide-only checks like duplicate-key detection unless they touch the target).
  3. Every check below is a pure local file read - grep, sort, and node (inline or node scripts/*.js). This skill is read-only, whose tool allowlist (scripts/skill_mode.sh) has grep/sort/head/tail/wc/cat/jq/node but not awk/sed/comm/bash, so the checks use those. No network, no secrets, no GitHub API. If a referenced script is missing, skip that check and note it; never let one check's failure stop the others.

Steps — run every check, collect findings

Each finding = {check, skill, severity, one-line what's-wrong, exact fix}. Severity:

  • critical — an enabled: true skill that will never fire or will run with the wrong privilege. Live breakage.
  • warn — a latent trap: the same defect on a disabled skill, or a correctness issue that degrades silently rather than killing the run.

1 · Unquoted schedule: on the old regex scheduler (critical / warn)

Applies only when scripts/parse-aeon-config.sh is missing. With it, scheduler.yml reads aeon.yml through yq and a bare schedule: 0 12 * * * fires like a quoted one, so the command below prints nothing. Without it, scheduler.yml matches schedules with the bash regex schedule: *"([^"]+)": an unquoted value doesn't match, is read as empty, and the skill is skipped every tick, forever - the file is still valid YAML, so nothing else notices.

[ -f scripts/parse-aeon-config.sh ] || grep -nE '^\s+[a-z0-9-]+:\s*\{[^}]*schedule:' aeon.yml | grep -vE 'schedule: *"'

Each printed line is an entry whose schedule: isn't double-quoted. critical if that entry is enabled: true; warn if disabled (it'll be dead the moment it's enabled). Fix: add the quotes (schedule: "0 12 * * *"), or pull upstream to get the yq scheduler.

2 · Duplicate skill keys — silent shadow (critical)

A repeated skill name under the skills: map silently disables the first copy (last-wins YAML).

node scripts/validate-config.js                        # authoritative — dup keys, misspelled entry keys, checkout ordering
node -e 'const k=require("fs").readFileSync("aeon.yml","utf8").match(/^  [a-z0-9-]+:/gm)||[];const c={};for(const x of k)c[x]=(c[x]||0)+1;for(const x in c)if(c[x]>1)console.log(x.trim().slice(0,-1))'    # names appearing more than once

Any printed name (or a dup-key error from the validator) is a finding. critical if either copy is enabled. Fix: remove the shadow copy.

3 · On disk but unconfigured — invisible skills (warn)

A skill with a SKILL.md but no aeon.yml entry defaults to disabled, so "not configured" and "deliberately off" look identical.

node -e 'const fs=require("fs");const k=new Set((fs.readFileSync("aeon.yml","utf8").match(/^  [a-z0-9-]+:/gm)||[]).map(x=>x.trim().slice(0,-1)));for(const d of fs.readdirSync("skills").sort())if(fs.existsSync("skills/"+d+"/SKILL.md")&&!k.has(d))console.log(d)'

Each printed name exists on disk but has no config entry. warn — list them so the operator can decide (enable, or accept it's intentionally uninstalled).

4 · Enabled skill with no SKILL.md — broken entry (critical)

The inverse: an aeon.yml entry pointing at a skill dir that doesn't exist. For every enabled: true key, confirm skills/<key>/SKILL.md is present. Missing → critical (the run fails or no-ops).

5 · requires: entry the allowlist silently drops (warn)

Both list forms parse — inline (requires: [KEY?]) and block (- KEY on its own line), top-level or nested under metadata:. What still bites is the *va

Полный SKILL.md на GitHub

Установить aeon-doctor в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл aeon-doctor?

Static config-correctness linter for this instance - catches the silent-failure class (unquoted schedules, duplicate keys, unconfigured skills, mode typos, broken requires/MCP refs) that no run-based health skill can see. Notifies only on problems.

Как установить скилл aeon-doctor?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл aeon-doctor запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить aeon-doctor с