http-client-migration

http-client-migration is a skill for Claude Code, Codex from Gen-Verse/PAST-Bench. It costs 14 tokens per session (73 once invoked), scanned A, original, Apache-2.0.

A migration guide for replacing one Python HTTP library with another: it approves requests, marks urllib as deprecated, and assigns labels to pull requests. It also notes that a newer guide may reverse these recommendations in favor of httpx.

In plain words
What is it for?
Classifying HTTP-client migration changes and identifying that the procedure needs correction before use.
Why use it?
The guide contains conflicting or outdated instructions, so following it without checking can lead to the wrong library choice.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/gen-verse/past-bench/http-client-migration
Any agent
npx skills add Gen-Verse/PAST-Bench --skill http-client-migration
Clone the repo
git clone --depth 1 https://github.com/Gen-Verse/PAST-Bench

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 http-client-migration

README.md
[![agentmods](https://agentmods.dev/badge/skills/gen-verse/past-bench/http-client-migration.svg)](https://agentmods.dev/skills/gen-verse/past-bench/http-client-migration)
Your own site
<a href="https://agentmods.dev/skills/gen-verse/past-bench/http-client-migration"><img src="https://agentmods.dev/badge/skills/gen-verse/past-bench/http-client-migration.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 73 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00014 $0.00073
Opus 5 $0.00007 $0.00036
Sonnet 5 $0.00003 $0.00015
Haiku 4.5 $0.00001 $0.00007

Measured 4d ago against content hash a40bc72cbf80, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

http-client-migration 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 4d 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.

Makes network callslowCapability

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

- urllib is deprecated.
self-evolve-tasks-v2/_shared/home_fixtures/update_ability/PC02_sop_patch_02/skills/http-client-migration/SKILL.md · 12 lines

What it actually says

HTTP Client Migration Guide v1 flawed:

  • requests is approved.
  • urllib is deprecated.
  • Tag requests PRs api-compliant.
  • Tag urllib PRs deprecated-api. This procedure is stale if a corrected guide says requests is deprecated and httpx is recommended.
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. 4d ago First seen · 12 lines · 14 tokens per session scan A a40bc72cbf80

Subscribe to this mod's changes

http-client-migration is a skill published in the GitHub repository Gen-Verse/PAST-Bench (24 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 14 tokens to every session and 73 once invoked, about $0.0001 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-08-30.

Related

Other skills, from other repositories

lemmalog

Externalize working memory and logical state into the lemmalog Datalog engine (MCP). Use for ANY multi-step task where state should outlive one context window or span agents: long investigations, debugging sessions, audits, multi-agent searches, systematic explorations, planning with many interdependent constraints…

JordyZomer/lemmalog · 105 tokens

commit

Atomic git commit with conventional message. Use when the user says "commit", "save my changes", "commit this", or wants to create a git commit. Stages specific files, writes a conventional commit message with body explaining non-obvious decisions. Never uses git add -A.

congchuanling-dot/Cohort · 59 tokens

python-run

Run and debug Python scripts in the project. Use when the user says "run python", "execute this script", "debug this py file", or wants to run/modify a .py file. Handles dependency checks, linting, execution, and error analysis.

congchuanling-dot/Cohort · 56 tokens

nornweave-api

Give AI agents their own email inboxes using the NornWeave API. Use when building email agents, sending/receiving emails programmatically, managing inboxes, retrieving threads, searching messages, or integrating with email providers (Mailgun, SES, SendGrid, Resend). NornWeave provides LLM-ready markdown parsing and…

DataCovey/nornweave · 77 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes — find the root cause first instead of guessing at symptom patches.

dirge-code/dirge · 34 tokens

writing-skills

Use when creating, editing, or reviewing a dirge skill — how to structure SKILL.md, write a description that gets the skill loaded at the right time, keep it token-efficient, and verify it actually changes behavior.

dirge-code/dirge · 49 tokens