Records important technical designs, bug fixes, and architecture decisions in a structured KB.

Install

mkdir -p .claude/skills/kb && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17314" && unzip -o skill.zip -d .claude/skills/kb && rm skill.zip

Installs to .claude/skills/kb

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Capture important architectural decisions, bug patterns, feature designs, or other critical findings into the project knowledge base. Use proactively when significant technical decisions are made, non-obvious bugs are resolved, new subsystems are designed, or important product features are discussed.
301 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Beginner

Key capabilities

  • Capture architectural decisions into the knowledge base
  • Document non-obvious bug root causes
  • Record new subsystem designs and data formats
  • Capture significant refactor changes
  • Document product strategy and feature scope discussions
  • Store performance investigation findings

How it works

The skill captures important technical information by creating a new markdown file in a categorized directory within `lambda/scripts/memory/` and updating the `INDEX.md` with a one-liner entry.

Inputs & outputs

You give it
A description of a technical finding, decision, or design
You get back
A new markdown file in the knowledge base and an updated `INDEX.md`

When to use kb

  • Capturing architectural decisions
  • Documenting bug root causes
  • Designing future features

About this skill

Knowledge Base Capture

Capture this into the knowledge base: $ARGUMENTS

Knowledge Base Location

All files live in lambda/scripts/memory/. The index is at lambda/scripts/memory/INDEX.md.

Step 1: Read the current index

Read lambda/scripts/memory/INDEX.md to understand what's already captured and avoid duplicates.

Step 2: Choose a category

CategoryDirectoryWhen to use
Architecturearchitecture/System design, infrastructure, sync protocols, data formats, tech stack choices
Decisionsdecisions/"We chose X over Y because Z" — explicit tradeoff analysis
Featuresfeatures/Product feature descriptions, UX designs, user-facing behavior
Bugsbugs/Non-obvious bug root causes, debugging patterns worth remembering
Future Plansfutureplans/Planned work not yet started — roadmap items, RFCs for future features
SEOseo/SEO research, keyword analysis, backlink data, Core Web Vitals

If none fit, create a new category directory and add a section to INDEX.md.

Step 3: Create the entry file

Filename: lowercase-kebab-case, descriptive. Example: watch-echo-loop-bug.md

Entry format:

---
date: YYYY-MM-DD
tags: [relevant, tags]
---
# Title

Concise description of the finding/decision/pattern.
Keep it 5-20 lines. Link to relevant source files where useful.
Focus on the WHY and the non-obvious parts — assume the reader is a developer familiar with the codebase.

Step 4: Update INDEX.md

Add a one-liner entry under the appropriate category heading:

- [filename.md](category/filename.md) — concise one-liner (max 80 chars)

Keep entries sorted by relevance within each category (most important first), not by date.

When to auto-invoke this skill

Capture knowledge when ANY of these happen during a conversation:

  • An architectural decision is made (chose X over Y)
  • A non-obvious bug root cause is discovered
  • A new subsystem or data format is designed
  • A significant refactor changes how something works
  • The user discusses product strategy or feature scope
  • Performance investigation reveals important findings
  • A workaround for an external limitation is implemented

Do NOT capture:

  • Routine code changes (rename variable, fix typo)
  • Information already in the knowledge base
  • Temporary debugging steps
  • Anything the user explicitly says is experimental/throwaway

When not to use it

  • When documenting routine code changes like variable renames or typos
  • When the information is already present in the knowledge base
  • When recording temporary debugging steps

Limitations

  • The knowledge base files are located in `lambda/scripts/memory/`
  • Entries must be 5-20 lines and focus on the WHY and non-obvious parts
  • The skill does not capture routine code changes or temporary debugging steps

How it compares

This skill provides a structured and indexed way to store critical project knowledge, ensuring that important decisions and findings are easily retrievable, unlike informal notes or undocumented discussions.

Compared to similar skills

kb side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
kb (this skill)04moNo flagsBeginner
ejs-session-init04moReviewBeginner
meeting-minutes415moNo flagsBeginner
notion-knowledge-capture108moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry