← Back to Skills Marketplace
sg345662365-oss

Andrej Karpathy Skills

by sg345662365-oss · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
43
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install andrej-karpathy-skills
Description
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes...
README (SKILL.md)

\r \r

Karpathy Guidelines\r

\r Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations on LLM coding pitfalls.\r \r Tradeoff: These guidelines bias toward caution over speed. For trivial tasks, use judgment.\r \r

1. Think Before Coding\r

\r Don't assume. Don't hide confusion. Surface tradeoffs.\r \r Before implementing:\r

  • State your assumptions explicitly. If uncertain, ask.\r
  • If multiple interpretations exist, present them - don't pick silently.\r
  • If a simpler approach exists, say so. Push back when warranted.\r
  • If something is unclear, stop. Name what's confusing. Ask.\r \r

2. Simplicity First\r

\r Minimum code that solves the problem. Nothing speculative.\r \r

  • No features beyond what was asked.\r
  • No abstractions for single-use code.\r
  • No "flexibility" or "configurability" that wasn't requested.\r
  • No error handling for impossible scenarios.\r
  • If you write 200 lines and it could be 50, rewrite it.\r \r Ask yourself: "Would a senior engineer say this is overcomplicated?" If yes, simplify.\r \r

3. Surgical Changes\r

\r Touch only what you must. Clean up only your own mess.\r \r When editing existing code:\r

  • Don't "improve" adjacent code, comments, or formatting.\r
  • Don't refactor things that aren't broken.\r
  • Match existing style, even if you'd do it differently.\r
  • If you notice unrelated dead code, mention it - don't delete it.\r \r When your changes create orphans:\r
  • Remove imports/variables/functions that YOUR changes made unused.\r
  • Don't remove pre-existing dead code unless asked.\r \r The test: Every changed line should trace directly to the user's request.\r \r

4. Goal-Driven Execution\r

\r Define success criteria. Loop until verified.\r \r Transform tasks into verifiable goals:\r

  • "Add validation" → "Write tests for invalid inputs, then make them pass"\r
  • "Fix the bug" → "Write a test that reproduces it, then make it pass"\r
  • "Refactor X" → "Ensure tests pass before and after"\r \r For multi-step tasks, state a brief plan:\r
1. [Step] → verify: [check]\r
2. [Step] → verify: [check]\r
3. [Step] → verify: [check]\r
```\r
\r
Strong success criteria let you loop independently. Weak criteria ("make it work") require constant clarification.\r
Usage Guidance
Safe to install as a coding-behavior guideline. Before using the optional npm or clone installer, review which agent file it will modify and be cautious with --force or --global because those options can overwrite or persist agent instructions beyond one project.
Capability Assessment
Purpose & Capability
The stated purpose is behavioral guidance for coding agents, and SKILL.md contains coherent advice about clarifying assumptions, keeping changes simple, making surgical edits, and verifying work.
Instruction Scope
Instructions stay within coding workflow behavior and do not ask the agent to ignore higher-priority instructions, collect secrets, perform unrelated actions, or run hidden commands.
Install Mechanism
The package metadata and README describe optional installers and many agent-specific instruction-file targets, including force and global modes, but these are disclosed and user-directed rather than automatic in the submitted skill artifact.
Credentials
No environment variables, credentials, session stores, broad local indexing, or network services are required by the skill instructions.
Persistence & Privilege
If a user follows the external installer guidance, it may write persistent agent instruction files such as AGENTS.md, CLAUDE.md, or user-level skill paths; that persistence is expected for an instruction skill and is explicitly documented.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install andrej-karpathy-skills
  3. After installation, invoke the skill by name or use /andrej-karpathy-skills
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of Karpathy Guidelines for coding with LLMs. - Outlines behavioral principles to avoid common mistakes: think before coding, prioritize simplicity, make surgical code changes, and define clear success criteria. - Emphasizes surfacing assumptions, reducing overcomplication, and verifying changes against explicit goals. - Includes practical rules for editing existing code without unnecessary refactoring or feature creep.
Metadata
Slug andrej-karpathy-skills
Version 1.0.0
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is Andrej Karpathy Skills?

Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes... It is an AI Agent Skill for Claude Code / OpenClaw, with 43 downloads so far.

How do I install Andrej Karpathy Skills?

Run "/install andrej-karpathy-skills" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Andrej Karpathy Skills free?

Yes, Andrej Karpathy Skills is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Andrej Karpathy Skills support?

Andrej Karpathy Skills is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Andrej Karpathy Skills?

It is built and maintained by sg345662365-oss (@sg345662365-oss); the current version is v1.0.0.

💬 Comments