upfetch

Perform HTTP requests with dynamic defaults, validation, retries, and streaming.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/sc30gsw/jikan-log --skill upfetch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: upfetch
Source: https://github.com/sc30gsw/jikan-log/tree/main/.agents/skills/upfetch
Command: npx skills add https://github.com/sc30gsw/jikan-log --skill upfetch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a reusable fetch client that handles dynamic defaults, authentication, request shaping, response validation, retries, timeouts, and streaming, removing boilerplate and reducing errors in HTTP requests.

Core Features & Use Cases

  • Dynamic defaults: per‑request configuration of base URL, headers, parameters, and body.
  • Auth and request shaping: automatically inject fresh tokens and serialize query strings and bodies.
  • Validation and error handling: integrates Zod or Valibot schemas, custom retry logic, and lifecycle hooks.
  • Streaming and runtime caveats: supports upload and download progress and works with the global fetch implementation.

Quick Start

Ask the assistant to perform an authenticated GET request to /users/1 with response validation using the upfetch skill.

Frequently Asked Questions about upfetch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add retry logic and timeouts to HTTP fetch requests?

You can add retry logic and timeouts to HTTP fetch requests by configuring a client that supports custom retry strategies and lifecycle hooks. This Skill handles automatic retries and timeout enforcement to reduce boilerplate in API calls.

How do I validate API response data using Zod or Valibot schemas?

Validating API response data using Zod or Valibot schemas involves passing the schema to your HTTP client to automatically parse and verify the response structure. This Skill integrates schema validation directly into the fetch workflow to ensure type safety.

Can I use this fetch client for streaming uploads and downloads in Node environments?

Yes, you can use this fetch client for streaming uploads and downloads in Node environments. It supports upload and download progress tracking and works with the global fetch implementation across both web and Node platforms.

What is the best way to inject dynamic auth tokens into API requests?

The best way to inject dynamic auth tokens into API requests is using a client with request shaping and lifecycle hooks. This Skill automatically injects fresh tokens and serializes query strings and bodies per request without manual header manipulation.

Do I need a specific fetch implementation to use this API client?

Yes, you need a fetch implementation to use this API client, as it does not include one natively. It requires a global or custom fetch implementation provided by your environment, such as native browser fetch or Node.js fetch.

Why does my API request fail when default headers and base URLs are not configured dynamically?

API requests fail without dynamic defaults because static configurations cannot adapt to changing endpoints or authentication requirements. This Skill allows per-request configuration of base URLs, headers, parameters, and bodies to prevent misconfiguration errors.