Логотип Andrej Karpathy Skills

Andrej Karpathy Skills

Сообщество
seaworld008
andrej-karpathy-skills

Karpathy-inspired coding discipline for AI agents: think before coding, keep changes simple, edit surgically, and define verifiable success criteria before implementation.

Обзор

Издательseaworld008
РепозиторийCommonly-used-high-value-skills
Название навыкаandrej-karpathy-skills
Звёзды
70
Форки
11
Файлы в комплекте
Только инструкции
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — seaworld008. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Andrej Karpathy Skills в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/seaworld008/Commonly-used-high-value-skills/tree/main/openclaw-skills/andrej-karpathy-skills
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/seaworld008/Commonly-used-high-value-skills.git /tmp/Commonly-used-high-value-skills
mkdir -p .claude/skills
cp -r /tmp/Commonly-used-high-value-skills/openclaw-skills/andrej-karpathy-skills .claude/skills/andrej-karpathy-skills
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Andrej Karpathy Skills в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Andrej Karpathy Skills, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Andrej Karpathy Skills не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Andrej Karpathy Skills

Use this skill to keep AI-assisted engineering grounded, simple, and verifiable. It is especially useful for backend, architecture, refactoring, debugging, migrations, and any task where an agent might overbuild, guess, or change unrelated code.

The core idea is simple: do not let the model drift. Make assumptions explicit, prefer minimal changes, touch only what the request requires, and verify with concrete checks before calling the work done.

When to Use

  • Writing backend code, API changes, migrations, data access logic, or architecture-sensitive code.
  • Refactoring code where accidental behavior changes are risky.
  • Debugging a production issue or a failing test.
  • Reviewing AI-generated code for overengineering, hidden assumptions, or missing verification.
  • Implementing a user request that is ambiguous, cross-cutting, or easy to over-scope.
  • Making changes in an unfamiliar codebase.
  • Working under constraints such as dirty git state, existing style, generated files, or ownership boundaries.
  • Producing a plan before code or a concise review after code.

Skip When

  • The user explicitly asks for brainstorming without implementation.
  • The task is pure content writing, design exploration, or research without code changes.
  • A different skill with stricter domain procedure applies, such as a security audit, incident response, or regulated compliance workflow.

Core Principles

  1. Think before coding.
  2. Simplicity first.
  3. Surgical changes.
  4. Goal-driven execution.
  5. Verification before completion.
  6. Respect the existing system.
  7. Surface uncertainty early.
  8. Prefer reversible, observable steps.

Principle 1: Think Before Coding

Before implementation, establish what is known and what is assumed.

  • Read the relevant files before changing them.
  • Identify the exact behavior the user wants changed.
  • Name any ambiguity that changes the implementation path.
  • If there are multiple viable approaches, pick the smallest one that fits the repo.
  • If an approach creates a new abstraction, justify why it reduces real complexity.
  • If the task crosses module boundaries, map those boundaries first.
  • If the codebase already has a local pattern, use it.

Do not silently guess when the guess would affect data integrity, security, public API behavior, billing, auth, or destructive operations.

Principle 2: Simplicity First

Write the minimum code that fully solves the actual problem.

  • Do not add configuration for cases the user did not ask for.
  • Do not introduce a framework, service, queue, cache, or abstraction just because it may help later.
  • Do not broaden a bug fix into a style rewrite.
  • Do not add generic helpers for one call site unless the helper removes real complexity.
  • Keep names direct and local.
  • Prefer boring data structures and clear control flow.
  • Make failure modes explicit, but do not handle impossible states with noisy code.

Ask this before committing to an approach:

text
Can the same behavior be achieved with fewer concepts, fewer files, and less surface area?

If yes, simplify.

Principle 3: Surgical Changes

Every changed line should trace to the request.

  • Touch only the files required by the task.
  • Keep unrelated formatting, naming, and comments intact.
  • Remove only unused code made unused by your own change.
  • Leave unrelated dead code alone unless the user asked for cleanup.
  • Preserve generated files unless the repository pipeline regenerates them.
  • Do not rewrite public APIs when an adapter or narrow fix is enough.
  • In a dirty worktree, distinguish your changes from existing user changes.

Use this edit filter:

