ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

apply-learnings

Analyze Claude Code session history to extract learnings that would have been helpful if provided earlier, then persist them for future sessions. Use when the user asks to "apply learnings", "extract learnings", "what did we learn", "save session learnings", or "analyze session".

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/ajitsingh25/apply-learnings
Or

Apply Learnings Skill

Analyze Claude Code session history to extract learnings that would have been helpful if provided earlier, then persist them for future sessions.

Overview

This skill performs comprehensive analysis of session transcripts to identify:

  1. Code Pattern Learnings - Framework conventions, idioms, and best practices discovered during the session
  2. Architectural Preferences - Where validation/logic should live, layer responsibilities
  3. Tool Usage Patterns - Failed tool calls, user corrections, successful retries
  4. Missing Context - Information the user had to provide that could be documented upfront

Usage

Analyze Current Session

python3 ~/.claude/skills/apply-learnings/scripts/analyze_session.py --scope current

Analyze All Historical Sessions

python3 ~/.claude/skills/apply-learnings/scripts/analyze_session.py --scope all

Analyze Specific Project

python3 ~/.claude/skills/apply-learnings/scripts/analyze_session.py --project /path/to/project

Workflow

When the user invokes this skill:

Step 1: Ask User for Scope

Ask which scope to analyze:

  • Current session - Only the current conversation
  • Current project - All sessions for the current working directory
  • All sessions - Complete history across all projects

Step 2: Run Analysis

Execute the analysis script:

python3 ~/.claude/skills/apply-learnings/scripts/analyze_session.py --scope <scope>

Step 3: Present Findings

Present findings organized by category:

Code Pattern Learnings

Conventions and idioms specific to the codebase/framework:

  • Dependency injection patterns (e.g., "use glue logger from context, not DI")
  • Error handling conventions
  • Naming patterns
  • Testing patterns

Architectural Preferences

Where different concerns should be handled:

  • Validation location (e.g., "validate at handler/mapper, not in controllers")
  • Error transformation boundaries
  • Layer responsibilities

Tool Usage Improvements

From the original tool-self-improver:

  • Failed tool calls and corrections
  • Common error patterns
  • Successful retry patterns

Missing Context

Information that would have helped earlier:

  • Project-specific conventions not in CLAUDE.md
  • Framework quirks
  • Team preferences

Step 4: Classify Destination for Each Learning

For each learning, determine the best destination. Do NOT put everything in CLAUDE.md — route to the most specific location:

Metadata

Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-ajitsingh25-apply-learnings": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.

Related Skills

placed-career-tools

This skill should be used when the user wants to "match resume to job", "generate cover letter", "optimize resume for job", "get interview questions for company", "generate LinkedIn profile", "check application status", "get salary insights", "negotiate salary", "research company", "analyze resume gaps", or wants to use AI career tools from the Placed platform at placed.exidian.tech.

ajitsingh25 4473

check-deployment-status

Check deployment status of PRs and commits using continuous-deployment MCP and UCS deployer MCP. Use when user asks "is this deployed", "check deployment", "deployment status", "is PR merged and deployed", "check UP status", "introduced to production", or provides a GitHub PR URL and wants deployment info.

ajitsingh25 4473

claude-code-statusline

Install and configure a custom Claude Code status line showing real-time token usage, context window percentage, git branch, and color-coded warnings. Use when the user asks to "install statusline", "setup statusline", "configure statusline", "setup status line", "install status bar", "show token usage", "context window display", "statusline colors", "statusline thresholds", or wants to customize their Claude Code status bar display.

ajitsingh25 4473

placed-interview-coach

This skill should be used when the user wants to "practice interview", "mock interview", "prepare for interview", "system design interview", "behavioral interview", "STAR stories", "interview coaching", "get interview questions", or wants to prepare for technical interviews using the Placed career platform at placed.exidian.tech.

ajitsingh25 4473

placed

Complete Placed career platform integration — resume builder, interview coach, job tracker, ATS checker, cover letter generator, LinkedIn optimizer, and salary tools. Use when the user wants to build or manage resumes, practice interviews, track job applications, optimize resumes for ATS, generate cover letters, research companies, or get salary insights via placed.exidian.tech.

ajitsingh25 4473