Token导航 LogoToken导航

Agent Skill · 研究检索

karpathy(karpathy 搜索)

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

karpathy 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 49,707。

总安装 642周安装 27GitHub Stars 75下载 225核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/tmdgusya/engineering-discipline --skill karpathy

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找和筛选相关技术资源与信息。karpathy 属于研究检索类 Skill,可作为该场景下的辅助能力补充。适合根据关键词快速定位候选结果或研究线索。可结合任务场景匹配适用工具链和技术方案。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

使用时需提供清晰的目标描述以提高检索准确性。安装前建议确认是否需要访问外部网络资源。

来源仓库内路径:skills/karpathy

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/tmdgusya/engineering-discipline --skill karpat…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

karpathy 怎么安装?

在终端执行 npx skills add https://github.com/tmdgusya/engineering-discipline --skill karpathy。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

karpathy 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

karpathy 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

karpathy 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

karpathy 用的人多吗?

公开数据是累计安装 642 次,近一周安装 27 次,下载 225 次,GitHub 75 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

karpathy 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
karpathy

karpathy 搜索 · 本页

64275需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Karpathy Guidelines

A preventive thinking discipline for code implementation. Activates before and during code writing to block the most common mistakes LLMs make when generating code.

This is not about performance (that's rob-pike) or debugging (that's systematic-debugging). This is about the act of writing code itself — reading before writing, changing only what's asked, verifying instead of assuming, and defining what "done" means before starting.

Hard Gates

These rules have no exceptions.

  1. Read before you write. Do not modify a file you haven't read. Do not modify a function without understanding the callers. Do not modify a module without understanding its role.
  2. Scope to the request. Change what was asked. Nothing more. No "while I'm here" improvements, no opportunistic refactoring, no adding features that weren't requested.
  3. Verify, don't assume. If you think a function does X, read it. If you think a type has field Y, check it. If you think a test covers scenario Z, find it. Assumptions are the primary source of LLM coding errors.
  4. Define success before starting. Before writing any code, state what "done" looks like in concrete, verifiable terms. If you can't define it, you don't understand the task yet.

When To Use

  • Before implementing any feature or change
  • When modifying existing code
  • During code review (as a mental checklist)
  • When you catch yourself generating code without having read the surrounding context

When NOT To Use

  • Greenfield projects with no existing code to read (gates 1 and 3 still apply to dependencies)
  • Pure documentation changes
  • Performance optimization (use rob-pike instead)

The Five Rules

Rule 1: Make Surgical Changes

Every change should be the minimum edit that achieves the goal.

Before writing, ask:

  • What is the smallest change that solves this?
  • Am I touching files that don't need to change?
  • Am I adding code that wasn't requested?

Prohibited additions unless explicitly requested:

  • Type annotations on code you didn't change
  • Docstrings on functions you didn't change
  • Comments on logic you didn't change
  • Error handling for scenarios that aren't part of the task
  • Refactoring of surrounding code
  • "Improvements" you noticed along the way

One task, one change. If you discover something else that needs fixing, note it — don't fix it now.

Rule 2: Read The Existing Code

LLMs generate code based on patterns. Codebases have their own patterns. These often conflict.

Before modifying any file:

  1. Read the file
  2. Identify the conventions it uses (naming, error handling, patterns, structure)
  3. Match those conventions exactly in your changes

Before modifying any function:

  1. Find all callers
  2. Understand the contract (what goes in, what comes out, what side effects)
  3. Ensure your change doesn't break the contract

Before adding a new file:

  1. Check if similar functionality exists elsewhere
  2. Follow the project's file organization pattern
  3. Use the same naming conventions as neighboring files

Do not invent new patterns. Follow the ones that exist.

Rule 3: Verify Assumptions

Every assumption is a potential bug. The most dangerous assumptions are the ones that feel obvious.

Common assumptions that cause failures:

AssumptionVerification
"This function returns X"Read the function
"This field is always present"Check the type definition and upstream producers
"This test covers that case"Read the test
"This import path is correct"Check the file exists at that path
"This API accepts these parameters"Read the API definition or documentation
"This library works this way"Check the version and docs
"This config value is set"Check the actual config

When in doubt, grep. When confident, grep anyway.

Rule 4: Define Success Criteria

Before writing code, state what "done" means.

Format:

Done when:
- [ ] <specific, verifiable condition>
- [ ] <specific, verifiable condition>
- [ ] <specific, verifiable condition>

Bad criteria:

  • "The feature works" (not verifiable)
  • "Code is clean" (subjective)
  • "Tests pass" (which tests? what do they verify?)

Good criteria:

  • "POST /api/users returns 201 with valid payload and 400 with missing email"
  • "Existing tests in user.test.ts still pass"
  • "New test covers the null-brand edge case from issue #42"

If you can't write specific criteria, you don't understand the task. Go back and clarify.

Rule 5: Don't Solve Problems That Don't Exist

LLMs love to anticipate future needs. This produces code that is more complex than necessary.

Block these impulses:

  • "What if someone calls this with null?" — Is that possible in the current code? If not, don't guard against it.
  • "This should be configurable" — Is configuration needed now? If not, hardcode it.
  • "We might need to support multiple backends" — Do we have multiple backends? If not, don't abstract.
  • "This could be a generic utility" — Is it used in more than one place? If not, keep it specific.
  • "Let me add a feature flag" — Was a feature flag requested? If not, just change the code.

Build for what is needed today. Tomorrow's problems will have tomorrow's context.

Anti-Patterns

ImpulseRule ViolatedResponse
"Let me quickly refactor this while I'm here"Rule 1One task, one change. Note it for later.
"I know how this works, I'll just write the fix"Rule 2Read first. Your mental model may be wrong.
"This probably takes a string"Rule 3Check the type. "Probably" means you don't know.
"I'll know it's done when it works"Rule 4Define concrete criteria before starting.
"Let me make this extensible for future use"Rule 5Build for now. Extensibility is a future task.
"The code around this is messy, let me clean it"Rule 1Not your task. File a separate issue.
"I'll add some helpful logging"Rule 1Was logging requested? If not, don't add it.

Red Flags

Stop and re-read the rules if you catch yourself thinking:

  • "This is obvious, I don't need to read the code"
  • "I'll just add a few extra things while I'm at it"
  • "This should probably handle edge case X" (without checking if X can occur)
  • "Let me improve the type safety here too"
  • "I know what this function does"
  • "This needs better error handling" (without evidence of errors occurring)
  • "The naming is inconsistent, let me fix it across the file"

Minimal Checklist

During implementation, verify against this list:

  • I read the files I'm modifying before changing them
  • My changes are scoped to what was requested
  • I verified my assumptions about types, APIs, and behavior
  • I defined concrete success criteria before starting
  • I'm not solving hypothetical future problems
  • I'm following existing project conventions, not inventing new ones
  • Every new line of code is necessary for the task

Completion Standard

Implementation is disciplined when:

  • All changes are within the requested scope
  • No assumptions were made without verification
  • Success criteria were defined and met
  • No speculative code was added
  • Existing conventions were followed

If any of these are not met, the implementation needs revision.

Transition

After implementation is complete:

  • If AI-generated code smells remain → use clean-ai-slop to run a corrective pass
  • If a bug is discovered → use systematic-debugging to investigate
  • If performance is a concern → use rob-pike before optimizing

平台分布

Codex

37.42%
按下载量换算84

Claude

29.06%
按下载量换算65

Cursor

19.67%
按下载量换算44

Gemini CLI

9.67%
按下载量换算22

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

继续浏览同类 Skills