LogoClawIndex
CasesSkillsAbout
LogoClawIndex

data-sync - Synchronize external data into collection JSON

Fetches external API data, validates and maps records, then safely writes sorted collection JSON through scripts/sync.

Tags

Updated: 2026-11-05

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Load configured data sources
  • Fetch paginated API data
  • Validate statuses and records
  • Retry transient requests with backoff
  • Cache repeatable requests
  • Map fields to collection schemas
  • Write sorted JSON atomically
  • Block empty or sudden-drop writes
  • Report differences and failures

Inputs

  • Configured data source modules
  • External API endpoints
  • SYNC_* environment variables
  • Category mapping file
  • Previous collection JSON

Outputs

  • Updated src/data/*.json files
  • Dry-run difference reports
  • Sync logs
  • Exit status
  • Previous data retained after failure

Requirements

  • Node.js project with pnpm
  • scripts/sync runner and source modules
  • Network access to selected APIs
  • Write access to data files
  • Required source environment variables
  • Collection schema and category definitions

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
data synchronization
external API
JSON
data validation
caching
retry handling
Bilibili
Load configured data sources
Fetch paginated API data
Validate statuses and records
Retry transient requests with backoff
Configured data source modules
External API endpoints
SYNC_* environment variables
Updated src/data/*.json files
Dry-run difference reports
Sync logs