session-learnings

Log and retrieve project-specific learnings across sessions with custom scripts.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/evanfang0054/agent-harness --skill session-learnings-evanfang0054
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-learnings
Source: https://github.com/evanfang0054/agent-harness/tree/main/skills/session-learnings
Command: npx skills add https://github.com/evanfang0054/agent-harness --skill session-learnings-evanfang0054

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bash, scripts/search-learnings.sh, scripts/log-learning.sh, and includes scripts (resource) components.

What problem does it solve?

This Skill helps manage and leverage project-specific knowledge across sessions, preventing the loss of insights and avoiding past mistakes.

Core Features & Use Cases

  • Knowledge Capture: Record learnings from sessions to prevent future repetitions of pitfalls or mistakes.
  • Learning Retrieval: Retrieve past learnings at session start to inform decision-making and improve efficiency.
  • Learning Integration: Seamlessly integrate learnings into daily workflows to enhance productivity.
  • Use Case: When debugging an issue, capture the root cause and the resolution strategy as a learning to prevent similar issues in the future.

Quick Start

After resolving an issue, log the learning using 'log-learning.sh <type> <key> <insight> [confidence] [source] [files...]'.

Frequently Asked Questions about session-learnings

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I capture and reuse project knowledge across sessions?

To capture project knowledge across sessions, use custom bash scripts to log insights, types, and confidence levels, then retrieve them later to avoid repeating mistakes and improve workflow efficiency.

What is the best way to track session learnings for debugging issues?

Tracking session learnings for debugging involves logging the root cause and resolution strategy as an entry, preventing similar future issues by making past resolutions searchable for subsequent debugging sessions.

How do I log a specific learning after resolving an error?

To log a specific learning after resolving an error, execute the logging script with parameters for type, key, insight, and optional confidence, source, and files to store the knowledge.

Do I need bash to run this knowledge management workflow?

Yes, you need bash to run this knowledge management workflow because the logging and retrieval mechanisms rely entirely on custom shell scripts to store and search project insights.

Can I search past learnings before starting a new coding session?

You can search past learnings before starting a new coding session by running the search script, which retrieves stored project knowledge to inform current decision-making and enhance productivity.

What limitations exist when using shell scripts for knowledge capture?

Using shell scripts for knowledge capture limits complex querying and structured data relationships, as the system relies on custom bash scripts rather than a dedicated database for managing project insights.