next-priority

next-priority is a skill for Claude Code from LucasSantana-Dev/sharekit. It costs 22 tokens per session (973 once invoked), scanned A, original, MIT.

A decision tool that chooses the highest-value safe task in the current project. It checks issues such as merge-ready changes, release blockers, failing tests, security fixes, and overdue work.

In plain words
What is it for?
Use it to decide what to work on next in a repository, while leaving approvals and other safety checks in place for outward-facing actions.
Why use it?
It turns a long list of possible tasks into one evidence-based next step.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

Good fit Use it to decide what to work on next in a repository, while leaving approvals and other safety checks in place for outward-facing actions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lucassantana-dev/sharekit/next-priority
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 LucasSantana-Dev/sharekit --skill next-priority
Clone the repo
git clone --depth 1 https://github.com/LucasSantana-Dev/sharekit

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 next-priority

README.md
[![agentmods](https://agentmods.dev/badge/skills/lucassantana-dev/sharekit/next-priority/github.svg)](https://agentmods.dev/skills/lucassantana-dev/sharekit/next-priority)
Your own site
<a href="https://agentmods.dev/skills/lucassantana-dev/sharekit/next-priority"><img src="https://agentmods.dev/badge/skills/lucassantana-dev/sharekit/next-priority/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 next-priority

Your own site · 80×15
<a href="https://agentmods.dev/skills/lucassantana-dev/sharekit/next-priority"><img src="https://agentmods.dev/badge/skills/lucassantana-dev/sharekit/next-priority.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 973 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.00022 $0.00973
Opus 5.5 $0.00009 $0.00389
Sonnet 5.5 $0.00004 $0.00195
Haiku 4.5 $0.00002 $0.00097

Measured 1mo ago against content hash f6c6e91689cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

next-priority 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 1mo 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.

sharekit-profile/.claude/skills/next-priority/SKILL.md · 89 lines

How it starts

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

next-priority

Choose the next action using evidence, not intuition.

Decision order

This list is the SINGLE canonical ranking (references/priority-rules.md holds PR-state interpretation detail, not a second ranking).

  1. Merge-ready PRs
  2. Release blockers
  3. Failing CI, flaky tests, or stale-base PRs blocking merges (stale-base = PR targets a branch already merged into default; retarget before it can ship)
  4. Security issues with a known safe fix
  5. Overdue date-gated commitments — "re-check X by " items from handoffs and memory whose date has passed (scan command in references/scan-commands.md)
  6. Small production-ready fixes or features
  7. Concrete tech debt slowing delivery
  8. Refactors justified by churn or repeated friction
  9. Deferred migrations or speculative work

If the picked action is irreversible or outward-facing (merge, deploy, publish, history rewrite), the pick stands but execution follows the autonomy tiers in ~/.claude/standards/autonomy-tiers.md (ADR-0051) — this skill chooses, it does not bypass gates.

Waiting for CI is never a priority

"Merge-ready PRs" (rank 1) means a PR whose checks have already passed and is mergeable now. A PR whose CI is still running is NOT merge-ready and NOT a priority — never pick "wait for / poll the PR's CI" as the next action. CI completion re-surfaces the PR via its own notification; until then, drop to the next actionable item and do real work. Sole exception: the next task is blocked on that exact code — it needs the in-flight branch's changes to proceed. Only then is the in-flight PR the gating item, and even then advance any independent work first. Idle-polling an in-flight PR is a priority-inversion.

Required evidence

Check, in order:

  • active handoff
  • overdue date-gated items (handoffs + memory date scan — see scan-commands.md)
  • active plan
  • current branch and open PRs
  • CI status on the current branch / HEAD
  • open review comments or blocking issues
  • recent commits and working tree state

Read the full file on GitHub · 89 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. 1mo ago First seen · 89 lines · 22 tokens per session scan A f6c6e91689cd

Subscribe to this mod's changes

next-priority is a skill published in the GitHub repository LucasSantana-Dev/sharekit (1 stars, last pushed 3d ago), licensed MIT. It adds 22 tokens to every session and 973 once invoked, about $0.0001 per session on Opus 5.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-03.