$ npx @ppwnr88/noyap init --all --mode balanced

Noyap

Less yap. More code.

Multilingual communication rules for AI coding agents.

AI coding agents talk too much. Noyap makes them concise, code-first, multilingual, and safer for real developer workflows.

iterm - noyap init

npx @ppwnr88/noyap init

Generated AGENTS.md

Thai-native mode enabled

Safe merge strategy enabled

before

Certainly! The issue appears to be that your object is recreated...

after

Object recreated every render. Wrap it with useMemo.

install

CLI-first setup

shell
npx @ppwnr88/noyap init --interactive
npx @ppwnr88/noyap init --all
npx @ppwnr88/noyap init --detected

before / after

Shorter without losing the fix

English

before

Sure! The problem is most likely caused by the fact that your options object is recreated every time the component renders. React compares object props by reference, so this can trigger unnecessary child renders. You should use useMemo to memoize it.

after

options is recreated every render. React compares by reference. Wrap it with useMemo.

Thai

before

ปัญหานี้น่าจะเกิดจาก request ที่ส่งไปยัง API ไม่มี Authorization header หรือ token หมดอายุแล้วครับ ลองตรวจสอบก่อนว่า frontend แนบ Bearer token ไปกับทุก request หรือไม่

after

น่าจะขาด Authorization header หรือ token หมดอายุ. เช็คว่า frontend ส่ง Bearer token.

Mixed Thai/English

before

ปัญหานี้อาจเกิดจาก cache ของ Next.js หรือ CDN ยังถือ response เก่าอยู่หลัง deploy ครับ คุณควรตรวจสอบ revalidate setting, cache-control header และ purge CDN cache หลัง deploy

after

น่าจะ cache ค้างหลัง deploy. เช็ค revalidate, cache-control, แล้ว purge CDN.

agents

Installs rule files for modern coding agents

$Claude Code

CLAUDE.md

Append Noyap section

$Codex

AGENTS.md, .noyap/AGENTS.noyap.md

Merge or separate safe rules

$OpenCode

AGENTS.md, .noyap/AGENTS.noyap.md

Merge or separate safe rules

$Cursor

.cursor/rules/noyap.mdc

Create always-on rule

$Windsurf

.windsurf/rules/noyap.md

Create always-on rule

$GitHub Copilot

.github/copilot-instructions.md

Append Noyap section

$Cline

.clinerules/noyap.md

Create project rule

$Continue

.continue/rules/noyap.md

Create project rule

$Gemini CLI

GEMINI.md

Append Noyap section

$Roo Code

.roo/rules/noyap.md

Create project rule

$Aider

CONVENTIONS.md

Append convention rules

$JetBrains Junie

.junie/AGENTS.md

Append project guidelines

$Amazon Kiro

.kiro/steering/noyap.md

Create steering file

$Zed AI

.rules

Append project rules

$Kilo Code

.kilocode/rules/noyap.md

Create project rule

$Tabnine Agent

.tabnine/guidelines/noyap.md

Create guideline file

$Amazon Q Developer

.amazonq/rules/noyap.md

Create project rule

$Devin

.devin/AGENTS.md

Append scoped instructions

$Void

.voidrules

Append project rules

thai-native

Not translation. Natural developer Thai.

language detection
Noyap detects English, Thai, and mixed Thai/English prompts, then keeps the answer in the language style that feels natural for the developer.
thai dev phrasing
It avoids robotic formal Thai and preserves code, CLI output, stack traces, commands, env vars, raw errors, and common English dev terms.
APIendpointcache ค้างbuild failquery ช้าnginx rewrite ไม่ทำงานtoken หมด

safe merge

Respects existing AGENTS.md rules

AGENTS.md strategy
Codex and OpenCode can use merge, separate, overwrite, or cancel. Noyap preserves existing project rules, avoids duplicate Noyap sections, and keeps risky project guidance authoritative.
codex
npx @ppwnr88/noyap init --agent codex --agents-md-strategy merge
npx @ppwnr88/noyap init --agent opencode --agents-md-strategy separate

safe by default

Short answers still keep critical warnings

! data loss
! security risks
! production deploy risks
! database migration risks
! billing or cost risks
! destructive commands
! secret exposure
! credential exposure

modes + presets

Tune strictness by workflow

modes
minimalbalancedseniorthai-devbilingualhardcorehardcore-th
presets
defaultbackendfrontenddevopssqlsecurityreviewer

benchmarks

Measured, linked, and conservative

Token reduction

54.12%

balanced mode, benchmark suite

Character reduction

58.23%

balanced mode, benchmark suite

Line reduction

66.67%

fixed benchmark fixtures

Warning preservation

100%

heuristic checks; review critical output

Benchmark data comes from the repository fixture suite. These are not guaranteed savings for every project. See benchmark report.

ready

noyap init

Install concise agent rules in one command.

Start with safe defaults, install detected agents, or tune by language, mode, preset, and AGENTS.md merge strategy.

shell
npx @ppwnr88/noyap init --all --mode balanced
npx @ppwnr88/noyap doctor --all