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 compile-apm-packagegit 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/compile-apm-package)<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/compile-apm-package"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/compile-apm-package.svg" alt="Measured on agentmods" 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.00074 | $0.00427 |
| Opus 5 | $0.00037 | $0.00214 |
| Sonnet 5 | $0.00015 | $0.00085 |
| Haiku 4.5 | $0.00007 | $0.00043 |
Grade A, and why
compile-apm-package 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 4d 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.
What it actually says
compile-apm-package Skill 📄
Overview
This skill generates merged context documents from APM primitives. This is primarily required for harnesses that consume a single authoritative file (like Gemini's GEMINI.md) rather than distributed skill directories.
🚫 Non-Negotiables
- Artifact Status — Compiled files (
AGENTS.md, etc.) are generated artifacts. NEVER edit them directly if a.apm/source tree exists. - Conditional Use — Do not run compile if the user's harness (e.g., Claude Code, Copilot Chat) supports native directory-based skills.
- Validation First — Ensure the package is valid before merging primitives.
Decision Tree
- Target supports directory-based skills? -> Use
install-apm-package. - Target needs top-level context? (e.g., Gemini, Codex) -> Run
apm compile. - Authoring shared context? -> Use
apm compileto verify how fragments merge into the final doc.
Workflow
- Verify
apm.ymlexistence. - Execute
python scripts/validate_apm_package.py. - Identify target requirements.
- Run
apm compile [--target <slug>]. - Report the location of generated context files.
Anti-Patterns
- Unnecessary Compilation: Running
apm compilefor a Claude Code project (redundant work). - Direct Artifact Editing: Fixing a typo in
GEMINI.mdinstead of the source.prompt.md.
What ships with it
4 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.
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.
- 4d ago First seen · 36 lines · 74 tokens per session scan A f08c30626270
compile-apm-package is a skill published in the GitHub repository richfrem/agent-plugins-skills (6 stars, last pushed today), licensed MIT. It adds 74 tokens to every session and 427 once invoked, about $0.0004 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-09-03.
Other skills, from other repositories
composio
Use Composio from Agent Swarm through the agent-swarm x composio CLI route, the swarmx MCP tool, or a registered ctx.api.composio script connection. Trigger when a task needs connected third-party app tools such as Gmail, Google Calendar, Google Docs, Google Drive, GitHub, Slack, Notion, or HubSpot through Tool Router…
close-issue
Close a GitHub or GitLab issue with a summary comment.
soul
Embody this digital identity. Read SOUL.md first, then STYLE.md, then examples/. Become the person—opinions, voice, worldview.
implement-issue
Implement a GitHub issue or GitLab issue and create a PR/MR.
bbc-skill
A read-only tool for collecting all comments from a Bilibili video, including replies and pinned comments. Bilibili is a Chinese video-sharing platform.
feature-implementation
Implement software features, fix bugs, and write production-quality code. Use this for hands-on development work including writing new code, modifying existing code, and debugging issues.