Borrowing it
Nothing to install: this file belongs to anthonylee991/gemini-superpowers-antigravity. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/anthonylee991/gemini-superpowers-antigravity/main/.agent/skills/superpowers-python-automation/SKILL.mdgit clone --depth 1 https://github.com/anthonylee991/gemini-superpowers-antigravityWrote 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/anthonylee991/gemini-superpowers-antigravity/superpowers-python-automation)<a href="https://agentmods.dev/skills/anthonylee991/gemini-superpowers-antigravity/superpowers-python-automation"><img src="https://agentmods.dev/badge/skills/anthonylee991/gemini-superpowers-antigravity/superpowers-python-automation/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/anthonylee991/gemini-superpowers-antigravity/superpowers-python-automation"><img src="https://agentmods.dev/badge/skills/anthonylee991/gemini-superpowers-antigravity/superpowers-python-automation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00050 | $0.00666 |
| Opus 5.5 | $0.00020 | $0.00266 |
| Sonnet 5.5 | $0.00010 | $0.00133 |
| Haiku 4.5 | $0.00005 | $0.00067 |
Grade A, and why
superpowers-python-automation 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Python Automation Skill
This skill provides concrete Python patterns to implement robust REST API automations.
When to use this skill
- Python scripts that call one or more REST APIs
- ETL jobs, sync tools, webhook handlers
- CLI tools or small services that integrate external systems
Preferred stack (defaults)
- HTTP client: httpx (preferred) or requests
- Config: env vars +
.env(optional) with pydantic-settings if appropriate - Logging: stdlib
loggingwith structured-ish fields - Testing: pytest (+ respx for httpx mocking when useful)
If the project already uses different tools, follow project conventions.
Reference architecture (small but scalable)
client.py: API client wrapper (auth headers, retries, pagination helpers)models.py: typed payload models (dataclasses or pydantic)sync.py: orchestration logic (fetch -> transform -> upsert)main.py: CLI entrypointtests/: unit tests for transform + client behavior
HTTP rules (mandatory)
- Always set timeouts (connect + read)
- Centralize request sending in one function so retries/logging are consistent
- Never log secrets (Authorization headers, tokens)
Retry policy guidance
Retry on:
- network errors/timeouts
- 429 (respect Retry-After when present)
- 500–599 Optional: 408, and 409 only if operation is safe and semantics known
Do NOT retry on:
- most 400–499 (unless explicitly safe)
Timeouts
- Set explicit timeouts; do not rely on defaults.
- Use smaller connect timeout; moderate read timeout.
Pagination patterns
Support at least one helper that can handle:
nextURL in response- cursor token in response
- page/limit parameters
Add a hard stop:
- max pages OR max items OR max elapsed time
Idempotency patterns (Python)
Choose and document:
- Use an
Idempotency-Keyheader when supported - Upsert using a stable
external_id - Persist a lightweight state store:
- simplest: SQLite file (recommended for OSS)
- alternative: JSONL log + compaction
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.
- 2mo ago First seen · 98 lines · 0 tokens per session scan A 727af82cb399
superpowers-python-automation is a skill published in the GitHub repository anthonylee991/gemini-superpowers-antigravity (848 stars, last pushed 9mo ago), licensed MIT. It adds 50 tokens to every session and 666 once invoked, about $0.0002 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-08-30.
superpowers-python-automation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| superpowers-python-automationanthonylee991/gemini-superpowers-antigravity | Skill | 848 | 9mo ago | MIT | A | 50 | Claude Code, Codex |
| fastapi-patternsaffaan-m/ECC | Skill | 298k | 4d ago | MIT | A | 35 | Claude Code, Kiro |
| stripe-projectse2b-dev/E2B | Skill | 15k | yesterday | Apache-2.0 | A | 51 | Claude Code, Codex |
| azure-mgmt-botservice-pymicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 59 | Claude Code |
| azure-messaging-webpubsubservice-pymicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 64 | Claude Code |
| azure-messaging-webpubsubservice-pybenjaminasterA/antigravity-awesome-skills | Skill | 461 | yesterday | MIT | A | 0 | Claude Code, Codex |
| azure-appconfiguration-pybenjaminasterA/antigravity-awesome-skills | Skill | 461 | yesterday | MIT | A | 0 | Claude Code, Codex |