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.
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.
curl -O https://raw.githubusercontent.com/Syngnat/GoNavi/dev/AGENTS.mdgit clone --depth 1 https://github.com/Syngnat/GoNaviWrote 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.
[](https://agentmods.dev/instructions/syngnat/gonavi/agents-md)<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.
<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>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.
| Model | Per session | Once 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 |
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 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 工作流入口
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.
- 5d ago Changed · +18 lines · +243 tokens per session 7e334ad3d3a0
- 22d ago Changed · +1 lines · +118 tokens per session 5215182fb6ee
- 1mo ago Changed · +9 lines · +358 tokens per session adcf6f0e20a3
- 1mo ago Changed · +6 lines · +141 tokens per session c4398e078764
- 1mo ago Changed · +1 lines · +103 tokens per session ca7335bd9f50
- 1mo ago Changed · +63 lines · +989 tokens per session scan A → B abe99fb724e9
- 2mo ago First seen · 164 lines · 2,816 tokens per session scan A 8bef830906d4
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.
GoNavi AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| GoNavi AGENTS.mdSyngnat/GoNavi | Instructions file | 2.1k | today | Apache-2.0 | B | 4,768 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 3,303 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 289k | 2d ago | MIT | A | 4,393 | Codex, OpenCode |