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

self-learning-skills自学技能

Agent Skill

self-learning-skills 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 Codex、Claude、Cursor、Gemini CLI 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,384

周安装

56

GitHub Stars

42

下载量

435
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/scottfalconer/self-learning-skills --skill self-learning-skills

简介

self-learning-skills 用于记录任务执行中的错误、纠正和经验沉淀。

  • 适合希望 Agent 持续改进问题处理和最佳实践的场景。
  • 通过 npx skills add 命令安装,建议结合原始 README 了解具体用法。
  • 安装前应确认权限范围和维护状态,避免触发文件读写或网络请求。
  • 涉及经验存储时应注意数据边界和隐私保护。

SKILL.md

Self-learning sidecar

Use this skill to recall prior shortcuts before you start work, and to record durable “aha” moments + recommendations after you finish.

Critical rule: if no learnings exist (cold start), say so and proceed with standard tools — do not invent memories.

CLI path (important)

This skill ships an optional helper CLI at <SKILL_DIR>/scripts/self_learning.py (where <SKILL_DIR> is the directory that contains this SKILL.md).

  • Codex default: ${CODEX_HOME:-$HOME/.codex}/skills/self-learning-skills
  • In the commands below, replace <SKILL_DIR> with your install path.

1) PRE-RUN: Recall (before starting work)

When to use: Before any non-trivial task.

Action:

  1. Locate the project store: <repo-root>/.agent-skills/self-learning/v1/users/<user>/
  2. Read <project_store>/INDEX.md (quick skim).
  3. If you need targeted recall, run:

- python3 <SKILL_DIR>/scripts/self_learning.py list --query "<keywords>" - Optional filters: --skill <name>, --tag skill:<name>

  1. Summarize 3–7 directly actionable bullets relevant to the current task (titles + IDs only; no long dumps).

2) POST-RUN: Record (after finishing work)

When to use: You discovered something durable (schema, fix, command sequence, constraint, etc.).

Action:

  1. Capture 1–5 Aha Cards (durable, reusable, specific, non-sensitive). Format: references/FORMAT.md.

- Ensure every Aha Card and Recommendation has primary_skill (use unknown if unsure). - Set scope to project (repo/run-specific) or portable (generally reusable; a backport candidate). - If you rediscovered the same learning, treat it as reinforcement (signal) rather than duplicating the full card.

  1. Capture 1–5 concrete recommendations (what to change and where).
  2. Persist:

- python3 <SKILL_DIR>/scripts/self_learning.py record --json payload.json (or stdin)

  1. If you used an existing Aha Card or Recommendation, mark it as used:

- python3 <SKILL_DIR>/scripts/self_learning.py use --aha aha_...[,aha_...] [--rec rec_...[,rec_...]] - Or include used_aha_ids / used_rec_ids (or used: {aha_ids, rec_ids}) in the record payload to auto-append usage signals.

Output requirement: print a short summary + top 3 items, then point to “view more” (INDEX.md / review --format json). Do not dump long JSON by default.

3) REVIEW: Dashboard / Next actions

When to use: “What’s still open?”, “What’s stale?”, “What should we backport?”, “Most useful learnings this week?”

Action:

  • python3 <SKILL_DIR>/scripts/self_learning.py review --days 7
  • Full JSON: add --format json
  • Filters: --skill <name>, --scope project|portable, --status proposed,accepted,in_progress, --query "<keywords>"

4) MAINTENANCE / Governance

  • Repair store hygiene (append-only): python3 <SKILL_DIR>/scripts/self_learning.py repair --apply
  • Update recommendation status/scope: python3 <SKILL_DIR>/scripts/self_learning.py rec-status --id rec_... --status done --scope portable --note "..."
  • Optional backport bundle (explicit + auditable): python3 <SKILL_DIR>/scripts/self_learning.py export-backport --skill-path <skill-dir> --ids <aha_ids> [--make-diff] [--apply]
  • Inspect backport markers in a skill: python3 <SKILL_DIR>/scripts/self_learning.py backport-inspect --skill-path <skill-dir>

Docs

  • Setup/background: README.md
  • Integration templates (no hooks): references/INTEGRATION.md
  • Rubric/format/portability: references/RUBRIC.md, references/FORMAT.md, references/PORTABILITY.md

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.72%
按下载量换算155

Claude

33.55%
按下载量换算146

Cursor

17.33%
按下载量换算75

Gemini CLI

10.63%
按下载量换算46

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills