
agent-package-manager
Installs, configures, audits, and operates Agent Package Manager (APM) in repositories. Use when initializing apm.yml, installing or updating packages, validating manifests, managing lockfiles, compiling agent context, browsing MCP servers, setting up runtimes, or packaging resolved context for CI and team distribution. Don't use for writing a single skill by hand, generic package managers like npm or pip, or non-APM agent configuration systems.
- Installs
- 454
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/webmaxru/enonic-agent-skills --skill agent-package-manager- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads agent-package-manager automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Agent Package Manager
Procedures
Step 1: Assess the repository and the requested APM outcome
- Inspect the repository root for
apm.yml,apm.lock.yaml,.github/,.claude/,.cursor/,.opencode/, andapm_modules/. - Execute
apm --versionandapm configto confirm the installed CLI and current configuration. - If
apm.ymlexists, readreferences/manifest-and-lockfile.mdbefore changing dependencies, scripts, or compilation settings. - If the request is about package installation, updates, pruning, or removal, read
references/command-workflows.mdbefore executing APM commands. - If no
apm.ymlexists and the user wants APM in the repository, initialize the project withapm initorapm init --yes. - If the repository already uses another agent configuration flow and the user did not ask to migrate it, limit the change to the requested APM scope instead of replacing the existing setup.
Step 2: Shape or repair the manifest deliberately
- Read
assets/apm.yml.templatewhen the repository needs a fresh or repaired manifest structure. - Keep
nameandversionpresent at the top level; treat them as required contract fields. - Add APM package dependencies under
dependencies.apmand MCP servers underdependencies.mcp. - Prefer canonical dependency forms in
apm.ymlafter installation. Default to the repository shorthandowner/repo/pathfor GitHub-hosted skills and packages, for examplewebmaxru/agent-skills/skills/webmcp, and preserve explicitpath,ref, andaliasonly when they are needed. - Use pinned refs for shared team packages when reproducibility matters more than automatic drift.
- Keep local path dependencies only for active local development. Replace them with remote references before recommending bundle distribution.
- If the request includes scripts, define them under
scriptsand verify that each script can be previewed or executed throughapm list,apm preview, orapm run.
Step 3: Manage dependencies with verification, not guesswork
- Preview risky changes with
apm install --dry-run,apm uninstall --dry-run, orapm prune --dry-runwhen the repository already has installed packages. - Install or update packages with
apm install,apm install <package>,apm install --update, orapm deps updateaccording to the requested scope. - After running
apm install --updateorapm deps update, verify the lockfileresolved_commitactually changed. If packages were served from a stale cache, follow the "Stale packages after update" workflow inreferences/troubleshooting.md. - When the request is to install a single skill from a repository, provide the package path down to that skill directory instead of a vague repo-only placeholder, for example
apm install webmaxru/agent-skills/skills/webmcp. - Verify the resolved state with
apm deps list,apm deps tree, orapm deps info <package>after dependency changes. - Treat
apm.lock.yamlas the source of truth for resolved commits and deployed files. Recommend committing it for team and CI reproducibility. - If the repository needs MCP discovery or selection, use
apm mcp list,apm mcp search <query>, andapm mcp show <server>before editing MCP entries by hand. - If installation output reports collisions or skipped files, read
references/troubleshooting.mdbefore retrying with forceful options. - If the repository consumes packages from itself (self-referencing dependency), remind the user that changes must be committed and pushed before APM can fetch them. Read
references/troubleshooting.mdfor the "Self-referencing dependencies" section.
Step 4: Compile and validate only when it adds value
- Read
references/command-workflows.mdbefore changing compilation strategy or target selection. - Use
apm compile --validateto validate primitives when the goal is correctness rather than output generation. - Use
apm compile --dry-runbefore large compilation changes or when checking placement decisions. - Explain that
apm installalready deploys prompts, agents, skills, hooks, and MCP integrations for supported tools;apm compilemainly exists to generate instruction files such asAGENTS.mdorCLAUDE.md. - Use explicit targets when the repository serves more than one runtime or tool family.
- Keep
compilation.excludealigned with build and dependency directories so compilation does not re-scan generated output. - If the project needs continuous regeneration during authoring, use
apm compile --watchonly after the one-shot validation path is clean.
Step 5: Operate scripts, runtimes, and distribution flows professionally
- List project scripts with
apm listbefore invoking them. - Preview prompt-driven scripts with
apm preview <script> -p key=valuebefore usingapm run <script> -p key=valuein an automation or debugging workflow. - Use
apm runtime status,apm runtime list, andapm runtime setup <runtime>when the repository depends on an APM-managed runtime. - If the goal is CI fan-out, air-gapped delivery, or release traceability, read
references/command-workflows.mdand useapm packonly after a successful install has producedapm.lock.yamland deployed files. - Use
apm unpackonly for additive extraction of a previously packed bundle. Do not present it as a replacement for dependency authoring. - Recommend
apm-actionor a prebuilt bundle when repeated installs create avoidable CI cost or network risk.
Error Handling
- If
apmis missing, install or update it first, then verify withapm --versionbefore editing project files. - If
apm installreports authentication failures, readreferences/troubleshooting.mdand fix host authentication before retrying. - If
apm installreports file collisions, inspect the diagnostic summary, retry with--verbosewhen needed, and use--forceonly when overwriting local files is clearly intended. - If
apm compileis unnecessary for the user’s toolchain, avoid adding it as busywork; prefer the lighter install-only path. - If
apm packfails becauseapm.lock.yamlis missing or deployed files are absent, rerunapm installbefore retrying. - If the repository depends on local path packages, do not recommend
apm packuntil those dependencies are replaced with remote references.
FAQ
What does the agent-package-manager skill do?
Installs, configures, audits, and operates Agent Package Manager (APM) in repositories. Use when initializing apm.yml, installing or updating packages, validating manifests, managing lockfiles, compiling agent context, browsing MCP servers, setting up runtimes, or packaging resolved context for CI and team distribution. Don't use for writing a single skill by hand, generic package managers like npm or pip, or non-APM agent configuration systems.
How do I install agent-package-manager?
Run npx skills add https://github.com/webmaxru/enonic-agent-skills --skill agent-package-manager in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/agent-package-manager/ (personal) or .claude/skills/agent-package-manager/ (project).
Which AI agents can use agent-package-manager?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is agent-package-manager safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains agent-package-manager?
It is published by webmaxru in webmaxru/enonic-agent-skills. It has 454 recorded installs.
More from webmaxru/enonic-agent-skills
enonic-nextxp-integration
webmaxru/enonic-agent-skills
Open the skill to read its SKILL.md instructions.
agent-skill-deploy
webmaxru/enonic-agent-skills
Deploys agent skill collections from any GitHub repository with a /skills folder to one or more distribution surfaces: GitHub releases, Claude Code marketplace, VS Code plugin marketplace, and Copilot CLI plugin marketplace. Handles pre-flight validation, conventional commit analysis, version bumping across surface configs, and surface-specific publishing with dry-run support. Use when releasing, publishing, or deploying a skills collection to any supported marketplace or creating a GitHub release for a skills repository. Don't use for deploying non-skill packages, npm modules, Docker images, or Azure resources.
enonic-content-type-generator
webmaxru/enonic-agent-skills
Open the skill to read its SKILL.md instructions.
enonic-guillotine-query-builder
webmaxru/enonic-agent-skills
Open the skill to read its SKILL.md instructions.
github-agentic-workflows
webmaxru/enonic-agent-skills
Authors, reviews, installs, and debugs GitHub Agentic Workflows in repositories, including workflow markdown, frontmatter, gh aw compile and run flows, safe outputs, security guardrails, and operational patterns. Use when creating or maintaining GH-AW automation. Don't use for standard deterministic GitHub Actions YAML, generic CI pipelines, or non-GitHub automation systems.
skill-creator
webmaxru/enonic-agent-skills
Open the skill to read its SKILL.md instructions.
Popular ai & agents skills
google-agents-cli-publish
google/agents-cli
This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).
google-agents-cli-eval
google/agents-cli
This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).
skill-creator
anthropics/skills
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
codex-pet
prime-skills/runcomfy-agent-skills
Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.
full-output-enforcement
leonxlnx/taste-skill
Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.
executing-plans
obra/superpowers
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available