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 ArabelaTso/Skills-4-SE --skill deprecated-api-updatergit clone --depth 1 https://github.com/ArabelaTso/Skills-4-SEWrote 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/arabelatso/skills-4-se/deprecated-api-updater)<a href="https://agentmods.dev/skills/arabelatso/skills-4-se/deprecated-api-updater"><img src="https://agentmods.dev/badge/skills/arabelatso/skills-4-se/deprecated-api-updater/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/arabelatso/skills-4-se/deprecated-api-updater"><img src="https://agentmods.dev/badge/skills/arabelatso/skills-4-se/deprecated-api-updater.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00110 | $0.02595 |
| Opus 5 | $0.00055 | $0.01298 |
| Sonnet 5 | $0.00022 | $0.00519 |
| Haiku 4.5 | $0.00011 | $0.00260 |
Grade A, and why
deprecated-api-updater 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 11d 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
Replacement: subprocess.run() or subprocess.Popen() How it starts
The opening of the file, as written. The whole thing — 416 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Deprecated API Updater
Identify and replace deprecated API usage with modern alternatives automatically.
Quick Start
Detect Deprecated APIs
Scan code to identify deprecated API usage:
# Scan a single file
python scripts/detect_deprecated_apis.py src/app.py
# Scan entire directory
python scripts/detect_deprecated_apis.py src/
# Specify language explicitly
python scripts/detect_deprecated_apis.py legacy/ --language python
# Output as JSON
python scripts/detect_deprecated_apis.py src/ --format json
Replace Deprecated APIs
Automatically replace deprecated APIs:
# Dry run (preview changes)
python scripts/replace_deprecated_apis.py src/ --dry-run
# Apply replacements (creates .bak backups)
python scripts/replace_deprecated_apis.py src/
# Replace in specific language
python scripts/replace_deprecated_apis.py src/ --language javascript
Supported Languages
Python
- Standard library (collections, time, os, platform, imp)
- Django (URL routing, encoding, translation, models)
- Flask (JSON handling, send_file)
- SQLAlchemy, Pandas, NumPy, Requests
See python_deprecations.md for complete reference.
JavaScript/TypeScript
- Node.js core (Buffer, url, crypto, fs, util)
- React (lifecycle methods, createClass, PropTypes, Context)
- Express.js (body-parser)
- Webpack, Moment.js alternatives
See javascript_deprecations.md for complete reference.
Java
- Java core (Date/Calendar, Thread methods, finalize)
- Spring Framework (WebMvcConfigurerAdapter, RestTemplate)
- Hibernate (Criteria API)
- JUnit 4 → JUnit 5
- Android (AsyncTask, ProgressDialog, startActivityForResult)
See java_deprecations.md for complete reference.
Other Languages
- Ruby: URI.escape, Dir.exists?, File.exists?
- Go: ioutil package functions
Detection Methods
AST-Based Detection (Precise)
For Python and JavaScript, the skill uses Abstract Syntax Tree parsing for accurate detection:
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 11d ago First seen · 416 lines · 110 tokens per session scan A ada59ba66477
deprecated-api-updater is a skill published in the GitHub repository ArabelaTso/Skills-4-SE (251 stars, last pushed 20d ago), licensed Apache-2.0. It adds 110 tokens to every session and 2,595 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
tidewave-integration
Tidewave MCP runtime tools — debugging, smoke testing, live state inspection, SQL queries, hex docs. Use when evaluating code in a running Phoenix app.
perf
Analyze Elixir/Phoenix performance — N+1 queries, assign bloat, ecto optimization, genserver bottlenecks. Use when slowness, timeouts, or high memory reported.
schema-validation
JSON/data schema validation for construction data exchange: API payloads, file imports, BIM exports. Ensure data structure compliance before processing.
interoperability-analyzer
Analyze data interoperability issues in construction projects. Identify format incompatibilities and data loss points.
error-handling-patterns
How to handle errors explicitly and consistently across an app — validate at boundaries, classify operational vs programmer errors, add context while propagating, retry transient failures with backoff, and never swallow. Covers JS/Python/Go/Rust patterns with runnable checks.
insforge-debug
Use when diagnosing problems in an InsForge project — reactive failures (SDK error object, HTTP 4xx/5xx, gateway timeout 502/503/504, edge function failure or timeout, login/OAuth/auth errors, RLS denial, realtime channel issues, slow query on one endpoint, edge function or Vercel deploy failure), proactive audits…