GoNavi: Instructions file for Codex

AGENTS.md

GoNavi AGENTS.md is an instructions file for Codex, OpenCode from Syngnat/GoNavi. It costs 4,768 tokens per session, scanned B, original, Apache-2.0.

A repository-wide instruction file for GoNavi, a cross-platform desktop database client built with Go, Wails, and React. It explains the project's structure, coding rules, file limits, and language-specific guidance.

In plain words
What is it for?
Use it as the main guide before making changes across GoNavi's backend, frontend, Java helpers, shared translations, or generated code.
Why use it?
It tells coding agents where responsibilities belong and which existing files or generated files must not be changed directly.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions Codex.

This is Syngnat/GoNavi's own configuration. It tells Codex and OpenCode how to work on GoNavi itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything GoNavi configures →

About the project

GoNavi is a cross-platform desktop client for connecting to and working with many kinds of data sources, including SQL databases, caches, message queues, vector stores, and search systems. It is for developers who query, edit, audit, and synchronize data or provide structured context to coding agents.

Syngnat/GoNavi · 2,112 stars · on GitHub · gonavi.org

Reuse

Borrowing it

Nothing to install: this file belongs to Syngnat/GoNavi. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Syngnat/GoNavi/dev/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Syngnat/GoNavi

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 GoNavi AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/syngnat/gonavi/agents-md/github.svg)](https://agentmods.dev/instructions/syngnat/gonavi/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/syngnat/gonavi/agents-md"><img src="https://agentmods.dev/badge/instructions/syngnat/gonavi/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for GoNavi AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/syngnat/gonavi/agents-md"><img src="https://agentmods.dev/badge/instructions/syngnat/gonavi/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,768 This file is loaded in full into every session.
When invoked 4,768 The same file — it is already loaded in full.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.04768 $0.04768
Opus 5.5 $0.01907 $0.01907
Sonnet 5.5 $0.00954 $0.00954
Haiku 4.5 $0.00477 $0.00477

Measured 5d ago against content hash 7e334ad3d3a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

GoNavi AGENTS.md scanned grade B with 1 finding 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 5d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
AGENTS.md · 262 lines

How it starts

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

GoNavi 编码规约

本文件是 GoNavi 的规约索引与跨语言硬约束。Cursor、Claude Code、Codex 及其他能读取仓库提示词的 AI 都必须遵守。语言专属手册以链接为准,不要另写一套。

配套入口:

  • CLAUDE.md → Claude Code
  • .cursor/rules/*.mdc → Cursor(按文件类型自动附加)
  • 本文件 → Codex / Cursor / 通用 Agent
  • GO_STYLE.md → Go 专属手册(改 *.go 时必读)
  • GO_STYLE.md → Go 专属手册(改 *.go 时必读)

标记含义与《阿里巴巴 Java 开发手册》一致:【强制】 必须执行,【推荐】 默认执行,【参考】 有充分理由才可偏离。


0. 项目是什么

GoNavi 是 Wails v3 + Go + React 18 的跨平台数据源工作台,不是 Electron 应用,也不是普通前后端分离 Web。v3 是默认构建与发版路径,v2 代码仅保留回退构建(GONAVI_WAILS3=0)与插件窗口进程隔离。

层 位置 职责
桌面壳 cmd/wails3app(main.go 为 v2 回退) Wails 启动、窗口、菜单
Wails 绑定 internal/app 给前端/MCP/Web RPC 的 App 方法,保持薄
领域实现 internal/db、internal/ai、internal/sync、internal/connection 等 驱动、AI、同步、类型
UI frontend/src React + Ant Design 5 + Zustand + Monaco
文案 shared/i18n/*.json 前后端共用目录
生成物 frontend/wailsjs/ 禁止手改
Go 手册 GO_STYLE.md Go 专属规约(Uber + Google + Effective Go + 本仓库)
Java tools/jmx-helper、internal/jvm/testdata 小工具/夹具,跟《阿里巴巴 Java 开发手册》

Go module:GoNavi-Wails。默认集成分支:dev。 构建:v3 走 wails3 task build / node scripts/build-wails3.mjs,开发用 wails3 task dev;v2 回退仍用 wails build。

0.1 官方插件仓库约定

GoNavi 官方插件(作者自己把宿主能力拆出来做的插件)一律不新建仓库,全部落在 GoNavi-Plugin-Market 一个仓里(市场官网 + 上架目录 + 官方插件源码同仓,本地 D:\Work\CodeRepos\GoNavi-Plugin-Market):

  • 【强制】 官方插件源码写该仓 plugins/<name>/ 目录,复用仓根 cmd/buildtool 打包(产物进 plugin-dist/,已 gitignore,禁止提交构建产物与运行态)。收到"把 X 做成插件"类需求时直接在该仓增目录,禁止 git init 任何新插件仓库。
  • 【强制】 发布 tag 格式 <插件名>-v<semver>(如 nginx-inspector-v1.0.0),一 Release 一 ZIP;安装引用 github:Syngnat/GoNavi-Plugin-Market@<tag> 必须带 tag(无 tag 解析的是仓库 latest release,会拿到其他插件)。
  • 【强制】 市场上架条目写该仓 public/catalog.json,且必须等 GitHub Release 已建立、artifact 直链可下载后再写(真实 SHA-256 与内容摘要,禁止占位死链)。
  • 【参考】 第三方插件作者不受此约束:一仓一插件或一仓多插件均可,github:owner/repo(latest)是他们的默认模式。

0.2 Agent 工作流入口

Read the full file on GitHub · 262 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. 5d ago Changed · +18 lines · +243 tokens per session 7e334ad3d3a0
  2. 22d ago Changed · +1 lines · +118 tokens per session 5215182fb6ee
  3. 1mo ago Changed · +9 lines · +358 tokens per session adcf6f0e20a3
  4. 1mo ago Changed · +6 lines · +141 tokens per session c4398e078764
  5. 1mo ago Changed · +1 lines · +103 tokens per session ca7335bd9f50
  6. 1mo ago Changed · +63 lines · +989 tokens per session scan A → B abe99fb724e9
  7. 2mo ago First seen · 164 lines · 2,816 tokens per session scan A 8bef830906d4

Subscribe to this mod's changes

GoNavi AGENTS.md is an instructions file published in the GitHub repository Syngnat/GoNavi (2,112 stars, last pushed today), licensed Apache-2.0. It adds 4,768 tokens to every session, about $0.0191 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-17.

Related

GoNavi AGENTS.md compared with instructions from other repositories

GoNavi AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
GoNavi AGENTS.mdSyngnat/GoNaviInstructions file2.1ktodayApache-2.0B4,768Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode