plugins/agent-scaffolders/skills/install-apm-package/SKILL.md
Activate when the user wants to install, deploy, test, or materialize an APM package into runtime directories such as .agents/, .github/, .claude/, .cursor/, .gemini/, .codex/, .opencode/, or .windsurf/. Use after creating or converting an APM package.
npx skillsauth add richfrem/agent-plugins-skills install-apm-packageInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill manages the safe deployment of APM primitives into their respective runtime environments. It enforces validation and target discovery to ensure byte-identical reproducibility across environments.
.agents/, .github/, or .claude/ directly. Always edit the source in .apm/ and re-install.apm.lock.yaml MUST be committed after any install change.validate_apm_package.py before executing the install.apm install from the project root to ensure converged skills land in the authoritative .agents/ folder. Running inside a package directory creates local, isolated artifacts.apm install ./path-to-package from the project root.apm install from within the package directory..claude/ exists) -> Run apm install.apm install will exit with code 2; ask user for explicit --target (e.g., agent-skills, claude, all)..agents/skills/. Use --target agent-skills for explicit skill deployment.--legacy-skill-paths flag.--frozen flag to ensure lockfile compliance.apm.yml existence (locally or at root).python scripts/validate_apm_package.py.cd <repo-root>cd <package-dir>apm install [--target <slug>] --dry-run --verbose.apm install [./relative-path-to-pkg] [--target <slug>] [--legacy-skill-paths].
--target all,agent-skills to deploy to all harnesses AND converged skills.apm.lock.yaml update at the execution root.Before recommending all,agent-skills, check whether the user is doing:
For smoke tests, all,agent-skills is appropriate. For real use, prefer the smallest target list that matches the runtime. Installing both converged and target-specific skills may cause duplicate skill visibility in runtimes that scan multiple skill locations.
.github/agents/ by hand instead of using apm install.apm.lock.yaml after adding a dependency..apm/ source.tools
Ingests repository files into the ChromaDB vector store. Builds or updates the vector index from a manifest or directory scan using ingest.py. Use when new files need to be indexed or the vector store is out of date. <example> user: "Index these new plugin files into the vector database" assistant: "I'll use vector-db-ingest to add them to the vector store." </example> <example> user: "The vector store is missing recent files -- update it" assistant: "I'll use vector-db-ingest to re-index the changes." </example>
data-ai
Removes stale and orphaned chunks from the ChromaDB vector store for files that have been deleted or renamed. Use after files are removed or moved to keep the vector index in sync with the filesystem. <example> user: "Clean up the vector store after I deleted some files" assistant: "I'll use vector-db-cleanup to remove orphaned chunks." </example> <example> user: "The vector database has chunks for files that no longer exist" assistant: "I'll run vector-db-cleanup to prune them." </example>
testing
Audit Vector DB coverage -- compares the live filesystem manifest against the ChromaDB index to identify coverage gaps.
development
3-Phase Knowledge Search strategy for the RLM Factory ecosystem. Auto-invoked when tasks involve finding code, documentation, or architecture context in the repository. Enforces the optimal search order: RLM Summary Scan (O(1)) -> Vector DB Semantic Search -> Grep/Exact Match. Never skip phases.