shareable-packages

shareable-packages is a skill for Claude Code, Codex from jonlwowski012/copilot-agent-factory. It costs 17 tokens per session (1,694 once invoked), scanned A, original, MIT.

A workflow for turning Python or TypeScript code into an installable package that others can share through pip or npm.

In plain words
What is it for?
Use it to package and publish Python or TypeScript projects, including separate packages in a monorepo, which is a repository containing multiple related projects.
Why use it?
It addresses missing package metadata, build settings, dependencies, and file inclusion that can prevent reliable installation or publishing.

Skill for Claude CodeCodex

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

Good fit Use it to package and publish Python or TypeScript projects, including separate packages in a monorepo, which is a repository containing multiple related projects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jonlwowski012/copilot-agent-factory/shareable-packages
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 jonlwowski012/copilot-agent-factory --skill shareable-packages
Clone the repo
git clone --depth 1 https://github.com/jonlwowski012/copilot-agent-factory

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 shareable-packages

README.md
[![agentmods](https://agentmods.dev/badge/skills/jonlwowski012/copilot-agent-factory/shareable-packages/github.svg)](https://agentmods.dev/skills/jonlwowski012/copilot-agent-factory/shareable-packages)
Your own site
<a href="https://agentmods.dev/skills/jonlwowski012/copilot-agent-factory/shareable-packages"><img src="https://agentmods.dev/badge/skills/jonlwowski012/copilot-agent-factory/shareable-packages/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 shareable-packages

Your own site · 80×15
<a href="https://agentmods.dev/skills/jonlwowski012/copilot-agent-factory/shareable-packages"><img src="https://agentmods.dev/badge/skills/jonlwowski012/copilot-agent-factory/shareable-packages.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,694 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.00017 $0.01694
Opus 5 $0.00009 $0.00847
Sonnet 5 $0.00003 $0.00339
Haiku 4.5 $0.00002 $0.00169

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

Security

Grade A, and why

shareable-packages 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 9d 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.

skill-templates/2-development-workflows/shareable-packages/SKILL.md · 123 lines

How it starts

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

Skill: Shareable Packages Template (Python & TypeScript)

Portable workflow for making a codebase installable and publishable. Detect the project language first, then follow the matching section.


1. Detect project type

  • Python: presence of pyproject.toml, setup.py, setup.cfg, or requirements*.txt at repo root.
  • TypeScript/JavaScript: presence of package.json at repo root (and optionally tsconfig.json).

If both exist, ask the user which package(s) they want to make shareable, or apply the relevant section per directory (e.g. a monorepo with packages/python and packages/ts).


2. Python: Shareable package checklist

2.1 Build and metadata

  • A1 Ensure build is declared in pyproject.toml (PEP 517/518):
    • [build-system] with build-backend = "setuptools.build_meta" (or hatchling, flit).
    • [project] with name, version, description, readme, requires-python, dependencies.
  • A2 If the project still uses only setup.py, move metadata and install_requires into pyproject.toml; keep a minimal setup.py only if needed for editable installs.
  • A3 Set packages (or [tool.setuptools.packages.find]) so all installable packages are included; exclude test*, docs*, etc.

2.2 Installability

  • B1 Imports must be package-relative (e.g. from mypackage.module import foo). No reliance on repo root in sys.path for production code.
  • B2 Optional: use src/ layout (src/<package_name>/) for a cleaner install.
  • B3 Verify: in a new venv, run pip install -e . then run the project's test command (e.g. pytest tests/ -q). No PYTHONPATH hacks.

2.3 Version and artifacts

  • C1 Single source of truth for version: version in pyproject.toml or a version.py read by it.
  • C2 Build artifacts: pip install build && python -m builddist/*.whl and dist/*.tar.gz.

2.4 Publish (document only; do not run without explicit ask)

  • D1 Document: PyPI (public) or private index (CodeArtifact, Nexus, etc.). Consumer install: pip install <package-name> or pip install --index-url ... <package-name>.

Read the full file on GitHub · 123 lines

Files

What ships with it

1 file 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. 9d ago First seen · 123 lines · 17 tokens per session scan A 51c726d89728

Subscribe to this mod's changes

shareable-packages is a skill published in the GitHub repository jonlwowski012/copilot-agent-factory (16 stars, last pushed 9d ago), licensed MIT. It adds 17 tokens to every session and 1,694 once invoked, about $0.0001 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.