Knowledge Base Display

VerifiedSafe

Displays learning mode status, knowledge base statistics (entry counts per category), and recent learnings extracted from project files. Helps users quickly see what the AI has learned about the project, such as patterns, quirks, and decisions.

Sby Skills Guide Bot
DocumentationBeginner
706/2/2026
Claude Code
#knowledge-base#learnings#project-insights#claude-code

Recommended for

Our review

Displays the current state of a project's knowledge base and recent learnings extracted by the AI.

Strengths

  • Provides a quick overview of accumulated knowledge
  • Shows learning mode status and per-category statistics
  • Lists the last 5 entries for immediate insight

Limitations

  • Only works if knowledge files exist and are in the expected format
  • Read-only; does not modify the knowledge base
  • Relies on frontmatter entry counts or header parsing
When to use it

When you want to check what the AI has learned about the project or the status of learning mode.

When not to use it

When you want to extract new knowledge (use /learn instead).

Security analysis

Safe
Quality score90/100

The skill only reads local project files (knowledge/state.json and markdown files) and displays formatted information. It does not execute any commands, write files, or communicate externally, posing no security risk.

No concerns found

Examples

Show knowledge base status
What has the AI learned about this project? Show the knowledge base status.
Check learning mode
Is learning mode on? Show me the knowledge base.
Recent learnings
Show me the most recent learnings and decisions from the knowledge base.

name: knowledge description: Display knowledge base status and recent learnings user_invokable: true

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

Instructions

  1. Read knowledge/state.json for learning mode status
  2. Read each knowledge file and count entries:
    • 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

** Remember to run /learn before ending your session **

Knowledge Statistics
---------------------------------------------------
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 learning mode reminder
/learn-off  - Disable learning mode reminder

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 learning mode.

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
  • When learning mode is ON, show a reminder to run /learn before ending the session
Related skills