Automated summary
This skill records architectural decisions, bug root causes, feature designs and other critical findings into a Markdown knowledge base organised by category, keeping an INDEX.md up to date.
Strengths
- Defines a clear category tree (architecture, decisions, features, bugs, futureplans, seo) with explicit criteria for picking the right one
- Requires reading INDEX.md first so near-duplicate entries are avoided
- Supplies a consistent entry format with frontmatter (date, tags) and a concise 5-to-20-line guideline focused on the why
- Spells out which situations should trigger automatic capture and which should not (trivial edits, temporary debugging steps)
Limitations
- The storage path is hardcoded to lambda/scripts/memory/, so the skill does not work as-is on another project without edits
- There is no search, query or content validation: accuracy and freshness depend entirely on writing discipline at capture time
- Ordering entries by relevance and inventing new categories are manual steps that can drift out of sync
Use it when a significant technical decision is made, a non-obvious bug is resolved, or a new subsystem is designed, so the reasoning stays available to the team.
Avoid it for routine code changes, throwaway debugging steps, or anything the user explicitly flags as experimental.
Security analysis
SafeThe skill only instructs reading and writing Markdown knowledge base files within a specific project directory. It does not execute shell commands, exfiltrate data, or perform destructive actions. No obfuscated or dangerous payloads are present.
No concerns found
How this analysis is madeExamples
kb: we chose SQLite over Postgres for the local sync store because the app must run offline with zero setupkb: the infinite sync loop happened because the watcher echoed its own writes back — document the root cause and fixkb: capture our plan for a plugin marketplace in Q3, including the open questions about sandboxingname: kb description: 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. disable-model-invocation: false argument-hint: [what to capture]
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
| Category | Directory | When to use |
|----------|-----------|-------------|
| Architecture | architecture/ | System design, infrastructure, sync protocols, data formats, tech stack choices |
| Decisions | decisions/ | "We chose X over Y because Z" — explicit tradeoff analysis |
| Features | features/ | Product feature descriptions, UX designs, user-facing behavior |
| Bugs | bugs/ | Non-obvious bug root causes, debugging patterns worth remembering |
| Future Plans | futureplans/ | Planned work not yet started — roadmap items, RFCs for future features |
| SEO | seo/ | 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
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/knowledge-base-capture-msba3lze/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/knowledge-base-capture-msba3lze' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/knowledge-base-capture-msba3lze/download' --output '.skill-downloads/knowledge-base-capture-msba3lze/SKILL.md.part' && mv '.skill-downloads/knowledge-base-capture-msba3lze/SKILL.md.part' '.skill-downloads/knowledge-base-capture-msba3lze/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/knowledge-base-capture-msba3lze/SKILL.md' && test -s '.skill-downloads/knowledge-base-capture-msba3lze/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/kb' && cp -R '.skill-downloads/knowledge-base-capture-msba3lze' '.claude/skills/kb'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/knowledge-base-capture-msba3lze'openskills read 'knowledge-base-capture-msba3lze'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/knowledge-base-capture-msba3lze/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Supabase Docs Authoring
Documentation
Write, edit, and review Supabase documentation content including guides, tutorials, reference docs, and partials. Follow style guides and MDX/TOML validation rules.
Create Architecture Decision Record
Documentation
Create a new Architecture Decision Record with sequential numbering, register it in the AgentDB graph, and link related ADRs.
Plan update with deep research
Documentation
Updates a plan document by launching parallel subagents to analyze a topic across all compiler passes, then consolidates findings into the plan doc.