Agent skill

Fix Issue

by nex-agi in nex-agi/NexRL

Fix a GitHub issue using git worktree for isolation. An agent skill from nex-agi/NexRL.

Apache-2.0Auto-check passedDevelopment

Install Fix Issue

skills CLI
$ npx skills add nex-agi/NexRL --skill fix-issue -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install nex-agi/NexRL fix-issue --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/nex-agi/NexRL.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/fix-issue .claude/skills/fix-issue && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
fix-issue
GitHub stars
119
Token cost
~733 tokens
SKILL.md length
156 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
Apache-2.0

At a glance

Fix a GitHub issue using git worktree for isolation. An agent skill from nex-agi/NexRL.

  • Works in 11 steps: Verify Prerequisites → Fetch Issue → Update Issue Status → …
  • Tasks that involve Git worktrees
  • Calls git, gh and python; reaches github.com

What it does

Fix Issue is an agent skill from nex-agi/NexRL. Fix a GitHub issue using git worktree for isolation. Fetches issue, creates worktree, implements fix, then creates PR.

Its SKILL.md is about 730 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Git worktrees. It works with GitHub and Git. The repository describes itself as: NexRL is an ultra-loosely-coupled LLM post-training framework. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Git worktrees

Example prompts

  • “/fix-issue”

Requirements

  • Python 3

Workflow steps

11 steps, taken from the step headings in SKILL.md.

  1. Verify Prerequisites
  2. Fetch Issue
  3. Update Issue Status
  4. Create Worktree
  5. Read Documentation First
  6. Plan the Fix
  7. Implement
  8. Test
  9. Commit and PR
  10. Handle Blockers
  11. Cleanup (after PR merged)

What it can do on your machine

Read from SKILL.md and the folder at commit 53dcdec. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • gh
    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Fix Issue loads about 733 tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 156 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~32
When it runs · the whole SKILL.md, loaded when a task matches
~733

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from nex-agi/NexRL at commit 53dcdec, republished under its Apache-2.0 licence (© nex-agi). 156 words, ~733 tokens.

