kb-auto
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
- Read CLAUDE.md and find the Knowledge Base section.
- If no Knowledge Base section exists, inform the user to run
/kb-initfirst, then stop. - 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:
<!-- 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-learnwhen conversations wrap up or when you share important knowledge. You'll always be asked to approve before anything is saved." - Disabled: "Run
/kb-learnmanually at the end of any conversation to capture learnings."
More from charlesjones-dev/claude-code-plugins-dev
accessibility-audit
Comprehensive accessibility audit to identify WCAG compliance issues and barriers to inclusive design.
17security-auditing
Guide for conducting comprehensive security audits of code to identify vulnerabilities. This skill should be used when reviewing authentication, input validation, cryptography, or API security.
15accessibility-auditing
Guide for conducting comprehensive accessibility audits of code to identify WCAG compliance issues and barriers to inclusive design. This skill should be used when reviewing accessibility, ARIA implementation, keyboard navigation, or screen reader compatibility.
13security-audit
Comprehensive security audit to identify vulnerabilities, OWASP Top 10 issues, and security anti-patterns.
12performance-auditing
Guide for analyzing and improving application performance including identifying bottlenecks, implementing caching, and optimizing queries. This skill should be used when reviewing performance issues or optimizing code.
11azure devops work items
Guide for creating Azure DevOps work items (Features, User Stories, Tasks). This skill should be used when working with ADO MCP tools to create work items with proper hierarchy and formatting.
10