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

learn-from-this从中学习

Agent Skill

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

总安装

238

周安装

10

GitHub Stars

54

下载量

83
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/elliotjlt/claude-skill-potions --skill learn-from-this

简介

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

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

SKILL.md

Learn From This

Why This Matters

The best skills are written AFTER failure, based on what actually went wrong. They're specific. Battle-tested. Born from real pain.

This skill is meta: it creates other skills. The skill library becomes a living document of hard-won lessons. Every entry is a scar that healed into armour.

When To Activate

Wasted Time:

  • Spent >30 minutes on something that should have taken 5
  • Went down a wrong path and had to backtrack significantly
  • Debugged something that had an obvious cause (in hindsight)

Misunderstandings:

  • Built the wrong thing because requirements weren't clarified
  • Made assumptions that turned out to be wrong
  • Solved an XY problem instead of the real problem

Repeated Patterns:

  • Made the same type of mistake twice in one session
  • Hit a failure mode you've seen before
  • Caught yourself doing something you know is bad practice

Near Misses:

  • Almost deployed broken code to production
  • Almost deleted important data
  • Caught a bug at the last second

User Frustration:

  • User had to repeat themselves
  • User expressed frustration at wasted time
  • Conversation got contentious or confused

Instructions

Step 1: Identify The Failure

What specifically went wrong?

Failure Analysis:

What happened:
  [Specific description of the failure]

What should have happened:
  [The correct outcome]

Time/effort wasted:
  [Rough estimate]

Root cause:
  [Why did this actually happen?]

Step 2: Find The Pattern

Is this a general pattern or a one-off?

Questions to ask:

  • Could this happen again in a different context?
  • Is this a Claude failure mode or a human-Claude interaction failure?
  • What was the earliest point this could have been caught?
  • What trigger could have detected this situation?

Step 3: Draft The Skill

---
name: [kebab-case-name]
description: |
  When [trigger condition that would have caught this],
  [action that would have prevented the failure].
  [Why this matters in one sentence].
allowed-tools: |
  [only what's needed]
---

# [Skill Name]

<purpose>
[One paragraph: what problem this prevents, born from real experience]
</purpose>

## When To Activate

[Specific triggers based on the failure pattern]

## Instructions

[Steps to prevent the failure]

## NEVER

[Anti-patterns that led to the failure]

## ALWAYS

[Behaviours that would have prevented it]

## The Failure That Spawned This Skill

[Brief description of the original failure - keeps it grounded]

Step 4: Validate The Skill

Before adding to the library:

Skill Validation:

Would this skill have prevented the original failure?
  [ ] Yes - clear trigger and action
  [ ] Partially - helps but doesn't fully prevent
  [ ] No - need to rethink

Is the trigger specific enough to activate?
  [ ] Yes - clear condition
  [ ] No - too vague, won't trigger reliably

Is it general enough to be useful again?
  [ ] Yes - pattern will recur
  [ ] No - too specific to this one case

Does a similar skill already exist?
  [ ] No - new pattern
  [ ] Yes - maybe enhance existing skill instead

Step 5: Propose Addition

New Skill Proposal:

Name: [skill-name]

Born from: [brief description of the failure]

Would have prevented: [specific outcome]

Skill file:
[full SKILL.md content]

Add to library?

Examples

Example 1: From "Built Wrong Thing" Failure

The Failure: User asked to "add authentication." I built a full OAuth2 implementation. User wanted a simple username/password. Wasted 2 hours.

The Pattern: I assumed complexity when simplicity was wanted. Didn't ask "what kind?"

The Skill:

---
name: how-fancy
description: |
  When a task has multiple complexity levels (auth, database, UI),
  ask which level before implementing. Don't assume enterprise
  when simple is wanted. Don't assume simple when robust is needed.
  One question saves hours.
allowed-tools: |
  file: read
---

# How Fancy?

<purpose>
Tasks like "add auth" or "set up database" have wildly different
implementations based on needs. A question takes 10 seconds. The
wrong assumption wastes hours.
</purpose>

## When To Activate

Before implementing anything with multiple complexity tiers:
- Authentication (basic, session, OAuth, SSO)
- Database (SQLite, Postgres, distributed)
- Caching (memory, Redis, CDN)
- UI (simple, animated, accessible)

## Instructions

Ask:

"Before I start: what level of [X] do you need?

Simple: [description]
Standard: [description]
Robust: [description]

This determines the approach."

## The Failure That Spawned This Skill

Built full OAuth2 when user wanted username/password. 2 hours wasted.

Example 2: From "Didn't Test Edge Case" Failure

The Failure: Wrote function, said "done", user tried empty string, it crashed. Basic edge case I should have tested.

The Pattern: Declared victory without testing obvious edge cases.

The Skill: This failure contributed to the prove-it skill. Instead of creating a new skill, the lesson was: existing skill wasn't being followed.

Lesson: Sometimes failures mean "use existing skill" not "create new skill."

Example 3: From "Lost Context" Failure

The Failure: Long session, 50+ messages. User referenced decision from message #12. I had forgotten and contradicted it. User frustrated.

The Pattern: In long sessions, I lose track of earlier decisions and context.

The Skill:

---
name: breadcrumbs
description: |
  In sessions longer than 20 messages, periodically summarise:
  key decisions made, current state, remaining work. Combat
  context degradation. Keep a trail back to important moments.
allowed-tools: |
  file: read
---

# Breadcrumbs

<purpose>
Long conversations degrade context. Decisions made early get
forgotten. Users repeat themselves. The fix: explicit checkpoints
that summarise the trail so far.
</purpose>

## When To Activate

Every ~15-20 messages in an ongoing session, or when:
- Starting a new phase of work
- User seems to be repeating something
- You're unsure if something was already decided

## Instructions

Drop a breadcrumb:

"Quick checkpoint:

Decisions so far:
- [Key decision 1]
- [Key decision 2]

Current state:
- [What's done]
- [What's in progress]

Next up:
- [What's remaining]

Anything I'm forgetting?"

## The Failure That Spawned This Skill

Message 50 of a long session. Contradicted a decision from message 12.
User had to re-explain. Frustration ensued.

Meta: This Skill Improving Itself

If this skill fails to capture a lesson properly, that itself is a failure to learn from. The skill should be updated based on its own shortcomings.

Questions to ask periodically:

  • Are the skills being generated actually useful?
  • Are they too specific? Too generic?
  • Is the trigger-action format working?
  • What failures are slipping through?

NEVER

  • Create skills for one-off flukes (must be a pattern)
  • Create skills that duplicate existing ones
  • Create skills too vague to trigger
  • Let a painful failure pass without extracting the lesson
  • Blame the user when the failure was yours

ALWAYS

  • Be honest about what went wrong
  • Find the root cause, not the symptom
  • Write skills specific enough to trigger
  • Include the origin failure (keeps it grounded)
  • Consider enhancing existing skills before creating new ones

The Failure That Spawned This Skill

Every skill in this library that wasn't written after real failure. The theoretical ones are weaker than the battle-tested ones. This skill ensures future additions come from real pain.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.3%
按下载量换算28

Claude

33.39%
按下载量换算28

Cursor

19.66%
按下载量换算16

Gemini CLI

8.71%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills