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.
npx skills add richfrem/agent-plugins-skills --skill packaging-with-apmgit clone --depth 1 https://github.com/richfrem/agent-plugins-skillsWrote 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.
[](https://agentmods.dev/skills/richfrem/agent-plugins-skills/packaging-with-apm)<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/packaging-with-apm"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/packaging-with-apm/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.
<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/packaging-with-apm"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/packaging-with-apm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00114 | $0.01310 |
| Opus 5.5 | $0.00046 | $0.00524 |
| Sonnet 5.5 | $0.00023 | $0.00262 |
| Haiku 4.5 | $0.00011 | $0.00131 |
Grade A, and why
packaging-with-apm 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Packaging with APM (packaging-with-apm)
Packages agent extensions for APM without changing their source layout, installs them with backup and rollback, and publishes marketplace catalogs. Behaviour below was verified with APM 0.33.0.
Contents
- Constraints • Modes • Quick start • Workflow • Verification • References
Constraints
- Never change the source plugin to package it. Staging, manifests and bundles go under
build/; APM does not need anapm.ymlinside the plugin. - Pin APM (
apm-cli==0.33.0, seerequirements-dev.in) and pin every install to#<tag>or#<commit-sha>. - Compiled files are outputs. Never edit a generated
AGENTS.mdorGEMINI.mdwhen.apm/sources exist; change the source and recompile. - No overwrites of an existing package directory without explicit confirmation.
- Never edit deployed files in harness folders; change the source and reinstall.
Modes
Pick the mode from the request, then read its reference before running anything.
| Mode | Use when | Entry point | Reference |
|---|---|---|---|
create |
New APM-native package from scratch | scripts/scaffold_apm.py |
create-apm-package.md |
convert |
Existing plugin to APM, or an install check | scripts/apm_build_pipeline.py |
convert-plugin-to-apm.md |
compile |
Single-file context hosts (Codex, Gemini, OpenCode) | apm compile |
compile-apm-package.md |
install |
Install, update, roll back, remove | scripts/apm_consumer.py |
install-apm-package.md |
marketplace |
Marketplace catalog and Gemini extension | scripts/audit_marketplace_sources.py |
manage-marketplace.md |
If the target harness supports native skill directories, prefer install over compile.
What ships with it
38 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.
- evals/evals.json 2.7 KB
- examples/marketplace.json 45 B
- references/acceptance-criteria.md 4.6 KB
- references/agent-package-manager-overview.md 28 KB
- references/apm-alignment-fixes.md 5.3 KB
- references/diagrams/packaging-with-apm-flow.mmd 590 B
- references/fallback-tree.md 1.8 KB
- references/marketplace-architecture.md 1.5 KB
- references/marketplace-schema.md 2.5 KB
- references/marketplace.md 12 KB
- references/modes/compile-apm-package.md 2.2 KB
- references/modes/convert-plugin-to-apm.md 5.8 KB
- references/modes/create-apm-package.md 2.3 KB
- references/modes/install-apm-package.md 3.8 KB
- references/modes/manage-marketplace.md 2.6 KB
- requirements-dev.in 535 B
- requirements-dev.txt 3.1 KB
- requirements.in 148 B
- requirements.txt 171 B
- scripts/apm_build_pipeline.py 35 KB runs code
- scripts/apm_consumer.py 11 KB runs code
- scripts/apply_symlink_repairs.py 1.7 KB runs code
- scripts/apply_symlink_repairs.sh 40 B runs code
- scripts/audit_marketplace_sources.py 2.5 KB runs code
- scripts/check_for_broken_symlinks.py 6.6 KB runs code
- scripts/convert_symlinks_to_manifest.py 6.7 KB runs code
- scripts/decouple_agent_paths.py 9.1 KB runs code
- scripts/fix_inside_plugin_symlinks.py 11 KB runs code
- scripts/materialize_copies.py 5.3 KB runs code
- scripts/migrate_to_apm.py 16 KB runs code
- scripts/scaffold_apm.py 8.6 KB runs code
- scripts/validate_apm_package.py 5.7 KB runs code
- tests/test_apm_build_pipeline.py 10 KB runs code
- tests/test_apm_consumer.py 4.8 KB runs code
- tests/test_audit_decoupled_state.py 8.1 KB runs code
- tests/test_convert_symlinks_to_manifest.py 5.3 KB runs code
- tests/test_decouple_agent_paths.py 4.8 KB runs code
- tests/test_scaffold_apm.py 1.7 KB runs code
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.
- today First seen · 81 lines · 114 tokens per session scan A ee2bf773a48c
packaging-with-apm is a skill published in the GitHub repository richfrem/agent-plugins-skills (7 stars, last pushed yesterday), licensed MIT. It adds 114 tokens to every session and 1,310 once invoked, about $0.0005 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-10-24.
Other skills, from other repositories
autoprompt
Run explicitly requested Autoprompt v2 work through the private controller. Ordinary coding and review requests do not activate this skill.
autoprompt
Run explicitly requested Autoprompt v2 work through the private controller. Ordinary coding and review requests do not activate this skill.
ap-fresh-verifier
Report the compatibility redirect to ap-independent-checker; this retired role cannot perform new work.
ap-depth-prober
Report the compatibility redirect to ap-worker; this retired role cannot perform new work.
triage
Triage a GitHub repository's open issues by finding exact duplicates, rejecting evidenceably off-base requests, requesting concrete clarification, applying only existing labels, and opening a linked root-cause issue when multiple reports share one underlying invariant failure. Use when a maintainer asks to triage…
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…