auto-research
Deep strategic research engine — decomposes questions into parallel research threads, spawns…
Check for and apply upstream COG framework updates (skills, docs, scripts) without touching personal content
$ npx -y skills add huytieu/COG-second-brain --skill update-cog --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/update-cogContext preview
The summary Claude sees to decide when to auto-load this skill.
Check for and apply upstream COG framework updates (skills, docs, scripts) without touching personal content
name: update-cog description: Check for and apply upstream COG framework updates (skills, docs, scripts) without touching personal content roles: [all] integrations: [git]
Help the user update their COG framework files (skills, documentation, scripts) from the official upstream repository without risking their personal content (braindumps, profiles, notes).
Read `COG-VERSION` from the vault root. If it doesn't exist, inform the user they may be on an older version that predates version tracking.
# Add the upstream remote if not already present git remote get-url cog-upstream 2>/dev/null || \ git remote add cog-upstream https://github.com/huytieu/COG-second-brain.git # Fetch latest git fetch cog-upstream main --quiet
# Local version cat COG-VERSION # Upstream version git show cog-upstream/main:COG-VERSION
If versions match, tell the user they're up to date.
For each framework file, compare local vs upstream:
git diff HEAD..cog-upstream/main -- <file>
**Framework files** (safe to update — never contain user content):
Before updating, check if the user has customized any framework files:
# Show how the working tree differs from current upstream HEAD. # NOTE: this cannot tell a local customization apart from an upstream # change you have not pulled yet — both show up as a diff. Treat any # output as "needs a look", not as proof the user edited the file. git diff cog-upstream/main -- <file>
If a file differs, warn the user and offer options:
For files the user approves:
# Surgical file replacement — no merge, no rebase, zero conflict risk git checkout cog-upstream/main -- <file>
After updating:
git add -A && git commit -m "Update COG framework to v<new-version>"
For users who prefer a non-AI update, mention the update script:
./cog-update.sh # Interactive ./cog-update.sh --check # Just check for updates ./cog-update.sh --dry-run # Preview changes ./cog-update.sh --force # Update everything
Cognition + Obsidian + Git — A self-evolving second brain powered by AI agents, markdown files, and version control. No database, no vendor lock-in — just .md files that think.
Deep strategic research engine — decomposes questions into parallel research threads, spawns…
Quick capture of raw thoughts with intelligent domain classification and competitive…
Run one task through the V-model verification loop: CP-2 plan → CP-3 build → CP-3v component…
Deep-dive 7-day analysis across all data sources for weekly reviews, board prep, and…
Autonomous content pipeline - scout announcements in your field, triage by trend momentum and…
Create user stories with duplicate checking across any project tracker (Linear, GitHub…