Tooluck logoTooluck
SKILL.md

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)

skills/update-knowledge-base/SKILL.md

MITFull file
1# COG Update Knowledge Base Skill
2
3## When to Invoke
4- After a release — update product knowledge with new features and changes
5- User says "update knowledge base", "update KB", "sync knowledge", "update product docs"
6- Periodic maintenance — ensure knowledge base reflects current product state
7- After major feature launches, architecture changes, or deprecations
8
9## Agent Mode Awareness
10
11**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 simultaneously
13- If `agent_mode: solo` — process updates sequentially, one knowledge file at a time
14
15## Command: `/update-knowledge-base`
16
17## Pre-Flight Check
18
191. **Read `00-inbox/MY-INTEGRATIONS.md`** for active data sources and publishing targets
202. **Read `00-inbox/MY-PROFILE.md`** for active projects
213. **Get current timestamp:** Run `date '+%Y-%m-%d %H:%M'` using Bash
224. **Scan existing knowledge base:** Glob `05-knowledge/**/*.md` to understand current state
23
24---
25
26## Execution Strategy
27
28### Phase 1: Determine Update Scope
29
30Ask the user (or infer from context):
31
32```
33What triggered this knowledge base update?
34
35a) 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.

More skills in COG-second-brain

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates