Repository navigation
Add ThinhCuLoi/karpathy-skills plugin - #101
Open
ThinhCuLoi wants to merge 1 commit into
Open
ThinhCuLoi wants to merge 1 commit into
ThinhCuLoi wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
Adds
plugins/ThinhCuLoi/karpathy-skills: a MiniMax Code port ofmultica-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:Files added under
plugins/ThinhCuLoi/karpathy-skills/:plugin.jsonREADME.mdLICENSENOTICE.md.minimax-plugin/plugin.jsonicon.png,icon-dark.pngskills/karpathy-guidelines/SKILL.mdskills/karpathy-guidelines/references/examples.mdEXAMPLES.md)skills/karpathy-guidelines/references/project-instructions-template.mdAGENTS.mdbody for project-wide use (upstreamCLAUDE.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 fourprinciples themselves are unchanged. The upstream Claude Code
.claude-plugin/manifest and theCursor
.cursor/rules/*.mdcrule are not carried over; the MiniMax equivalent of the latter isthe
AGENTS.mdreference 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:
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
plugins/ThinhCuLoi/karpathy-skills.plugin.jsonname matches the Plugin directory.README.mdincludes a real example prompt and expected result.LICENSEandplugin.jsondeclare an open-source license.TODOhas been replaced.npm run checkpasses.npm run validatepasses.npm testreports 22 failures thatare unrelated to this Plugin and are pre-existing on Windows; see Evidence.
Evidence
Repository validator, from the repository root:
Repository test suite, from the repository root:
The 22 failures are all
EPERM: operation not permitted, symlink ...raised byfs.symlinkinside
plugins/weekbin/mcode-trajectory-studio/test/containment.test.mjsandplugins/weekbin/mcode-trajectory-studio/test/containment-attacks.test.mjs. That plugin'stests 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 validateis clean. CI runs on Ubuntu, where the same suite passes.Sensitive-information scan over the whole contributed directory: no
TODOplaceholder, nocredential, 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, version1.0.0, sourcelocal, enabledtrue, and the plugin loads its Skill fromskills/karpathy-guidelines/SKILL.md.GitHub Desktop recognition of this contributed copy is covered by
npm run validate, whichapplies the same manifest and Skill contract that the runtime reads.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.