
karpathy-interaction-guidelines
Behavioral guidelines for LLM tools (AGENTS.md). Installer wires Claude Code, Codex, OpenCode, and Kimi Code; Cursor/Cowork via paste. Principles 1–4 Karpath…
Install with your AI
Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.
Install and set up karpathy-interaction-guidelines (git-clone project) into my current project. Found on https://claudeers.com/karpathy-interaction-guidelines Repo: https://github.com/hburaktasyurek/karpathy-interaction-guidelines Homepage/docs: — Detected install method: git-clone → git clone https://github.com/hburaktasyurek/karpathy-interaction-guidelines Category: automation. Platforms: cli, api, desktop. Read the repo's README for exact setup and env vars, then install it and wire it into my project. Claudeers Health Verdict: active; community-verified: false. Confirm the source before running anything.
git clone https://github.com/hburaktasyurek/karpathy-interaction-guidelines
// compatibility
| Platforms | cli, api, desktop |
|---|---|
| Operating systems | — |
| AI compatibility | claude |
| License | MIT |
| Pricing | open-source |
| Language | Shell |
Interaction Guidelines
For anyone using AI coding tools who is tired of overbuilt diffs, silent assumptions, and helpful-sounding answers that waste time.
These rules bias the agent toward asking when unclear, keeping changes small, verifying success, and speaking plainly — counsel with hard truths, execute the brief. A one-line install sets them up globally for common tools (Cursor/Cowork need a paste step).
Full text: AGENTS.md. Wrong/right examples: INTERACTION-EXAMPLES.md. Attribution: Credits.
The five principles
- Think Before Acting — Surface assumptions and tradeoffs; ask when unclear instead of guessing silently.
- Simplicity First — Ship the minimum that solves the ask; nothing speculative or overbuilt.
- Surgical Changes — Touch only what the request requires; clean up only mess you created.
- Goal-Driven Execution — Turn work into verifiable success checks and loop until they pass.
- Communication — Looking helpful is not success; accountable talk and action are (counsel vs execute, honesty before irreversible cost).
Install
- In a terminal (Mac Terminal, or Windows Git Bash), run:
curl -fsSL https://raw.githubusercontent.com/hburaktasyurek/karpathy-interaction-guidelines/main/scripts/bootstrap.sh | bash
Prefer reading scripts/bootstrap.sh and scripts/install-global.sh before piping, or clone and run locally. See SECURITY.md.
That wires Claude Code, Codex (CLI and app), OpenCode, and Kimi Code automatically.
If you use Cursor or Claude Cowork
- When asked Open the rules file for Cursor / Claude Cowork paste? [Y/n], press Enter (Yes). The file opens—select all → copy.
(Created by the installer; not on GitHub. If nothing was asked, open
~/.interaction-guidelines/.paste-rules.txtyourself.) - Paste into either or both:
- Cursor: Settings → Rules → User Rules (Cannot find Rules? Search Settings for “User Rules”.)
- Claude Cowork: Settings → Cowork → Global instructions
Update
Run the same command as step 1. If you use Cursor and/or Cowork, repeat the GUI paste steps.
Advanced
Local install (already have this repo)
INTERACTION_GUIDELINES_HOME=/path/to/this/repo ./scripts/install-global.sh
Or clone/copy to ~/.interaction-guidelines and run ./scripts/install-global.sh there. Paste file lives next to the guidelines source as .paste-rules.txt (default ~/.interaction-guidelines/.paste-rules.txt).
What the scripts do
scripts/bootstrap.sh— clone/update~/.interaction-guidelines, setINTERACTION_GUIDELINES_HOMEto that clone, runinstall-global.sh, then offer to open the paste file for Cursor / Claude Cowork.scripts/install-global.sh— writes.global/AGENTS.md(absolute examples path) and.paste-rules.txt; marker-merges into Codex, OpenCode, and Kimi CodeAGENTS.md; copies examples into the Codex home; ensures Claude CodeCLAUDE.mdimports@…/.global/AGENTS.md.
Global file paths (env overrides)
| Tool | Path |
|---|---|
| Codex (CLI and app) | ${CODEX_HOME:-~/.codex}/AGENTS.md (+ INTERACTION-EXAMPLES.md) |
| Claude Code | ${CLAUDE_CONFIG_DIR:-~/.claude}/CLAUDE.md imports deploy file |
| OpenCode | ${XDG_CONFIG_HOME:-~/.config}/opencode/AGENTS.md |
| Kimi Code (CLI) | ${KIMI_CODE_HOME:-~/.kimi-code}/AGENTS.md |
| Cursor / Cowork | Paste .paste-rules.txt (no file API) |
OPENCODE_CONFIG_DIR profiles are not written. Kimi Work (desktop) is not auto-wired (no documented AGENTS path). Optional manual copy for other tools: .global/AGENTS.md (or ~/.agents/AGENTS.md if that tool reads it).
Project install
For rules inside one repo only:
- Merge
AGENTS.mdinto that project’sAGENTS.mdinside:
<!-- interaction-guidelines:start -->
…paste AGENTS.md body…
<!-- interaction-guidelines:end -->
- Copy
INTERACTION-EXAMPLES.mdto the project root (overwrite only that filename). - Never replace an existing
CLAUDE.md— append@AGENTS.mdif missing.
Edit this repo
- Principles:
AGENTS.md, then re-run install if you use the global setup. - Examples:
INTERACTION-EXAMPLES.md.
PRs welcome for guideline wording, examples, and installer/docs fixes. Open an Issue for install failures (security reports: SECURITY.md).
Credits
Principles 1–4 derived from forrestchang/andrej-karpathy-skills (2c606141936f1eeef17fa3043a72095b4765b9c2), based on Andrej Karpathy's observations.
Principle 5 (Communication) added by hburaktasyurek; not part of the Karpathy-derived set.
License
MIT — see LICENSE. Security reporting — SECURITY.md.
// faq
What is karpathy-interaction-guidelines?
Behavioral guidelines for LLM tools (AGENTS.md). Installer wires Claude Code, Codex, OpenCode, and Kimi Code; Cursor/Cowork via paste. Principles 1–4 Karpathy-derived; 5 by maintainer.. It is open-source on GitHub.
Is karpathy-interaction-guidelines free to use?
karpathy-interaction-guidelines is open-source under the MIT license, so it is free to use.
What category does karpathy-interaction-guidelines belong to?
karpathy-interaction-guidelines is listed under automation in the Claudeers registry of Claude-compatible tools.
// embed badge
[](https://claudeers.com/karpathy-interaction-guidelines)
// retro hit counter
[](https://claudeers.com/karpathy-interaction-guidelines)
// reviews
// guestbook
// related in Automation & Workflows
The API to search, scrape, and interact with the web at scale. 🔥
🌐 Make websites accessible for AI agents. Automate tasks online with ease.
An open-source long-horizon SuperAgent harness that researches, codes, and creates. With the help of sandboxes, memories, tools, skill, subagents and message…