python-automation
Implements reliable automations in Python for REST APIs: httpx/requests patterns, retries, timeouts, pagination, typing, config, logging, and tests.
Skill by aryansx
Chalk Labs
Need help deploying python-automation?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/aryansx-python-automation
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, writing, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/python-automation
What's inside
- Skill name
python-automation- Description
- Implements reliable automations in Python for REST APIs: httpx/requests patterns, retries, timeouts, pagination, typing, config, logging, and tests. Use when writing Python scripts/services that call external APIs.
- License
- MIT
- Instructions
- 94 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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 `logging` with 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 entrypoint - `tests/`: 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: - `next` URL 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-Key` header when supported - Upsert using a stable `external_id` - Persist a lightweight state store: - simplest: SQLite file (recommended for OSS) - alternative: JSONL log + compaction Minimum: ensure repeated runs don’t create duplicates. --- ## Observability (Python) Minimum logs should include: - `run_id` - request: method, url/path, status_code, elapsed_ms, attempt - record counts: processed/created/updated/skipped/failed Also include a final summary log line. --- ## Verification requirements For non-trivial work, add: - unit tests for mapping/transform logic - at least one test for pagination or retry behavior (mocked) - a “dry-run” CLI flag (prints intended writes) --- ## Output format when writing code - Provide a small directory layout - Explain how to configure env vars - Include exact commands to run (and test)
From aryansx/antigravity-superpowers-plugin, MIT.
More from aryansx/antigravity-superpowers-plugin
- 0.499score
workflow
aryansx
Enforces a disciplined workflow for coding, debugging, refactoring, and automation: brainstorm -> plan -> implement with verification (prefer TDD) -> review…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
tdd
aryansx
Applies tests-first discipline (red/green/refactor) and adds regression tests for bugs.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
rest-automation
aryansx
Builds reliable automations that integrate with REST APIs: auth, pagination, retries, rate limits, idempotency, webhooks, data mapping, and safe error handling.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
debug
aryansx
Systematic debugging: reproduce, isolate, form hypotheses, instrument, fix, and add regression tests.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
plan
aryansx
Writes an implementation plan with small steps, exact files to touch, and verification commands.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
finish
aryansx
Finalizes work: runs verification, summarizes changes, notes follow-ups, and ensures repo hygiene.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
brainstorm
aryansx
Produces a structured brainstorm: goals, constraints, risks, options, recommendation, and acceptance criteria.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
review
aryansx
Reviews changes for correctness, edge cases, style, security, and maintainability with severity levels (Blocker/Major/Minor/Nit).
SkillCFreshness: C★ 1Claude Code +9 - 0.490score
execute-plan-parallel
aryansx
Execute an approved plan with parallel execution for independent steps.
SkillCFreshness: C★ 1Claude Code +9 - 0.490score
execute-plan
aryansx
Executes an approved plan in small steps with verification after each step.
SkillCFreshness: C★ 1Claude Code +9 - 0.487score
write-plan
aryansx
Superpowers plan gate.
SkillCFreshness: C★ 1Claude Code +9 - 0.487score
finish
aryansx
Finalize work: verification, summary, follow-ups, manual validation steps.
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 22, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from aryansx
- 0.499score
workflow
aryansx
Enforces a disciplined workflow for coding, debugging, refactoring, and automation: brainstorm -> plan -> implement with verification (prefer TDD) -> review…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
tdd
aryansx
Applies tests-first discipline (red/green/refactor) and adds regression tests for bugs.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
debug
aryansx
Systematic debugging: reproduce, isolate, form hypotheses, instrument, fix, and add regression tests.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
rest-automation
aryansx
Builds reliable automations that integrate with REST APIs: auth, pagination, retries, rate limits, idempotency, webhooks, data mapping, and safe error handling.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
plan
aryansx
Writes an implementation plan with small steps, exact files to touch, and verification commands.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
brainstorm
aryansx
Produces a structured brainstorm: goals, constraints, risks, options, recommendation, and acceptance criteria.
SkillCFreshness: C★ 1Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get python-automation running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
python-automation skill. Agent Mart. https://agentmart.dev/skills/aryansx-python-automation (last updated 2026-10-24)