update-cog

Update local COG framework from upstream while preserving user content.

814|99|Updated Oct 15, 2025
One-click install
npx skills add https://github.com/huytieu/COG-second-brain --skill update-cog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-cog
Source: https://github.com/huytieu/COG-second-brain/tree/main/.claude/skills/update-cog
Command: npx skills add https://github.com/huytieu/COG-second-brain --skill update-cog

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeps local COG framework aligned with upstream while protecting personal content and customizations.

Core Features & Use Cases

  • Detect local version vs upstream and alert when updates are available.
  • Apply updates selectively with surgical file replacement to avoid touching user data.
  • Show a concise changelog of updated files and offer a backup option before applying changes.

Quick Start

Ask your AI agent to run the update process to fetch and apply the latest upstream COG framework changes.

Frequently Asked Questions about update-cog

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

FAQPage Schema
How do I update the COG framework from upstream without losing my custom files?

Updating the COG framework from upstream uses surgical file replacement to sync changes. This process explicitly preserves your personal content and custom configurations while applying official updates.

How does the COG framework check for upstream version changes?

The COG framework checks for upstream version changes by comparing a local COG-VERSION file against the remote repository. It alerts you when new features or fixes are available to sync.

Can I selectively apply upstream updates to specific COG configuration files?

Yes, you can selectively apply upstream updates to specific COG configuration files. The update process allows surgical file replacements, ensuring only targeted docs or configs are synced without touching personal data.

What is the safest way to sync local COG skills with the official repository?

The safest way to sync local COG skills with the official repository involves managing git remotes, comparing diffs, and creating a backup. This ensures your local framework aligns with upstream without data loss.

Does the COG update process create a backup before applying upstream changes?

Yes, the COG update process offers a backup option before applying upstream changes. It also displays a concise changelog of updated files so you can review modifications before committing.

Why should I use surgical file replacement when updating the COG framework?

You should use surgical file replacement when updating the COG framework to avoid touching user data. It distinguishes between core framework files needing updates and personal customizations requiring preservation.