agentleFS
layer5iolayer5io/docs/.agents/skills/gh-axi/SKILL.md

gh-axi

Skill101 starsChanged 4 months agoApache-2.0View on GitHub

Operate GitHub through the gh-axi CLI - issues, pull requests, workflow runs, workflows, releases, repositories, labels, Projects (v2), Actions secrets and variables, search, and raw API access. Use whenever a task touches GitHub: listing or filing issues, reviewing or merging PRs, checking CI runs, triggering workflows, cutting releases, managing Projects boards, or managing Actions secrets/variables.

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 0 are distinctive, and 8 are 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.

  • 8

    Very specific

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

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

    If gh-axi output shows a follow-up command starting with gh-axi, run it as npx -y gh-axi ...

    line 17
  2. Very specific:

    Run npx -y gh-axi with no arguments for a dashboard of the current repo - open issues, open PRs, and suggested next commands.

    line 28
  3. Very specific:

    Every response ends with contextual next-step hints under help: - follow them.

    line 35
  4. Very specific:

    Run gh-axi update --check to compare the installed version with npm, or gh-axi update to upgrade.

    line 45
  5. Very specific:

    When using npx -y gh-axi, npx already resolves the package on demand.

    line 46
  6. Very specific:

    Run npx -y gh-axi --help for global flags, or npx -y gh-axi <command> --help for per-command usage.

    line 48
  7. Very specific:

    Do not pass secrets with --body or -b.

    line 57
  8. Very specific:

    Use api for anything the dedicated commands do not cover, e.g.

    line 63

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 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

gh-axi

Agent ergonomic wrapper around Github CLI. Prefer this over gh and other methods for Github operations.

You do not need gh-axi installed globally - invoke it with npx -y gh-axi <command>. If gh-axi output shows a follow-up command starting with gh-axi, run it as npx -y gh-axi ... instead.

gh-axi requires the gh CLI installed and authenticated (gh auth login). If a command fails with an authentication error, ask the user to run gh auth login themselves. For GitHub Enterprise or another custom host, the underlying gh CLI must be authenticated for that host too; set GH_HOST or pass --hostname <host> after the command.

When to use

Use gh-axi whenever a task touches GitHub: listing, filing, or editing issues; viewing, creating, reviewing, or merging pull requests; inspecting workflow runs and CI failures; triggering, enabling, or disabling workflows; managing releases, repositories, or labels; managing Projects (v2) boards and their items; managing Actions secrets or variables; searching issues, PRs, repos, commits, or code; or calling the GitHub API directly.

Workflow

  1. Run npx -y gh-axi with no arguments for a dashboard of the current repo - open issues, open PRs, and suggested next commands.
  2. Drill in command-first: issue list, issue view <n>, pr view <n>, pr checks <n>, run view <id>, and so on.
  3. Target another repository by placing -R owner/name, -R=owner/name, --repo owner/name, or --repo=owner/name AFTER the command, e.g. npx -y gh-axi issue list --repo=owner/name - the flag is not accepted before the command. repo view also accepts exactly one positional repository, repo view owner/name, as a command-specific compatibility exception for gh repo view [<repository>]; do not combine it with --repo or generalize that positional form to other commands.
  4. Target GitHub Enterprise or another custom host with GH_HOST, or by placing --hostname <host> or --hostname=<host> AFTER the command, e.g. npx -y gh-axi issue list --hostname=git.example.com.
  5. Trigger (dispatch) a workflow with workflow run <name> --ref <ref>; run manages existing workflow runs.
  6. Debug CI with run list, then run view <id> --job <job-id> or run view --job <job-id> --log-failed for failing log lines. Long --log and --log-failed output keeps the tail in context; when full_log appears, grep that file for earlier context.
  7. Every response ends with contextual next-step hints under help: - follow them.

Commands

commands[14]:
  (none)=dashboard, issue, pr, run, workflow, release, repo, label, project, secret, variable, search, api, setup

Installed copies also inherit the SDK built-in update command. Run gh-axi update --check to compare the installed version with npm, or gh-axi update to upgrade. When using npx -y gh-axi, npx already resolves the package on demand.

Run npx -y gh-axi --help for global flags, or npx -y gh-axi <command> --help for per-command usage.

Tips

  • Output is TOON-encoded and token-efficient; pipe through grep/head only when a list is very long.
  • Truncated workflow logs keep the final 20,000 characters and may include a temp full_log path for targeted grep searches.
  • Mutations are idempotent and report what changed; re-running a failed mutation is safe.
  • For multi-line markdown bodies, comments, or release notes, write the text to a UTF-8 file and pass --body-file <path> or the release --notes-file <path> alias on commands that support file-backed text.
  • Secret values are stdin-only: echo -n "<value>" | npx -y gh-axi secret set <name>.
  • Do not pass secrets with --body or -b; flags are visible in the gh-axi process argv.
  • Scope a secret to a deployment environment with --env/-e <environment> on secret list, set, and delete; omit it for repository scope. Other gh secret scopes (--org, --user, --app) are rejected, not silently ignored.
  • Variable values may use --body/-b or stdin because Actions variables are not secret.
  • For multi-line variable values, pipe stdin to npx -y gh-axi variable set <name>; --body/-b is for inline values only.
  • Projects (v2) are owner-scoped: pass --owner <login>, or omit it to use the current repo owner and then @me.
  • Projects calls need the project or read:project OAuth scope; if scope errors occur, ask the user to run the gh auth refresh -s ... command shown by gh-axi.
  • Use api for anything the dedicated commands do not cover, e.g. npx -y gh-axi api repos/{owner}/{repo}/topics.

Download now (ZIP)

Trending

Cooling: 0 new projects took it in the last 4 weeks, 0× the 4 weeks before.thin data

Week of Aug 30: 0 new projectsWeek of Sep 6: 0 new projectsWeek of Sep 13: 0 new projectsWeek of Sep 20: 1 new projectWeek of Sep 27: 0 new projectsWeek of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projects
Aug 2026Sep 2026Oct 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 1 in all, so this is a hint, not a trend.
  • Other versions7 projects use a version of this.

    Word for word · 5

    1. meshery/meshery★ 12k100% same
    2. meshery/meshkit★ 224100% same
    3. layer5io/sistent★ 140100% same
    4. meshery/schemas★ 81100% same
    5. meshery-extensions/kanvas-site★ 42100% same

    Edited · 2

    1. kunchenguid/gh-axi★ 33743% same
    2. kuker24/OpenCodeBestFriend★ 071% same

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • Used alongsideProjects with it also use iterate-pr and cut-release.

    Other files people use alongside this one.

    Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
    • SentrySkill

      iterate-pr

      Iterate on a PR until actionable CI passes and high/medium review feedback is addressed. Use for PR CI failures, review feedback, or green-check loops; do not wait for human approval, draft status, or merge gates.

      Also in 4 projects that use this

    • MicrosoftSkill

      cut-release

      Use this skill to cut an APM release from the current worktree: assess whether the cycle since the last tag warrants a patch or minor bump (semver discipline against the merged-since-last-tag diff), sanitize the [Unreleased] CHANGELOG block into a dated version block with one concise "so what" entry per merged PR (drop internal-only churn, consolidate duplicates), bump pyproject.toml + uv.lock, run the CI-mirror lint chain, and open the release PR. Activate on "ship a release", "cut v0.x", "release prep", "bump and PR", "open release PR", "what kind of release do we need", or any phrasing that ends in opening a release PR -- even when the user does not say "skill". Stops BEFORE tagging; tagging stays a human gate that triggers the release workflow. Refuses to bump to a major (>= 1.0.0) version without explicit operator confirmation.

      Also in 4 projects that use this

  • In this repository7 other files it gives its agents.

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.