minecontext-sync-soul-mirror

Sync MineContext SQLite data to the Soul Mirror backend via Supabase edge functions.

1|Updated Apr 5, 2026
One-click install
npx skills add https://github.com/tangchunwu/skill-hub --skill minecontext-sync-soul-mirror
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minecontext-sync-soul-mirror
Source: https://github.com/tangchunwu/skill-hub/tree/main/skills/custom/data/minecontext-sync-soul-mirror
Command: npx skills add https://github.com/tangchunwu/skill-hub --skill minecontext-sync-soul-mirror

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

MineContext data is stored locally; this skill enables reliable synchronization of MineContext SQLite data (daily_reports and activities) to the Soul Mirror backend, centralizing analytics and backup.

Core Features & Use Cases

  • End-to-end synchronization of MineContext SQLite data into Soul Mirror via Supabase edge functions.
  • Key management: generate and cache sync keys within the product UI, with scoped access.
  • Validation and safety: perform SQL checks to verify data was written to daily_reports and activities for the authenticated user.

Quick Start

Configure SYNC_BASE_URL, SYNC_API_KEY, and MINECONTEXT_DB_PATH, then run the local sync script to begin syncing MineContext data.

Frequently Asked Questions about minecontext-sync-soul-mirror

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

FAQPage Schema
How do I sync SQLite data to a Supabase backend using edge functions?

To sync SQLite data to a Supabase backend, configure environment variables for the API endpoint and database path, then run a script to push records through Supabase edge functions. This centralizes local data for analytics.

What environment variables are required to sync local SQLite data to a remote backend?

Syncing local SQLite data requires configuring three environment variables: SYNC_BASE_URL for the endpoint, SYNC_API_KEY for authentication, and MINECONTEXT_DB_PATH for the database file. These enable secure data transfer.

How does data validation work when syncing SQLite records to Supabase?

Data validation works by performing SQL checks after syncing to verify that records were successfully written to the daily_reports and activities tables for the authenticated user, ensuring data integrity.

Can I manage and cache sync keys for SQLite data synchronization within the product UI?

Yes, you can generate and cache sync keys within the product UI with scoped access. This key management feature enables secure authentication when pushing SQLite data to the backend via edge functions.

What is the best way to centralize local SQLite daily reports and activities for analytics?

The best way to centralize local SQLite daily reports and activities for analytics is to run an end-to-end synchronization script that pushes local records to a remote backend through Supabase edge functions with SQL validation.