deprecated-api-updater

deprecated-api-updater is a skill for Claude Code, Codex from ArabelaTso/Skills-4-SE. It costs 110 tokens per session (2,595 once invoked), scanned A, original, Apache-2.0.

A code scanner and updater that finds deprecated API calls and replaces them with newer alternatives. An API is a documented way for software components to communicate.

In plain words
What is it for?
Use it to modernize Python, JavaScript, and TypeScript code, preview replacements, and apply updates with backup files.
Why use it?
It helps remove old calls that may produce warnings or stop working after framework and library upgrades.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: $skill-name invocation.

Good fit Use it to modernize Python, JavaScript, and TypeScript code, preview replacements, and apply updates with backup files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arabelatso/skills-4-se/deprecated-api-updater
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.

Any agent
npx skills add ArabelaTso/Skills-4-SE --skill deprecated-api-updater
Clone the repo
git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE

Made for: Claude Code, Codex.

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 deprecated-api-updater

README.md
[![agentmods](https://agentmods.dev/badge/skills/arabelatso/skills-4-se/deprecated-api-updater/github.svg)](https://agentmods.dev/skills/arabelatso/skills-4-se/deprecated-api-updater)
Your own site
<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.

agentmods 80×15 button for deprecated-api-updater

Your own site · 80×15
<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>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,595 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00110 $0.02595
Opus 5 $0.00055 $0.01298
Sonnet 5 $0.00022 $0.00519
Haiku 4.5 $0.00011 $0.00260

Measured 11d ago against content hash ada59ba66477, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/detect_deprecated_apis.py, scripts/replace_deprecated_apis.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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()
skills/deprecated-api-updater/SKILL.md · 416 lines

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:

Read the full file on GitHub · 416 lines

Files

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.

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. 11d ago First seen · 416 lines · 110 tokens per session scan A ada59ba66477

Subscribe to this mod's changes

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.

Related

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.

oliver-kriska/claude-elixir-phoenix · 38 tokens

perf

Analyze Elixir/Phoenix performance — N+1 queries, assign bloat, ecto optimization, genserver bottlenecks. Use when slowness, timeouts, or high memory reported.

oliver-kriska/claude-elixir-phoenix · 43 tokens

schema-validation

JSON/data schema validation for construction data exchange: API payloads, file imports, BIM exports. Ensure data structure compliance before processing.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 29 tokens

interoperability-analyzer

Analyze data interoperability issues in construction projects. Identify format incompatibilities and data loss points.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 23 tokens

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.

vanara-agents/skills · 57 tokens

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…

aiskillstore/marketplace · 107 tokens