claudeers.
// Automation & Workflows

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…

Actively maintained
97/100
last commit 13 days ago
last release none
releases 0
open issues 0
// star history

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.
// or clone
git clone https://github.com/hburaktasyurek/karpathy-interaction-guidelines

// compatibility

Platformscli, api, desktop
Operating systems
AI compatibilityclaude
LicenseMIT
Pricingopen-source
LanguageShell

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

  1. Think Before Acting — Surface assumptions and tradeoffs; ask when unclear instead of guessing silently.
  2. Simplicity First — Ship the minimum that solves the ask; nothing speculative or overbuilt.
  3. Surgical Changes — Touch only what the request requires; clean up only mess you created.
  4. Goal-Driven Execution — Turn work into verifiable success checks and loop until they pass.
  5. Communication — Looking helpful is not success; accountable talk and action are (counsel vs execute, honesty before irreversible cost).

Install

  1. 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

  1. 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.txt yourself.)
  2. 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, set INTERACTION_GUIDELINES_HOME to that clone, run install-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 Code AGENTS.md; copies examples into the Codex home; ensures Claude Code CLAUDE.md imports @…/.global/AGENTS.md.

Global file paths (env overrides)

ToolPath
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 / CoworkPaste .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:

  1. Merge AGENTS.md into that project’s AGENTS.md inside:
<!-- interaction-guidelines:start -->
…paste AGENTS.md body…
<!-- interaction-guidelines:end -->
  1. Copy INTERACTION-EXAMPLES.md to the project root (overwrite only that filename).
  2. Never replace an existing CLAUDE.md — append @AGENTS.md if missing.

Edit this repo

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.

1 views
11 stars
unclaimed
updated 20 days ago

// embed badge

karpathy-interaction-guidelines on Claudeers
[![Claudeers](https://claudeers.com/api/badge/karpathy-interaction-guidelines.svg)](https://claudeers.com/karpathy-interaction-guidelines)

// retro hit counter

karpathy-interaction-guidelines hit counter
[![Hits](https://claudeers.com/api/counter/karpathy-interaction-guidelines.svg)](https://claudeers.com/karpathy-interaction-guidelines)

// reviews

// guestbook

0/500

// related in Automation & Workflows

🔓

The agent that grows with you

// automationNousResearch/Python230,654MIT[ claude ]
🔓

The API to search, scrape, and interact with the web at scale. 🔥

// automationfirecrawl/TypeScript167,815AGPL-3.0[ claude ]
🔓

🌐 Make websites accessible for AI agents. Automate tasks online with ease.

// automationbrowser-use/Python110,149MIT[ claude ]
🔓

An open-source long-horizon SuperAgent harness that researches, codes, and creates. With the help of sandboxes, memories, tools, skill, subagents and message…

// automationbytedance/Python80,016MIT[ claude ]
→ see how karpathy-interaction-guidelines connects across the ecosystem