Skip to content

Add ThinhCuLoi/karpathy-skills plugin - #101

Open
ThinhCuLoi wants to merge 1 commit into
MiniMax-AI:mainfrom
ThinhCuLoi:add-karpathy-skills
Open

ThinhCuLoi wants to merge 1 commit into
MiniMax-AI:mainfrom
ThinhCuLoi:add-karpathy-skills

Conversation

@ThinhCuLoi

@ThinhCuLoi ThinhCuLoi commented Dec 5, 2026 •

Copy link
Copy Markdown

What changes

Adds plugins/ThinhCuLoi/karpathy-skills: a MiniMax Code port of
multica-ai/andrej-karpathy-skills,
the MIT-licensed project by forrestchang that packages four behavioral guidelines derived from
Andrej Karpathy's observations on LLM
coding pitfalls.

The Plugin ships one Skill, karpathy-guidelines, carrying the four principles unchanged:

Principle Addresses
Think Before Coding Wrong assumptions, hidden confusion, missing tradeoffs
Simplicity First Overcomplication, bloated abstractions
Surgical Changes Orthogonal edits, touching code you should not
Goal-Driven Execution Vague goals, unverifiable completion

Files added under plugins/ThinhCuLoi/karpathy-skills/:

File Purpose
plugin.json Portable Agent Plugins 1.0 manifest
README.md Problem, example prompt, requirements, data and network behavior, packaging notes
LICENSE Apache-2.0
NOTICE.md Upstream MIT attribution and the list of port changes
.minimax-plugin/plugin.json MiniMax manifest (icon, displayName, category, exampleQueries)
icon.png, icon-dark.png MiniMax Code Code-category icon assets
skills/karpathy-guidelines/SKILL.md The four principles, a mapping onto MiniMax Code's tools, a pre-flight checklist
skills/karpathy-guidelines/references/examples.md Before/after code examples per principle (upstream EXAMPLES.md)
skills/karpathy-guidelines/references/project-instructions-template.md Drop-in AGENTS.md body for project-wide use (upstream CLAUDE.md)

The port adds one section to the Skill, "Applying these in MiniMax Code", that maps each
principle onto the runtime's own tools (ask_user, edit, todowrite, task). The four
principles themselves are unchanged. The upstream Claude Code .claude-plugin/ manifest and the
Cursor .cursor/rules/*.mdc rule are not carried over; the MiniMax equivalent of the latter is
the AGENTS.md reference template.

User value

Coding agents tend to pick an interpretation silently, overcomplicate code, and rewrite code
they do not fully understand as a side effect of the real task. This Plugin gives MiniMax Code
users an on-demand procedure that makes those failure modes explicit before and after each
change.

Example prompt:

Apply the Karpathy guidelines while you refactor this module.

Expected result: the agent states its assumptions before editing, presents competing
interpretations instead of choosing silently, keeps the diff limited to lines that serve the
request, adds no speculative abstraction or configuration, and closes with the checks it
actually ran, naming what it verified and what it could not.

Plugin submission checklist

  • Plugin lives at plugins/ThinhCuLoi/karpathy-skills.
  • plugin.json name matches the Plugin directory.
  • README.md includes a real example prompt and expected result.
  • LICENSE and plugin.json declare an open-source license.
  • Required executables, accounts, paid services, and supported platforms are disclosed.
  • Network destinations and data handled by the plugin are disclosed.
  • No credentials, private endpoints, hidden telemetry, installers, symlinks, or native binaries are included.
  • Every scaffold TODO has been replaced.
  • npm run check passes. npm run validate passes. npm test reports 22 failures that
    are unrelated to this Plugin and are pre-existing on Windows; see Evidence.

Evidence

Repository validator, from the repository root:

$ npm run validate
OK   plugin ThinhCuLoi/karpathy-skills
...
Validated 32 hosted Plugins and all examples.

Repository test suite, from the repository root:

$ npm test
# tests 1148
# pass 1121
# fail 22
# skipped 5

The 22 failures are all EPERM: operation not permitted, symlink ... raised by fs.symlink
inside plugins/weekbin/mcode-trajectory-studio/test/containment.test.mjs and
plugins/weekbin/mcode-trajectory-studio/test/containment-attacks.test.mjs. That plugin's
tests create symbolic links to prove a containment escape is refused, and Windows refuses
unprivileged symlink creation, so the assertions never run. They do not reference this Plugin,
and npm run validate is clean. CI runs on Ubuntu, where the same suite passes.

Sensitive-information scan over the whole contributed directory: no TODO placeholder, no
credential, token, or key pattern, no absolute local path, no e-mail address, and no private
IPv4 range. The only matches were the words "Authorization" and "password" inside prose that
describes their absence and inside the upstream authentication example.

Desktop recognition: the same package is installed locally as a MiniMax Code Plugin. The
Desktop plugin list reports karpathy-skills, version 1.0.0, source local, enabled
true, and the plugin loads its Skill from skills/karpathy-guidelines/SKILL.md.

GitHub Desktop recognition of this contributed copy is covered by npm run validate, which
applies the same manifest and Skill contract that the runtime reads.


Show it working
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant