
Lesson resurface
Lets an agent find archived or superseded lesson files relevant to a task, as pointers
Lesson resurface is an open-source agent skill for knowledge and memory. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 6
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Lesson resurface
Lesson Resurface searches a repository's tasks/lessons folder, including its archive, for lessons whose applies_to topic tags overlap with a short task summary. It ranks matches by tag overlap, lowers the score of archived and superseded entries, and drops an older lesson when the active lesson that replaces it is also in the results. The output is a short list of file paths with their topic tags, status, confidence and title, so the agent can decide which files to open.
The matching logic lives in a shell helper, scripts/lesson-resurface.sh, which reads only the YAML frontmatter of each lesson and never loads bodies. The skill is meant to run alongside the kit's session boot, which reads a codebase map, an optional project file and the top rules of the lessons index before any task work begins.
It expects a Claude Code setup using the claude-code-kit layout, a Unix shell environment to run the script, and lesson files whose frontmatter includes applies_to tags. Lessons without those tags will not appear in results.
When your agent uses it
Surface archived or superseded lessons whose topic tags match the current task — returns pointers (paths only), never bodies. Use when a task touches an area past sessions may have covered, to recover dormant context without bloating boot.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (8 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the claude-code-kit plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add tansuasici/claude-code-kit
/plugin install claude-code-kit@claude-code-kitOr copy only this skill to ~/.claude/skills/lesson-resurface:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/lesson-resurface &&
cp -R "$tmp/.claude/skills/lesson-resurface" ~/.claude/skills/lesson-resurface &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/lesson-resurface inside it instead.
Copy the skill folder to ~/.agents/skills/lesson-resurface to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/lesson-resurface &&
cp -R "$tmp/.claude/skills/lesson-resurface" ~/.agents/skills/lesson-resurface &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/lesson-resurface inside it instead.
Copy the skill folder to ~/.cursor/skills/lesson-resurface to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/lesson-resurface &&
cp -R "$tmp/.claude/skills/lesson-resurface" ~/.cursor/skills/lesson-resurface &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/lesson-resurface inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/tansuasici/claude-code-kit.git --path .claude/skills/lesson-resurfaceOr copy the folder to ~/.gemini/skills/lesson-resurface yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/lesson-resurface:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/lesson-resurface &&
cp -R "$tmp/.claude/skills/lesson-resurface" ~/.copilot/skills/lesson-resurface &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/lesson-resurface inside it instead.
Get the folder:
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.gitThen copy claude-code-kit/.claude/skills/lesson-resurface into your agent's skills folder as lesson-resurface. Agents that support SKILL.md read one folder per skill.
What it does
- Topic tag matching
- Matches a task summary against the applies_to vocabulary found in lesson frontmatter.
- Pointer-only output
- Returns file paths and metadata without loading or summarising lesson bodies.
- Ranked results
- Scores lessons by topic and tag overlap, confidence and status, returning the top five.
- Supersession handling
- Drops a superseded lesson when its active replacement is also in the match list.
- Archive search
- Includes the tasks/lessons/_archive folder so older lessons remain discoverable.
Good for
- Check whether a past session already recorded lessons about authentication before changing login code
- Find archived lessons about dependency conflicts before upgrading packages
- Look up earlier lessons on database migrations before writing a new migration
- Recover lessons about a specific module before resuming a handoff task
Lesson resurface FAQ
What does the skill need to run?
It needs the kit's scripts/lesson-resurface.sh helper and lesson files under tasks/lessons with applies_to tags in their frontmatter.
Does Lesson resurface change any files?
No. The skill is read-only and does not modify any files.
Does Lesson resurface load full lesson bodies?
No. The helper reads only the frontmatter block and returns paths with metadata, leaving the decision to open a file to the agent.
Why might an archived lesson rank low?
Archived and superseded lessons are down-weighted rather than excluded, so a low-ranked archived hit is intentional and may still be useful.
How do I install Lesson resurface in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/lesson-resurface to use it in all your projects, or to .claude/skills/lesson-resurface in one project. Or install the claude-code-kit plugin, which includes it: /plugin marketplace add tansuasici/claude-code-kit, then /plugin install claude-code-kit@claude-code-kit.
Does Lesson resurface run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Lesson resurface?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Lesson resurface?
The closest alternatives to Lesson resurface are Lesson refresh, Mine learnings, Remember, Vibe reflect and compound and Academy guide.
Where this comes from
- Description: from the skill's own SKILL.md.
More from tansuasici/claude-code-kit

Audits UI code against WCAG 2.1 AA for semantics, keyboard use, contrast and ARIA
- Open source
- 6 GitHub stars
- Developer tools

Audits a codebase's structure for SOLID violations, coupling and module boundary issues
- Open source
- 6 GitHub stars
- Developer tools

Lists the skills, agents, hooks and modules installed in a kit-enabled project
- Open source
- 6 GitHub stars
- Developer tools

Audits code for smells, error-handling gaps and maintainability issues with fixes
- Open source
- 6 GitHub stars
- Developer tools

Guides the agent to write and extend a project's golden-principles.yaml rule file
- Open source
- 6 GitHub stars
- Developer tools

Finds unused functions, dead imports, orphan files and unreachable branches in a codebase
- Open source
- 6 GitHub stars
- Developer tools






