issue-links

issue-links is a skill for Claude Code, Codex from alunduil/alunduil-chezmoi. It costs 67 tokens per session (1,118 once invoked), scanned A, original, 0BSD.

A workflow for connecting GitHub issues and pull requests with the right relationship. It distinguishes work that closes an issue, blocks other work, belongs under a parent issue, or is only mentioned for context.

In plain words
What is it for?
Use it to link, block, depend on, create a sub-issue of, or close a GitHub issue when a pull request is merged.
Why use it?
It prevents misleading project relationships, such as calling independent blocked work a subtask.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to link, block, depend on, create a sub-issue of, or close a GitHub issue when a pull request is merged.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alunduil/alunduil-chezmoi/issue-links
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.

Any agent
npx skills add alunduil/alunduil-chezmoi --skill issue-links
Clone the repo
git clone --depth 1 https://github.com/alunduil/alunduil-chezmoi

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 issue-links

README.md
[![agentmods](https://agentmods.dev/badge/skills/alunduil/alunduil-chezmoi/issue-links/github.svg)](https://agentmods.dev/skills/alunduil/alunduil-chezmoi/issue-links)
Your own site
<a href="https://agentmods.dev/skills/alunduil/alunduil-chezmoi/issue-links"><img src="https://agentmods.dev/badge/skills/alunduil/alunduil-chezmoi/issue-links/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for issue-links

Your own site · 80×15
<a href="https://agentmods.dev/skills/alunduil/alunduil-chezmoi/issue-links"><img src="https://agentmods.dev/badge/skills/alunduil/alunduil-chezmoi/issue-links.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,118 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00067 $0.01118
Opus 5 $0.00034 $0.00559
Sonnet 5 $0.00013 $0.00224
Haiku 4.5 $0.00007 $0.00112

Measured 11d ago against content hash 43bad3c2e8f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

issue-links 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 11d 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.

dot_claude/skills/issue-links/SKILL.md · 113 lines

How it starts

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

Pick the strongest accurate relationship — but no stronger.

Decision tree

  • Closes / Fixes / Resolves #N in PR body — auto-closes on merge. Default when a PR ends an issue.
  • blocked-by / blocks — A can't proceed or ship until B lands. Both are peer-sized; B is not a piece of A. Surfaces in the dependency graph and gates closing.
  • parent / sub-issue — A is decomposition of parent B's work. Sub wouldn't exist on its own; parent isn't done until subs are. Subs roll up into parent's progress.
  • plain #N mention — context only, no causal edge. Discussion, prior art, "see also". Default when nothing stronger fits.

The trap: reaching for parent/sub-issue when blocked-by is what's meant, because sub-issues were the only hierarchy GitHub had for years. Size test — peer-sized → blocked-by; smaller-than-parent → sub-issue.

How to apply each

Closes / Fixes / Resolves

In the PR body or commit message:

Closes #123

Same-repo number, or owner/repo#123 cross-repo. Recognized verbs: close, fix, resolve (any tense).

blocked-by (GraphQL only — no gh issue flag, no REST)

Two round-trips minimum: GraphQL executes one operation per request and Mutation doesn't expose repository, so query and mutation can't share a document. The lookup is aliased so both IDs return in one call (one rate-limit point), then the mutation runs.

read A_ID B_ID <<<"$(gh api graphql \
  -F owner=OWNER -F repo=REPO -F a=<A> -F b=<B> \
  -f query='
    query($owner: String!, $repo: String!, $a: Int!, $b: Int!) {
      repository(owner: $owner, name: $repo) {
        a: issue(number: $a) { id }
        b: issue(number: $b) { id }
      }
    }' --jq '.data.repository | "\(.a.id) \(.b.id)"')"

gh api graphql -f a="$A_ID" -f b="$B_ID" -f query='
  mutation($a: ID!, $b: ID!) {
    addBlockedBy(input: { issueId: $a, blockingIssueId: $b }) {
      issue { number }
      blockingIssue { number }
    }
  }'

Cross-repo: lift each alias above repository so each issue gets its own repo selection in the same query:

Read the full file on GitHub · 113 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. 11d ago First seen · 113 lines · 67 tokens per session scan A 43bad3c2e8f8

Subscribe to this mod's changes

issue-links is a skill published in the GitHub repository alunduil/alunduil-chezmoi (2 stars, last pushed today), licensed 0BSD. It adds 67 tokens to every session and 1,118 once invoked, about $0.0003 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

repo-activity

Scan all git repositories under /repos and report recent activity — last commit age, branch, uncommitted changes — in age-bucketed tables. Use when the user asks for a repo activity overview, "what have I been working on", portfolio status, or which repos are active/dormant.

laurigates/dotfiles · 65 tokens

work-on

End-to-end workflow for shipping a GitHub issue. Assesses complexity, builds a tailored workflow, and orchestrates skills from research through PR.

martinemde/dotfiles · 0 tokens

advanced-jj

Reference for deeper Jujutsu (jj) topics beyond the everyday describe/advance workflow. Load when working with conflicts, the operation log, bookmarks, revsets, fork/PR workflows, colocated Git repos, multi-remote setups, divergent changes, or jj config. Also the place to look up fileset glob syntax, non-interactive…

martinemde/dotfiles · 81 tokens

checkout

Start work on a new issue or feature by creating a jj change on the up-to-date default branch with an optional named bookmark.

martinemde/dotfiles · 0 tokens

pr

Create a draft or ready pull request with gh for a jj revision — pushes the bookmark, reviews the full changeset, and drafts a title and body explaining why the change was made. Use when asked to open a PR.

martinemde/dotfiles · 47 tokens

commit

Describe and finalize work with jj-vcs — drafting a description for the current change, splitting mixed work into focused commits, and advancing to a clean working copy. Use when asked to commit, when finishing a unit of work, or when starting new work on top of undescribed changes.

martinemde/dotfiles · 59 tokens