sync-labels-from-prs-and-sub-issues

sync-labels-from-prs-and-sub-issues is a skill for Claude Code, Codex from aiya000/dotfiles. It costs 104 tokens per session (2,325 once invoked), scanned A, original, MIT.

A workflow for calculating area labels from the files changed by pull requests and sub-issues, then synchronizing those labels across related GitHub items. Labels are tags used to group and filter work.

In plain words
What is it for?
Use it to update area labels on pull requests, sub-issues, and parent issues from their changed file paths.
Why use it?
It keeps labels based on actual code changes rather than guesses from issue text. It also removes labels when their supporting file changes no longer exist, after approval.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to update area labels on pull requests, sub-issues, and parent issues from their changed file paths.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aiya000/dotfiles/sync-labels-from-prs-and-sub-issues
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 aiya000/dotfiles --skill sync-labels-from-prs-and-sub-issues
Clone the repo
git clone --depth 1 https://github.com/aiya000/dotfiles

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 sync-labels-from-prs-and-sub-issues

README.md
[![agentmods](https://agentmods.dev/badge/skills/aiya000/dotfiles/sync-labels-from-prs-and-sub-issues/github.svg)](https://agentmods.dev/skills/aiya000/dotfiles/sync-labels-from-prs-and-sub-issues)
Your own site
<a href="https://agentmods.dev/skills/aiya000/dotfiles/sync-labels-from-prs-and-sub-issues"><img src="https://agentmods.dev/badge/skills/aiya000/dotfiles/sync-labels-from-prs-and-sub-issues/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 sync-labels-from-prs-and-sub-issues

Your own site · 80×15
<a href="https://agentmods.dev/skills/aiya000/dotfiles/sync-labels-from-prs-and-sub-issues"><img src="https://agentmods.dev/badge/skills/aiya000/dotfiles/sync-labels-from-prs-and-sub-issues.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,325 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.00104 $0.02325
Opus 5 $0.00052 $0.01162
Sonnet 5 $0.00021 $0.00465
Haiku 4.5 $0.00010 $0.00232

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

Security

Grade A, and why

sync-labels-from-prs-and-sub-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 yesterday.

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.

.kiro_global/skills/sync-labels-from-prs-and-sub-issues/SKILL.md · 138 lines

How it starts

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

PRとSub Issuesから領域ラベルを同期

目的

Issueに紐づくPRとSub Issuesの変更ファイルパスから領域ラベルを算出し、対象PR、Sub Issues、親Issueへ同期する。根拠がなくなった領域ラベルは除去する。

算出元は常にPRの変更ファイルパスとし、Issue本文から領域を推測しない。ラベルの書き込み前に差分を提示し、必ずユーザーの明示的な承認を得る。

入力

  • Issue番号またはPR番号。#26852685 の両形式を受け付ける
  • 省略時は現在のブランチに紐づくPRを対象とし、その親Issueを辿る
  • 対象リポジトリ。省略時は現在のリポジトリを使う

管理対象の領域ラベル

ラベル 変更パス条件
native-app frontend/ios/**frontend/android/***.swift*.kt*.java*.plist*.pbxproj*.gradlefrontend/capacitor.config.tsfrontend/resources/**
frontend frontend/**。ただし frontend/ios/**frontend/android/**frontend/k8s/** を除く
edge-node backend/edge_node/**
account-node backend/account_node/**
edge-nodeaccount-node backend/common/**backend/config/**backend/main.pybackend/migrate.pybackend/Dockerfile*backend/pyproject.tomlbackend/uv.lockbackend/scripts/**backend/tests/**
k8s frontend/k8s/**backend/*/k8s/****/kustomization.yaml**/values.yaml
monthly-review knowledge/devin-workflow/reports/**developer-experience も併せて付与
developer-experience .devin/**.agents/****/AGENTS.mdknowledge/**
other-implementation .github/**
documentation docs/**、ルートおよび各ディレクトリの README.md

Read the full file on GitHub · 138 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. yesterday First seen · 138 lines · 104 tokens per session scan A c466830d2cbc

Subscribe to this mod's changes

sync-labels-from-prs-and-sub-issues is a skill published in the GitHub repository aiya000/dotfiles (19 stars, last pushed today), licensed MIT. It adds 104 tokens to every session and 2,325 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-09-09.