Skip to content
Back to skills

Minecontext Sync Soul Mirror

ASecurity

Use when the user asks to sync MineContext SQLite data into the Soul Mirror Supabase backend, including key creation, API usage, and validation.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 26, 2026
businesspythonsqlapibackend

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 26, 2026

npx -y skills add tangchunwu/skill-hub --skill minecontext-sync-soul-mirror --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Minecontext Sync Soul Mirror?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Minecontext Sync Soul Mirror
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tangchunwu-minecontext-sync-soul-mirror/badge)](https://www.skillsdirectory.com/skills/tangchunwu-minecontext-sync-soul-mirror)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: minecontext-sync-soul-mirror
description: Use when the user asks to sync MineContext SQLite data into the Soul Mirror Supabase backend, including key creation, API usage, and validation.
---

# MineContext Sync for Soul Mirror

## Overview

This skill syncs MineContext local SQLite data (daily reports and activities) into Soul Mirror via Supabase edge functions.

## Workflow

1. Confirm target data and account
- Ensure the user wants MineContext sync (not MiniMax).
- Confirm data should map to the logged-in Soul Mirror account only.

2. Verify backend readiness
- Tables: `daily_reports`, `activities`, `minecontext_sync_keys` exist.
- Edge functions deployed:
  - `sync-minecontext` (`verify_jwt = false`)
  - `manage-minecontext-sync-key` (JWT required)

3. Generate sync key in product UI
- Settings -> MineContext 同步 -> “生成新密钥”.
- The key is cached locally until user clears it (not shown again after revoke).

4. Local sync execution
- Configure `.env.sync` with:
  - `SYNC_BASE_URL=https://<project-ref>.supabase.co/functions/v1`
  - `SYNC_API_KEY=<plain sync key>`
  - `MINECONTEXT_DB_PATH=~/Library/Application Support/MineContext/persist/sqlite/app.db`
- Run `python3 scripts/minecontext_sync.py`.

5. Validate results
- SQL checks:
  - `select count(*) from public.daily_reports where user_id = '<USER_ID>';`
  - `select count(*) from public.activities where user_id = '<USER_ID>';`

## Troubleshooting

- `401 Invalid sync key`: key revoked or wrong key; regenerate and retry.
- `inserted=0 updated=0` with non-empty data: confirm `document_type='DailyReport'` and `is_deleted=0` in local DB.
- Edge function errors: check Supabase logs and env secrets.

Files in this skill

  • SKILL.md1.7 KB
  • agents/openai.yaml195 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.