update-knowledge-base
Agent skill fromhuytieu/COG-second-brain
Maintain and update product knowledge base from releases, features, and project changes with optional wiki sync
How to install update-knowledge-base
install update-knowledge-base
# install the COG-second-brain pack with the skills CLI
npx skills add huytieu/COG-second-brain# or add only this skill to Claude Code: copy the folder
skills/update-knowledge-base/
# into
~/.claude/skills/update-knowledge-base/ (all projects)
.claude/skills/update-knowledge-base/ (one project)
1# COG Update Knowledge Base Skill23## When to Invoke4- After a release — update product knowledge with new features and changes5- User says "update knowledge base", "update KB", "sync knowledge", "update product docs"6- Periodic maintenance — ensure knowledge base reflects current product state7- After major feature launches, architecture changes, or deprecations89## Agent Mode Awareness1011**Check `agent_mode` in `00-inbox/MY-PROFILE.md` frontmatter:**12- If `agent_mode: team` — use parallel agents to scan multiple sources and update multiple knowledge files simultaneously13- If `agent_mode: solo` — process updates sequentially, one knowledge file at a time1415## Command: `/update-knowledge-base`1617## Pre-Flight Check18191. **Read `00-inbox/MY-INTEGRATIONS.md`** for active data sources and publishing targets202. **Read `00-inbox/MY-PROFILE.md`** for active projects213. **Get current timestamp:** Run `date '+%Y-%m-%d %H:%M'` using Bash224. **Scan existing knowledge base:** Glob `05-knowledge/**/*.md` to understand current state2324---2526## Execution Strategy2728### Phase 1: Determine Update Scope2930Ask the user (or infer from context):3132```33What triggered this knowledge base update?3435a) New release shipped (I'll pull changes from release notes and tracker)36b) Feature launched or updated (I'll document the feature)37c) Architecture or technical change (I'll update technical knowledge)38d) Periodic review (I'll scan for anything that's changed since last update)39…
Excerpt shown under the repository's MIT license.
