IN

incremental-fetch

Ensures reliable data pipelines using a two-watermark system to prevent duplicates and data gaps.

Install

mkdir -p .claude/skills/incremental-fetch && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15524" && unzip -o skill.zip -d .claude/skills/incremental-fetch && rm skill.zip

Installs to .claude/skills/incremental-fetch

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Build resilient data ingestion pipelines from APIs. Use when creating scripts that fetch paginated data from external APIs (Twitter, exchanges, any REST API) and need to track progress, avoid duplicates, handle rate limits, and support both incremental updates and historical backfills. Triggers: 'ingest data from API', 'pull tweets', 'fetch historical data', 'sync from X', 'build a data pipeline', 'fetch without re-downloading', 'resume the download', 'backfill older data'. NOT for: simple one-shot API calls, websocket/streaming connections, file downloads, or APIs without pagination.
591 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Advanced

Key capabilities

  • →Track progress using two watermarks for forward and backward fetching
  • →Save data records after each page fetch
  • →Update watermarks only at the end of a successful run
  • →Handle API rate limits gracefully
  • →Adapt to different pagination types like cursor or timestamp

How it works

This skill builds resilient data ingestion pipelines from APIs by using a two-watermark pattern to track progress and manage data fetching.

Inputs & outputs

You give it
A request to ingest paginated data from an external API
You get back
A resilient data ingestion pipeline that avoids duplicates and supports incremental updates and historical backfills

When to use incremental-fetch

  • →Ingesting paginated data from REST APIs
  • →Syncing tweets or feed data
  • →Building a resilient backfill pipeline

About incremental-fetch

Implements persistent fetching pipelines that track progress through watermarks. This ensures the ability to resume downloads, avoid redundant calls, and perform historical backfills safely.

Build resilient data ingestion pipelines from APIs. Use when creating scripts that fetch paginated data from external APIs (Twitter, exchanges, any REST API) and need to track progress, avoid duplicates, handle rate limits, and support both incremental updates and historical backfills. Triggers: 'in

When not to use it

  • →For simple one-shot API calls
  • →For websocket/streaming connections
  • →For file downloads

Limitations

  • →The skill is not for APIs without pagination
  • →The skill focuses on ID-based pagination
  • →The skill requires a database for state management

How it compares

This skill implements a persistent fetching pipeline that prevents data loss and re-fetching, which is more reliable than simple API calls.

Compared to similar skills

incremental-fetch side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
incremental-fetch (this skill)07moNo flagsAdvanced
crawl4ai2110moReviewIntermediate
apify95moReviewIntermediate
douyin-scraper-skill05moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry