learn

Review, search, prune, and export project learnings stored across sessions.

1|Updated Jul 23, 2026
One-click install
npx skills add https://github.com/sanjanb/my-agent-harness --skill learn-sanjanb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: learn
Source: https://github.com/sanjanb/my-agent-harness/tree/main/skills/learn
Command: npx skills add https://github.com/sanjanb/my-agent-harness --skill learn-sanjanb

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams lose hard-won knowledge between coding sessions, repeating past mistakes and re-solving fixed bugs. This Skill manages a persistent learnings store so insights captured in one session remain searchable and actionable in the next. ## Core Features & Use Cases - Search and review learnings: Query the project's learnings.jsonl store to answer questions like "what have we learned" or "didn't we fix this before?" - Prune and export: Remove stale entries and export learnings for sharing or archival across machines. - Proactive recall: Surfaces relevant past patterns when the user asks about recurring issues. - Use Case: Before debugging a familiar-looking error, ask the agent to search project learnings to check whether the same failure was diagnosed and resolved in a previous session. ## Quick Start Ask the agent to show what we have learned so far on this project and search for any past fixes related to the current bug.

Frequently Asked Questions about learn

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

FAQPage Schema
How do I see what my AI agent learned in past sessions?

Invoke the learn skill with a prompt like "show learnings" or "what have we learned". It loads the project's learnings.jsonl file and searches the most relevant entries, surfacing past fixes and patterns from earlier sessions.

How do I remove stale or outdated project learnings?

Ask the agent to prune stale learnings. The skill reviews the stored entries in the project's learnings file and removes entries that no longer apply, keeping the knowledge base accurate for future sessions.

Can I export project learnings to share with my team?

Yes, the learn skill supports exporting learnings from the per-project JSONL store. Exported learnings can be shared or synced across machines using the gstack artifacts sync mechanism.

Where are project learnings stored on disk?

Learnings are stored in a learnings.jsonl file under the gstack home directory, scoped per project using a repository slug. Each line is a JSON record representing one captured learning.

Does the learn skill work in headless or CI sessions?

Yes, but interactive prompts are suppressed. In headless sessions the skill blocks on unavailable user questions, and in spawned sessions it auto-chooses recommended options and reports results as prose.