mcp_query_table: Instructions file for Codex

AGENTS.md

mcp_query_table AGENTS.md is an instructions file for Codex, OpenCode from code1990/mcp_query_table. It costs 233 tokens per session, scanned A, original, MIT.

Project instructions for maintaining mcp_query_table, a Python project that reads tables from the i问财 website through an authorized browser. They describe its implementation, data-handling rules, and tests.

In plain words
What is it for?
Use them when changing the i问财 scraper or its tests, especially after a page redesign. They also specify the command for running verification tests.
Why use it?
They give coding agents repository-specific rules, including how to handle browser data and prevent cookies, tokens, and encrypted request details from entering the project.

Instructions file for CodexOpenCode

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

This is code1990/mcp_query_table's own configuration. It tells Codex and OpenCode how to work on mcp_query_table itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp_query_table configures →

Reuse

Borrowing it

Nothing to install: this file belongs to code1990/mcp_query_table. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/code1990/mcp_query_table/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/code1990/mcp_query_table

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 mcp_query_table AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/code1990/mcp_query_table/agents-md/github.svg)](https://agentmods.dev/instructions/code1990/mcp_query_table/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/code1990/mcp_query_table/agents-md"><img src="https://agentmods.dev/badge/instructions/code1990/mcp_query_table/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.

agentmods 80×15 button for mcp_query_table AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/code1990/mcp_query_table/agents-md"><img src="https://agentmods.dev/badge/instructions/code1990/mcp_query_table/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 233 This file is loaded in full into every session.
When invoked 233 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00233 $0.00233
Opus 5.5 $0.00093 $0.00093
Sonnet 5.5 $0.00047 $0.00047
Haiku 4.5 $0.00023 $0.00023

Measured 20d ago against content hash dccc07f945d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp_query_table 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 20d 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.

AGENTS.md · 18 lines

What it actually says

项目维护说明

i问财

  • 主实现:mcp_query_table/sites/iwencai.py;测试:tests/test_iwencai.py。
  • 保留旧接口分支;新版以 stream-query 与 render/encrypt/getData 驱动已登录浏览器,不重放加密请求。
  • 新版抓取顺序固定为:100 条/页 → 股票代码升序(sort-rise,首项 000001)→ 逐页读取渲染表格。
  • 表格有冻结列副本,读取 td 数最多的 table,跳过前两列。
  • 任何 Cookie、hexin-v、token、加密 SQL 或完整请求体都不得进入仓库、fixture、日志或文档。

验证

PYTHONPATH=. python -m unittest tests.test_iwencai -v

页面改版时先用已授权的真实浏览器确认首屏、翻页、排序和最终行数,再改代码。

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. 20d ago First seen · 18 lines · 233 tokens per session scan A dccc07f945d4

Subscribe to this mod's changes

mcp_query_table AGENTS.md is an instructions file published in the GitHub repository code1990/mcp_query_table (0 stars, last pushed 7d ago), licensed MIT. It adds 233 tokens to every session, about $0.0009 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-10-18.

Related

mcp_query_table AGENTS.md compared with instructions from other repositories

mcp_query_table AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp_query_table AGENTS.mdcode1990/mcp_query_tableInstructions file07d agoMITA233Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode