Skip to content
Agentmart
Submit a tool

ax-repo

Star the ax repo, file an issue / bug report, or fork-and-open-a-PR against github.com/Necmttn/ax on the user's behalf, by shelling out to the `gh` CLI.

Skill by Necmttn

IndexedAGPL-3.0★ 122
Write a review

Chalk Labs

Need help deploying ax-repo?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/necmttn-ax-repo

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Star the ax repo, file an issue / bug report, or fork-and-open-a-PR against github.com/Necmttn/ax on the user's behalf, by shelling out to the `gh` CLI. Triggers when the user says "star ax", "star the repo", "I want to support ax", "report this as an ax bug", "file an ax issue", "open an issue on ax", "this looks like an ax bug", "I want to contribute to ax", "fix this in ax", "open a PR against ax", or after an unhandled ax error when the user wants to report it. Acts only on an explicit user request - proactive star prompting is handled deterministically by the CLI (`ax star`), not this skill. Confirms before any account-mutating action (never stars without an explicit yes); falls back to a plain GitHub URL when `gh` is missing or unauthenticated. Do NOT auto-trigger on unrelated GitHub work or other repos.

Use cases: documents

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/ax-repo

What's inside

Skill name
ax-repo
Description
Star the ax repo, file an issue / bug report, or fork-and-open-a-PR against github.com/Necmttn/ax on the user's behalf, by shelling out to the `gh` CLI. Triggers when the user says "star ax", "star the repo", "I want to support ax", "report this as an ax bug", "file an ax issue", "open an issue on ax", "this looks like an ax bug", "I want to contribute to ax", "fix this in ax", "open a PR against ax", or after an unhandled ax error when the user wants to report it. Acts only on an explicit user request - proactive star prompting is handled deterministically by the CLI (`ax star`), not this skill. Confirms before any account-mutating action (never stars without an explicit yes); falls back to a plain GitHub URL when `gh` is missing or unauthenticated. Do NOT auto-trigger on unrelated GitHub work or other repos.
License
AGPL-3.0
Instructions
170 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# ax:repo

Let an AI coding agent interact with the ax GitHub repo (`Necmttn/ax`) for the
user - **star**, **file an issue**, or **fork + open a PR** - without the user
ever typing a `gh` command. Everything routes through the already-installed
`gh` CLI; there is no `axctl` surface for this.

Repo: `Necmttn/ax` · `https://github.com/Necmttn/ax`

## When to fire

- "star ax" / "star the repo" / "I want to support ax" / "give ax a star"
- "report this as an ax bug" / "file an ax issue" / "open an issue on ax"
- "this looks like an ax bug" (after an `ax`/`axctl` error)
- "I want to contribute to ax" / "fix this in ax" / "open a PR against ax"

Do NOT fire for GitHub work on **other** repos or for general `gh` usage.
Issues and PRs are user-initiated only. **Star is the exception** - you may
*offer* it proactively (see Proactive star nudge), but offering ≠ doing: the
actual star always needs an explicit yes.

## Non-negotiable rules

1. **Preflight `gh` first (read-only, no confirm).** Detect three states:
   - `gh` **missing** → fall back to a plain URL (see Fallback). Don't error.
   - `gh` present but **unauthenticated** → fall back to a plain URL, and tell
     the user they can `gh auth login` to do it inline next time.
   - `gh` present + authed → proceed to the action (still confirm mutations).
2. **Confirm before any account-mutating call** - star, issue create, PR
   create all change the user's GitHub account/repo. Show the exact command,
   get an explicit yes. Read-only checks (`gh auth status`, "is it starred")
   need NO confirm.
3. **Never break the caller's exit code, never run silently in CI.** If
   `$CI` is set or stderr/stdin isn't a TTY, do NOT run mutating `gh` calls -
   print the URL instead. A failed `gh` call must not abort the user's task.

### Preflight (run this before every action)

```bash
if ! command -v gh >/dev/null 2>&1; then
  echo "GH_STATE=missing"
elif ! gh auth status >/dev/null 2>&1; then
  echo "GH_STATE=unauthed"   # gh auth status exits 4 when not logged in
else
  echo "GH_STATE=ok"
fi
```

- `missing` / `unauthed` → use **Fallback** for the chosen action.
- `ok` → use the `gh` command for the chosen action (after confirm).

## Actions

### 1. Star

Mutates the user's account → **confirm first**.

```bash
# Optional read-only check (no confirm): is it already starred?
#   exits 0 (starred) / non-zero / 404 (not starred)
gh api /user/starred/Necmttn/ax >/dev/null 2>&1 && echo "already starred"

# The star (after explicit yes):
gh api -X PUT /user/starred/Necmttn/ax     # silent 204 on success
```

If already starred, say so and skip - don't re-PUT or re-prompt.
Unstar (only if asked): `gh api -X DELETE /user/starred/Necmttn/ax`.

You can also just run `ax star`, which stars via `gh` (or prints the URL) and
silences the CLI's periodic star reminder.

**Fallback (gh missing/unauthed):** print
`https://github.com/Necmttn/ax` and tell the user to click **Star**.

> Proactive star prompting is NOT this skill's job - the CLI handles it
> deterministically (a once-a-day stderr footer shown only on an interactive
> terminal until the user runs `ax star` / `ax star --done`). This skill only
> acts on an explicit user request.

### 2. File an issue / bug report

Mutates (creates an issue) → **confirm first**, and show the title/body you'll
submit so the user can edit before you send it.

Interactive (opens a prefilled browser form - good default when the user wants
to review/edit in GitHub's UI):

```bash
gh issue create --repo Necmttn/ax --web
```

Non-interactive (prefilled title + body, e.g. an error report you assembled):

```bash
gh issue create --repo Necmttn/ax \
  --title "<concise summary>" \
  --body "<body>" \
  --label feedback        # only if the user confirms; omit if unsure label exists
```

**Error-report pattern.** When firing off the back of an unhandled `ax`/`axctl`
error, prefill from the failure - never make the user paste a stack trace:

```bash
gh issue create --repo Necmttn/ax \
  --title "ingest: <one-line error>" \
  --body "$(cat <<'EOF'
**Command:** `ax <subcommand> <args>`
**ax version:** <output of `ax --version`>
**OS:** <uname -srm>

**What happened**
<one or two sentences>

**Error**
```
<the actual error output - trimmed, no secrets>
```

From Necmttn/ax, AGPL-3.0.

More from Necmttn/ax

Signals

Stars
122
Forks
15
Open issues
39
Last commit (this folder)
Jun 2, 2026 (5 months ago)
Last release
Oct 2, 2026 (29 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
AGPL-3.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Necmttn

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get ax-repo running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying ax-repo?

CallGet help
Cite this page

ax-repo skill. Agent Mart. https://agentmart.dev/skills/necmttn-ax-repo (last updated 2026-10-24)