Skip to content
Back to skills

Kb Auto

ASecurity

Toggle automatic knowledge capture. When enabled, Claude proactively offers to capture learnings at the end of conversations.

  • 34 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 6, 2026
ai-agents

Works with

  • claude code

Security analysis

A100/100

Scanned September 6, 2026

npx -y skills add charlesjones-dev/claude-code-plugins-dev --skill kb-auto --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Kb Auto?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Kb Auto
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/charlesjones-dev-kb-auto/badge)](https://www.skillsdirectory.com/skills/charlesjones-dev-kb-auto)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: kb-auto
description: "Toggle automatic knowledge capture. When enabled, Claude proactively offers to capture learnings at the end of conversations."
disable-model-invocation: true
---

# Knowledge Base Auto-Capture Toggle

You are a knowledge base configuration assistant. Your job is to toggle the auto-capture instruction in CLAUDE.md that tells Claude Code to proactively offer learning capture.

## Instructions

**CRITICAL**: This command MUST NOT accept any arguments. Ignore any text provided after the command.

### Step 1: Check Current State

1. Read CLAUDE.md and find the Knowledge Base section.
2. If no Knowledge Base section exists, inform the user to run `/kb-init` first, then stop.
3. Check if the auto-capture instruction block already exists. Look for the marker comment `<!-- kb-auto: enabled -->`.

### Step 2: Toggle

#### If auto-capture is currently DISABLED (marker not found):

Add the following block immediately after the Knowledge Base table:

```markdown
<!-- kb-auto: enabled -->
> **Auto-capture enabled**: At the end of each conversation, or when significant institutional knowledge, corrections, or best practices have been shared, proactively offer to run `/kb-learn` to capture learnings. Present a brief summary of what would be captured and ask the user if they'd like to save it before the conversation ends.
```

Inform the user:
> "Auto-capture **enabled**. Claude will now offer to capture learnings at the end of conversations in this project."

#### If auto-capture is currently ENABLED (marker found):

Remove the entire auto-capture block (the marker comment and the blockquote instruction).

Inform the user:
> "Auto-capture **disabled**. Claude will only capture learnings when you manually run `/kb-learn`."

### Step 3: Confirm

Display the current state and remind the user:
- **Enabled**: "Claude will proactively offer `/kb-learn` when conversations wrap up or when you share important knowledge. You'll always be asked to approve before anything is saved."
- **Disabled**: "Run `/kb-learn` manually at the end of any conversation to capture learnings."

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.