Borrowing it
Nothing to install: this file belongs to nuwax-ai/nuwax. 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/nuwax-ai/nuwax/main/AGENTS.mdgit clone --depth 1 https://github.com/nuwax-ai/nuwaxWrote 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/nuwax-ai/nuwax/agents-md)<a href="https://agentmods.dev/instructions/nuwax-ai/nuwax/agents-md"><img src="https://agentmods.dev/badge/instructions/nuwax-ai/nuwax/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/nuwax-ai/nuwax/agents-md"><img src="https://agentmods.dev/badge/instructions/nuwax-ai/nuwax/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.02360 | $0.02360 |
| Opus 5.5 | $0.00944 | $0.00944 |
| Sonnet 5.5 | $0.00472 | $0.00472 |
| Haiku 4.5 | $0.00236 | $0.00236 |
Grade A, and why
nuwax 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
nuwax 前端(nuwax-frontend)
React 18 + TypeScript + umi max;中文交流与注释。包管理器 pnpm(pnpm-lock.yaml,脚本 npm/pnpm 均可跑)。桌面端 nuwax-client/nuwaclaw 经 webview 复用本仓库。
常用命令
- 开发:
npm run dev(max dev;predev 跑doctor --quick提醒微应用产物/子模块问题,不拦截);构建:build:prod/build:dev;环境体检:npm run doctor(只读,子模块/pin/产物/工具链) - 全量测试:
npx vitest run(裸npm run test是 watch 模式);脚本层测试(提测/微应用构建升级/doctor/类型门,不联网):npm run test:scripts - 会话合同网:
npm run test:conversation;会话 E2E:e2e:conversation(需 dev server + ego-browser 登录态)、e2e:mock-chat(mock 场景走查);组合verify:conversation - 分层依赖检查:
npm run lint:arch(depcruise;存量豁免基线.dependency-cruiser-known-violations.json) - 提交:husky 钩子自动 prettier;commit message 走 conventional(
type(scope): subject,verify-commit 校验);standard-version发版 - 同步测试部署:
bash scripts/deploy_sync_test.sh—— 个人分支 → 版本分支(如 feat-2026.9.30,origin)→dev→test 级联合并+质量门+构建,推 gitlab/test 内网测试环境;配置scripts/deploy_sync_test.env(模板scripts/deploy_sync_test.env.example,FEATURE_BRANCH/VERSION_BRANCH必填无默认,缺失时交互提示);DRY_RUN=1演练、INIT_ONLY=1只配置 - 快速提测:
bash deploy_test.sh—— 代码已在 dev 时使用,本地汇合双远端 dev → test,自动升级微应用并过质量门,构建后推 origin/test+gitlab/test,不推远端 dev。全链与快速通道的选源、隔离、重试及冲突规则统一见 提测手册。 - 提测提速三约定(2026-09-30):① 主区不干净时脚本自动转入
.deploy-worktree隔离跑全链(主区/并行开发零互抢,USE_WORKTREE=0/1控制)② 网络抖动(SSL 瞬断/fetch 断)脚本自动退避重试,勿手工重启整链;提测前不再本地预跑质量门(脚本步骤 4 即门,断点续跑免重付) - 产物哈希稳定性(2026-10-08):①
src/constants/version.ts不再烤 git 哈希(只含 APP_VERSION/APP_NAME,随 standard-version 发版变);gitHash 由dist/version.json运行时读取,勿再向源码烤提交哈希 ② deploy 构建DIST_RETENTION=1自动保留上一版 dist 的旧哈希资源(默认 3 代,DIST_RETAIN_GENERATIONS可调,机制见scripts/deploy-asset-retention.mjs),防发版后旧页面 chunk 404 弹「资源加载失败」;本地构建不设该变量零影响 ③ webpack runtime 已抽runtimeChunk: 'single',增量发版未改动页面的缓存仍可命中
核心业务入口
- 会话:
src/pages/Chat/**—— 五入口复用 UnifiedChatSession(Chat / ConversationAgent 会话面板 / EditAgent 预览调试 / 插件 / 技能);术语口径 V1=旧线(legacy 数据+V1 渲染)/V2=新线(runtime 数据+V2 渲染),默认已全 V2;调试回切?conversationRuntime=0或?conversationRenderer=v1 - 智能体平台:EditAgent(编排 + AgentFlow)、ConversationAgent、AppDev/AppDevPro(Web IDE)、SpacePluginTool(插件)
- 目录速查:
pages/·components/(base / business-component) ·hooks/·services/·models/·utils/·features/conversation/(会话新线)
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 · -4 lines · -286 tokens per session 0d8dc0130a7c
- 10d ago Changed · +8 lines · -71 tokens per session 3c35c767247c
- 11d ago Changed · +4 lines · +313 tokens per session 82c87ee62c73
- 12d ago Changed · +1 lines · +447 tokens per session 6bed37be7fb8
- 17d ago Changed · +5 lines · +749 tokens per session 7b6b3976489f
- 1mo ago Changed · -901 lines · -4,599 tokens per session 1c81ee31c2a7
- 1mo ago First seen · 948 lines · 5,807 tokens per session scan A 921d4f85d6ba
nuwax AGENTS.md is an instructions file published in the GitHub repository nuwax-ai/nuwax (897 stars, last pushed yesterday), licensed Apache-2.0. It adds 2,360 tokens to every session, about $0.0094 per session on Opus 5.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.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deno copilot-instructions.md
Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.