Check agent os
Agent OS is a management layer for complex, multi-agent AI projects. Instead of letting agents get lost in endless conversational loops, it enforces a disciplined workflow: upfront planning, shared context, scoped work tracks, and strict quality gates — so every agent stays focused, coordinated, and aligned from start to finish.
npx -y skills add designgrappler/agent-os --skill check-agent-osAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Runs a read-only health check on the current project's Agent OS installation.
SKILL.md
10.9 KB, as published. Nobody here has run it
Check Agent OS
Runs a read-only health check on the current project's Agent OS installation. Verifies the orchestrator skill is present, confirms CLAUDE.md is the lean bootstrap, checks agent definitions are in place, and confirms AGENTIC.md and the retired report-track-status skill do NOT exist. On a clean pass, writes a .agent-os-checked timestamp to the project root so the 30-day session-start reminder knows the check is current. Nothing is auto-fixed — every fail row includes a remediation hint and action is left to you.
Trigger
When the user runs /check-agent-os, execute the following phases in order.
Phase 1: Skill Install Check
- Resolve the canonical skill names using the same source chain as
/update-agent-os:- Check
skills-manifest.jsonin the project root for acanonical-registryURL. - If present, attempt to fetch the manifest JSON from that URL and read its
skillsarray. - Fallback: if the URL fetch fails, fall back to the local canonical clone at
~/Developer/agent-os-private/skills-manifest.json. Notify the user that the fallback was used. - If neither resolves: stop and ask the user to supply a path or URL. Do not proceed to Phase 2.
- Check
- Use the manifest's
renamesarray to recognize legitimate renames: if a skill name in~/.claude/skills/matches a"to"value inrenames, it is correctly installed — do not flag it as missing. - Compare the canonical
skillsarray against subdirectory names in~/.claude/skills/that contain aSKILL.mdfile. - Pass: every canonical skill name has a corresponding
~/.claude/skills/<name>/SKILL.md(accounting for renames). - Fail rows: list each canonical skill name that is absent or present only under a stale name. Remediation hint:
Run
/update-agent-osto install missing or stale-named skills.
Phase 2: Orchestrator Skill Check
- Confirm
claude/skills/orchestrator/SKILL.mdexists in the project. - Pass: the file exists and is non-empty.
- Fail rows: if absent or empty. Remediation hint:
Run
/onboard-existing-projector/install-agent-scaffoldto install the orchestrator skill.
Phase 3: CLAUDE.md Bootstrap Check
- Confirm
CLAUDE.mdexists at the project root. - Check that it does NOT contain the old 181-line heavy-ceremony format (indicators: contains
## Initialization Loop, references toAGENTIC.md, or containsSprint Coordinator constraint). - Pass:
CLAUDE.mdexists and is the lean bootstrap format (contains## Team,## Orchestrator Behavior, and## Tech Stacksections; does not reference AGENTIC.md or Sprint Coordinator constraints). - Fail rows: if absent, or if it matches the old heavy format. Remediation hint:
Run
/update-agent-osto sync CLAUDE.md to the lean bootstrap template. Back up any project-specific customizations first.
Phase 4: Agent Definitions Check
4a: Expected Agents Present
- List all files matching
.claude/agents/*.mdin the current project. - Confirm the following canonical agents are present:
technical-architect.mdqa.mdtask-coder.mdtask-researcher.mdtask-writer.md
- Pass: all five files exist.
- Fail rows: list each missing agent. Remediation hint:
Run
/update-agent-osto install missing canonical agents.
4b: Model Format Check
- For each file matching
.claude/agents/*.md, parse the frontmattermodel:line. - Pass: every
model:value is one of the canonical short forms:opus,sonnet, orhaiku. - Fail rows: list each agent where
model:contains a long-form name. Remediation hint:Edit
.claude/agents/<name>.mdand changemodel:to the short form (opus,sonnet, orhaiku).
Note on provider: field: provider: is an optional frontmatter field. Its absence is correct for the default Anthropic setup. Do NOT flag a missing provider: field as an error.
Note on mode: field: mode: is an optional field in agent-setup.yml (not agent frontmatter). Its absence or a blank value is correct and means single-user. Do NOT flag a missing, blank, or single-user mode: value as an error. (The non-blocking multi-user warning is added in T47.3.)
4c: WebFetch Tools Frontmatter Check
- For each file matching
.claude/agents/*.md, parse the frontmattertools:list. - Pass: every agent file includes
WebFetchin itstools:list. - Fail rows: list each agent where
WebFetchis absent. Remediation hint:Run
/update-agent-osto sync with canonical.
4d: Specialist isolation: worktree Check
- For each file matching
.claude/agents/*.md, determine whether the agent is a Specialist by checking for a## Sign-Off Protocolsection that contains both**Track:**and**Completed:**fields. - For each identified Specialist, confirm
isolation: worktreeappears in frontmatter. - Pass: every Specialist agent has
isolation: worktree. - Fail rows: list each Specialist agent where
isolation: worktreeis absent. Remediation hint:Run
/update-agent-osto sync with canonical.
Phase 5: Retirement Verification
5a: AGENTIC.md Does NOT Exist
- Check whether
AGENTIC.mdexists at the project root. - Pass:
AGENTIC.mddoes NOT exist. - Fail row: if
AGENTIC.mdexists. Remediation hint:AGENTIC.mdis a retired file from the old Agent OS model. Delete it — its content has been replaced byCLAUDE.mdand the orchestrator skill.
5b: report-track-status Does NOT Exist
- Check whether
claude/skills/report-track-status/exists in the project. - Pass: the directory does NOT exist.
- Fail row: if
claude/skills/report-track-status/exists. Remediation hint:report-track-statusis a retired skill. Deleteclaude/skills/report-track-status/— it has been replaced by/track-status.
Phase 6: Required docs/context/ Check
- Check for the existence and non-emptiness of each required context file:
docs/context/plan.mddocs/context/tracks.md
- A file passes if it exists and contains at least one non-whitespace character.
- Pass: both files exist and are non-empty.
- Fail rows: list each file that is missing or empty. Remediation hint:
- For
docs/context/plan.mdordocs/context/tracks.md:These files must be authored at sprint kickoff. Run
/start-sprintto initialize them.
- For
Phase 6b: Multi-User Owner: Enforcement (informational — does not affect OVERALL)
This phase is advisory only. It never contributes a fail row and never changes OVERALL.
- Read
agent-setup.ymlfrom the project root and take the top-levelmode:value (trim whitespace, strip inline#comments). Apply the T47.2 defaulting: file absent / key absent / blank /single-user/ any unrecognized value →single-user; onlymulti-user→multi-user. - If mode resolves to
single-user: emitPhase 6b: Multi-User Owner Enforcement — N/A (single-user mode)and exit the phase. No enforcement in single-user. - If mode resolves to
multi-user: readdocs/context/tracks.md. For each track whose**Status:**isIN_PROGRESSorDONE, check its**Owner:**value. If the owner is blank ornull, emit one warning line:⚠ Track <ID> is <STATUS> but has no Owner (blank/null). Assign a GitHub handle in docs/context/tracks.md, or leave it if intentional. (Non-blocking.) - If no such tracks exist (or
tracks.mdis absent), emitPhase 6b: Multi-User Owner Enforcement — PASS (all in-flight tracks owned).
These warnings are surfaced for visibility only. Do not count them in the OVERALL: FAIL (N issues) total — the FAIL count remains "fail rows across Phases 1–6" as defined in Phase 8.
Phase 7: Claude Code Version Notice (informational only — does not affect OVERALL)
Run claude --version defensively:
version_output=$(claude --version 2>/dev/null)
Extract the version string (first whitespace-delimited token). Compare to threshold 2.1.172.
- version >= 2.1.172: emit:
Claude Code version OK (v<X.Y.Z>) - version < 2.1.172: emit:
Claude Code v2.1.172+ recommended for autonomous mode (detected: v<X.Y.Z>) - parse failed: emit:
Claude Code v2.1.172+ recommended for autonomous mode (could not detect installed version)
Phase 8: Report
Emit one clearly-labeled section per phase. Each section states PASSED or FAILED, with fail rows and remediation hints. Phase 7 and Phase 6b notices are informational — they do NOT affect OVERALL.
### Phase 1: Skill Install Check — PASSED
### Phase 2: Orchestrator Skill Check — PASSED
### Phase 3: CLAUDE.md Bootstrap Check — PASSED
### Phase 4: Agent Definitions Check
#### 4a: Expected Agents Present — PASSED
#### 4b: Model Format Check — PASSED
#### 4c: WebFetch Tools Frontmatter Check — PASSED
#### 4d: Specialist isolation: worktree Check — PASSED
### Phase 5: Retirement Verification
#### 5a: AGENTIC.md Does NOT Exist — PASSED
#### 5b: report-track-status Does NOT Exist — PASSED
### Phase 6: Required docs/context/ Check — PASSED
### Phase 6b: Multi-User Owner Enforcement — N/A (single-user mode)
### Phase 7: Claude Code Version Notice (informational)
Claude Code version OK (v2.1.200)
OVERALL: PASS
The final line must be exactly one of:
OVERALL: PASSOVERALL: FAIL (N issues)— where N is the total count of fail rows across Phases 1–6 (Phase 7 and Phase 6b excluded, both informational).
Phase 9: Timestamp on Success
- If
OVERALL: PASS: write today's ISO date (e.g.2026-07-20) to.agent-os-checkedat the project root. Print:Wrote .agent-os-checked (next reminder in 30 days) - If
OVERALL: FAIL: do NOT create or modify.agent-os-checked.
Hard Constraints
- Read-only except for the single
.agent-os-checkedwrite at project root on PASS. - Never auto-fix; only report. Remediation is up to the user.
- If the canonical source cannot be resolved, stop and ask the user before proceeding.
- Every fail row surfaces a remediation hint.
Verification Checklist (Internal — Run Before Reporting Complete)
- Canonical source resolved before Phase 1 ran
- All phases (1–8) executed in order; Phase 8 Report and Phase 9 Timestamp run last
- Report ends with explicit
OVERALL: PASSorOVERALL: FAIL (N issues)line - On PASS,
.agent-os-checkedwritten with today's ISO date - On FAIL,
.agent-os-checkedNOT created or modified - Every fail row includes a remediation hint
- Phase 5a: AGENTIC.md existence checked; presence is a FAIL
- Phase 5b: report-track-status existence checked; presence is a FAIL
- Phase 7:
claude --versioninvoked defensively; never contributes fail rows to OVERALL - Phase 6b: mode read; single-user → N/A; multi-user → advisory warnings only, never counted in OVERALL