text
If I had to explain this line in the PR, could I tie it directly to the requested outcome?

If not, do not change it.

Principle 4: Goal-Driven Execution

Turn vague tasks into verifiable goals.

  • "Fix login" becomes: reproduce failing login, identify cause, patch, run auth tests.
  • "Add validation" becomes: define invalid cases, test them, implement, verify messages.
  • "Improve architecture" becomes: name the current pain, change one boundary, prove behavior holds.
  • "Clean up" becomes: list safe cleanup targets, remove only confirmed unused or duplicated assets.

For multi-step work, use a compact plan:

markdown
1. Inspect current behavior -> verify with failing test or local reproduction.
2. Make minimal change -> verify targeted test passes.
3. Run broader checks -> verify no nearby regression.

Principle 5: Verification Before Completion

Do not finish on intuition.

  • Run the smallest relevant test first.
  • Then run the broader suite required by the blast radius.
  • For UI work, inspect the rendered result when feasible.
  • For generated files, rerun the generator and confirm no unexpected drift.
  • For migrations, inspect schema and rollback assumptions.
  • For security-sensitive work, run static checks and manual review.
  • If a check cannot run, say exactly why and what risk remains.

Good final status includes changed files, validation performed, and known residual risk.

Backend Discipline

For backend and architecture work:

  • Preserve request/response contracts unless the user asked to change them.
  • Keep validation at trust boundaries.
  • Keep database writes transactional where partial writes would corrupt state.
  • Make idempotency explicit for retries, webhooks, jobs, and sync flows.
  • Avoid hidden global state and time-dependent behavior in core logic.
  • Separate pure decision logic from I/O when it makes tests easier.
  • Prefer existing repository error handling and logging conventions.
  • Avoid swallowing exceptions without traceable context.

Architecture Discipline

Use architecture changes only when they reduce current pain.

  • Add a module boundary when multiple call sites need the same behavior.
  • Add an interface when there are multiple real implementations or a test boundary demands it.
  • Add a service only if it owns a coherent workflow.
  • Add a background job only if synchronous execution is genuinely unsafe or too slow.
  • Add a cache only when there is measured or obvious repeated expensive work.
  • Add a migration path for public or persisted contracts.

If the change cannot be validated in this turn, keep it smaller.

Review Checklist

  • Scope: Does the diff solve only the user request?
  • Assumptions: Are assumptions named or encoded in tests?
  • Simplicity: Is there speculative abstraction?
  • Behavior: Are important edge cases covered?
  • Data: Are writes safe, atomic, and idempotent where needed?
  • Security: Are inputs validated and secrets protected?
  • Compatibility: Are public contracts preserved or intentionally migrated?
  • Observability: Are errors diagnosable without leaking sensitive data?
  • Verification: Did relevant tests or checks run?

Anti-Patterns

  • Rewriting a working subsystem to fix a one-line bug.
  • Adding a new dependency for a small utility.
  • Changing formatting across a file while making a behavior fix.
  • Returning "done" without running any verification.
  • Hiding uncertainty behind confident prose.
  • Creating TODOs instead of finishing the requested path.
  • Making the code more configurable than the product needs.
  • Updating generated files by hand.

Output Format

For implementation planning:

markdown
## Assumptions
- ...

## Minimal Approach
- ...

## Verification
- Targeted:
- Broader:

For code review:

markdown
## Findings
- [Severity] file:line - issue and impact

## Verification Gaps
- ...

Boundaries

This skill is a discipline layer, not a replacement for domain expertise. Pair it with security, testing, DevOps, database, or frontend skills when the task needs specialized checks.

Часто задаваемые вопросы

Что делает навык ИИ Andrej Karpathy Skills?

Karpathy-inspired coding discipline for AI agents: think before coding, keep changes simple, edit surgically, and define verifiable success criteria before implementation.

Зачем использовать Andrej Karpathy Skills в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Andrej Karpathy Skills — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Andrej Karpathy Skills в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/seaworld008/Commonly-used-high-value-skills/tree/main/openclaw-skills/andrej-karpathy-skills. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Andrej Karpathy Skills?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Andrej Karpathy Skills?

С любым количеством. В TypingMind вы можете использовать Andrej Karpathy Skills с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Andrej Karpathy Skills?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — seaworld008. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