원클릭으로
learn
Research a topic and save structured knowledge to ~/.claude/learnings/ for use in future sessions.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Research a topic and save structured knowledge to ~/.claude/learnings/ for use in future sessions.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Deep research a topic using parallel agents, then synthesize and save comprehensive knowledge to ~/.claude/learnings/.
Delete saved knowledge from ~/.claude/learnings/ and optionally clean up knowledge graph.
Load saved knowledge from ~/.claude/learnings/ into the current session context.
| name | learn |
| description | Research a topic and save structured knowledge to ~/.claude/learnings/ for use in future sessions. |
| argument-hint | <topic> - e.g., 'TanStack Router', 'Go concurrency patterns' |
| allowed-tools | ["Bash","Read","Write","Edit","Glob","Grep","WebSearch","WebFetch","Task","mcp__context7__resolve-library-id","mcp__context7__query-docs","mcp__gh_grep__searchGitHub","mcp__memory__create_entities","mcp__memory__search_nodes"] |
Research a topic and save structured knowledge to ~/.claude/learnings/ for future session use.
Topic string from $ARGUMENTS. Examples:
TanStack RouterGo concurrency patternsRedis StreamsConvert topic to filesystem-safe slug: lowercase, replace non-alphanumeric with hyphens, collapse consecutive hyphens, trim.
tanstack-routergo-concurrency-patternsls ~/.claude/learnings/<slug>.md 2>/dev/null
If the file exists, read its frontmatter. Ask the user: Update (merge new findings), Replace (full rewrite), or Cancel?
mkdir -p ~/.claude/learnings
Use available tools based on topic category. Adapt if MCP tools are unavailable.
Library/Framework (e.g., "TanStack Router", "Express.js"):
resolve-library-id + query-docs for API surfaceConcept/Pattern (e.g., "CQRS", "Go concurrency patterns"):
Tool/CLI (e.g., "Docker Compose", "jq"):
Language Feature (e.g., "Go generics", "TypeScript decorators"):
Write to ~/.claude/learnings/<slug>.md using this format:
---
topic: "<Original Topic Name>"
slug: "<slug>"
category: "<library|concept|tool|language-feature>"
created: "<YYYY-MM-DD>"
last_verified: "<YYYY-MM-DD>"
confidence: "<high|medium|low>"
tags: [<relevant, tags>]
sources_count: <N>
---
# <Topic Name>
## TL;DR
<2-4 sentences: what it is, key capabilities, primary use case.>
## Core APIs / Concepts
### <Name>
- **Signature/Usage**: `<code>`
- **Purpose**: <one line>
- **Example**:
```<lang>
<minimal working example>
...
<Common usage patterns as self-contained code blocks. Annotate sparingly -- only non-obvious details.>
<Compact table or list: key APIs, flags, commands. Optimized for fast lookup.>
### 6. Knowledge Graph Indexing (Optional)
If `mcp__memory__create_entities` is available, create an entity:
```json
{
"name": "<Topic Name>",
"entityType": "learning",
"observations": [
"Saved to ~/.claude/learnings/<slug>.md",
"Category: <category>",
"Tags: <tag1>, <tag2>"
]
}
Tell the user: file path, topic name, source count, and that /recall <topic> retrieves it.
// untested.high only when multiple authoritative sources agree.When reading any ~/.claude/learnings/ file during normal work:
last_verified is >90 days old, treat content as potentially stale.last_verified, adjust confidence. No user confirmation needed.