rysweet avatar

Session Learning

This extracts insights from your coding sessions and surfaces them when relevant later. At session end, it scans the transcript for error patterns, workflow discoveries, and debugging strategies, then stores them in categorized YAML files (errors, workflows, tools, architecture, debugging). At session start, it uses keyword matching to inject past learnings that relate to your current task. The matching is deliberately simple, no ML complexity, just keyword overlap weighted by confidence and recency. Think of it as institutional memory that complements your DISCOVERIES.md with structured, searchable learnings. Most useful when you're repeatedly hitting similar problems or want to remember how you solved something three weeks ago.

skills.sh installs
151
GitHub stars
76
last updated
Aug 21, 2026

Install

$ npx -y skills add rysweet/amplihack --skill session-learning --agent claude-code

Installs into .claude/skills of the current project.

Files

Session Learning Skill

Purpose

This skill provides cross-session learning by:

  1. Extracting learnings from session transcripts at Stop hook
  2. Storing learnings in structured YAML format (~/.amplihack/.claude/data/learnings/)
  3. Injecting relevant past learnings at SessionStart based on task similarity
  4. Managing learnings via /amplihack:learnings capability

Design Philosophy

Ruthlessly Simple Approach:

  • One YAML file per learning category (not per session)
  • Simple keyword matching for relevance (no complex ML)
  • Complements existing DISCOVERIES.md/PATTERNS.md - doesn't replace them
  • Fail-safe: Never blocks session start or stop

Learning Categories

Learnings are stored in five categories:

Sponsors

Details

Repository
github.com/rysweet/amplihack
Category
Marketing & SEO
First seen
Jun 3, 2026

More from rysweet/amplihack

All 58
1majesticlabs-dev avatargoogle-ads-strategymajesticlabs-dev/majestic-marketplaceBuild Google Ads campaign structures with keyword research, ad copy, audience targeting, and budget allocation. Use when planning paid search campaigns, setting146skills.sh installs
2inhouseseo avatarimprove-contentinhouseseo/superseo-skillsYou've got a page that's sitting on page two, or traffic dropped after a year, or it just reads like everyone else's take on the topic.144skills.sh installs
3microsoft avatarwinui-wpf-migrationmicrosoft/win-dev-skillsMigrate WPF applications to WinUI 3 — namespace replacement (System.Windows → Microsoft.UI.Xaml), control mapping (DataGrid→ListView, WrapPanel→ItemsRepeater, T144skills.sh installs
4inhouseseo avatartopic-cluster-planninginhouseseo/superseo-skillsIf you're building out a new content area and want to do it the SEO-smart way, this walks you through the full hub-and-spoke process.143skills.sh installs
5hack23 avatargithub-actions-cicdhack23/homepageGitHub Actions workflow structure, security scanning integration (CodeQL, ZAP), Lighthouse audits, minification, and deployment automation142skills.sh installs
6greyhaven-ai avatargrey-haven-creative-writinggreyhaven-ai/claude-code-configProfessional writing assistance for blogs, research articles, fiction, essays, and marketing copy. Use when users want to write, edit, or improve any form of wr139skills.sh installs