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.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.03161 | $0.03161 |
| Opus 5 | $0.01580 | $0.01580 |
| Sonnet 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 7d 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.
- 7d 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 22d ago), licensed MIT. It adds 3,161 tokens to every session, about $0.0158 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.