{
 "kind": "tool",
 "slug": "ultracite",
 "path": "tools/ultracite/",
 "name": "Ultracite",
 "maker": null,
 "density": "profile",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Prompts, structured output and evals",
   "tools/llm-tooling/"
  ]
 ],
 "lead": "AI-ready code formatter that helps write and generate code faster.",
 "chips": [
  {
   "label": "Prompts, structured output and evals",
   "path": "tools/llm-tooling/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install ultracite"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/haydenbleasel/ultracite"
  },
  {
   "label": "Website",
   "href": "https://www.ultracite.ai/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/haydenbleasel/ultracite"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 23, 2026",
   "note": "Latest GitHub release Nov 19, 2026. ",
   "src": "https://github.com/haydenbleasel/ultracite"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "72 projects",
   "status": "info",
   "sub": "#1 of 78 in its category",
   "note": "Dependency in 72 public GitHub projects set up for AI coding agents that we scanned (1.2%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Docs for agents",
   "status": "yes",
   "sub": "llms.txt",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": "https://www.ultracite.ai/llms.txt"
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Ultracite does",
   "parts": [
    {
     "t": "prose",
     "text": "Ultracite is a strict, zero-config preset that runs on Oxlint, Biome or ESLint, and it is built around the coding agent's loop: rules go into <code>AGENTS.md</code>, hooks re-check each file the agent edits, and <code>fix --claude</code> or <code>--codex</code> hands leftovers to an agent CLI."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Ultracite popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "58",
       "of": "/ 100",
       "l": "Gid Score, #1157 overall"
      },
      {
       "n": "2.5M",
       "l": "downloads a week, npm"
      },
      {
       "n": "3,381",
       "l": "GitHub stars"
      },
      {
       "n": "72",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Ultracite is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Ultracite is a dependency in 72 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (1.5% of the 4,867 JavaScript/TypeScript ones), #1 of 78 in prompts, structured output and evals.",
      "Projects that use it most often also use Biome (61.1%), Turborepo (59.7%), TypeScript (94.4%).",
      "It is more common in projects set up for OpenCode (4.4%) than for GitHub Copilot (0.9%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "59 projects, 1.8%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "52 projects, 2.1%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "27 projects, 0.9%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "20 projects, 4.3%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      },
      {
       "l": "15 projects, 4.4%",
       "v": "OpenCode",
       "path": "agents/opencode/"
      },
      {
       "l": "8 projects, 1.7%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 61.1% of its projects",
       "v": "Biome",
       "path": "tools/biomejs/"
      },
      {
       "l": "In 59.7% of its projects",
       "v": "Turborepo",
       "path": "tools/turbo/"
      },
      {
       "l": "In 94.4% of its projects",
       "v": "TypeScript",
       "path": "tools/typescript/"
      },
      {
       "l": "In 33.3% of its projects",
       "v": "oxfmt",
       "path": "tools/oxfmt/"
      },
      {
       "l": "In 33.3% of its projects",
       "v": "oxlint",
       "path": "tools/oxlint/"
      },
      {
       "l": "In 56.9% of its projects",
       "v": "Zod",
       "path": "tools/zod/"
      },
      {
       "l": "In 31.9% of its projects",
       "v": "Lefthook",
       "path": "tools/lefthook/"
      },
      {
       "l": "In 41.7% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      }
     ]
    }
   ]
  },
  {
   "id": "profile",
   "nav": "Profile",
   "h2": "Ultracite in practice",
   "parts": [
    {
     "t": "h3",
     "text": "Strengths"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "Rules written once, to AGENTS.md",
       "v": "Since 8.0.0, <code>init</code> writes the rules only to <code>AGENTS.md</code>. Four agents get one extra step. Claude Code gets an <code>@AGENTS.md</code> import in an existing <code>CLAUDE.md</code>, and Gemini CLI gets an entry in <code>context.fileName</code> in <code>.gemini/settings.json</code>. Aider gets <code>.aider.conf.yml</code> pointed at <code>AGENTS.md</code>, and Replit Agent keeps a copy in <code>replit.md</code>."
      },
      {
       "l": "Post-edit hooks, with handback in some agents",
       "v": "A hook fixes each file the agent edits in Cursor, Devin Desktop, CodeBuddy, Claude Code, Codex, Deep Agents, GitHub Copilot and Grok Build. Only some agents get the remaining problems handed back to them: Claude Code, CodeBuddy, Codex, Devin Desktop, Deep Agents, Grok Build and VS Code's Local agent."
      },
      {
       "l": "Aider lints every edit",
       "v": "In 8.0.0, <code>init</code> sets Aider's <code>lint-cmd</code> to the project's <code>ultracite fix</code>. Aider runs that command on every file it edits and asks the model to fix what is left."
      },
      {
       "l": "Agent CLI for what autofix leaves",
       "v": "<code>ultracite fix --claude</code> or <code>--codex</code> sends the leftover problems to that agent. The site says the agent repairs the code file by file with edit-only permissions."
      }
     ]
    },
    {
     "t": "h3",
     "text": "Watch out for"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "Opinionated on purpose",
       "v": "The FAQ warns that people who like tweaking every ESLint rule may find it \"restrictive.\" Rules can be turned off. But the maintainers write that if you turn off most of them, Ultracite may be the wrong preset for your team."
      },
      {
       "l": "init replaces some existing configs",
       "v": "An ESLint config that doesn't yet use Ultracite's presets is replaced, with a warning, and you carry your rules over by hand. Some Prettier and Stylelint configs are replaced the same way. Biome configs are edited in place. For Oxlint, a <code>.oxlintrc.json</code> or <code>.oxfmtrc.json</code> is moved into TypeScript configs and deleted."
      },
      {
       "l": "Default engine doesn't lint CSS",
       "v": "With the recommended Oxlint + Oxfmt setup, CSS is formatted but not linted. The migrate docs say to pick Biome or ESLint if you rely on Stylelint."
      }
     ]
    },
    {
     "t": "h3",
     "text": "Claude Code hook that fixes each edited file (.claude/settings.json)"
    },
    {
     "t": "tabs",
     "label": "Example",
     "items": [
      {
       "tab": "Json",
       "code": "{ \"hooks\" : { \"PostToolUse\" : [ { \"hooks\" : [{ \"command\" : \"bunx ultracite fix --hook\" , \"type\" : \"command\" }], \"matcher\" : \"Write|Edit\" } ] } }"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "profile",
   "h2": "More about Ultracite",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/haydenbleasel",
        "6 GitHub sponsors"
       ]
      },
      {
       "title": "Packages around it",
       "items": [
        "@biomejs: Biome engine",
        "turbo: Turborepo",
        "zod: Zod",
        "typescript: TypeScript",
        "husky: Pre-commit hooks",
        "dotenv: dotenv"
       ]
      },
      {
       "title": "More in Prompts, structured output and evals",
       "path": "tools/llm-tooling/",
       "items": [
        {
         "text": "tiktoken (Python)",
         "path": "tools/tiktoken-pypi/"
        },
        {
         "text": "tokenizers",
         "path": "tools/tokenizers/"
        },
        {
         "text": "LangSmith",
         "path": "tools/langsmith-pypi/"
        },
        {
         "text": "GPT Tokenizer",
         "path": "tools/gpt-tokenizer/"
        },
        {
         "text": "Langfuse (Python)",
         "path": "tools/langfuse-pypi/"
        },
        {
         "text": "TokenLens",
         "path": "tools/tokenlens/"
        },
        {
         "text": "@graphql-codegen/typescript-operations",
         "path": "tools/graphql-codegen-typescript-operations/"
        },
        {
         "text": "tiktoken (JavaScript)",
         "path": "tools/tiktoken-npm/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Ultracite",
       "me": true,
       "facts": [
        "MIT",
        "Gid 58",
        "2.5M/wk"
       ]
      }
     ],
     "more": "Compare Ultracite with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install ultracite"
    },
    {
     "t": "h3",
     "text": "Rules for your agent"
    },
    {
     "t": "rules",
     "label": "Paste into AGENTS.md or CLAUDE.md",
     "text": "## Ultracite\n- Use `npx ultracite check` to report problems and `npx ultracite fix` to apply safe fixes.\n- Use `ultracite fix --unsafe` only when a behavior change is acceptable. Those fixes require the flag because they may change behavior.\n- Put project-specific overrides after Ultracite's presets so they win. Add the reason as a comment for any rule turned off on purpose.\n- Leave formatting rules out of the linter config. The formatter owns formatting.\n- Framework presets (React, Next.js, etc.) don't include the core rules. Add them alongside `core`.\n- When migrating, format everything with `npx ultracite fix` in its own commit, then add that commit's hash to `.git-blame-ignore-revs`.\n- Update with `npx ultracite upgrade`, and run `npx ultracite doctor` to check whether Ultracite and the linter have drifted apart.\n"
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm ultracite"
  ],
  [
   "Category",
   "Prompts, structured output and evals"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Latest version",
   "ultracite@8.0.0, October 11, 2026"
  ],
  [
   "On GitHub since",
   "March 2022"
  ],
  [
   "Gid Score",
   "58.2"
  ],
  [
   "Rank in category",
   "#1 of 78"
  ],
  [
   "GitHub",
   "haydenbleasel/ultracite"
  ],
  [
   "Last change",
   "Nov 23, 2026"
  ]
 ],
 "good": [
  "Used by shadcn, as listed by the source; we have not checked each one."
 ],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/haydenbleasel.png"
}