Borrowing it
Nothing to install: this file belongs to Fortytwoo/codex-tencent-connectors. 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/Fortytwoo/codex-tencent-connectors/main/AGENTS.mdgit clone --depth 1 https://github.com/Fortytwoo/codex-tencent-connectorsWrote 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/fortytwoo/codex-tencent-connectors/agents-md)<a href="https://agentmods.dev/instructions/fortytwoo/codex-tencent-connectors/agents-md"><img src="https://agentmods.dev/badge/instructions/fortytwoo/codex-tencent-connectors/agents-md.svg" alt="Measured on agentmods" 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.00874 | $0.00874 |
| Opus 5 | $0.00437 | $0.00437 |
| Sonnet 5 | $0.00175 | $0.00175 |
| Haiku 4.5 | $0.00087 | $0.00087 |
Grade A, and why
codex-tencent-connectors 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 8d 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
Agent 安装协议
本文件面向读取本仓库的编码 Agent,例如 Codex、Claude Code、OpenCode 和其他具备终端能力的 Agent。
用户意图门控
- 只有当用户明确要求安装、配置、启用、更新或验证本插件时,才可修改用户的 Codex 配置。
- 仅仅读取、审查、构建或解释本项目时,不得自动安装。
- 不得代替用户完成企业微信扫码,也不得在未获得明确要求时启动 QQ 邮箱或腾讯文档 OAuth 登录。
- 不得读取、输出或提交任何现有 Cookie、Token、二维码、验证码或账号凭证。
推荐安装流程
在仓库根目录执行以下流程,无需先运行 npm install。
- 检查将要执行的动作:
node scripts/agent-install.mjs --dry-run
- 用户已明确要求安装时,执行无人值守安装。默认使用 GitHub 公开稳定版本:
node scripts/agent-install.mjs --yes
- 安装器会自动:
- 检查 Node.js 和 Codex CLI。
- 注册或刷新 GitHub Codex Marketplace。
- 安装
tencent-connectors@codex-tencent-connectors。 - 验证插件状态。
- 验证
wecom、qq-mail、tencent-docs三个 MCP 注册状态。 - 输出后续授权命令,但不会自动登录账号。
从 GitHub 安装
如果 Agent 读取的是网页或远程仓库信息,而不是本地克隆目录,可直接运行:
codex plugin marketplace add Fortytwoo/codex-tencent-connectors
codex plugin add tencent-connectors@codex-tencent-connectors
不要把两个命令硬编码为仅适用于某个 Shell 的连接表达式。应逐条执行,并且仅在第一条成功后执行第二条。
本地开发版本安装
只有用户明确要求安装当前工作树中的未发布版本时,才使用:
node scripts/agent-install.mjs --yes --local
如果同名 Marketplace 已指向 GitHub 或其他目录,安装器会安全停止,不会擅自删除或替换用户已有来源。
更新
用户明确要求更新时,逐条执行:
codex plugin marketplace upgrade codex-tencent-connectors
codex plugin add tencent-connectors@codex-tencent-connectors
或者在本地仓库根目录重新执行:
node scripts/agent-install.mjs --yes
授权边界
安装完成后向用户说明:
- 需要重启 Codex 才能让当前会话加载新插件。
- 企业微信可在重启后让 Codex 调用
wecom_start_auth,由用户自行扫码。 - QQ 邮箱登录命令为
codex mcp login qq-mail。 - 腾讯文档登录命令为
codex mcp login tencent-docs。 - OAuth 和扫码授权属于用户交互步骤,除非用户明确要求,否则 Agent 不应主动启动。
失败恢复
codex不存在:停止并提示用户安装支持插件功能的 Codex CLI。- Node.js 低于 20:停止并提示用户升级 Node.js。
- Marketplace 已存在:视为幂等状态,继续安装插件。
- 插件安装失败:报告原始错误,不删除用户其他插件或 Marketplace。
- 验证失败:保留已安装文件,报告失败项,不执行破坏性回滚。
- 不得使用
git reset --hard、删除~/.codex或清空 Codex 配置作为修复手段。
开发验证
只有用户要求开发、修改或发布本项目时,才需要执行:
npm install
npm test
普通插件安装不需要安装 npm 依赖,也不需要重新构建仓库。
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.
- 8d ago First seen · 102 lines · 874 tokens per session scan A 70431b3dd97d
codex-tencent-connectors AGENTS.md is an instructions file published in the GitHub repository Fortytwoo/codex-tencent-connectors (2 stars, last pushed 1mo ago), licensed MIT. It adds 874 tokens to every session, about $0.0044 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-31.
Other instructions, from other repositories
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.
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.
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).
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).
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.
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.