pick-task

pick-task is a command for Claude Code from eddiesanjuan/markupr. It costs 0 tokens per session (316 once invoked), scanned A, original, MIT.

An orchestrator command that takes the first ready agent task from a GitHub repository, works on it, and manages its issue and pull request.

In plain words
What is it for?
Use it to pick up ready tasks, execute their instructions, run required checks, create a branch and pull request, and mark the issue completed or failed.
Why use it?
It turns a queued GitHub issue into a tracked development workflow with status labels, comments, a branch, and a pull request.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/eddiesanjuan/markupr/pick-task
Clone the repo
git clone --depth 1 https://github.com/eddiesanjuan/markupr

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pick-task

README.md
[![agentmods](https://agentmods.dev/badge/commands/eddiesanjuan/markupr/pick-task.svg)](https://agentmods.dev/commands/eddiesanjuan/markupr/pick-task)
Your own site
<a href="https://agentmods.dev/commands/eddiesanjuan/markupr/pick-task"><img src="https://agentmods.dev/badge/commands/eddiesanjuan/markupr/pick-task.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 316 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00316
Opus 5 $0.00000 $0.00158
Sonnet 5 $0.00000 $0.00063
Haiku 4.5 $0.00000 $0.00032

Measured 4d ago against content hash a4a519fcfe70, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pick-task scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/pick-task.md · 24 lines

What it actually says

You are an ORCHESTRATOR picking up a queued task from GitHub.

  1. Run: gh issue list --repo eddiesanjuan/$REPO_NAME --label agent-task --label ready --state open --json number,title,body --limit 1
  2. If no issues found, say "No tasks queued for this repo" and stop.
  3. Take the first issue. Comment on it: "🤖 Picked up by Claude Code on Eddie's laptop."
  4. Relabel: gh issue edit <number> --add-label in-progress --remove-label ready
  5. Read the issue body — it contains your full task instructions.
  6. Execute the task. Follow the instructions precisely.
  7. When done:
    • Commit your work to a new branch (never main)
    • Push the branch
    • Create a PR with a clear description of what changed
    • Comment on the issue with a link to the PR
    • Relabel: gh issue edit <number> --add-label completed --remove-label in-progress
  8. If you fail or hit a blocker:
    • Comment on the issue explaining what went wrong
    • Relabel: gh issue edit <number> --add-label failed --remove-label in-progress

CRITICAL RULES:

  • Never push to main
  • Always create a PR
  • If the task says "be cautious" or "preserve good state" — run tests before committing
  • One task at a time. Run this command again for the next one.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 24 lines · 0 tokens per session scan A a4a519fcfe70

Subscribe to this mod's changes

pick-task is a command published in the GitHub repository eddiesanjuan/markupr (18 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 316 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.