knowledge
Display knowledge base status and recent learnings
Best use case
knowledge is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Display knowledge base status and recent learnings
Teams using knowledge should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/knowledge/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How knowledge Compares
| Feature / Agent | knowledge | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Display knowledge base status and recent learnings
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Knowledge Display the current state of the project's knowledge base and recent learnings. ## What This Does Shows: - Learning mode status (on/off) - Knowledge base statistics (entry counts per category) - Recent learnings extracted - Cache statistics ## Instructions 1. Read `knowledge/state.json` for learning mode status 2. Read each knowledge file and count entries: - `knowledge/cache/classifications.md` - `knowledge/learnings/patterns.md` - `knowledge/learnings/quirks.md` - `knowledge/learnings/decisions.md` 3. Extract recent entries (last 5) from learnings files 4. Format and display ## Output Format ``` ╔═══════════════════════════════════════════════════╗ ║ Project Knowledge Base ║ ╚═══════════════════════════════════════════════════╝ 📚 Learning Status ─────────────────────────────────────────────────── Mode: ON (since 2026-01-08 14:00) Last Extraction: 5 minutes ago Extractions This Session: 3 📊 Knowledge Statistics ─────────────────────────────────────────────────── Cache: - Classification entries: 23 Learnings: - Patterns: 8 entries - Quirks: 3 entries - Decisions: 5 entries - Total: 16 insights 📝 Recent Learnings ─────────────────────────────────────────────────── [Pattern] "Use async/await for API calls in this codebase" Discovered: 2026-01-08 | Confidence: high [Quirk] "Auth module uses non-standard token format" Discovered: 2026-01-07 | Confidence: high [Decision] "Chose Redis over in-memory cache for session storage" Made: 2026-01-06 | Confidence: high 💡 Commands ─────────────────────────────────────────────────── /learn - Extract insights now /learn-on - Enable continuous learning /learn-off - Disable continuous learning ``` ## When Knowledge Base is Empty ``` ╔═══════════════════════════════════════════════════╗ ║ Project Knowledge Base ║ ╚═══════════════════════════════════════════════════╝ 📚 Learning Status ─────────────────────────────────────────────────── Mode: OFF No extractions yet 📊 Knowledge Statistics ─────────────────────────────────────────────────── Knowledge base is empty. 💡 Get Started ─────────────────────────────────────────────────── Use /learn to extract insights from your current session. Use /learn-on to enable continuous learning. The knowledge base will grow as you work, capturing: - Patterns that work well in this project - Quirks and gotchas to remember - Decisions and their rationale ``` ## Steps 1. Read `knowledge/state.json` 2. Read frontmatter from each knowledge file to get entry counts 3. Parse recent entries from learnings files (look for `## Pattern:`, `## Quirk:`, `## Decision:` headers) 4. Format and display the summary 5. If files are missing or empty, show the "empty" state ## Notes - Entry counts come from frontmatter `entry_count` field or by counting `##` headers - Recent learnings are shown most recent first (by discovered/made date) - This is a read-only command - it doesn't modify any files
Related Skills
knowledge-base
专业的知识库管理系统,旨在解决“知识诅咒”和认知偏差问题。通过显式化隐性知识、扫描代码提取领域概念、整合行业最佳实践,构建结构化的 Markdown 知识库。
notion-knowledge-capture
Capture conversations and decisions into structured Notion pages; use when turning chats/notes into wiki entries, how-tos, decisions, or FAQs with proper linking.
recursive-knowledge
Process large document corpora (1000+ docs, millions of tokens) through knowledge graph construction and stateful multi-hop reasoning. Use when (1) User provides a large corpus exceeding context limits, (2) Questions require connections across multiple documents, (3) Multi-hop reasoning needed for complex queries, (4) User wants persistent queryable knowledge from documents. Replaces brute-force document stuffing with intelligent graph traversal.
project-knowledge
Load project architecture and structure knowledge. Use when you need to understand how this project is organized.
reconnaissance-knowledge
Comprehensive knowledge about network reconnaissance and service enumeration. Provides methodologies for port scanning, service fingerprinting, web directory discovery, and vulnerability identification. Includes best practices for structured data collection.
privilege-escalation-knowledge
Comprehensive knowledge about Linux privilege escalation. Provides methodologies for enumerating and exploiting privesc vectors including SUID binaries, sudo permissions, capabilities, kernel exploits, cron jobs, and common misconfigurations. Includes systematic approach to capturing root flags.
exploitation-knowledge
Comprehensive knowledge about vulnerability exploitation and initial access. Provides expertise on finding and adapting exploits, adapting proof-of-concepts, gaining shells, and capturing user flags. Covers reverse shells, file uploads, SQL injection, and RCE vulnerabilities.
Tutor Setup — Knowledge to Obsidian StudyVault
## CWD Boundary Rule (ALL MODES)
Knowledge Distillation: Compressing LLMs
## When to Use This Skill
ByteRover Knowledge Management
Use the `brv` CLI to manage your project's long-term memory.
PrimeKG Knowledge Graph Skill
## Overview
pubsub-subscription-config
Pubsub Subscription Config - Auto-activating skill for GCP Skills. Triggers on: pubsub subscription config, pubsub subscription config Part of the GCP Skills skill category.