map-issue-to-tasks

map-issue-to-tasks is a skill for Claude Code, Codex from rsenna/rs-agent-plugin. It costs 87 tokens per session (1,720 once invoked), scanned A, original, MIT.

A workflow that turns a GitHub issue into a researched analysis and a dependency-ordered list of implementation tasks. GitHub issues are records used to describe bugs, requests, or other work in a code repository.

In plain words
What is it for?
It is for fetching an issue and its comments, inspecting the repository, posting an enrichment comment, adding a mapped label, and writing the resulting tasks to the project's task system.
Why use it?
It gives an issue clearer scope, acceptance criteria, affected code areas, non-goals, open questions, and actionable tasks before implementation begins.

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/rsenna/rs-agent-plugin/map-issue-to-tasks
Any agent
npx skills add rsenna/rs-agent-plugin --skill map-issue-to-tasks
Clone the repo
git clone --depth 1 https://github.com/rsenna/rs-agent-plugin

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 map-issue-to-tasks

README.md
[![agentmods](https://agentmods.dev/badge/skills/rsenna/rs-agent-plugin/map-issue-to-tasks.svg)](https://agentmods.dev/skills/rsenna/rs-agent-plugin/map-issue-to-tasks)
Your own site
<a href="https://agentmods.dev/skills/rsenna/rs-agent-plugin/map-issue-to-tasks"><img src="https://agentmods.dev/badge/skills/rsenna/rs-agent-plugin/map-issue-to-tasks.svg" alt="Measured on agentmods" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,720 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.1 $0.00087 $0.01720
Opus 5 $0.00044 $0.00860
Sonnet 5 $0.00017 $0.00344
Haiku 4.5 $0.00009 $0.00172

Measured yesterday against content hash 13ded26af190, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

map-issue-to-tasks 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 yesterday.

The scan reads SKILL.md. This mod also ships 2 executable files (check-caveman-compress.sh, issue.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/map-issue-to-tasks/SKILL.md · 116 lines

How it starts

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

Map Issue → Tasks

Steps 1–3 of the issue lifecycle: analyse an open issue, enrich it against a template, and break it into a dependency-ordered task list. Implementation is a separate skill (fix-mapped-issue).

Plumbing is in issue.sh, next to this file (a sibling of this SKILL.md, wherever your installer placed this skill — e.g. ~/.claude/skills/map-issue-to-tasks/ or ~/.agents/skills/map-issue-to-tasks/). The enrichment template is at templates/issue-enrichment.md, relative to that same directory.

Do this

  1. Fetch. issue.sh fetch <n> — read title, body, labels, and existing comments. Note related/duplicate issues. If it's already labeled mapped, say so and confirm before redoing the work.
  2. Explore the codebase for the modules/files this touches. Use the project's own affordances (e.g. what-about has a run-what-about skill and a tasks/ convention). Cite concrete file paths.
  3. Enrich. Fill the template (copy it, replace the <!-- … --> guidance): Analysis, Context & affected areas, Acceptance criteria, Non-goals, Open questions, Task breakdown. Write it to a scratch file.
  4. Derive tasks. Run the spec-driven-development and planning-and-task-breakdown skills to turn the acceptance criteria into small, verifiable, dependency-ordered tasks. Render them in the project's task format — match an existing example if the repo has one (e.g. what-about's tasks/todo.md: **ID — Title** 🔒gate, then Acceptance: / Verify: / Files:, where Verify: always includes the project's quality gate; add dependency/milestone notes à la tasks/plan.md). If the repo has no tasks/ convention, create tasks/issue-<n>-<slug>.md with that shape. Regardless of which format applies, every task heading gets a leading checkbox- [ ] **ID — Title** 🔒gate — even when matching an existing project convention that doesn't itself use one, so fix-mapped-issue always has something unambiguous to tick after each task merges. If tasks/issue-<n>-<slug>.md already exists for this issue from before this convention (headings with no leading checkbox), retrofit one onto every heading while you're editing the file — - [x] for tasks the file already marks done/merged, - [ ] for the rest — rather than adding new checkbox-only headings alongside old checkbox-less ones.
  5. Write outputs (non-destructive):
    • Tasks → tasks/issue-<n>-<slug>.md (issue.sh slug <n> gives the <n>-<slug> stem). Never overwrite an unrelated existing task file.
    • Enrichment → a GitHub issue comment via issue.sh comment <n> <file>. The original issue body is left untouched.
    • Compress the tasks file with caveman-compress. It's read every time an agent picks up this issue, so a leaner file pays off repeatedly. Before invoking it, run the check-caveman-compress.sh next to this file (same directory as this SKILL.md):
      • exit 0 → invoke caveman-compress on tasks/issue-<n>-<slug>.md — trigger it the same way as /caveman-compress <filepath> (see that skill's own SKILL.md for the exact process)
      • exit 1 → not installed anywhere it looked; not a failure — it already printed a warning, skip compression and proceed uncompressed
      • exit 2 → installed but unpatched (its claude --print fallback can leak this host's hooks/MCP context into the file it's compressing — JuliusBrussee/caveman#920, fixed in #921). Stop and surface the script's remediation message to the user — do not run the unpatched compressor and do not silently skip it either, since the whole point is that it's unsafe, not merely absent. This is a temporary guardrail; drop it once the fix has been upstream a while.
  6. Label it. issue.sh label <n> — tags the issue mapped (creating the label on first use). This is what lets issue.sh unmapped distinguish issues still needing this treatment from ones already scoped. Do this last, after the enrichment comment has actually posted.

Read the full file on GitHub · 116 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday Changed · +3 lines 13ded26af190
  2. 5d ago First seen · 113 lines · 87 tokens per session scan A c6afc65dd664

Subscribe to this mod's changes

map-issue-to-tasks is a skill published in the GitHub repository rsenna/rs-agent-plugin (2 stars, last pushed 5d ago), licensed MIT. It adds 87 tokens to every session and 1,720 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens