skill-upstream-pr

skill-upstream-pr is a skill for Claude Code from luongnv89/asm. It costs 56 tokens per session (2,508 once invoked), scanned A, original, MIT.

A workflow for improving an open-source GitHub coding skill and proposing the changes through a pull request.

In plain words
What is it for?
It helps fork, update, evaluate, push, and submit a friendly suggestion to the original repository.
Why use it?
It provides a repeatable contribution process that keeps the fork synchronized and measures whether the improvement helps.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Good fit It helps fork, update, evaluate, push, and submit a friendly suggestion to the original repository.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/luongnv89/asm/skill-upstream-pr
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 luongnv89/asm --skill skill-upstream-pr
Clone the repo
git clone --depth 1 https://github.com/luongnv89/asm

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 skill-upstream-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/luongnv89/asm/skill-upstream-pr/github.svg)](https://agentmods.dev/skills/luongnv89/asm/skill-upstream-pr)
Your own site
<a href="https://agentmods.dev/skills/luongnv89/asm/skill-upstream-pr"><img src="https://agentmods.dev/badge/skills/luongnv89/asm/skill-upstream-pr/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 skill-upstream-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/luongnv89/asm/skill-upstream-pr"><img src="https://agentmods.dev/badge/skills/luongnv89/asm/skill-upstream-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,508 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 93
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 231
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00056 $0.02508
Opus 5.5 $0.00022 $0.01003
Sonnet 5.5 $0.00011 $0.00502
Haiku 4.5 $0.00006 $0.00251

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

Security

Grade A, and why

skill-upstream-pr 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 14d 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.

skills/skill-upstream-pr/SKILL.md · 234 lines

How it starts

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

Skill Upstream PR

You are contributing quality improvements to someone else's open-source skill. The workflow is: fork → clone → improve via skill-creator's retrofit loop → push to fork → open a friendly suggestion PR upstream. You do not own the target repo. Every step assumes you are a polite contributor, not a maintainer.

Repo Sync Before Edits (mandatory)

Before any modification to the cloned fork, pull the latest from the fork's tracked branch:

branch="$(git rev-parse --abbrev-ref HEAD)"
git fetch origin
git pull --rebase origin "$branch"

If the working tree is dirty: stash, sync, pop. If origin is missing or conflicts occur: stop and ask the user. A stale fork that PRs yesterday's tree is worse than no PR.

When to Use

  • User shares a GitHub URL to a public skill repo and asks to "improve", "level up", or "contribute to" it
  • User says "open a PR to this skill" or "suggest improvements upstream"
  • The target skill scores below 85/8 on asm eval and the user wants the upstream author to benefit

Do not trigger for: editing a local skill with no upstream, authoring a brand-new skill, publishing to the ASM registry, or bulk-improving many repos in one pass. One skill → one PR.

Prerequisites

Verify each before cloning anything. Stop and tell the user if any fails.

  • asm on PATH (command -v asm)
  • gh on PATH and authenticated (gh auth status)
  • git on PATH
  • Network access to GitHub
  • Write access to your own GitHub account (for the fork)

Input

The user provides a GitHub reference to a skill. Accept any of:

  • https://github.com/owner/repo
  • https://github.com/owner/repo/tree/<branch>/<path/to/skill>
  • github:owner/repo[#ref][:path]

Normalize to owner, repo, optional ref, optional path. If path is not given and the repo has multiple SKILL.md files, ask the user which one.

Workflow

Execute phases in order. Do not skip or reorder.

Phase 0 — Fork and clone

cd "$(mktemp -d)"
gh repo fork "$OWNER/$REPO" --clone --remote
cd "$REPO"
# If a ref was provided:
git checkout "$REF"

Read the full file on GitHub · 234 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. 14d ago Changed · +1 lines be8ddf170561
  2. 1mo ago First seen · 233 lines · 56 tokens per session scan A e336d2e93cc6

Subscribe to this mod's changes

skill-upstream-pr is a skill published in the GitHub repository luongnv89/asm (956 stars, last pushed yesterday), licensed MIT. It adds 56 tokens to every session and 2,508 once invoked, about $0.0002 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-08-30.