Borrowing it
Nothing to install: this file belongs to peiyucn/epytor. 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/peiyucn/epytor/main/AGENTS.mdgit clone --depth 1 https://github.com/peiyucn/epytorWrote 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/peiyucn/epytor/agents-md)<a href="https://agentmods.dev/instructions/peiyucn/epytor/agents-md"><img src="https://agentmods.dev/badge/instructions/peiyucn/epytor/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/peiyucn/epytor/agents-md"><img src="https://agentmods.dev/badge/instructions/peiyucn/epytor/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.08953 | $0.08953 |
| Opus 5.5 | $0.03581 | $0.03581 |
| Sonnet 5.5 | $0.01791 | $0.01791 |
| Haiku 4.5 | $0.00895 | $0.00895 |
Grade A, and why
epytor 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.
How it starts
The opening of the file, as written. The whole thing — 450 lines — stays where its author put it; the contents beside it link to each section on GitHub.
项目指令 — epytor
本文件按根规范
../AGENTS.md的「I 章节标准」组织:九章顺序固定,通用章原样复用根规范对应段落(一字不改),项目专属内容写在各章的「本项目」小节与第 9 章。 单仓库独立 clone 时读不到根规范,故通用章在此全文复制(根规范 I3:项目 AGENTS 须自含,冗余可接受)。
项目概况
VS Code「所见即所得」Markdown 编辑器,基于 Milkdown(Crepe)7.22.3。
src/— Extension 端:extension.ts(入口,注册 CustomEditorProvider)、MarkdownDocument.ts(文档模型)、MarkdownEditorProvider.ts(Provider 核心:面板/消息路由/保存与 revert/frontmatter 编排)、editor/(外移的 Provider 职责:imageMessageHandlers图片与路径消息、externalChange外部变更决策与落地、navigation待跳转行、statusBar状态栏、writeAudit写盘审计、pathLinks路径链接、webviewHtmlBuilder、fileWatcher,全部用显式接口注入而不是互相引用)、utils/(路径越界防护、文件名净化、配置净化、行号映射、图片保存、外部变更纯判定、文件大小格式化、docPath(文档相对路径解析的唯一入口)、fireAndLog等)webview/— WebView 端按功能域分目录:index.ts(入口:DOM 脚手架 + 消息路由)、editor.ts(CrepeBuilder 装配门面)、messaging.ts(双端通道)app/— 会话与请求生命周期(scrollSync源码行↔视口几何、scrollTargets延迟滚动与折叠恢复、persistence未落盘推送/滚动/选区持久化、imageRequests上传/图库/重命名、linkBehavior链接行为、pendingRequest、rebuildRestore、editorStatePersistence)editor/— 编辑器内核支撑(editorSession(编辑器实例 + SavedSnapshot 唯一所有者)、serialization保存归一化纯函数、continuity重建焦点/选区/滚动、mermaidPreview、cmTheme、cmThemeObserver、compositionGate、themeBus、bubbleBoundary、mermaid)与editor/plugins/(headingFold / headingSticky / listMarker / softBreakKeymap / cellClickFixPlugin / formatKeymapPlugin)markdown/— 序列化与保真(markdownSerializer、minimalDiff、listSpread、listBackspace、listMarker、frontmatter、emptyTaskListItem、taskListItemEnter)outline/— 目录与标题(headingFold、headingSticky、headingHighlight、headingScroll)images/、table/、code/、find/、scroll/、shell/— 各自领域的支撑逻辑components/— 有独立 DOM 的组件(toc / imageView / findBar / pathLink / tableGridPicker / topBarOverflow / mermaidZoom / frontmatterPanel / codeBlockEnhance / imagePicker / topBar)ui/— 通用 UI 原语(icons / tooltip / notice / dom / dropdownComplete /pathCompleteCore/anchoredOverlay(锚点浮层脚手架)/lightbox(灯箱宿主)/modifierKeys(Ctrl/Meta 唯一来源)/topbarMetrics(顶栏高度的唯一来源))vendor/— vendored 上游 feature(latex / virtual-cursor)
shared/messages.ts— Extension ↔ WebView 消息类型契约(唯一真源);shared/constants.ts、shared/tableWrap.ts— 双端共享常量webview/messaging.ts— WebView ↔ Extension 的唯一通道docs/—specs/(功能 spec)、checklists/(手测清单)、tech-debt.md(技术债务)、upstream-limits.md(上游限制明细)、audits/(审计与度量报告)
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.
- 6d ago Changed · +282 lines · +3,995 tokens per session 4b0b8de60b5b
- 18d ago Changed · -1 lines · -16 tokens per session 60e022d8b0e0
- 1mo ago Changed · -147 lines · +927 tokens per session 74b3fa877172
- 2mo ago Changed · +2 lines · +163 tokens per session 2e3e8d5c2563
- 2mo ago First seen · 314 lines · 3,884 tokens per session scan A 0266113dddfd
epytor AGENTS.md is an instructions file published in the GitHub repository peiyucn/epytor (13 stars, last pushed 5d ago), licensed MIT. It adds 8,953 tokens to every session, about $0.0358 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.
epytor AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| epytor AGENTS.mdpeiyucn/epytor | Instructions file | 13 | 5d ago | MIT | A | 8,953 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode ai-customization.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 1,907 | GitHub Copilot |