albert-ying/agentic-cortex/sync

Claude Code and agent skill by albert-ying/agentic-cortex

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Vault sync router — orchestrates source adapters and vault updater. Use: /sync [source] [--dry-run]

Install

npx vskill@latest install albert-ying/agentic-cortex/sync

SKILL.md

Vault Sync

Orchestrates the vault sync pipeline: dispatches source adapters, collects manifests, invokes the vault-updater.

Usage

  • /sync or /sync all — run calendar + email + screenpipe adapters in parallel, then updater
  • /sync calendar — run only calendar adapter, then updater
  • /sync email — run only email adapter, then updater
  • /sync screenpipe — run only screenpipe adapter, then updater
  • /sync <source> --dry-run — generate manifest, print summary, don't apply

Session-Start Mode

When invoked by the command center at session start:

  1. Prune old manifests: Delete *-manifest-*.json files older than 7 days from .cache/sync-state/
  2. Rebuild vault index: Run python3 notes/.scripts/build_vault_index.py
  3. Wait for vault index: Block until .cache/sync-state/vault-index.json exists and is fresh (built_at within last 60s)
  4. Dispatch adapters in parallel using the Agent tool:
  • Calendar sync agent (foreground — fast, ~5s)
  • Email sync agent (foreground — moderate, ~15s)
  • Screenpipe sync agent (background — slow, ~60s)
  1. Invoke vault-updater as each manifest arrives:
  • After calendar manifest -> vault-updater
  • After email manifest -> vault-updater
  • After screenpipe manifest -> vault-updater (background notification)
  1. Surface delta briefing after each updater run

Single-Source Mode

When invoked as /sync <source>:

  1. Rebuild vault index (if older than 1 hour)
  2. Run the specified adapter
  3. If not --dry-run: invoke vault-updater with the manifest
  4. If --dry-run: print manifest summary (N changes, affected notes, confidence levels)

Adapter Dispatch

Each adapter is a separate skill invoked as a subagent:

SourceSkillTrigger
Calendarsync/calendar-syncSession start (foreground)
Emailsync/email-syncSession start (foreground)
Screenpipesync/screenpipe-syncSession start (background)

Vault Updater Dispatch

After each adapter produces a manifest:

  1. Invoke sync/vault-updater skill as a subagent
  2. Pass the manifest file path(s)
  3. Collect the delta report
  4. Surface to user: "Sync delta: Updated N notes from <source>. [details]"

Error Handling

  • If an adapter fails: log the error, skip that source, continue with others
  • Surface failures in the delta briefing: "Email sync failed: [error]. Using cached state."
  • If vault-updater fails: log error, preserve manifest for retry on next session

Manifest Pruning

At session start, before dispatching adapters:

bash
find .cache/sync-state/ -name "*-manifest-*.json" -mtime +7 -delete

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
25
Repository forks
4
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/albert-ying/agentic-cortex/sync/badge)](https://verified-skill.com/skills/albert-ying/agentic-cortex/sync)

Something wrong with this skill or its page? Tell us.