Borrowing it
Nothing to install: this file belongs to EthanH9977/ragic-mcp. 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/EthanH9977/ragic-mcp/main/AGENTS.mdgit clone --depth 1 https://github.com/EthanH9977/ragic-mcpWrote 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/ethanh9977/ragic-mcp/agents-md)<a href="https://agentmods.dev/instructions/ethanh9977/ragic-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/ethanh9977/ragic-mcp/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/ethanh9977/ragic-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/ethanh9977/ragic-mcp/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.03161 | $0.03161 |
| Opus 5.5 | $0.01264 | $0.01264 |
| Sonnet 5.5 | $0.00632 | $0.00632 |
| Haiku 4.5 | $0.00316 | $0.00316 |
Grade A, and why
ragic-mcp 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 2mo 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 — 271 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — ragic-mcp 給 AI 的操作指南
如果你(AI)看到這份檔案,代表你正在透過
ragic-mcp操作 Ragic。先把這份讀完再開始下指令,能省你很多次來回試錯。
0. AI 自助安裝流程(user 第一次叫你裝時跑這個)
User 第一次叫你「裝 ragic-mcp」或貼這個 repo URL 給你時,照以下順序跑。每一步跑完才進下一步,不要平行。
0.1 檢查工具鏈
which uv # 沒裝就先:brew install uv(macOS)
which ragic-mcp # 已裝 → 跳 0.3;沒裝 → 0.2
0.2 安裝 ragic-mcp 到全域
uv tool install git+https://github.com/EthanH9977/ragic-mcp.git
裝完用 which ragic-mcp 確認回 ~/.local/bin/ragic-mcp。
0.3 檢查 credentials 是否已設
ragic-mcp show
- 回
(no config — run ragic-mcp setup first)→ 進 0.4 - 已顯示 mask 過的 key → 跳 0.5
0.4 取得 user 的 credentials 並寫入 config
先問 user 兩件事(不要猜):
- 「請貼一張你 Ragic 表單的網址」(用來解 server 與 account)
- 「請給我你的 Ragic API key」(Ragic 後台 → 個人設定 → 帳號設定 → API key)
從 URL https://<server>/<account>/<path>/<sheet>?... 抓出 <server> 與 <account>,再跑:
ragic-mcp setup --server <server> --account <account> --api-key <api_key>
例如 user 給的是 https://ap5.ragic.com/mycompany/sales/1 與 key XXX:
ragic-mcp setup --server ap5.ragic.com --account mycompany --api-key XXX
config 會寫到 ~/.config/ragic-mcp/config.json,權限 0600。寫完 ragic-mcp show 再驗一次,看到 mask 過的 key 才算成功。
安全提醒:API key 出現在你給 user 的命令列裡 → 會進 shell history。跑完 setup 後主動建議 user 在 terminal 跑
history -d $(history 1)把該行從歷史移掉,或 revoke 重發。
0.5 把 ragic 註冊到 MCP client
判斷 user 用哪個 client:
- Claude Code(terminal 裡有
claude命令):claude mcp add --scope user ragic ragic-mcp - Claude Desktop:告訴 user 編輯
~/Library/Application Support/Claude/claude_desktop_config.json(macOS)或%APPDATA%\Claude\claude_desktop_config.json(Windows),加入:
然後重啟 Claude Desktop。{ "mcpServers": { "ragic": { "command": "ragic-mcp" } } }
0.6 驗證
請 user 重啟對話視窗,下次他開新 session 時你會看到 ragic_* 工具集。先呼叫 ragic_list_sheets() 拿到他所有可讀表的樹,這時就能開工。
1. 這個 MCP server 是什麼
把 Ragic(中文表單型資料庫)的 HTTP API 包成 10 個 MCP tool。你呼叫 tool,server 幫你打 Ragic。讀/寫/簽核都可以。
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.
- 2mo ago First seen · 271 lines · 3,161 tokens per session scan A 3484917a6f9a
ragic-mcp AGENTS.md is an instructions file published in the GitHub repository EthanH9977/ragic-mcp (0 stars, last pushed 2mo ago), licensed MIT. It adds 3,161 tokens to every session, about $0.0126 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-31.
ragic-mcp AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ragic-mcp AGENTS.mdEthanH9977/ragic-mcp | Instructions file | 0 | 2mo ago | MIT | A | 3,161 | 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,649 | 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 model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |