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

super-azhou-setup

Skill3 starsChanged 4 days agoMITView on GitHub

Azhou skill. Renamed from azhou-setup (the old name still triggers this skill). Guide installation, update, and removal of an Azhou AI Hub skill. Route package-manager installs to their owner, and use checkout-assisted setup or receipt-owned lifecycle operations for managed installs. Use for installing, updating, or uninstalling a skill, 帮我安装这个 skill, 更新或卸载 skill, or "set this hub up".

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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. Distinctive:

    Use the installation owner as the mutation authority.

    line 13
  2. Very specific:

    Run the selected command without --apply and present its JSON plan:

    line 39
  3. Distinctive:

    If setup or repair shows every selected skill is current, report that no action is needed and skip apply.

    line 43

≈ “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 Setup

🦊 阿舟 · Azhou Setup

🧰 先看计划,再按同一计划执行。

Use the installation owner as the mutation authority. For checkout-managed installs, use the Foundation CLI. Always inspect first. Never reimplement copy, link, receipt, lock, rollback, or deletion logic in the prompt.

Brand protocol

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

🦊 阿舟 · Azhou Setup 启动(mode=<setup|check|update|repair|migrate|uninstall>, scope=<checkout>)

Use ✅ 验证通过 only after verifying the requested package-manager operation, applying the reviewed checkout-managed plan, or reading back a declared dry-run. Use ❌ 验证失败 for a plan, apply, rollback, or evidence failure and 🔒 阿舟暂停这一项 for missing target or authorization. Emoji is display-only; keep JSON keys, schema values, digests, paths, commands, test names, managed receipts, 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.

Choose the installation path

Resolve the requested operation, skill, and scope from the user's request and the active workspace. Use the current project when the conversation or host identifies it. Ask only for a missing choice that affects the action or destination. Explain the proposed destination and verify the actual installation path before an update or removal.

For a Skills CLI installation, use the package manager for that exact skill and scope. The installation guide gives commands and verification steps when this checkout is available. For a standalone Setup installation, use setup and compatibility. Check for updates before changing an installed package. After installing or updating, verify discovery and, when requested, invoke the skill in a fresh session. After removal, verify the installed entry is gone. Report a failed or ambiguous result without claiming success. Do not treat a package-manager installation as receipt-managed.

For checkout-managed installations, follow the workflow below. To update a managed installation after source bytes change, first inspect the receipt and the installed bytes. If the original source is still at the receipt-recorded path and matches the receipt, preview and perform receipt-owned uninstall, preserve the old receipt outside the active receipt directory, then install the new source with a new managed setup plan. Verify with Doctor. Retain the previous source revision and receipt so the user can restore them. If the original source no longer matches, stop the affected update and explain the exact mismatch. Do not delete the destination or receipt to bypass it.

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. Require an explicit absolute --target. For setup, require the intended canonical skill and choose link or copy; do not choose a harness root for the user.
  3. Run the selected command without --apply and present its JSON plan:
    • python scripts/azhou_hub.py setup --skill <name> --target </absolute/root> --mode <link|copy> --json emits a deterministic planId.
    • Managed setup additionally requires --managed --receipt <path> and exactly one skill.
    • repair, migrate, and uninstall require the exact managed receipt plus the same target.
    • If setup or repair shows every selected skill is current, report that no action is needed and skip apply.
    • A dry-run whose rows show conflict-same-source means the destination already links identical canonical package content from another checkout: the CLI reports dry_run_same_source and exits 3 while still emitting the planId. Present it as blocked pending a user decision, not as a failed plan; --apply still refuses until the duplicate checkout is resolved.
  4. Apply only after the user has authorized that exact plan and target, using the per-command form:
    • setup (including --managed): add --apply --plan-id <reviewed-planId> — its dry run emits a deterministic planId, and apply recomputes the plan under the mutation lock and rejects drift from the reviewed plan.
    • repair, migrate, and uninstall: add --apply --json — their dry runs emit no planId, so apply is not bound to the reviewed dry-run output: the mutation lock serializes the apply-time recomputation (receipt, target, identity, lock re-validated), but a world that changed after the review applies as changed. Re-run the dry run if the reviewed plan must be re-confirmed immediately before applying. A prior general setup request does not authorize a changed target, uninstall, migration, force behavior, or cross-root action.
  5. Preserve CLI failures and partial rollback results. For a partial uninstall, present any recovery observations and require manual inspection; do not automatically delete records or retry. Never bypass drift, ownership, receipt, identity, or mutation-lock checks.
  6. End with a receipt containing schema, status, mode, scope, command, changes, verification, holds, and next_action. Use CLI evidence for every claimed change.
    • In an interactive user session, only when the mode is setup, --apply succeeded, and at least one skill was newly installed, add this display-only field to the final human-facing receipt: optional_support: If Azhou AI Hub helped, consider starring https://github.com/TeFuirnever/azhou-ai-hub. This is optional and does not affect installation, verification, or future use.
    • Omit optional_support for dry-run, current/no-op, repair, migrate, uninstall, failure, partial/rolled-back, or non-interactive execution.
    • optional_support must not replace next_action, change status or holds, enter CLI JSON or a managed receipt, or persist account state. Do not probe GitHub authentication, call GitHub APIs, or star automatically.

There is no force overwrite, receipt-less adoption, cross-root migration, cache cleanup, hook installation, or harness configuration rewrite. For the command forms and ownership boundary, read setup and compatibility.

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.