agent-package-manager
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.
More from webmaxru/agent-skills
github-agentic-workflows
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.
109webmcp
Implements and debugs browser WebMCP integrations in JavaScript or TypeScript web apps. Use when exposing imperative tools through navigator.modelContext, annotating HTML forms for declarative tools, handling agent-invoked form flows, or validating WebMCP behavior in the current Chrome preview. Don't use for server-side MCP servers, REST tool backends, or non-browser providers.
107proofreader-api
Implements and debugs browser Proofreader API integrations in JavaScript or TypeScript web apps. Use when adding Proofreader availability checks, monitored model downloads, proofread flows, correction metadata handling, or permissions-policy checks for built-in proofreading. Don't use for generic prompt engineering, server-side LLM SDKs, or cloud AI services.
107prompt-api
Implements and debugs browser Prompt API integrations in JavaScript or TypeScript web apps. Use when adding LanguageModel availability checks, session creation, prompt or promptStreaming flows, structured output, download progress UX, or iframe permission-policy handling. Don't use for server-side LLM SDKs, REST AI APIs, or non-browser providers.
105writing-assistance-apis
Implements and debugs browser Summarizer, Writer, and Rewriter integrations in JavaScript or TypeScript web apps. Use when adding availability checks, model download UX, session creation, summarize or write or rewrite flows, streaming output, abort handling, or permissions-policy constraints for built-in writing assistance APIs. Don't use for generic prompt engineering, server-side LLM SDKs, or cloud AI services.
105language-detector-api
Implements and debugs browser Language Detector API integrations in JavaScript or TypeScript web apps. Use when adding LanguageDetector support checks, availability and model download flows, session creation, detect() calls, input-usage measurement, permissions-policy handling, or compatibility fallbacks for built-in language detection. Don't use for server-side language detection SDKs, cloud translation services, or generic NLP pipelines.
105