Skip to content

Set up AI (optional)

Checked against Linen 0.2.1 on 20 November 2026.

Linen works without AI. Opening a mod, writing and reading code, running the game, Crash Doctor, the debugger and every other Linen tool work without any AI account.

If you have a Claude plan, Claude Code runs in Linen’s own panel, next to your code. It is the claude program on your computer. Linen runs it unmodified.

  • Claude Code on your computer. Install it from Anthropic (Claude Code setup). Linen finds it. If it is missing, Settings says so.
  • A Claude account that Claude Code accepts. Anthropic lists a Claude Pro, Max or Ultra plan, Claude for Teams or Enterprise, or a Claude Console account billed through the API (Claude Code authentication).
  • No Linen Pro needed. Claude Code and everything Linen hands it run in every edition of Linen, free.

Anthropic bills your Claude usage under your own plan. Linen never sells, proxies or marks up AI usage.

  1. Install Claude Code, if you haven’t.
  2. Open the Claude panel in Linen.
  3. Sign in to Claude yourself, through Anthropic’s own sign-in. Linen never sees your login.
  4. Ask Claude about your mod.
  • Linen never shows its own Claude login. You sign in to Claude yourself.
  • Linen never reads, stores, logs or forwards your Claude credentials.
  • If Claude Code reports a usage limit, that limit is your Claude plan’s, set by Anthropic. Linen’s editor, checks and tools keep working.
  • Claude gets a brief for your mod each chat: its name, id, package, and each module’s loader, Minecraft version and mappings.
  • It can read Minecraft’s code from your own jar (400 lines at most, with an off switch), check which versions have a method, run your game tests and build every version of your mod.
  • It can use the running game: take a picture of it, tell which block you are looking at, reload, run a command and find what lags. Try /look, /prove, /versions and /lag, or Check in the game.
  • Several chats can be open as tabs. Hover your message for Fork from here or Rewind to here, and rewind also puts back the files Claude changed since.
  • Linen and Claude talk through a local connection on your own computer. No one else can reach it.
  • What Claude proposes to change shows as a diff, and you accept or reject it.
  • Tool calls that need permission show as buttons on the card: allow, allow for this chat, or no.

Type a command in the panel and Linen builds the request from your mod’s current state:

  • /fix sends the Java and Linen Check errors it shows now (up to 40 lines).
  • /crash asks Claude to read the last crash and fix it in your code.
  • /port starts a port to another Minecraft version.

After Claude edits files, a card lists Java errors in the files it changed, with an Ask Claude to fix button. Nothing is sent until you type a command or press a button. Buttons for this on the Problems list and the crash screen are not built yet.

Nothing in Linen needs Claude Code. Leave the panel closed and Linen does everything else on its own.

New to making mods with AI? How to make Minecraft mods with AI has prompts that work, the mistakes models make on each version, and Modrinth’s and CurseForge’s AI rules.

More on what leaves your machine: How Linen uses AI.