Agent skill

knowledge

Display knowledge base status and recent learnings

Stars 232
Forks 15

Install this agent skill to your Project

npx add-skill https://github.com/aiskillstore/marketplace/tree/main/skills/0xrdan/knowledge

SKILL.md

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

Expand your agent's capabilities with these related and highly-rated skills.

aiskillstore/marketplace

perigon-backend

Perigon ASP.NET Core + EF Core + Aspire conventions

232 15
Explore
aiskillstore/marketplace

perigon-agent

Pointers for Copilot/agents to apply Perigon conventions

232 15
Explore
aiskillstore/marketplace

perigon-angular

Angular 21+ standalone/Material/signal conventions for Perigon WebApp

232 15
Explore
aiskillstore/marketplace

fastapi-mastery

Comprehensive FastAPI development skill covering REST API creation, routing, request/response handling, validation, authentication, database integration, middleware, and deployment. Use when working with FastAPI projects, building APIs, implementing CRUD operations, setting up authentication/authorization, integrating databases (SQL/NoSQL), adding middleware, handling WebSockets, or deploying FastAPI applications. Triggered by requests involving .py files with FastAPI code, API endpoint creation, Pydantic models, or FastAPI-specific features.

232 15
Explore
aiskillstore/marketplace

context7-efficient

Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.

232 15
Explore
aiskillstore/marketplace

browser-use

Browser automation using Playwright MCP. Navigate websites, fill forms, click elements, take screenshots, and extract data. Use when tasks require web browsing, form submission, web scraping, UI testing, or any browser interaction.

232 15
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results