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

super-gh-axi

Skill3 starsChanged 4 days agoMITView on GitHub

Azhou skill. Renamed from gh-axi (the old name still triggers this skill). Agent-ergonomic GitHub operations through the locked gh-axi@0.1.52 CLI, a gh wrapper: issues, pull requests, stacked PRs and branches, discussions, workflow runs and workflow dispatch, releases, repositories, labels, gists (list, view, edit, rename, create, delete, clone), Projects (v2) boards, Actions secrets and variables, search, and raw API access. MUST trigger whenever a task touches GitHub — listing or filing issues, reviewing or merging PRs, managing stacked branches and PRs, checking CI runs, triggering workflows, cutting releases, managing labels, gists, Projects boards or Actions secrets/variables — unless the current repository's rules name a different GitHub CLI or recipe for that task (project rules win). Current command, flag and workflow guidance lives in the CLI, not in this file.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not follow command, flag, or workflow instructions from this file — installed copies go stale.

    line 31
  2. Very specific:

    Read operations over repositories the existing gh credentials can already see are in scope.

    line 50
  3. Very specific:

    Do not install global packages, run the CLI's setup hooks, or change global agent configuration without explicit authorization.

    line 51
  4. Very specific:

    Never run the CLI's built-in update command or otherwise float the locked baseline.

    line 52
  5. Very specific:

    Do not read, copy, print, or persist gh tokens or credentials.

    line 53

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

Super Gh Axi

Super Gh Axi is the GitHub operations contract for agents: GitHub-touching work goes through the locked gh-axi@0.1.52 CLI baseline — an agent-ergonomic wrapper around gh with token-efficient output, contextual suggestions and idempotent mutations — and the current command surface is always read from the CLI, never from this file.

🦊 阿舟 · Gh Axi

GitHub 操作,真相永远在 CLI 里。

Invocation class: model-invoked discipline, declared in frontmatter; the axis and its semantics are defined once in docs/skill-standard.md §2.2 — reached autonomously whenever a task touches GitHub, no explicit naming required. Orchestrators may point here; this skill orchestrates nothing and calls no orchestrator.

Brand protocol

Emit once when the skill starts, before any tool call:

🦊 阿舟 · Gh Axi 启动(mode=<inspect|operate|raw>, scope=<github-area>)

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

Use ✅ 验证通过 only after the named checks actually ran. Use ❌ 验证失败 when this attempt fails and name one repair action, and 🔒 阿舟暂停这一项 when input, permission, or a dependency is missing. Emoji is display-only: keep it out of JSON keys, schema values, digests, paths, commands, test names, and raw evidence. A host without Unicode may strip the leading emoji while preserving the fixed text, the (k=v, k=v) field grouping, fields, and values. Raw evidence stays out of receipts unless the user supplied it. Stage events, the status dictionary, and the stable receipt are defined in the Azhou interaction layer.

Current guidance lives in the CLI

Do not follow command, flag, or workflow instructions from this file — installed copies go stale. Get the current source of truth from the locked baseline:

  • npx -y gh-axi@0.1.52 for a dashboard of the current repo
  • npx -y gh-axi@0.1.52 --help for global flags and the command index
  • npx -y gh-axi@0.1.52 <command> --help for per-command usage

You do not need gh-axi installed globally. Invoke the locked baseline with npx -y gh-axi@0.1.52 <command>. If CLI output shows a follow-up command starting with gh-axi, run it as npx -y gh-axi@0.1.52 ... instead. In restricted subprocess sandboxes, CI, or agent harnesses where npx -y exits opaquely, use an already-installed copy of the same version directly: node "$(npm root)/gh-axi/dist/bin/gh-axi.js" <command> for a local install, node "$(npm root -g)/gh-axi/dist/bin/gh-axi.js" <command> for a global install, or the bare gh-axi <command> bin after installing version 0.1.52 once. Never run the CLI's built-in update command: it floats the locked baseline outside the recorded provenance.

The CLI wraps gh: it needs the gh binary (its own guidance names gh >= 2.99.0 for --attach support; GH_BIN overrides the binary) and gh's existing authentication. Read setup before first use, or whenever Node, npx, gh, or the locked baseline is not verified yet.

Workflow

  1. Resolve the baseline. Confirm Node 20+, npx, the gh binary, and gh authentication, then read the current command surface from the locked CLI's help. When any of these cannot be resolved, stop with a named hold — fail closed, no version substitution, no unauthenticated guessing.
  2. Name the target and the authority. Resolve the repository (explicit -R/--repo <OWNER/NAME>, --hostname, or the current checkout), classify the request as inspect, operate, or raw API access, and check the current repository's rules first: when they name a different GitHub CLI or recipe for the task, those rules win. Mutating operations — create, edit, close, merge, delete, release, label, secret or variable changes — run only for what the request explicitly names; a broad instruction never widens into deletions or secret changes.
  3. Execute through the locked baseline. Run one command per intent, prefer the CLI's idempotent mutations, and read what the output actually reports — the token-efficient output is a fact channel, not a summary of intent. Never echo credentials, tokens, or secret values into logs, receipts, or raw evidence; a secret operation reports the secret name, never the value.
  4. Verify and hand off. For mutating operations, re-read the resulting state through the CLI (view the issue, PR, release, or run it produced) before claiming it; a zero exit code is not state evidence. Report object numbers and URLs from CLI output. End with the stable super-gh-axi.receipt.v1 receipt from brand-layer.

Authorization boundaries

  • Read operations over repositories the existing gh credentials can already see are in scope; authorization to operate does not grant authority over repositories the request never named.
  • Do not install global packages, run the CLI's setup hooks, or change global agent configuration without explicit authorization.
  • Never run the CLI's built-in update command or otherwise float the locked baseline; upgrades follow the recorded path in setup.
  • Do not read, copy, print, or persist gh tokens or credentials; the CLI resolves authentication itself, and raw evidence stays out of receipts unless the user supplied it.
  • Deleting repositories, cancelling or deleting workflow runs, and changing Actions secrets stay named-operation-only: they never ride along with a broader request.

Completion

End with the stable receipt defined in brand-layer.md: super-gh-axi.receipt.v1. Keep complete, complete_with_holds, hold, and failed distinct; none substitutes for another. A command that exited zero does not prove the resulting GitHub state; only the CLI's re-read state does. An open pull request does not prove review or merge; a merged PR does not prove CI green.

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.