Token导航 LogoToken导航TokenDH.com
研究检索可写文件github未标认证来源可访问许可证需确认审计通过

learn-add学习添加

Agent Skill

learn-add 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

188

周安装

8

GitHub Stars

11

下载量

66
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:learn-add(学习添加)
来源仓库:https://github.com/parhumm/jaan-to
仓库路径:skills/learn-add
安装命令:
npx skills add https://github.com/parhumm/jaan-to --skill learn-add
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/parhumm/jaan-to --skill learn-add

简介

learn-add 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词快速定位候选结果时使用。

  • 适用于研究检索类任务,可结合来源仓库和原始 README 核验具体用法。
  • 通过 npx skills add 命令从 GitHub 安装,需确认权限范围和维护状态。
  • 使用前建议检查是否会触发联网、命令执行或文件读写操作。
  • 当前维护状态和稳定性需结合仓库活跃度进一步确认。

SKILL.md

learn-add

Route feedback to the appropriate LEARN.md file.

Context Files

  • $JAAN_LEARN_DIR/*.learn.md - Skill lessons
  • $JAAN_CONTEXT_DIR/*.md - Context files and lessons
  • ${CLAUDE_PLUGIN_ROOT}/docs/extending/language-protocol.md - Language resolution protocol

Input

Arguments: $ARGUMENTS

Expected format: "target" "lesson"

  • Target: skill name, $JAAN_TEMPLATES_DIR/name, or $JAAN_CONTEXT_DIR/name
  • Lesson: the feedback to add

Examples:

  • /jaan-to:learn-add "pm-prd-write" "Always ask about rollback strategy"
  • /jaan-to:learn-add "$JAAN_CONTEXT_DIR/tech" "All new tables need soft delete"

If no input provided, ask for target and lesson.


Pre-Execution Protocol

Language Settings

Read and apply language protocol: ${CLAUDE_PLUGIN_ROOT}/docs/extending/language-protocol.md Override field for this skill: language_learn-add


PHASE 1: Analysis (Read-Only)

Step 1: Parse Input

Extract target and lesson from arguments.

If format is unclear:

  1. "Which skill/context should this lesson apply to?"
  2. "What is the lesson to add?"

Step 2: Determine Target File

Route based on target:

Target PatternLEARN.md Location
Skill name (e.g., pm-prd-write)$JAAN_LEARN_DIR/jaan-to-{skill}.learn.md
System skill (e.g., skill-create)$JAAN_LEARN_DIR/jaan-to-{skill}.learn.md
$JAAN_TEMPLATES_DIR/{name}$JAAN_TEMPLATES_DIR/LEARN.md
$JAAN_CONTEXT_DIR/{name}$JAAN_CONTEXT_DIR/LEARN.md
$JAAN_CONTEXT_DIR/tech$JAAN_CONTEXT_DIR/tech.md (constraints section)
$JAAN_CONTEXT_DIR/team$JAAN_CONTEXT_DIR/team.md (norms section)

Step 3: Auto-Categorize Lesson

Detect category from lesson keywords:

CategoryTrigger Keywords
Better Questionsask, question, clarify, confirm, "should ask"
Edge Casesedge, special, case, handle, check, "need to handle"
Workflowworkflow, process, step, order, "before/after"
Common Mistakesavoid, mistake, wrong, don't, never, "should not"

If unclear, ask: "Which category? [questions/edge-cases/workflow/mistakes]"

Step 4: Read Current LEARN.md

Read the target LEARN.md file if it exists at $JAAN_LEARN_DIR/jaan-to-{name}.learn.md. If not found, check legacy path $JAAN_LEARN_DIR/jaan-to:{name}.learn.md — if legacy found, rename it to the dash-prefixed path first. If neither exists, prepare to create with template.


HARD STOP - Human Review Check

Show preview:

Ready to Add Lesson

**File:** {file path}
**Category:** {category}
**Lesson:** {lesson text}

Preview:
## {Category}
- {existing lessons...}
- {new lesson}  <-- NEW

Confirm? [y/n/edit]

Do NOT proceed without explicit approval.


PHASE 2: Write

Step 5: Update LEARN.md

If file exists:

  1. Read current content
  2. Find the category section (e.g., ## Better Questions)
  3. Append new lesson as bullet point
  4. Update "Last updated" date
  5. Write file

If file doesn't exist:

  1. Check if plugin has seed data: ${CLAUDE_PLUGIN_ROOT}/skills/{skill-name}/LEARN.md
  2. If seed exists and has meaningful content (contains - bullet points), use it as starting point
  3. If no seed exists, create from the template below
  4. Add the new lesson to the appropriate category
  5. Write file to: $JAAN_LEARN_DIR/jaan-to-{skill-name}.learn.md

LEARN.md Template

# Lessons: {skill-name}

> Last updated: {date}

## Better Questions
- {lesson if category matches}

## Edge Cases
- {lesson if category matches}

## Workflow
- {lesson if category matches}

## Common Mistakes
- {lesson if category matches}

Step 6: Confirm Write

Lesson Added

**File:** {path}
**Category:** {category}
**Lesson:** {lesson}

Step 7: Offer to Commit

Ask user:

Commit this lesson? [y/n]

If confirmed:

  1. Stage: git add {file_path}
  2. Commit: git commit -m "learn({skill}): {short lesson summary}"
  3. Show: "Lesson committed: {commit hash}"

If declined:

  • Skip commit, lesson is saved locally
  • Show: "Lesson saved (not committed)"

Error Handling

No Target

"No target specified. Which skill or context should this lesson apply to?"

Target Not Found

"Skill '{target}' not found. Available skills: {list}"

Empty Lesson

"No lesson provided. What feedback should be remembered?"

LEARN.md Create Fail

"Could not create LEARN.md. Check file permissions."

Trust Rules

  1. NEVER modify without user confirmation
  2. ALWAYS show preview before writing
  3. PRESERVE existing lessons
  4. ASK when category is unclear

Skill Alignment

  • Two-phase workflow with HARD STOP for human approval
  • Single source of truth (no duplication)
  • Plugin-internal automation
  • Maintains human control over changes

Definition of Done

  • Target skill/context identified and validated
  • Lesson categorized (questions/edge-cases/workflow/mistakes)
  • Preview shown and user approved
  • LEARN.md file updated with new lesson
  • Commit offered to user

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.49%
按下载量换算23

Claude

33.28%
按下载量换算22

Cursor

17.73%
按下载量换算12

Gemini CLI

10.23%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

可写文件

该 Skill 可能写入或修改本地文件,使用前需要确认目标目录和修改范围。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills