askill
claim-issue

claim-issueSafety --Repository

Claim an open GitHub issue tagged for agent action by adding the in-progress label and recording it in the processed-message log. Must be called before any work begins. Use when polling finds eligible unclaimed issues.

0 stars
1.2k downloads
Updated 2/21/2026

Package Files

Loading files...
SKILL.md

Claim Issue

Purpose

Atomically claim an eligible GitHub issue to prevent duplicate processing by other agent instances or rapid poll cycles.

Instructions

  1. Before calling this skill, verify the issue ID is NOT in the processed-message log
  2. Call claim_issue with the repository and issue number
  3. If the claim succeeds (returns true):
    • Add the issue number to the processed-message log with disposition "Claimed"
    • Log: "Claimed issue #: "
    • Proceed to the appropriate development skill (develop-feature or fix-bug)
  4. If the claim fails (returns false — race condition, already labelled):
    • Do not process the issue further
    • Log: "Issue # already claimed by another process"

Claim Rules

  • Only claim issues with the agent-eligible label (or configured equivalent)
  • Only claim issues NOT already labelled agent-in-progress or agent-complete
  • Only claim issues NOT already recorded in the processed-message log

Expected Output

Boolean: true if claimed successfully, false if already taken.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

AI review pending.

Metadata

Licenseunknown
Version1.0.0
Updated2/21/2026
Publisherm0x6A

Tags

github