Download SKILL.mdSave it as .claude/skills/fix-issue/SKILL.md (or your agent's skills folder).
name
fix-issue
description
Fix a GitHub issue using git worktree for isolation. Fetches issue, creates worktree, implements fix, then creates PR.

Fix Issue Workflow (Worktree-Based)

Workflow

Step 1: Verify Prerequisites
bash
gh auth status
Step 2: Fetch Issue
bash
ISSUE_NUM=<number>
gh issue view $ISSUE_NUM --repo "${REPO_OWNER}/${REPO_NAME}" --json number,title,body,state,labels

If closed, confirm with user before proceeding.

Step 3: Update Issue Status
bash
gh issue comment $ISSUE_NUM --repo china-qijizhifeng/NexRL \
  --body "🤖 Agent picking up this issue. Creating worktree branch \`agent/issue-${ISSUE_NUM}\`."

gh issue edit $ISSUE_NUM --repo china-qijizhifeng/NexRL \
  --add-label "status:in-progress" 2>/dev/null || true
Fetch Shared Knowledge

Clone or update the shared knowledge repo for common scripts and docs.

bash
REPO_ROOT=$(git rev-parse --show-toplevel)
SHARED_KNOWLEDGE="${REPO_ROOT}/../nex-taas-shared-knowledge"
if [ ! -d "$SHARED_KNOWLEDGE" ]; then
  git clone https://github.com/china-qijizhifeng/nex-taas-shared-knowledge.git "$SHARED_KNOWLEDGE"
else
  git -C "$SHARED_KNOWLEDGE" pull --ff-only 2>/dev/null || true
fi
Step 4: Create Worktree
bash
REPO_ROOT=$(git rev-parse --show-toplevel)
cd "$REPO_ROOT"
git fetch origin

BRANCH="agent/issue-${ISSUE_NUM}"
WORKTREE_DIR="${REPO_ROOT}/../worktrees/NexRL-issue-${ISSUE_NUM}"

git worktree add "$WORKTREE_DIR" -b "$BRANCH" "origin/main"
cd "$WORKTREE_DIR"
Step 5: Read Documentation First

Before coding, read relevant docs per .ai-instructions/developing/documentation.md:

  • docs/developer-guide/ for architecture understanding
  • Component-specific docs for the area being changed
Step 6: Plan the Fix

Enter plan mode. Consider:

  • Root cause analysis (for bugs)
  • Files that need changes
  • Impact on other components
  • Documentation updates needed
Step 7: Implement

Work in the worktree directory. Follow:

  • .ai-instructions/developing/ conventions
  • Run python -m black and python -m isort on changed files
  • Ensure license headers present
Step 8: Test

Run project tests (use testing skill):

bash
python -m pytest tests/ -v
python -m pylint nexrl/ --rcfile=.pylintrc -rn -sn
Step 9: Commit and PR

Use git-commit skill, then github-pr skill. PR body should include: Fixes #ISSUE_NUM

Step 10: Handle Blockers

If blocked:

bash
gh issue edit $ISSUE_NUM --repo china-qijizhifeng/NexRL \
  --remove-label "status:in-progress" --add-label "status:blocked"

gh issue comment $ISSUE_NUM --repo china-qijizhifeng/NexRL --body "
🚧 Blocked: <describe the problem>
Need guidance on: <specific question>
Progress so far: <what's been done>"
Step 11: Cleanup (after PR merged)
bash
REPO_ROOT=$(git rev-parse --show-toplevel)
cd "$REPO_ROOT"
git worktree remove "$WORKTREE_DIR"
git branch -D "$BRANCH"

© nex-agi, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/fix-issue of nex-agi/NexRL.

Open the folder on GitHubat commit 53dcdec

Compare with similar skills

Fix Issue next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Fix Issue compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fix Issue this skillnex-agi/NexRL119—~733Automated safety check: PassApache-2.0
Git Worktree Runnerdyoshikawa/rulesync1.5k—~1.3kAutomated safety check: NotesMIT
Branch Standup Facilitatorthedotmack/claude-mem98k—~1.7kAutomated safety check: NotesApache-2.0
Project Session ManagerYeachan-Heo/oh-my-claudecode40k—~4kAutomated safety check: PassMIT
Pre-Release PR Triagejamiepine/voicebox57k—~3.1kAutomated safety check: PassMIT
Ff Worktreesdamus-io/damus2.1k—~451Automated safety check: PassGPL-3.0

Similar skills

  • Git Worktree Runner

    dyoshikawa/rulesync

    Manages git worktrees using git-worktree-runner (gtr). An agent skill from dyoshikawa/rulesync.

    1.5k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check: notes
  • Branch Standup Facilitator

    thedotmack/claude-mem

    Facilitates a read-only standup between git worktrees, branches or PRs, where each acts as an agent in a shared markdown chat to agree one consolidation plan.

    98k GitHub stars~1.7k tokensUpdated yesterday
    DevelopmentAuto-check: notes
  • Project Session Manager

    Yeachan-Heo/oh-my-claudecode

    Creates isolated git worktrees, with optional tmux sessions, for PR reviews, issue fixes and feature work across projects and repositories.

    40k GitHub stars~4k tokensUpdated today
    DevelopmentAuto-check passed
  • Pre-Release PR Triage

    jamiepine/voicebox

    Sorts a backlog of open pull requests into must-merge, candidate, superseded and deferred, writes a triage doc and works the merge loop before a release.

    57k GitHub stars~3.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Ff Worktrees

    damus-io/damus

    Fast-forward master and every git worktree branch up to a target ref (default github/master), skipping any worktree with unmerged commits.

    2.1k GitHub stars~451 tokensUpdated 26 days ago
    DevelopmentAuto-check passed
  • Clean Complete Branches

    jtenniswood/espcontrol

    Clean up completed Git branches and worktrees for this repository both locally and on GitHub.

    1.1k GitHub stars~820 tokensUpdated today
    DevelopmentAuto-check passed

More from nex-agi/NexRL

  • Address PR Comments

    nex-agi/NexRL

    Address GitHub PR review comments. An agent skill from nex-agi/NexRL.

    119 GitHub stars~420 tokensUpdated 21 days ago
    Auto-check passed
  • Code Review

    nex-agi/NexRL

    Code review for Python changes in NexRL, following project conventions.

    119 GitHub stars~395 tokensUpdated 21 days ago
    Auto-check passed
  • Git Commit

    nex-agi/NexRL

    Git commit workflow in a worktree with Python linting, formatting, and testing.

    119 GitHub stars~380 tokensUpdated 21 days ago
    Auto-check: notes
  • GitHub PR

    nex-agi/NexRL

    Create a GitHub PR from a worktree branch. An agent skill from nex-agi/NexRL.

    119 GitHub stars~367 tokensUpdated 21 days ago
    Auto-check passed
  • Testing

    nex-agi/NexRL

    Run tests and linting for NexRL Python project. An agent skill from nex-agi/NexRL.

    119 GitHub stars~350 tokensUpdated 21 days ago
    Auto-check passed

Works with

Questions about Fix Issue

What does Fix Issue do?

Fix a GitHub issue using git worktree for isolation. An agent skill from nex-agi/NexRL. Fix Issue is an agent skill from nex-agi/NexRL. Fix a GitHub issue using git worktree for isolation.

When should I use Fix Issue?

Fix Issue fits situations like: tasks that involve Git worktrees.

How do I install Fix Issue in Claude Code?

Run `npx skills add nex-agi/NexRL --skill fix-issue -a claude-code`. Or copy the skill folder (.claude/skills/fix-issue in nex-agi/NexRL) into .claude/skills/fix-issue in your project. Claude Code loads it when a task matches its description.

How do I install Fix Issue in Codex?

Run `npx skills add nex-agi/NexRL --skill fix-issue -a codex`. Or copy the skill folder (.claude/skills/fix-issue in nex-agi/NexRL) into .agents/skills/fix-issue in your project. Codex loads it when a task matches its description.

Can I use Fix Issue in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nex-agi/NexRL --skill fix-issue -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fix-issue, .gemini/skills/fix-issue, .github/skills/fix-issue and .opencode/skills/fix-issue in your project.

What does Fix Issue need to run?

Going by SKILL.md and its folder, Fix Issue needs the command-line tools its instructions call (git, gh and python). Our summary lists: Python 3.

Does Fix Issue access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Fix Issue safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Fix Issue use?

Fix Issue is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Fix Issue use?

About 733 tokens (SKILL.md is roughly 2.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Fix Issue?

Skills that share tags, products or a category with Fix Issue: Git Worktree Runner (dyoshikawa/rulesync, 1.5k stars), Branch Standup Facilitator (thedotmack/claude-mem, 98k stars), Project Session Manager (Yeachan-Heo/oh-my-claudecode, 40k stars) and Pre-Release PR Triage (jamiepine/voicebox, 57k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fix Issue?

nex-agi (a GitHub organization) maintains it in nex-agi/NexRL, which has 119 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on September 17, 2026.

Source: nex-agi/NexRL on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.