AutoLinker AGENTS.md

AutoLinker AGENTS.md is an instructions file for Codex, OpenCode from aiqinxuancai/AutoLinker. It costs 1,079 tokens per session, scanned A, original, MIT.

A repository instruction guide for AutoLinker, a C++ extension that adds AI-agent features to the Chinese programming environment 易语言 (E Language). It explains how the extension is built, loaded, and connected to the IDE's encrypted project files.

In plain words
What is it for?
Use it when changing the C++ extension, its E Language integration, code-reading and writing support, project structure, or the Windows build and verification process.
Why use it?
It helps agents work within this unusual development environment while following its file encoding, Windows line-ending, dependency, architecture, and build requirements.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/aiqinxuancai/autolinker/agents-md
Clone the repo
git clone --depth 1 https://github.com/aiqinxuancai/AutoLinker

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for AutoLinker AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/aiqinxuancai/autolinker/agents-md.svg)](https://agentmods.dev/instructions/aiqinxuancai/autolinker/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/aiqinxuancai/autolinker/agents-md"><img src="https://agentmods.dev/badge/instructions/aiqinxuancai/autolinker/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,079 This file is loaded in full into every session.
When invoked 1,079 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.01079 $0.01079
Opus 5 $0.00540 $0.00540
Sonnet 5 $0.00216 $0.00216
Haiku 4.5 $0.00108 $0.00108

Measured 6d ago against content hash d12ace9d565c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

AutoLinker 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 59 lines

What it actually says

项目概要

本项目是一个易语言支持库(插件类型),使用VS2026的VC++开发,最终编译产物为AutoLinker.fne(实际是dll类型),在易语言主进程启动时加载,用于简化、帮助易语言的开发流程,提供AI Agent来自动化完成部分工作。

易语言概述

易语言的代码是加密的单文件格式(.e),难以被外部直接编辑,所以本项目基于易语言IDE中实现代码的读写等逻辑。

在易语言的开发世界里,支持库模块是扩展功能、提高开发效率的两大核心支柱。虽然它们看起来都能让你少写代码,但底层的“血缘”和用法其实大不相同。

简单来说:支持库是易语言的“骨架和内脏”,而模块是易语言的“工具包”。

  1. 支持库 (Support Library) 支持库是易语言最底层的扩展方式。它们通常不是用易语言本身写的,而是由 C++ 等底层语言编写,编译成特定的二进制格式(.fne.fnr),实际上是一个dll文件,通常如果提供功能的话,会把一份代码编译成动态和静态两个(文件后缀:.fne=动态库(开发调试时使用)。.lib=静态库(编译链接时使用))。它是易语言功能的延伸。比如你想将现有的C++功能库封装给易语言使用、或者给易语言增加特定的图形界面组件(如:超级列表框),这些大多通过支持库实现,调用.fne的GetNewInf()可获取其中公开的信息。

  2. 模块 (ECOM) 模块是易语言用户最常接触的东西。它本质上就是已经写好的易语言源代码,打包为的独立文件,文件后缀为.ec,其格式和.e十分类似,甚至有黑科技轻微修改.ec的二进制并更改后缀.e后可以用IDE打开。它是“易语言写的工具箱”,你把常用的函数、类、常量打包在一起,给别人(或者未来的自己)直接调用。

项目规范

  • 项目的依赖要精简,基于Win32+MFC实现,避免引入vcpkg包。
  • 注重项目的可维护性,对于可独立工作的工具类、管理类,应单独封装。
  • 避免单文件代码量过于庞大难以维护。
  • 必要时使用mcp来对易语言主EXE进行逆向来实现功能。
  • 对.h头文件始终添加简单的中文注释。
  • 源代码文件保持UTF8+BOM的格式保存,注意中文是否存在乱码并进行修正。
  • 源代码文件使用windows下的换行符(CRLF)。
  • 项目使用ISO C++20 标准 (/std:c++20),可使用其特性开发。
  • 如果在修复bug时,觉得代码存在过度设计(反复打补丁修bug,然后又有新bug),应该直接过渡设计的问题并提供在设计层面上的优化方案,而非简单的打上补丁修复bug草草了事

编译

请在完成修改后验证fne_release+x86是否可正常编译,

请参考此命令行方法进行编译,不同设备和VS版本的MSBuild.exe的位置可能不同,请注意寻找及确认。

MSBuild.exe ..\\AutoLinker.vcxproj /t:Build "/p:Configuration=fne_release;Platform=Win32" /m

如果编译存在报错,请进行修正,确保功能实现正常的情况下可正常编译。

测试

常规测试

如果需要测试当前支持库,请先将AutoLinker.fne覆盖至"C:\Users\aiqin\OneDrive\e5.6\lib"(需关闭e主程序才能解除AutoLinker.fne的占用),然后执行并调用:

当前主要开发基于:"C:\Users\aiqin\OneDrive\e5.6\e5.95.exe" 如果必要的话,测试此版本兼容:"C:\Users\aiqin\OneDrive\e5.6\e571.exe"

打开当前代码目录下的"test_a.e"文件。

AutoLinker.fne会在加载进IDE后开启MCP服务端口19207,测试时如传递中文页名,请注意为UTF8编码。

非依赖易语言IDE的功能测试

fne本质是一个dll文件,不分功能需要载入到IDE中测试,但有一些比如模块本地解析方法等,你可以使用AutoLinkerTest项目来完成测试。

Changes

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.

  1. 6d ago First seen · 59 lines · 1,079 tokens per session scan A d12ace9d565c

Subscribe to this mod's changes

AutoLinker AGENTS.md is an instructions file published in the GitHub repository aiqinxuancai/AutoLinker (255 stars, last pushed 2d ago), licensed MIT. It adds 1,079 tokens to every session, about $0.0054 per session on Opus 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.

Related

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).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

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.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

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.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens