knowledge-capture

Capture learning moments from Claude sessions and push them to GitHub via MCP.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/dwarvesf/claude-skills --skill knowledge-capture-dwarvesf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: knowledge-capture
Source: https://github.com/dwarvesf/claude-skills/tree/main/skills/knowledge-capture
Command: npx skills add https://github.com/dwarvesf/claude-skills --skill knowledge-capture-dwarvesf

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Captures learning moments from Claude sessions and persists them to the GitHub knowledge repo via the GitHub MCP Worker.

Core Features & Use Cases

  • Automatically capture explicit prompts like "save this", "push this to my notes", or "checkpoint" to GitHub via MCP.
  • Auto-detect significant learning moments at the end of sessions or during debugging explanations and offer to push with guidance.
  • Works across Claude.ai Chat, Cowork (via Desktop Commander bash), and Claude Code (via /learned), with a local .learned fallback if MCP is unavailable.

Quick Start

Say "save this" to push the current learning moment to GitHub via MCP, or trigger the /learned flow when you want to capture a key insight.

Frequently Asked Questions about knowledge-capture

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

FAQPage Schema
How do I save Claude chat learnings directly to a GitHub repository?

You can save Claude chat learnings to GitHub by saying "save this" or "checkpoint" during a session, which pushes the captured insight to your GitHub knowledge repo via the GitHub MCP Worker.

Does capturing session notes to GitHub require a connected MCP Worker?

Capturing session notes to GitHub via MCP requires a connected GitHub MCP Worker, but the skill provides a local `.learned` file fallback to save insights if the MCP is unavailable.

Can I capture notes from Claude Code and Cowork environments to GitHub?

Yes, you can capture notes from Claude Code using the `/learned` command and from Cowork via Desktop Commander bash, pushing learning moments directly to your GitHub knowledge repo.

How does auto-detection for significant learning moments work in Claude?

Auto-detection for learning moments works by identifying significant debugging explanations or end-of-session insights, then automatically offering to capture and push them to GitHub with guidance.

How do I capture images alongside text notes to my GitHub knowledge repo?

You can capture images alongside text notes to GitHub by configuring an optional assets worker with `ASSETS_WORKER_URL` and `ASSETS_WORKER_TOKEN`, which also provides an SVG-to-PNG fallback.