Skills for Real Engineers. Straight from my .agents directory.
update-cog
Agent skill fromhuytieu/COG-second-brain
Check for and apply upstream COG framework updates (skills, docs, scripts) without touching personal content
How to install update-cog
npx skills add huytieu/COG-second-brain# or add only this skill to Claude Code: copy the folder
skills/update-cog/
# into
~/.claude/skills/update-cog/ (all projects)
.claude/skills/update-cog/ (one project)
1# COG Update Skill23## Purpose4Help the user update their COG framework files (skills, documentation, scripts) from the official upstream repository without risking their personal content (braindumps, profiles, notes).56## When to Invoke7- User asks to "update COG", "check for updates", or "get latest COG version"8- User mentions wanting new skills or features from upstream9- User asks about their COG version1011## Process Flow1213### 1. Check Current Version14Read `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.1516### 2. Ensure Upstream Remote17```bash18# Add the upstream remote if not already present19git remote get-url cog-upstream 2>/dev/null || \20 git remote add cog-upstream https://github.com/huytieu/COG-second-brain.git2122# Fetch latest23git fetch cog-upstream main --quiet24```2526### 3. Compare Versions27```bash28# Local version29cat COG-VERSION3031# Upstream version32git show cog-upstream/main:COG-VERSION33```3435If versions match, tell the user they're up to date.3637### 4. Show What Changed38For each framework file, compare local vs upstream:39```bash40git diff HEAD..cog-upstream/main -- <file>41```4243**Framework files** (safe to update — never contain user content):44- Core docs: `README.md`, `SETUP.md`, `AGENTS.md`, `GEMINI.md`, `CHANGELOG.md`, `CONTRIBUTING.md`45- Skills: `.claude/skills/*/SKILL.md`46- Powers: `.kiro/powers/*/POWER.md`47- Gemini: `.gemini/commands/*.toml`, `.gemini/skills/*.md`48…
Excerpt shown under the repository's MIT license.
More skills in COG-second-brain
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
