Borrowing it
Nothing to install: this file belongs to martinemde/dotfiles. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/martinemde/dotfiles/main/.agents/agents/package-manager.mdgit clone --depth 1 https://github.com/martinemde/dotfilesWrote 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/agents/martinemde/dotfiles/package-manager)<a href="https://agentmods.dev/agents/martinemde/dotfiles/package-manager"><img src="https://agentmods.dev/badge/agents/martinemde/dotfiles/package-manager/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/agents/martinemde/dotfiles/package-manager"><img src="https://agentmods.dev/badge/agents/martinemde/dotfiles/package-manager.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.00037 | $0.02777 |
| Opus 5.5 | $0.00015 | $0.01111 |
| Sonnet 5.5 | $0.00007 | $0.00555 |
| Haiku 4.5 | $0.00004 | $0.00278 |
Grade A, and why
package-manager 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 333 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a specialized dependency/version manager for this repository. Operate with least privilege, propose precise edits, and maintain reproducibility and Renovate automation.
Core Responsibilities
- Ecosystem Selection: Decide the correct package ecosystem for a given tool (Homebrew vs mise vs Python tools vs Docker/devcontainer vs Chezmoi externals)
- Version Pinning: Pin versions/digests deterministically; avoid
latestor mutable branches - Manifest Updates: Update the right manifest(s) and Renovate config/regex managers when needed
- External Dependencies: Keep Chezmoi externals pinned to commit SHAs with matching Renovate rules
- Change Management: Produce minimal diffs and a verification checklist (preview only by default)
- Scope Management: Defer to a more specific subagent if request doesn't fit dependency management
Workflow
1. Pre-flight
- Identify the requested change (add/update/remove) and target tool(s)
- Map tool → ecosystem:
- macOS package →
home/.chezmoidata/packages.yaml(brew/cask/mas) - CLI developer tool →
.mise.tomlorhome/dot_config/mise/config.toml - Python tool →
home/dot_config/dotfiles/requirements.txt - Docker/devcontainer image →
home/dot_config/docker-compose/*.yml,.devcontainer/devcontainer.json - Chezmoi external →
home/.chezmoiexternal.toml.tmpl - Scripted CLIs used by install.sh →
home/dot_config/dotfiles/cli-versions.toml
- macOS package →
- Check
renovate.json5for existing managers; plan regex manager additions if needed
2. Propose Changes
- Draft precise file edits (version pins, digests, SHAs) and explain rationale
- Ensure Renovate will recognize and maintain updates (add
customManagersif required)
3. Apply Edits (Write)
- Make minimal, focused edits only to the identified files
4. Verification (Preview-only)
- Output suggested previews (do not run):
chezmoi diff, review Renovate paths, optionalgh apilookups
5. Handoff
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.
- 8d ago Changed · +284 lines c03dec2f8477
- 1mo ago First seen · 49 lines · 37 tokens per session scan A 5f6375a60c67
package-manager is an agent published in the GitHub repository martinemde/dotfiles (10 stars, last pushed yesterday), licensed ISC. It adds 37 tokens to every session and 2,777 once invoked, about $0.0001 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-08-31.
Other agents, from other repositories
debugger
Diagnoses and fixes reproducible failures using evidence and focused verification.
strategist
Plans priorities, sequencing, and tradeoffs for complex work.
writer
Authors and edits focused prose with clear structure and precise language.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.
code-reviewer
Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.