AGENTS.mdA

AGENTS.md from pendel001/nagibridge-remix is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add pendel001/nagibridge-remix/AGENTS.md@git:20261025.221b03c

Pins git:20261025.221b03c in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
pendel001/nagibridge-remix
Path
AGENTS.md
Versions recorded
5
Latest version
git:20261025.221b03c, committed Oct 25, 2026
First version recorded
Sep 30, 2026
Size
9,663 bytes
Repository stars
26
License
a license file GitHub does not identify

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# NagiBridge — AI 排查速查(人遇到问题就把这份丢给你)

> 你是一个接手 NagiBridge 项目问题的 AI。目标:**快速理解这套东西,帮人定位/解决**。
> 下面是**当前事实**(2026-08-23 同步),可直接信;深挖细节去"知识地图"找对应文档。
> 一句话:这套东西让人把 AI 像真玩家一样放进星露谷,靠的是"游戏内 mod"+"外部 MCP 服务器"两层配合。

## 🔴 边界(先读这条)

<!-- NAGI-BOUNDARY -->
- **玩家局:只用 MCP 的 16 个工具**(下一节列全了)。AI 不该知道、也不该动用底下的内部件。
- **内部脚本 + HTTP 直连(`curl :7843/...`):仅限开发排障。** 它们是给"看得懂代码、改完会自己验"的人用的,不是给"操控角色"用的。
- ⚠️ **为什么这条重要**:`stardew_api.warp()` 的落点校验、`machine_loader` 的同图不瞬移、菜单闸门 —— 这些守卫**全在 Python 层**。
  `curl` 直接打端点 = **把守卫整层跳过**,直接捅进 C#(落点在水中央、该走路的瞬移过去,全都会发生)。
  跑 `scripts/xxx_run.py` 则相反:它走 `stardew_api`,守卫还在,但绕过了状态注入 / 单子 / 自动 `--port`。
<!-- /NAGI-BOUNDARY -->

## 这套东西是什么(三层)

1. **游戏层**:Stardew Valley 1.6 + NagiBridge C# mod(SMAPI)
2. **桥接层**:`ModEntry.cs` — HTTP API(~120 端点)+ Harmony 补丁(IsActive/表情/聊天/节日提示/10048端口修复/拾取检测)
3. **智能层**:`scripts/nagi_mcp_server.py` — MCP 服务器(streamable-http :8000,**16 工具**/13 域入口 + 3 独立)+ 状态注入(`_with_state`)+ 心跳 + 节日/导航/脚本编排

外加 `scripts/` 下大量**自动化脚本**(矿洞/炸矿/钓鱼/农夫)——它们经 `stardew_api` 调 HTTP,
**是开发排障工具,不是玩家接口**(见上面「边界」两行)。

## 端口约定(最容易搞错)

| 端口 | 是谁 | 用途 |
|---|---|---|
| **7842** | 人(host) | 检测 / 广播走这个(`/chat/push` → host_chat) |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add pendel001/nagibridge-remix/AGENTS.md@sha256:f03a9c94fc0c704e

The line at the top of this page pins the label git:20261025.221b03c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_uykc4yzoymew4pyt.svg)](https://markdownregistry.com/a/art_uykc4yzoymew4pyt)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Sep 30, 2026 and Oct 25, 2026, about one every 6 days.

versioncommittedcommitsizeaudit
git:20261025.221b03c latest2026-10-25 221b03c 9,663 BA view · diff
git:20261007.4a092ed2026-10-07 4a092ed 8,659 BA view · diff
git:20261003.f2c396f2026-10-03 f2c396f 8,289 BA view · diff
git:20260930.418e7742026-09-30 418e774 8,171 BA view · diff
git:20260930.81c12852026-09-30 81c1285 7,549 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (9663 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

pendel001/nagibridge-remix · 26 stars · license a license file GitHub does not identify · pushed 2026-11-01 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_uykc4yzoymew4pyt
GET https://markdownregistry.com/api/v1/resolve?ref=pendel001/nagibridge-remix/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/f03a9c94fc0c704efcc6fb6fa3b43f6c2e38ff77b69b42e49d1a74b60e938758

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from pendel001/nagibridge-remix

CLAUDE.md CLAUDE.md file
pendel001/nagibridge-remix · CLAUDE.md
git:20261025.221b03c · audit A · 26 stars
stardew SKILL.md skill
pendel001/nagibridge-remix · skills/stardew/SKILL.md · 在星露谷里替玩家玩 NagiBridge(MCP 端)。当用户说"帮我浇水/下矿/钓鱼/去镇上/看看背包"这类游戏内请求,或要你接管一个存档时用。只在玩家局用 MCP 的 16 个工具,别直连端点。
git:20261025.221b03c · audit A · 26 stars

Every file in pendel001/nagibridge-remix

Other files named AGENTS.md

AGENTS.md AGENTS.md file
morluto/rea · AGENTS.md
git:20261102.920d634 · audit A · 433,876 stars
AGENTS.md AGENTS.md file
obra/superpowers · AGENTS.md
git:20261020.b739a8a · audit A · 314,583 stars
AGENTS.md AGENTS.md file
affaan-m/ecc · AGENTS.md
git:20261030.f29e332 · audit A · 299,696 stars
AGENTS.md AGENTS.md file
firecrawl/firecrawl · AGENTS.md
git:20261008.5a75dca · audit A · 199,595 stars
AGENTS.md AGENTS.md file
dietrichgebert/ponytail · AGENTS.md
git:20261008.2a1fe84 · audit A · 185,249 stars
AGENTS.md AGENTS.md file
graphify-labs/graphify · AGENTS.md
git:20260926.98d73fe · audit A · 144,492 stars
AGENTS.md AGENTS.md file
garrytan/gstack · AGENTS.md
git:20261107.ef99eb5 · audit A · 140,694 stars
AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20261106.e45976c · audit A · 118,366 stars

Browse by kind, by grade A, or by owner.