wakapi-sync

Daily Wakapi (WakaTime-compatible) summary → local CSV files. Fetch today stats and append/update CSVs for totals, top projects, and top languages.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "wakapi-sync" with this command: npx skills add cosformula/wakapi-sync-skill

wakapi-sync

Daily Wakapi (WakaTime-compatible) summary → local CSV files.

What it does

  • Fetches today stats from Wakapi and appends/updates CSVs:
    • daily-total.csv (1 row/day)
    • daily-top-projects.csv (N rows/day)
    • daily-top-languages.csv (N rows/day)

Requirements

  • Node.js 18+

Configuration (env vars)

  • WAKAPI_URL (required)
    • Example: https://wakapi.example.com
  • WAKAPI_API_KEY (required)
    • Your Wakapi API key.
  • WAKAPI_OUT_DIR (required)
    • Output directory for CSVs.
    • Example: ~/wakapi-data

Optional:

  • WAKAPI_TOP_N_PROJECTS (default: 10)
  • WAKAPI_TOP_N_LANGUAGES (default: 10)

Auth:

  • Uses Authorization: Basic base64(<api_key>) (matches our current Wakapi setup).

Usage

Run:

node scripts/wakapi-daily-summary.mjs

Output CSV schemas

daily-total.csv

Columns:

  • date (YYYY-MM-DD)
  • total_seconds
  • total_hours
  • projects_count
  • languages_count

daily-top-projects.csv

Columns:

  • date
  • rank
  • project
  • seconds
  • hours
  • percent

daily-top-languages.csv

Columns:

  • date
  • rank
  • language
  • seconds
  • hours
  • percent

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Accelo

Accelo integration. Manage Organizations, Leads, Pipelines, Users, Goals, Filters. Use when the user wants to interact with Accelo data.

Registry SourceRecently Updated
General

8X8

8x8 integration. Manage Persons, Organizations, Deals, Leads, Activities, Notes and more. Use when the user wants to interact with 8x8 data.

Registry SourceRecently Updated
General

7Shifts

7shifts integration. Manage Companies. Use when the user wants to interact with 7shifts data.

Registry SourceRecently Updated
General

46Elks

46elks integration. Manage Organizations. Use when the user wants to interact with 46elks data.

Registry SourceRecently Updated