From aisa
Quick read-only drift check — runs snapshot + drift audit phases only, auto-fixes only CRITICAL issues with approval. Use weekly or before sprints.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aisa:aisa-inspectThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Lightweight verification — read-only unless critical drift is found.
Lightweight verification — read-only unless critical drift is found.
Execute only Phase 1 (Snapshot) and Phase 2 (Drift Audit) from the Evolver pipeline
defined in .claude/skills/aisa-sync/REFERENCE.md.
Do NOT execute Phases 3-7. This is a diagnostic, not an update cycle.
Locate the script with Glob for **/verify-setup.js, then run:
node <plugin-path>/scripts/verify-setup.js health --project-root . --json
The script handles in a single invocation:
snapshot.json, categorizes UNCHANGED/MODIFIED/NEW/DELETEDReport the scan mode from the cache field: snapshot age, files changed vs unchanged.
If a specs or openspec directory is detected in the project (check for specs/, .openspec/, openspec/, spec/, docs/specs/), also run:
node <plugin-path>/scripts/check-openspec.js --project-root . --json
Locate the script with Glob for **/check-openspec.js. Include a one-line summary in the Health Check Report under a new ### OpenSpec Tooling section:
### OpenSpec Tooling
- CLI: [✅ v1.2.0 installed / ❌ not installed]
- Project: [✅ initialized / ⚠️ not initialized]
- Version: [✅ up to date / ⚠️ update available (x.y.z)]
If CLI is not installed and the project has specs, classify OpenSpec tooling as OUTDATED in the recommendations. Do not run this check if no specs directory is found — it is not relevant for non-spec-driven projects.
Use the script's classifications object as a starting point. The script assigns
CURRENT / OUTDATED / STALE / CRITICAL based on objective pass results.
Fast Pass F — Code example spot-check (manual, 1 per skill): The script extracts code blocks but cannot compare them semantically. For skills classified as MODIFIED or OUTDATED, pick the single most critical code example from the skill and compare against the actual source file. Skip pure rule/convention skills with no code examples.
Checks NOT run in health mode (save for full /aisa-sync):
CLAUDE.md quick check:
Use the script's claude_md field for table diff. Additionally run one test command
(e.g., go test ./... 2>&1 | head -5 or equivalent) to confirm test infrastructure works.
Review and upgrade/downgrade classifications as needed — the script catches mechanical drift; you catch semantic drift.
Classify each file: CURRENT / OUTDATED / STALE / CRITICAL
Classification definitions:
The script now also checks skill structural compliance:
{name}.md instead of {name}/SKILL.md) → classified CRITICALClassification guidance for workflow maturity:
Verification requirement: Run at least one mechanical check (e.g., ls a referenced path, grep a referenced symbol) per audited skill before classifying. Do not classify a skill based on reading alone.
Present a concise health report:
## Health Check Report — {date}
### Overall: [HEALTHY / NEEDS ATTENTION / CRITICAL]
### Skills ({N} total)
✅ CURRENT: {list}
⚠️ OUTDATED: {list with one-line reason}
🗑️ STALE: {list with one-line reason}
❌ CRITICAL: {list with one-line reason — these need immediate fixes}
### Agents ({N} total)
{same format — classify as CURRENT/OUTDATED/STALE/CRITICAL}
### Principle Compliance Summary
| File | Type | Self-Learning | Quality Gates | Plan→Critique→Improve→Do→Critique→Improve | Tools Valid |
|------|------|--------------|---------------|------------------------------------------|-------------|
| {name} | skill/agent | ✅/❌ | ✅/❌/EXEMPT | ✅/❌ | ✅/❌/N/A |
### CLAUDE.md: [CURRENT / OUTDATED / STALE]
{one-line summary if not CURRENT}
### Learnings Inbox
- ACTIVE entries: {N} (oldest: {date})
- Recommended: {run /aisa-harvest if >10 ACTIVE entries or oldest >2 weeks}
### Recommended Actions
1. {highest priority action}
2. {next priority}
...
If CRITICAL drift is found (a skill states something actively wrong):
fix: correct critical skill drift in {file}/aisa-sync cycleBefore presenting the health report, verify:
ls, grep) was run per audited skill before classifyingAfter the health report is complete, update .claude/cache/drift-report.json with the audit
results (status per file: CURRENT/OUTDATED/STALE/CRITICAL). This allows the next health check
or evolution run to start from a known baseline.
If files were scanned for the first time (no prior cache), also write/update snapshot.json
with their hashes and principle compliance flags.
/aisa-lint to verify principle compliance/aisa-harvest/aisa-sync/aisa-update <area> for scoped fixesIf discoveries are made during the health check (e.g., undocumented pattern changes, broken conventions,
surprising drift patterns), append entries to .claude/learnings/log.md using the standard format.
npx claudepluginhub rnagrodzki/ai-setup-automation --plugin aisaCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.