to-issues

to-issues is a skill for Claude Code, Codex from smallnest/pigo. It costs 92 tokens per session (1,929 once invoked), scanned A, original, MIT.

A workflow that turns a product requirements document (PRD) or technical specification (SPEC) into small, actionable work tickets.

In plain words
What is it for?
Use it to find a PRD or SPEC, break its user stories into independent implementation issues, and create them in GitHub, a local file, or Baidu iCafe.
Why use it?
It removes the need to manually split broad requirements into tasks and enter each ticket one by one. You can review the proposed tickets before they are created.

Skill for Claude CodeCodex

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 skills/smallnest/pigo/to-issues
Any agent
npx skills add smallnest/pigo --skill to-issues
Clone the repo
git clone --depth 1 https://github.com/smallnest/pigo

Made for: Claude Code, Codex.

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 to-issues

README.md
[![agentmods](https://agentmods.dev/badge/skills/smallnest/pigo/to-issues.svg)](https://agentmods.dev/skills/smallnest/pigo/to-issues)
Your own site
<a href="https://agentmods.dev/skills/smallnest/pigo/to-issues"><img src="https://agentmods.dev/badge/skills/smallnest/pigo/to-issues.svg" alt="Measured on agentmods" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,929 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.00092 $0.01929
Opus 5 $0.00046 $0.00964
Sonnet 5 $0.00018 $0.00386
Haiku 4.5 $0.00009 $0.00193

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

Security

Grade A, and why

to-issues 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.

internal/builtinskills/skills/to-issues/SKILL.md · 230 lines

How it starts

The opening of the file, as written. The whole thing — 230 lines — stays where its author put it; the contents beside it link to each section on GitHub.

to-issues — PRD/SPEC to Issues

Decompose a PRD and/or technical SPEC into small, independent, implementable Issues, then create them in your chosen platform. Works standalone — you don't need to have run /prd first.


The Job

  1. Locate input — find a PRD or SPEC file (auto-detect or user-specified)
  2. Decompose into Issues — break User Stories into implementable tickets
  3. Review with user — present Issue list for approval and adjustment
  4. Choose platform — GitHub / Local / Baidu iCafe
  5. Create Issues — create all tickets and print summary

Step 1: Locate Input

Find the input document:

What should I base the Issues on?

A. Auto-detect: scan tasks/ for recent PRDs and SPECs
B. Specific PRD file (e.g., tasks/prd-priority-system.md)
C. Specific SPEC file (e.g., tasks/spec-priority-system.md)
D. Both PRD and SPEC (best: PRD for requirements, SPEC for technical contracts)
E. Paste requirements directly

If auto-detecting, list available files and let the user choose.

If both PRD and SPEC are available, use the SPEC's Section 10.2 (Issue Mapping) as the primary guide, supplemented by PRD's User Stories. If only PRD is available, generate Issues directly from User Stories.


Step 2: Decompose into Issues

Based on the input document(s), generate a list of Issues. Follow these rules:

  • One Issue per User Story — each US-XXX becomes at least one Issue
  • Split large stories — if a US has 5+ acceptance criteria or spans frontend + backend, split into 2-3 smaller Issues with clear dependencies
  • Merge tiny stories — if a US has only 1-2 trivial criteria, merge it with a related US into a single Issue
  • Each Issue must be independently implementable — a single agent session should be able to complete it
  • Number Issues sequentially starting from 1
  • If SPEC is available — enrich Issues with SPEC references (API endpoints, data model sections, error handling contracts)

Issue format:

Issue #N: [Title]
---
Description: [From US description, with context]
Acceptance Criteria:
- [ ] [From US acceptance criteria]
- [ ] ...
Dependencies: [None / Issue #X]
Type: [backend / frontend / fullstack / ui / infra]
Priority: [high / medium / low]
SPEC Reference: [Section X.Y — only if SPEC available]

Read the full file on GitHub · 230 lines

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 · 230 lines · 92 tokens per session scan A cd0863b14fb6

Subscribe to this mod's changes

to-issues is a skill published in the GitHub repository smallnest/pigo (419 stars, last pushed 4d ago), licensed MIT. It adds 92 tokens to every session and 1,929 once invoked, about $0.0005 per session on Opus 5. 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.