
kulaxyz/自学技能是从https://github.com/kulaxyz/self-learning-skills.导入的代理技能候选人。
概览
kulaxyz/自学技能是从https://github.com/kulaxyz/self-learning-skills.导入的代理技能候选人。
概述(AI 翻译)
** 这是 AI 编码代理的自我提升技能。** 可使用 Claude 代码、光标,
以及任何读取AGENTS.md / standing-instruction文件的代理。
每次会话你都会进行硬调试或重新发现同样的东西——我该怎么做 能访问生产数据库吗?信用点在哪里?部署命令是什么?我该怎么做 现场验证? ——而这些来之不易的知识在会谈结束后就会消失 结束。下一场游戏从零开始并重新学习。
自学解决了这个问题。它教会你的代理识别出那一刻 刚刚获得了可重复使用的黄金路径,并在工具能坚持的地方保留它 下次自动加载——这样下一次会话开始时已经知道路线 而不是重新发现它。
这是一种元技能:它不是做工作,而是捕捉工作是如何完成的 完成了——包括失败,因为跳过了已知的死胡同下一场。 通常比赢得的奖金还要高。
循环(到处都是一样)
- 识别瞬间——一项只有多次尝试后才成功的任务,a 不明显的命令,一个你一开始不知道的项目事实,一个操作 工作流程可能会反复出现,或者你只是说*“记住这个”*。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
self-learning-skills
A self-improving skill for AI coding agents. Works with Claude Code, Cursor,
and any agent that reads an AGENTS.md / standing-instructions file.
Every session you do hard debugging or rediscover the same thing — how do I reach the prod DB? where do the creds live? what’s the deploy command? how do I verify this live? — and that hard-won knowledge evaporates when the session ends. The next session starts from zero and re-learns it.
self-learning fixes that. It teaches your agent to recognize the moment it has just earned a reusable golden path and persist it where the tool will auto-load it next time — so the next session starts already knowing the route instead of rediscovering it.
It’s a meta-skill: it doesn’t do the work, it captures how the work got done — including the failures, since skipping a known dead-end next session is often worth more than the win itself.
The loop (same everywhere)
- Recognize the moment — a task that only worked after several tries, a non-obvious command, a project fact you didn’t know up front, an operational workflow likely to recur, or you simply saying “remember this”.
- Capture it, no prompt needed — it acts on the cue immediately, picks the scope/name itself, and tells you afterward. The procedure is captured (not a one-off answer), plus a “what didn’t work” note.
- Reuse — next session the entry loads automatically, by skill/rule description or because the instructions file is always read.
What differs per tool is only where knowledge is persisted and how it’s auto-loaded:
| Tool | Persists golden paths to | Auto-loads via |
|---|---|---|
| Claude Code, Codex, Agent Skills clients | a new skills//SKILL.md |
skill description matching |
| Cursor | a new .cursor/rules/learned/.mdc |
rule description / globs |
| Zed, Aider, Gemini CLI, … | AGENTS.md (or project notes/memory) |
always-read instructions |
Install
npx — recommended (works with 70+ agents)
Uses the community skills CLI, which
installs into whatever agents it detects — Claude Code, Cursor, Codex, Cline,
OpenCode, and more:
npx skills add kulaxyz/self-learning-skills # this project (auto-detects agents)
npx skills add kulaxyz/self-learning-skills -g # global — all your projects
npx skills add kulaxyz/self-learning-skills -a claude-code # a specific agent
Try it once without installing:
npx skills use kulaxyz/self-learning-skills --skill self-learning | claude
Claude Code plugin
/plugin marketplace add kulaxyz/self-learning-skills
/plugin install self-learning@self-learning-skills
Manual
git clone https://github.com/kulaxyz/self-learning-skills
# Claude Code — global (or into a project's .claude/skills/ to share via git)
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add kulaxyz/self-learning-skills