whatisgithub

What is learnskill?

nventimiglia/learnskill — explained in plain English

Analysis updated 2026-05-18

1PythonAudience · developerComplexity · 2/5Setup · easy

In one sentence

A Python tool that has your AI coding agent analyze its own past chat sessions to surface friction points and propose better rules.

Mindmap

mindmap
  root((repo))
    What it does
      Reads session logs
      Finds friction patterns
      Proposes rules
    Tech stack
      Python
      JSONL
      SQLite
    Use cases
      Review past sessions
      Update AGENT.md
      Track recurring issues
    Audience
      Developers
      AI power users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Ask your coding agent to review past sessions and identify recurring friction.

USE CASE 2

Generate ready-to-copy rule additions for your project's AGENT.md file.

USE CASE 3

Track patterns across multiple AI coding sessions over time.

What is it built with?

PythonJSONLSQLite

How does it compare?

nventimiglia/learnskilla-bissell/unleash-liteabhiinnovates/whatsapp-hr-assistant
Stars111
LanguagePythonPythonPython
Setup difficultyeasyhardhard
Complexity2/54/53/5
Audiencedeveloperresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Runs using the AI agent you already have, no separate API key required.

So what is it?

LearnSkill is a Python tool that helps AI coding agents, such as Claude, Gemini, Cursor, and Antigravity, get better over time by analyzing their own past work sessions. Rather than calling an external AI service, the agent you are already running performs the analysis itself, so no API key is required. When you invoke the skill by asking your agent something like "analyze my sessions" or "what friction did you see," it reads the conversation and session logs stored on your machine from whichever agent tools you use. Claude Code stores sessions as JSONL files, Gemini CLI saves transcripts in a similar format, Cursor keeps session data in a SQLite database inside workspace storage, and GitHub Copilot logs are stored as JSON files. The skill processes these logs and looks for three types of signal: friction (specific moments where the session went wrong, quoted from the transcript), patterns (behaviors that recurred across multiple sessions rather than one-off mistakes), and rule proposals (ready-to-copy additions to your project's AGENT.md or new skill files to prevent the same friction in future). All output goes into a .learn folder inside your project, containing a run summary, a friction log with direct quotes, a patterns analysis file, and proposed skill or documentation files. A stamp file tracks when the skill last ran so subsequent runs only process newer sessions. Deleting it forces a full reprocess. It pairs with companion tools called SkillsMCP and claude-mem for skill management and long-term memory. Most useful for developers who work heavily in AI-assisted coding workflows and want past sessions to automatically surface better rules and habits.

Copy-paste prompts

Prompt 1
Ask my agent to analyze my recent coding sessions and summarize the friction it found.
Prompt 2
Help me turn the patterns LearnSkill found into new rules for my AGENT.md file.
Prompt 3
Explain how LearnSkill reads Claude Code, Gemini CLI, and Cursor session logs differently.
Prompt 4
Show me how the stamp file works so I understand when LearnSkill reprocesses sessions.

Frequently asked questions

What is learnskill?

A Python tool that has your AI coding agent analyze its own past chat sessions to surface friction points and propose better rules.

What language is learnskill written in?

Mainly Python. The stack also includes Python, JSONL, SQLite.

How hard is learnskill to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is learnskill for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.