better-chatbot AGENTS.md

better-chatbot AGENTS.md is an instructions file for Codex, OpenCode from keinsaasforever/better-chatbot. It costs 635 tokens per session, scanned A, original, MIT.

A repository guide for a Next.js and TypeScript application. It documents where code and assets belong, which commands build and test the app, and the project's naming and formatting rules.

In plain words
What is it for?
Use it when adding or modifying application code, components, hooks, tests, database changes, Docker setup, or build and lint workflows in this repository.
Why use it?
It gives coding agents the project's local expectations before they change files. This helps avoid misplaced code, incorrect commands, inconsistent style, and missed test or database steps.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

About the project

Navigator is an open-source AI workspace for individuals and teams that combines conversations with AI models, MCP tools, image generation, custom agents, visual workflows, and collaboration. People use it to interact with AI providers and automate work through a shared interface; the catalogue instruction relates to using Navigator.

keinsaasforever/better-chatbot · 1,172 stars · on GitHub · app.keinsaas.com

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/keinsaasforever/better-chatbot/agents-md
Clone the repo
git clone --depth 1 https://github.com/keinsaasforever/better-chatbot

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for better-chatbot AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/keinsaasforever/better-chatbot/agents-md.svg)](https://agentmods.dev/instructions/keinsaasforever/better-chatbot/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/keinsaasforever/better-chatbot/agents-md"><img src="https://agentmods.dev/badge/instructions/keinsaasforever/better-chatbot/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 635 This file is loaded in full into every session.
When invoked 635 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.1 $0.00635 $0.00635
Opus 5 $0.00318 $0.00318
Sonnet 5 $0.00127 $0.00127
Haiku 4.5 $0.00064 $0.00064

Measured 6d ago against content hash a0e059f6fa51, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

better-chatbot AGENTS.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 6d ago.

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.

AGENTS.md · 43 lines

How it starts

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

Repository Guidelines

Project Structure & Module Organization

  • App code lives in src.
    • src/app (Next.js routes, API, middleware)
    • src/components (UI; reusable components in PascalCase)
    • src/lib (helpers: auth, db, ai, validations, etc.)
    • src/hooks (React hooks: useX)
  • Assets in public/. End‑to‑end tests in tests/. Scripts in scripts/. Docker files in docker/.

Build, Test, and Development Commands

  • pnpm dev — Run the app locally (Next.js dev server).
  • pnpm build / pnpm start — Production build and run.
  • pnpm lint / pnpm lint:fix — ESLint + Biome checks and autofix.
  • pnpm format — Format with Biome.
  • pnpm test / pnpm test:watch — Unit tests (Vitest).
  • pnpm test:e2e — Playwright tests; uses playwright.config.ts webServer.
  • DB: pnpm db:push, pnpm db:studio, pnpm db:migrate (Drizzle Kit).
  • Docker: pnpm docker-compose:up / :down to run local stack.

Coding Style & Naming Conventions

  • TypeScript everywhere. Prefer zod for validation.
  • Formatting via Biome: 2 spaces, LF, width 80, double quotes.
  • Components: PascalCase.tsx; hooks/utilities: camelCase.ts.
  • Co-locate small module tests next to code; larger suites under tests/.
  • Keep modules focused; avoid circular deps; use src/lib for shared logic.

Testing Guidelines

  • Unit tests: Vitest, filename *.test.ts(x).
  • E2E: Playwright under tests/, filename *.spec.ts.
  • Run locally: pnpm test and pnpm test:e2e (ensure app is running or let Playwright start via config).
  • Add tests for new features and bug fixes; cover happy path + one failure mode.

Commit & Pull Request Guidelines

  • Conventional Commits: feat:, fix:, chore:, docs:, etc. Example: feat: add image generation tool.
  • Branch names: feat/…, fix/…, chore/….
  • PRs: clear description, linked issues, screenshots or terminal output when UI/CLI changes; list test coverage and manual steps.
  • Before opening PR: pnpm check (lint+types+tests) should pass.

Read the full file on GitHub · 43 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. 6d ago First seen · 43 lines · 635 tokens per session scan A a0e059f6fa51

Subscribe to this mod's changes

better-chatbot AGENTS.md is an instructions file published in the GitHub repository keinsaasforever/better-chatbot (1,172 stars, last pushed 17d ago), licensed MIT. It adds 635 tokens to every session, about $0.0032 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.

Related

Other instructions, from other repositories

zhin zhin-plugin.instructions.md

Instructions for zhinjs/zhin, covering zhin plugin runtime authoring, package contract, convention directories, imports and native typescript and command routes.

zhinjs/zhin · 1,018 tokens

ai CLAUDE.md

Claude Code instructions for TanStack/ai, covering claude.md, repository overview, package manager & tooling, common commands and testing.

TanStack/ai · 5,213 tokens

blade-code AGENTS.md

AGENTS.md instructions for echoVic/blade-code, covering agents.md, project overview, quick commands, development and running.

echoVic/blade-code · 1,038 tokens

zypher-agent CLAUDE.md

Instructions for corespeed-io/zypher-agent, covering claude.md, development commands, code quality, architecture overview and monorepo structure.

corespeed-io/zypher-agent · 856 tokens

chatgpt-vue3-light-mvp AGENTS.md

Instructions for pdsuwwz/chatgpt-vue3-light-mvp, a project described as: 💭 一个可二次开发 Chat Bot 单轮对话 Web 端 MVP 原型模板, 基于 Vue 3, Vite8, TypeScript, Naive UI, Pinia(v3), UnoCSS 等主流技术构建, 🧤简单集成大模型 API, 采用单轮 AI 问答对话模式, 每次提问独立响应, 无需上下文, 支持 SSE 打字机效果流式输出, 集成 markdown-it Mermaid/KaTex/LaTex 公式高亮预览, 星火, 智谱, 硅基流动, Deepseek…

pdsuwwz/chatgpt-vue3-light-mvp · 357 tokens

jazz AGENTS.md

AGENTS.md instructions for lvndry/jazz, covering working on jazz, go read, read the code before you answer, think at the frontier and work with the developer.

lvndry/jazz · 1,547 tokens