intlayer CLAUDE.md

Project instructions for Intlayer, an open-source translation system in a single repository containing several apps and packages. They describe the repository layout, commands, content workflow, and coding conventions.

In plain words
What is it for?
Use them when working on Intlayer's backend, dashboard, website, translation packages, or shared code, especially when following its Git and commit practices.
Why use it?
They give a coding agent the project-specific rules it needs, reducing mistakes such as running commands from the wrong folder or changing the wrong package.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/aymericzip/intlayer/claude-md
Clone the repo
git clone --depth 1 https://github.com/aymericzip/intlayer
Per session 992 This file is loaded in full into every session.
When invoked 992 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00992 $0.00992
Opus 5 $0.00496 $0.00496
Sonnet 5 $0.00198 $0.00198
Haiku 4.5 $0.00099 $0.00099

Measured yesterday against content hash 8da2948e9ba0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

intlayer CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 102 lines

How it starts

The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Intlayer: open-source i18n monorepo. Bun + Turborepo. Ships npm packages (React, Next.js, Vue, Svelte, Angular…) + hosted CMS (backend + dashboard).

Sub-CLAUDE.md per workspace:

  • apps/backend/CLAUDE.md — Fastify REST API
  • apps/app/CLAUDE.md — TanStack Start CMS dashboard
  • packages/@intlayer/design-system/CLAUDE.md — shared UI + TanStack Query hooks
  • packages/@intlayer/api/CLAUDE.md — typed fetch client
  • packages/@intlayer/core/CLAUDE.md — dictionary interpreter & transpiler
  • packages/intlayer/CLAUDE.md — main user package + CLI

Repo layout

apps/
  app/               TanStack Start dashboard (CMS UI)
  backend/           Fastify API server
  website/           TanStack Start marketing/docs site (deployed)
  showcase/          Showcase app

packages/
  intlayer/          Main user package + CLI entry point
  @intlayer/
    core/            Dictionary interpreter, transpiler, formatters
    config/          Config loader & types
    api/             Typed fetch client for backend REST API
    design-system/   Shared React UI + TanStack Query hooks
    types/           Shared TS types (no runtime)
    cli/             CLI implementation
    editor/          Visual editor core (framework-agnostic)
    editor-react/    React bindings for editor
    lsp/             LSP implementation
    mcp/             MCP server for IDE automation
    babel/swc/webpack/vite/  Build-tool compiler plugins

  react-intlayer/    React hooks & provider
  next-intlayer/     Next.js integration
  vue-intlayer/      Vue integration
  (one package per framework)

utils/
  ts-config/         Shared tsconfig base
  tsdown-config/     Shared tsdown build config

plugins/
  sync-json-plugin/  JSON sync plugin
  sync-po-plugin/    PO file sync plugin

Commands (run from root)

Package manager: Bun.

bun run build             # build all publishable packages + backend
bun run turbo build --filter=./apps/app
bun run turbo build --filter=./packages/react-intlayer
bun run lint              # biome check
bun run lint:fix
bun run check             # lint + format check
bun run check:fix
bun run typecheck         # tsc --noEmit (sequential)
bun run test              # vitest (concurrency=2)

Read the full file on GitHub · 102 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 102 lines · 992 tokens per session scan A 8da2948e9ba0

Subscribe to this mod's changes

intlayer CLAUDE.md is an instructions file published in the GitHub repository aymericzip/intlayer (816 stars, last pushed 2d ago), licensed Apache-2.0. It adds 992 tokens to every session, about $0.0050 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.