Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Learn

ASecurity

Review and approve the learning candidates the hooks collected, turning them into rules that are auto-injected next session. 트리거: "학습 후보", "이거 기억해", "다음부터 이렇게", 교정받은 직후.

2 stars
0 votes
0 copies
0 views
Added 9/19/2026
ai-agentsbashnode

Works with

cli

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add snwlee/Nereus --skill learn --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Learn?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Learn
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/snwlee-learn/badge)](https://www.skillsdirectory.com/skills/snwlee-learn)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: learn
description: Review and approve the learning candidates the hooks collected, turning them into rules that are auto-injected next session. 트리거: "학습 후보", "이거 기억해", "다음부터 이렇게", 교정받은 직후.
---

# learn — 세션에서 배우기

**기록은 훅이 자동으로 한다.** 이 스킬은 검토와 승인만 담당한다.

```
PostToolUse ─┐
             ├─▶ .nereus/learn/observations.jsonl ─(SessionEnd 집계)─▶ candidates.json ─(사용자 승인)─▶ learnings.jsonl ─(SessionStart)─▶ 주입
UserPrompt ──┘      (판정 없음, 원본만)              (정규식 신호 3종)          (여기서만 사람이 개입)
```

## 자동으로 잡히는 신호 (LLM 호출 없음)
- **실패→통과**: 같은 명령이 실패했다가 성공하면, 그 사이에 고친 파일이 근거로 붙는다.
- **반복 명령**: 한 세션에서 3회 이상 같은 명령을 돌리면 후보가 된다(스크립트로 만들 거리).
- **교정**: 사용자가 "아니", "말고", "actually" 같은 말을 하면 그 직후 편집한 파일과 함께 남는다.

관찰에는 도구 이름, 명령 머리 120자, 파일 경로, 교정 발췌 200자만 들어간다. 시크릿과 이메일은 정규식으로 지운다. `.nereus`, `.claude-mem`, `node_modules`, 빌드 산출물은 관찰하지 않는다. 읽기 도구(Read/Grep/Glob)도 제외한다.

## 명령
```bash
S="${CLAUDE_PLUGIN_ROOT}/skills/learn/scripts/learn.mjs"
node "$S" review                                            # 승인 대기 후보
node "$S" approve 0003 --trigger "<언제>" --rule "<무엇을>"   # 규칙으로 승격
node "$S" decline 0003                                      # 기각(다시 안 올라옴)
node "$S" add --trigger "<언제>" --rule "<무엇을>"            # 후보 없이 직접 추가
node "$S" list                                              # 저장된 규칙
```

## 승인 전 일반화 테스트 (네 가지 모두 예여야 승인)
1. 다른 프로젝트나 다른 태스크에서도 말이 되는가?
2. 이번 작업의 수정 사항이 아니라, **빠져 있던 규칙**을 가리키는가?
3. 재발할 근거가 있는가? (같은 지적을 두 번 이상 받았거나, 구조적으로 또 생길 일인가)
4. 코드·문서를 보면 알 수 있는 사실이 아닌가? (구조나 함수 이름은 규칙이 아니다)

하나라도 아니면 `decline` 한다. 규칙이 많아질수록 주입 예산을 잡아먹고 정작 중요한 규칙이 밀린다.

## 형식
`trigger`는 적용 상황, `rule`은 그때 무엇을 할지. 둘 다 한 줄로 구체적으로.
- 좋음: trigger `Nereus 테스트를 쓸 때` / rule `사용자 전역 설정을 읽지 않게 NEREUS_HOME 을 임시 디렉터리로 격리한다`
- 나쁨: trigger `항상` / rule `실수하지 말자`

## 신뢰도와 주입
새 규칙은 0.5로 시작하고 같은 규칙이 다시 확인될 때마다 0.2씩 올라 최대 1.0이 된다. **0.7 이상만 주입**되므로 한 번 더 확인된 규칙부터 자동으로 들어간다. 예산은 설정 `learnings`(minConfidence 0.7, limit 8, maxChars 900)로 조절한다.

틀린 규칙을 발견하면 `learnings.jsonl`에서 그 줄을 지우고 사용자에게 알린다. 조용히 무시하지 않는다.

## claude-mem 과의 경계
claude-mem은 **무슨 일이 있었나**(세션 요약, 회상)를 담당한다. 이 스킬은 **앞으로 어떻게 행동할까**(행동 규칙)만 담당한다. 요약이나 회상을 여기서 만들지 않는다.

Attribution

snwleesnwlee
View sourceMore from snwlee →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.

1023331 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3331 votes

catchup

Recovers prior coding-agent session context by running `catchup <agent> --since-compact`, which extracts a clean summary of a previous Codex, Claude Code, Antigravity, OpenCode, or Pi Agent session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", or asks to recover/summarize a previous session before continuing. Do NOT use for the current conversation, git history, or any non-agent log.

611 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →