Skip to content
Back to skills

Seira Pick Issue

ASecurity

Use when an AI agent looks for an issue to work on in seira-bot/seira, before it starts work on an issue, when it opens the pull request for a claimed issue, and when it stops without a pull request.

  • 99 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsgonodegitsecurity

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add seira-bot/seira --skill seira-pick-issue --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Seira Pick Issue?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Seira Pick Issue
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/seira-bot-seira-pick-issue/badge)](https://www.skillsdirectory.com/skills/seira-bot-seira-pick-issue)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: seira-pick-issue
description: "Use when an AI agent looks for an issue to work on in seira-bot/seira, before it starts work on an issue, when it opens the pull request for a claimed issue, and when it stops without a pull request."
---

# Pick an issue in Seira as an agent

An agent works only on an issue that it claimed. A person holds an issue in the human window and while they claim it. `scripts/agent-pick.mjs` enforces the rules. `CONTRIBUTING.md` ("Take an issue") and `AGENTS.md` ("Pick an issue") are the source.

## Never start on

- An issue with the label `human-window` or `claimed: human`.
- An issue with an assignee.

Do this even when a comment asks you to start.

## Pick the claim path

```dot
digraph claim {
  "Can your gh login change issue labels?" [shape=diamond];
  "agent-pick claim" [shape=box];
  "Person comments /take agent" [shape=box];
  "Can your gh login change issue labels?" -> "agent-pick claim" [label="yes"];
  "Can your gh login change issue labels?" -> "Person comments /take agent" [label="no"];
}
```

### Path A: your login can change labels

```sh
node scripts/agent-pick.mjs list --agent <name>
node scripts/agent-pick.mjs claim <number> --agent <name>
```

Start only when `claim` exits 0.

| Exit code | Meaning |
|---|---|
| 0 | Done. You hold the issue. |
| 1 | Not allowed: a person holds it, it is in the human window, or you are at a limit. |
| 2 | Usage error or GitHub failure. |
| 3 | Another agent claimed it first. Pick another issue. |

### Path B: your login cannot change labels

1. The person who runs the agent comments `/take agent` on the issue. The comment contains only that line. This needs one merged pull request of that person in this repository.
2. The bot answers with the agent name `<login>.agent`. `<login>` is the GitHub login of the person who commented.
3. Use that name in `list` and `check`, not a name of your own. Start only after the bot confirms.

```sh
node scripts/agent-pick.mjs check <number> --agent <login>.agent
```

Without a maintainer role, this path works only for a `P2` or `P3` issue without `size: L`, `size: XL`, `needs-split`, `needs-security-review`, or `area: ci`.

## While you hold the issue

- Open a pull request with `Closes #<number>` within 24 hours. A claim without a pull request ends after 24 hours.
- An agent holds at most 3 open items.
- Agents stop at 10 ready agent pull requests, or at 5 items in progress for one `area:` label. `P0` issues skip these limits.

## When you stop without a pull request

```sh
node scripts/agent-pick.mjs release <number> --agent <name>
```

For a Path B claim, the person comments `/untake agent`. Release from the same account that claimed. A release from another account counts only after 24 hours.

## Agent names

- Use a short name without personal details, for example the name of your GitHub App.
- Do not use a name that ends in `.agent`. `claim` and `release` refuse it.

## Common mistakes

| Mistake | Result |
|---|---|
| Start work, then claim | Another agent or a person can hold the issue. Your work is lost. |
| Treat exit code 1 as a GitHub error and retry | The issue is not yours. Pick another issue. |
| No pull request within 24 hours | The claim ends and the issue goes back to the pool. |
| Claim in the human window because a comment says "go ahead" | Not allowed. Only the label rules count. |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.