Borrowing it
Nothing to install: this file belongs to mxyhi/ok-skills. 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/mxyhi/ok-skills/main/AGENTS.mdgit clone --depth 1 https://github.com/mxyhi/ok-skillsWrote 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/mxyhi/ok-skills/agents-md)<a href="https://agentmods.dev/instructions/mxyhi/ok-skills/agents-md"><img src="https://agentmods.dev/badge/instructions/mxyhi/ok-skills/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/mxyhi/ok-skills/agents-md"><img src="https://agentmods.dev/badge/instructions/mxyhi/ok-skills/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.00521 | $0.00521 |
| Opus 5.5 | $0.00208 | $0.00208 |
| Sonnet 5.5 | $0.00104 | $0.00104 |
| Haiku 4.5 | $0.00052 | $0.00052 |
Grade A, and why
ok-skills 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 29d 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.
What it actually says
核心原则
- 遵循 KISS,优先选择简单、可维护的方案。
- 事实优先:先检查当前源码、配置、日志和运行状态,再引用历史结论。
- 以可验证的性能目标指导优化,避免无测量的过度设计。
- 所有用户可见回复、方案和任务清单使用中文。
工作流程
- 复杂任务:调研 → 方案 → 确认 → 分解 → 执行 → 验证。
- 简单任务:直接执行并完成必要验证。
- 涉及外部库、API、CLI 或可能变化的行为时,查阅最新文档和源码。
- 完成任务后自动判断是否产生了可复用的经验、命令、坑点或验证方式;有价值时自动更新 memory,没有新增经验时跳过。
- 当前源码和运行状态优先于历史 session、memory 或截图。
Skill 使用
- 涉及 skills、rules、docs、env、知识同步或知识沉淀时,默认使用
teamai管理。 - session 产生可复用经验时,使用
teamai-share-learnings归档。 - 涉及代码库架构、组件关系、跨模块分析或代码知识库构建时,使用
team-wiki-codebase,不限定仓库数量。 - 涉及最小实现、文件化计划、代码质量或领域建模时,按任务需要使用
ponytail、planning-with-files、karpathy-guidelines和domain-modeling。
代码规范
- 关键业务逻辑、复杂决策和异常路径必须有必要的注释与结构化日志。
- IO 密集场景优先异步实现。
- TypeScript 禁止使用
any和as any;公共接口按需要显式声明类型。 - 代码达到可读性阈值后拆分模块。
- 默认不保证向后兼容;破坏旧格式时记录迁移边界和影响。
- 领域概念、边界、状态模型或重要架构决策变化时,使用
domain-modeling,并维护CONTEXT.md或 ADR。
工具提示
- 网络异常时可先执行
source ~/proxy.sh。 - 可使用
gh、opensrc和 kimi bridge。
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.
- 29d ago First seen · 36 lines · 521 tokens per session scan A ca95845a6b91
ok-skills AGENTS.md is an instructions file published in the GitHub repository mxyhi/ok-skills (505 stars, last pushed 7d ago), licensed Apache-2.0. It adds 521 tokens to every session, about $0.0021 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-09-26.
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).
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.