agentleFS
TeFuirneverTeFuirnever/azhou-ai-hub/skills/super-azhou-doctor/SKILL.md

super-azhou-doctor

Skill3 starsChanged 4 days agoMITView on GitHub

Azhou skill. Renamed from azhou-doctor (the old name still triggers this skill). Diagnose Azhou AI Hub checkout, package, explicit install-target, Treehouse lease, or host stale-install migration health. The optional Treehouse probe reads a recorded lease without repairing pool state. Use for health checks, broken installs, environment diagnostics, stale hook paths, residual installs after a canonical rename, or support verification; also for "is my checkout healthy", "what broke", 仓库体检, 哪里坏了, or a stuck-lease question.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If no valid checkout is available, stop with status=hold and request one explicit checkout path.

    line 40

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Azhou Doctor

🦊 阿舟 · Azhou Doctor

🩺 先诊断,不越权修复。

Run the repository Foundation CLI for diagnosis. Never turn a doctor request into setup, repair, cleanup, cache removal, or configuration edits. The optional Treehouse probe reads recorded pool state and Git registration, and checks the seed-inventory digest where applicable. The digest does not authenticate the lease identity; a recorded lease is a snapshot, not proof of a live writer lock.

Brand protocol

Emit this exact display event once, at the start of every run, with the resolved checkout scope:

🦊 阿舟 · Azhou Doctor 启动(mode=doctor, scope=<checkout>)

Use ✅ 验证通过 only after the diagnostic command completes and its results are read back. Use ❌ 验证失败 for a command or evidence failure and 🔒 阿舟暂停这一项 when an explicit checkout is missing. Emoji is display-only; keep JSON keys, schema values, digests, paths, commands, test names, and raw evidence emoji-free. A host without Unicode may remove the leading emoji while preserving the fixed text, (k=v, k=v) field groups, fields, and values.

In a Markdown chat host, wrap each brand broadcast as > <emoji> **<label>**<protocol-tail> (S1). Peeling the leading > and paired ** must restore the protocol line. Emit the startup broadcast before any tool call. Headless, CI logs, receipts, and machine fields stay protocol-only.

Workflow

  1. Resolve the checkout from a user-supplied path, or from the current Git root only when both scripts/azhou_hub.py and docs/skill-standard.md exist. Do not scan unrelated directories or infer a harness home.
  2. Build python scripts/azhou_hub.py doctor --json and add only explicitly grounded options:
    • --target <skill-root> for an exact install root.
    • --skill <canonical-name> for each requested package.
    • --codex-project <absolute-project-path> to check which requested Skill entries Codex discovers and enables for that project. Report discovery and invocation separately.
    • --treehouse-root <pool-root> for the explicit Treehouse boundary.
    • --host-root <host-root> for the read-only stale-install migration probe (residual installs and stale hook paths left behind by a canonical rename).
    • --verify only when the user requests the complete repository gate or the claim requires it.
  3. Preserve the CLI distinction between healthy, degraded, and failed diagnostics. A warning is not a deterministic failure.
  4. Report findings and recommended next actions without applying them. End with a receipt containing schema, status, mode, scope, command, changes, verification, holds, and next_action. When the Treehouse probe ran, describe its snapshot boundary and report any observed changes.

If no valid checkout is available, stop with status=hold and request one explicit checkout path. For requirements and supported checks, read setup and compatibility. For the operator-applied host migration after a canonical rename, read host install migration.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.