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. It is especially useful for teams working in multi. Display knowledge base status and recent learnings
Display knowledge base status and recent learnings
Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.
Practical example
Example input
Use the "knowledge" skill to help with this workflow task. Context: Display knowledge base status and recent learnings
Example output
A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.
When to use this skill
- Use this skill when you want a reusable workflow rather than writing the same prompt again and again.
When not to use this skill
- Do not use this when you only need a one-off answer and do not need a reusable workflow.
- Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.
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.
azure-quotas
Check/manage Azure quotas and usage across providers. For deployment planning, capacity validation, region selection. WHEN: "check quotas", "service limits", "current usage", "request quota increase", "quota exceeded", "validate capacity", "regional availability", "provisioning limits", "vCPU limit", "how many vCPUs available in my subscription".
raindrop-io
Manage Raindrop.io bookmarks with AI assistance. Save and organize bookmarks, search your collection, manage reading lists, and organize research materials. Use when working with bookmarks, web research, reading lists, or when user mentions Raindrop.io.
zlibrary-to-notebooklm
自动从 Z-Library 下载书籍并上传到 Google NotebookLM。支持 PDF/EPUB 格式,自动转换,一键创建知识库。
discover-skills
当你发现当前可用的技能都不够合适(或用户明确要求你寻找技能)时使用。本技能会基于任务目标和约束,给出一份精简的候选技能清单,帮助你选出最适配当前任务的技能。
web-performance-seo
Fix PageSpeed Insights/Lighthouse accessibility "!" errors caused by contrast audit failures (CSS filters, OKLCH/OKLAB, low opacity, gradient text, image backgrounds). Use for accessibility-driven SEO/performance debugging and remediation.