Skip to content
Agentmart
Submit a tool

call-http

Adds one urllib.request helper that GETs or POSTs JSON.

Skill by YauhenBichel

IndexedApache-2.0★ 3
Write a review

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/yauhenbichel-call-http

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.

We use your email only for this newsletter. Privacy

About

Adds one urllib.request helper that GETs or POSTs JSON. Use for HTTP API, REST, curl-shaped fetches. Never emit curl or a pipe to sh.

Use cases: backend

No 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/call-http

What's inside

Skill name
call-http
Description
Adds one urllib.request helper that GETs or POSTs JSON. Use for HTTP API, REST, curl-shaped fetches. Never emit curl or a pipe to sh.
License
Apache-2.0
Instructions
22 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Files (1)

  • SKILL.md

SKILL.md (first lines)

stdlib urllib only. Timeout. Raise on HTTP errors. No curl. No secrets.

Action: edit
Path: pkg/fetch_json.py
import json
import urllib.error
import urllib.request
from typing import Any


def fetch_json(url: str, timeout: float = 10.0) -> dict[str, Any]:
    request = urllib.request.Request(url, headers={"accept": "application/json"})
    try:
        with urllib.request.urlopen(request, timeout=timeout) as response:
            payload = json.loads(response.read().decode("utf-8"))
    except urllib.error.HTTPError as exc:
        raise ValueError(f"HTTP {exc.code} for {url}") from exc
    if not isinstance(payload, dict):
        raise ValueError("json object required")
    return payload

From YauhenBichel/py-harness, Apache-2.0.

More from YauhenBichel/py-harness

Signals

Stars
3
Forks
5
Open issues
48
Last commit (this folder)
Aug 29, 2026 (2 months ago)
Last release
Sep 9, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from YauhenBichel

Cite this page

call-http skill. Agent Mart. https://agentmart.dev/skills/yauhenbichel-call-http (last updated 2026-10-24)