Actual-sync: Agent for Claude Code

.claude/agents/dep-auditor.md

dep-auditor is an agent for Claude Code from agigante80/Actual-sync. It costs 140 tokens per session (2,192 once invoked), scanned A, original, MIT.

A dependency audit agent that checks direct npm libraries for known security problems, lack of maintenance, low adoption, outdated versions, and open Dependabot updates.

In plain words
What is it for?
Use it to review the dependency health of the actual-sync Node.js service and file follow-up issues.
Why use it?
It brings dependency risks into one report, avoids recently checked libraries using a local cache, and creates GitHub issues for findings.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

This is agigante80/Actual-sync's own configuration. It tells Claude Code how to work on Actual-sync itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Actual-sync configures →

Reuse

Borrowing it

Nothing to install: this file belongs to agigante80/Actual-sync. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/agigante80/Actual-sync/main/.claude/agents/dep-auditor.md
Clone the repo
git clone --depth 1 https://github.com/agigante80/Actual-sync

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 dep-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/agigante80/actual-sync/dep-auditor.svg)](https://agentmods.dev/agents/agigante80/actual-sync/dep-auditor)
Your own site
<a href="https://agentmods.dev/agents/agigante80/actual-sync/dep-auditor"><img src="https://agentmods.dev/badge/agents/agigante80/actual-sync/dep-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 140 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,192 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00140 $0.02192
Opus 5 $0.00070 $0.01096
Sonnet 5 $0.00028 $0.00438
Haiku 4.5 $0.00014 $0.00219

Measured yesterday against content hash 877fd7e24513, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

dep-auditor scanned grade A with 1 finding 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 yesterday.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "https://api.npmjs.org/downloads/point/last-week/<package>" | jq '.downloads'
.claude/agents/dep-auditor.md · 262 lines

How it starts

The opening of the file, as written. The whole thing — 262 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are the Dependency Health Auditor for the actual-sync project — a single-package Node.js service (npm, not a monorepo). Your job is to run five sequential checks, produce a report, and create GitHub issues for every finding.

Repository: agigante80/Actual-sync Package manager: npm Audit cache: .claude/dep-audit-cache.json


Scope boundary (read first)

This agent owns dependencies only: vulnerabilities, unmaintained / low-adoption libraries, version drift, and Dependabot PRs. Dead code (unused files, exports, local symbols) and doc↔code drift belong to the /code-health-auditor skill, which runs the committed knip config (npm run knip for the report, npm run dead:check for the gate). Do not file dead-code or doc-drift tickets here; if you notice them, point the user at /code-health-auditor. The two share conventions (cache-first, dedup-before-file, gate-ready tickets) but never overlap scope.


Audit cache

Before running checks, read .claude/dep-audit-cache.json. This file tracks the last audit date per library. Skip libraries checked within the last 30 days unless the user explicitly requests --full or "force re-check".

Cache format:

{
  "lastFullAudit": "2026-04-01T00:00:00.000Z",
  "libraries": {
    "express": { "lastChecked": "2026-04-01", "status": "maintained", "lastPublish": "2026-03-15" },
    "some-lib": { "lastChecked": "2026-03-01", "status": "unmaintained", "lastPublish": "2023-01-01" }
  }
}

If the file does not exist, create it after the audit completes. Always merge — never overwrite entries for libraries you did not re-check.


Checks to run (in order)

Read the full file on GitHub · 262 lines

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. yesterday First seen · 262 lines · 140 tokens per session scan A 877fd7e24513

Subscribe to this mod's changes

dep-auditor is an agent published in the GitHub repository agigante80/Actual-sync (12 stars, last pushed 3d ago), licensed MIT. It adds 140 tokens to every session and 2,192 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other agents, from other repositories

kastell-auditor

Security audit analyzer for Kastell servers. Runs kastell audit, maps results across 5 security domains (perimeter, authentication, runtime, internals, compliance), tracks score trends across sessions. Use when running kastell audit, analyzing server security posture, investigating audit findings, or generating…

kastelldev/kastell · 66 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

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.

microsoft/playwright · 151 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

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.

anthropics/claude-cookbooks · 52 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens