skillpm copilot-instructions.md

Instructions for skillpm, an npm-like tool for installing and managing skills for coding agents. They explain skill dependencies, installed-skill scanning, and linking skills into agent folders.

In plain words
What is it for?
For developing or maintaining skillpm, including its TypeScript code, package handling, and agent-skill linking.
Why use it?
They give contributors the project’s rules and existing tools to use, reducing the risk of duplicating functionality or wiring packages incorrectly.

Instructions file for GitHub Copilot

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 instructions/sbroenne/skillpm/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/sbroenne/skillpm

Made for: GitHub Copilot.

Per session 1,296 This file is loaded in full into every session.
When invoked 1,296 The same file — it is already loaded in full.
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 $0.01296 $0.01296
Opus 5 $0.00648 $0.00648
Sonnet 5 $0.00259 $0.00259
Haiku 4.5 $0.00130 $0.00130

Measured 2d ago against content hash 5504a731a7af, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

skillpm copilot-instructions.md 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 2d 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.

.github/copilot-instructions.md · 139 lines

How it starts

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

Copilot Instructions for skillpm

What is skillpm?

skillpm is npm for Agent Skills. It builds on top of npm to add skill-awareness: resolving skill dependency trees, scanning for installed skills, and wiring them into agent directories.

Design principle: stay as close to npm as possible. skillpm should feel like npm. Same package.json, same node_modules, same package-lock.json, same registry. skillpm only adds what npm cannot do by itself: discovering installed skills and linking them into agent directories.

skillpm only manages npm-hosted skills. For broader project-level agent packaging or non-npm sources, point users to APM or to the underlying host-specific tools.

The project is developed in TypeScript.

Key dependencies (don't reimplement — use these)

Package Type What it does How skillpm uses it
npm CLI (shell out) Package management, dependency resolution, registry, lockfiles, caching All package operations — skillpm install calls npm install under the hood
skills CLI (shell out) Links skills into agent directories npx skills add <path> — wires npm-installed skills into agent dirs
skills-ref CLI (shell out) Validates SKILL.md against the Agent Skills spec npx skills-ref validate <path> during skillpm publish

Before writing any new code, check whether one of these tools already does it.

What are Agent Skills?

Agent Skills are modular, reusable packages of instructions, scripts, and resources that AI agents can dynamically load to extend their capabilities. They follow an open standard adopted by Claude, Codex, Cursor, Gemini CLI, Augment, and others.

Skill package structure

A skill is a standard npm package with the skill content in a skills/<name>/ subdirectory:

my-skill/
├── package.json                 # npm metadata, deps, keywords: ["agent-skill"]
├── README.md
├── LICENSE
└── skills/
    └── my-skill/
        ├── SKILL.md
        ├── scripts/
        ├── references/
        └── assets/

Read the full file on GitHub · 139 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. 2d ago First seen · 139 lines · 1,296 tokens per session scan A 5504a731a7af

Subscribe to this mod's changes

skillpm copilot-instructions.md is an instructions file published in the GitHub repository sbroenne/skillpm (14 stars, last pushed 2d ago), licensed MIT. It adds 1,296 tokens to every session, about $0.0065 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-30.