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 edimuj/tokenlean --skill upgrade-depsgit clone --depth 1 https://github.com/edimuj/tokenleanWrote 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/edimuj/tokenlean/upgrade-deps)<a href="https://agentmods.dev/skills/edimuj/tokenlean/upgrade-deps"><img src="https://agentmods.dev/badge/skills/edimuj/tokenlean/upgrade-deps/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/skills/edimuj/tokenlean/upgrade-deps"><img src="https://agentmods.dev/badge/skills/edimuj/tokenlean/upgrade-deps.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.00053 | $0.00601 |
| Opus 5.5 | $0.00021 | $0.00240 |
| Sonnet 5.5 | $0.00011 | $0.00120 |
| Haiku 4.5 | $0.00005 | $0.00060 |
Grade A, and why
upgrade-deps 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 3mo 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
Upgrade Deps
Upgrade dependencies safely by understanding usage before changing versions.
Workflow
Audit → Research → Upgrade → Verify → Clean up
1. Audit
Understand current usage before changing anything:
tl parallel \
"npm=tl npm <package>" \
"search=tl search '<package-name>'" \
"deps=tl deps <file>"
2. Research
Check what changed between versions:
tl parallel "browse=tl browse <changelog-url>" "docs=tl context7 <package> 'migration guide'"
Look for: removed APIs, renamed functions, changed defaults, new peer deps.
3. Upgrade
Apply the version bump:
# Update package.json and install
tl diff --breaking # Detect signature mismatches in wrapper files
tl snippet <symbol> <file> # Check each usage site against new API
4. Verify
tl parallel \
"test=tl run '<test command>'" \
"testmap=tl test-map <file>" \
"guard=tl guard"
5. Clean up
Remove old compatibility code:
tl parallel "unused=tl unused" "search=tl search '<old-version>'"
Decision tree
Upgrade request → How big is the version jump?
├─ Patch (1.2.3 → 1.2.4) → Light check
│ → tl npm to confirm, upgrade, tl run tests
├─ Minor (1.2 → 1.3) → Standard check
│ → tl search for usage, tl browse changelog
│ → Upgrade, tl run tests
└─ Major (1.x → 2.x) → Full audit
→ tl search for all usage sites
→ tl browse changelog + migration guide
→ tl snippet on every consumer
→ Upgrade, tl diff --breaking, tl run tests
→ tl unused to clean up compat code
Tips
- tl npm output includes the changelog URL — use it with tl browse
- Use tl context7 for popular frameworks (React, Next.js, etc.) — it has migration guides
- Always check for changed peer dependencies after major upgrades
- Run tl unused after removing compatibility code — catch leftover dead exports
- Never upgrade a major version without reading the migration guide first
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.
- 3mo ago First seen · 89 lines · 53 tokens per session scan A c51fa7c94478
upgrade-deps is a skill published in the GitHub repository edimuj/tokenlean (14 stars, last pushed 4mo ago), licensed MIT. It adds 53 tokens to every session and 601 once invoked, about $0.0002 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-30.
upgrade-deps compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| upgrade-depsedimuj/tokenlean | Skill | 14 | 4mo ago | MIT | A | 53 | Claude Code, Codex |
| zerodustandresdefi/zerodust | Skill | 2 | 24d ago | MIT | A | 124 | Claude Code, Codex |
| ctx2imgKoukyosyumei/h5i-ctx2img | Skill | 3 | 4mo ago | Apache-2.0 | A | 103 | Claude Code, Codex |
| r3f-animationzebbern/claude-code-guide | Skill | 4.7k | today | MIT | A | 43 | Claude Code, Codex |
| r3f-best-practiceszebbern/claude-code-guide | Skill | 4.7k | today | MIT | A | 74 | Claude Code, Codex |
| code-documenterzebbern/claude-code-guide | Skill | 4.7k | today | MIT | A | 39 | Claude Code, Codex |
| vs-searchvolcengine/SearchCLI | Skill | 1.2k | 19d ago | Apache-2.0 | A | 27 | Claude Code, Codex |