dependency-leverage

dependency-leverage is an agent for Claude Code from ALTEN-group/coding-pal. It costs 23 tokens per session (1,037 once invoked), scanned A, original, MIT.

A repository audit agent that looks for hand-written helpers or duplicated logic that could be replaced by libraries already installed in `package.json`. It reports grouped opportunities and possible package requests in `audit-findings.json` without changing source files.

In plain words
What is it for?
It is for identifying source modules where existing JavaScript or TypeScript dependencies may already provide the needed behavior.
Why use it?
Maintaining custom versions of existing library functionality creates duplicate code and extra maintenance. This compares project code with installed package types and available catalog entries to find reuse opportunities.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions Codex.

Good fit It is for identifying source modules where existing JavaScript or TypeScript dependencies may already provide the needed behavior.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/alten-group/coding-pal/dependency-leverage
Install

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.

Clone the repo
git clone --depth 1 https://github.com/ALTEN-group/coding-pal

Made for: Claude Code.

Wrote 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.

agentmods badge for dependency-leverage

README.md
[![agentmods](https://agentmods.dev/badge/agents/alten-group/coding-pal/dependency-leverage/github.svg)](https://agentmods.dev/agents/alten-group/coding-pal/dependency-leverage)
Your own site
<a href="https://agentmods.dev/agents/alten-group/coding-pal/dependency-leverage"><img src="https://agentmods.dev/badge/agents/alten-group/coding-pal/dependency-leverage/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.

agentmods 80×15 button for dependency-leverage

Your own site · 80×15
<a href="https://agentmods.dev/agents/alten-group/coding-pal/dependency-leverage"><img src="https://agentmods.dev/badge/agents/alten-group/coding-pal/dependency-leverage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,037 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.01037
Opus 5.5 $0.00009 $0.00415
Sonnet 5.5 $0.00005 $0.00207
Haiku 4.5 $0.00002 $0.00104

Measured 23d ago against content hash 124067423d33, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dependency-leverage 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 23d 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.

agents/dependency-leverage.agent.md · 29 lines

What it actually says

  1. Inspect package.json, installed dependency type definitions (node_modules/<pkg>/**/*.d.ts), and .agents/skills/forge/catalog.json (when present), and audit the requested scope for hand-rolled helpers or duplicated logic that can be delegated directly to an installed dependency.
  2. Consolidate closely related findings: merge multiple hand-rolled helpers or delegation opportunities affecting the same file/module or targeting the same installed dependency within a module into a single finding, and merge upstream requests targeting the same catalog package into a single request entry. Skip any symbol or file already tracked by an open issue.
  3. Do not modify source, test, or documentation files.
  4. For duplicated or hand-rolled code that can be replaced with calls to installed package.json libraries, write audit-findings.json at the repository root as a JSON array where each element represents one consolidated finding with fields:
    • "title": concise refactor(<scope>): <summary> issue title
    • "priority": GitHub issue priority ("Urgent", "High", "Medium", or "Low")
    • "model": recommended Copilot model for remediation ("claude-sonnet-5.5", "claude-opus-5.5", "claude-haiku-5.5", "gpt-6.1-sol", "gpt-6.1-terra", "gpt-6-luna", "gpt-5.3-codex", "gemini-4-argon", "gemini-3.8-flash", or "auto") based on finding complexity
    • "effort": recommended thinking effort ("Low", "Medium", "High", or "Max") based on reasoning depth required
    • "problem": clear explanation of the duplicated or hand-rolled logic
    • "affectedFiles": array of affected file paths (e.g. ["src/foo.js"])
    • "suggestedFix": concrete refactoring steps using the installed dependency
    • "acceptanceCriteria": array of testable AC-<n> criteria strings (e.g. ["- **AC-1:** ..."])
    • "body": multi-line Markdown specification (using \n\n between sections and \n after every ## heading) with ## Problem, ## Affected Files, ## Suggested Fix, and ## Acceptance Criteria (- **AC-1:** ...).
  5. If .agents/skills/forge/catalog.json (or an active ecosystem instruction) declares internal/shared libraries and you find generic domain logic in a consumer project that belongs in one of those installed libraries, but the installed version of that library does not yet export the needed API or overload, write upstream-requests.json at the repository root as a JSON array of objects (at most one consolidated entry per target library package) with fields:
    • "package": npm package name from the catalog/dependencies
    • "repo": GitHub owner/repo of the upstream library
    • "priority": GitHub issue priority ("Urgent", "High", "Medium", or "Low")
    • "model": recommended Copilot model ("claude-sonnet-5.5", "claude-opus-5.5", "claude-haiku-5.5", "gpt-6.1-sol", "gpt-6.1-terra", "gpt-6-luna", "gpt-5.3-codex", "gemini-4-argon", "gemini-3.8-flash", or "auto")
    • "effort": recommended thinking effort ("Low", "Medium", "High", or "Max")
    • "library_issue_title": concise feature/enhancement title for the upstream library
    • "library_issue_body": multi-line Markdown specification (using \n\n between sections and \n after every ## heading) with ## Problem, ## Proposed API, and ## Acceptance Criteria (- **AC-1:** ...) for the library
    • "consumer_issue_title": title for the blocked follow-up issue in the current repository
    • "consumer_issue_body": multi-line Markdown specification (using \n\n between sections and \n after every ## heading) with ## Problem, ## Affected Files, ## Suggested Fix, and ## Acceptance Criteria describing which files/functions in the current repository will be refactored once the new library version is released.
Changes

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.

  1. 23d ago First seen · 29 lines · 23 tokens per session scan A 124067423d33

Subscribe to this mod's changes

dependency-leverage is an agent published in the GitHub repository ALTEN-group/coding-pal (6 stars, last pushed 6d ago), licensed MIT. It adds 23 tokens to every session and 1,037 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-11-09.

Related

dependency-leverage compared with agents from other repositories

dependency-leverage next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dependency-leverageALTEN-group/coding-palAgent66d agoMITA23Claude Code
fastapi-revieweraffaan-m/ECCAgent315kyesterdayMITA33Claude Code
backend-reviewerjeremylongshore/tons-of-skills-marketplaceAgent3.0kyesterdayMITA36Claude Code
phoenix-server-reviewerArize-ai/phoenixAgent13ktodaynoneA69Claude Code, Cursor
enterprise-saas-revieweravelikiy/great_ctoAgent11716d agoMITA40Claude Code
integrations-engineeravelikiy/great_ctoAgent11716d agoMITA106Claude Code
solutions_architectjosstei/maestro-orchestrateAgent4931mo agoApache-2.0A88Claude Code