Not loaded · from founder-os
Bidirectional sync between a local SQLite Intelligence database and a Notion database, pushing patterns and healing data with column mapping and pulling Notion edits.
Claude Code won't load this skill
It ships in founder-os at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Syncs learned patterns and healing data between the local Intelligence DB and the [FOS] Intelligence Notion database. Sync is triggered explicitly by /founder-os:memory:sync (shared with Memory Engine). It is NOT triggered automatically by read-only commands like /founder-os:intel:status.
Follow the standard 3-step discovery pattern:
For each row in patterns where updated_at is newer than the last sync timestamp (from config where key = 'notion.last_sync'):
| SQLite Column | Notion Property | Transform |
|---|---|---|
description | Pattern (title) | Direct |
plugin | Plugin (select) | Null → "Cross-Plugin" |
pattern_type | Type (select) | Capitalize: taste → "Taste", workflow → "Workflow" |
confidence | Confidence (number) | Direct (0.0–1.0) |
status | Status (status) | Capitalize: active → "Active", approved → "Approved", rejected → "Rejected" |
observations | Observations (number) | Direct |
confirmations | Confirmations (number) | Direct |
rejections | Rejections (number) | Direct |
updated_at | Last Applied (date) | ISO 8601 |
instruction | Instruction (rich_text) | Direct |
Use pattern_id as the external ID to match existing Notion pages on subsequent syncs (upsert, not duplicate).
For each row in healing_patterns where last_seen is newer than the last sync timestamp:
| SQLite Column | Notion Property | Transform |
|---|---|---|
error_signature | Pattern (title) | Direct |
plugin | Plugin (select) | Null → "Cross-Plugin" |
| (fixed) | Type (select) | Fixed: "Healing" |
| (calculated) | Confidence (number) | success_count / max(1, success_count + failure_count) |
| (fixed) | Status (status) | Fixed: "Active" |
success_count + failure_count | Observations (number) | Sum |
last_seen | Last Applied (date) | ISO 8601 |
fix_action + fallback_action | Instruction (rich_text) | Concatenate: "Fix: {fix_action}. Fallback: {fallback_action}" |
Use healing_pattern_id as the external ID for upsert matching.
When a user edits a pattern page in Notion, pull the following fields back to the local patterns table:
patterns.status, normalized to lowercasepatterns.instructionpatterns.confidencePull is scoped to pages with a matching external ID in the local DB. Pages created directly in Notion (no external ID) are NOT synced back — patterns must originate from observations captured by the hooks layer.
After a successful sync run, store the current timestamp in the config table:
INSERT OR REPLACE INTO config (key, value) VALUES ('notion.last_sync', datetime('now'))
On subsequent syncs, use this timestamp to filter only changed rows:
-- Patterns changed since last sync
SELECT * FROM patterns WHERE updated_at > (SELECT value FROM config WHERE key = 'notion.last_sync')
-- Healing patterns changed since last sync
SELECT * FROM healing_patterns WHERE last_seen > (SELECT value FROM config WHERE key = 'notion.last_sync')
If notion.last_sync does not exist (first sync), push all rows.
After each sync, return a summary object:
{
"pushed": {
"patterns": <count>,
"healing_patterns": <count>
},
"pulled": {
"status_changes": <count>,
"instruction_edits": <count>,
"confidence_overrides": <count>
},
"errors": <count>,
"last_sync": "<ISO 8601 timestamp>"
}
{ "status": "unavailable" }.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
notion-sync, sqlite, knowledge-management, bidirectional-sync
npx claudepluginhub thecloudtips/founder-os --plugin founder-os97 skills in this plugin
/action-extractionAction ExtractionConverts meeting transcripts, email threads, and documents into structured Notion tasks. Activates when the user pastes text and wants action items extracted, asks 'what tasks are in this?', or needs to parse any content for to-dos, assignments, and commitments. Handles verb detection, owner inference, deadline parsing, and duplicate checking against HQ Tasks./activity-loggingActivity LoggingCreates and manages activity records in the CRM Communications database with AI-generated summaries. Activates when the user wants to log an email or meeting to CRM, record a client interaction, or asks 'save this to the client record.' Handles idempotent operations, deduplication, and AI summarization./answer-synthesisOther plugins' skills for the same job