seerai AGENTS.md

seerai AGENTS.md is an instructions file for Codex, OpenCode from dralkh/seerai. It costs 11,896 tokens per session, scanned A, original, MIT.

Repository instructions for SeerAI, a Zotero plugin that adds AI chat, scholarly search, OCR, systematic review, storage, and structured research-data extraction. Zotero is an application for collecting and organizing research sources; the repository also contains a separate tool server and skills library.

In plain words
What is it for?
Use them when developing or building the Zotero plugin, MCP server, or agent skills, and when running formatting, linting, tests, releases, or extraction evaluations.
Why use it?
They explain the repository's separate plugin, server, and skill components, including that the plugin runs inside Zotero rather than Node.js.

Instructions file for CodexOpenCode

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/dralkh/seerai/agents-md
Clone the repo
git clone --depth 1 https://github.com/dralkh/seerai

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/dralkh/seerai/agents-md.svg)](https://agentmods.dev/instructions/dralkh/seerai/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/dralkh/seerai/agents-md"><img src="https://agentmods.dev/badge/instructions/dralkh/seerai/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 11,896 This file is loaded in full into every session.
When invoked 11,896 The same file — it is already loaded in full.
Security scan A 1 finding. 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 $0.11896 $0.11896
Opus 5 $0.05948 $0.05948
Sonnet 5 $0.02379 $0.02379
Haiku 4.5 $0.01190 $0.01190

Measured 4d ago against content hash fabed8aeb3b7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

seerai AGENTS.md scanned grade A with 1 finding 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 4d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- **`workspace_bash` behavior differs**: In the plugin, it prompts the user to run the command manually. In the MCP server, it executes real shell commands via `node:child_process` in the workspace directory.
AGENTS.md · 668 lines

How it starts

The opening of the file, as written. The whole thing — 668 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md

Project Overview

seerai is an intelligent research assistant plugin for Zotero 8/9 that integrates AI-powered chat, federated scholarly search, RAG, OCR, systematic review, cloud storage, an agent skills library, and structured data extraction into the research workflow. The repo is a monorepo containing:

  • Zotero Plugin (src/, addon/) — runs inside Zotero's Firefox-based runtime (NOT Node.js)
  • MCP Server (mcp-server/) — standalone Node.js server exposing Zotero tools via Model Context Protocol
  • Agent Skills Library (skills/) — ~148 bundled, self-contained skill packages (SKILL.md + references/scripts) surfaced to agents via the skills tools

Commands

npm start              # Dev server with hot reload (zotero-plugin serve)
npm run build          # Production build: MCP bundle → plugin .xpi + tsc --noEmit + copies artifacts to root
npm run lint:check     # Prettier check + ESLint
npm run lint:fix       # Prettier write + ESLint fix
npm run release        # Create GitHub release (zotero-plugin release)
npm run test           # Run test suite (zotero-plugin test → mocha-based)
npm run test:extraction-eval  # LLM extraction evaluation harness (tsx test/extractionModelEval.ts)
npm run test:pipeline-eval    # Systematic-review pipeline evaluation harness (tsx test/pipelineEval.ts)
npm run update-deps    # Update all dependencies to latest (npm update --save)

# MCP server (separate package)
cd mcp-server && npm run dev      # Run MCP server with tsx
cd mcp-server && npm run bundle   # Bundle MCP server to dist/seerai-mcp.cjs
cd mcp-server && npm run build    # TypeScript compile (tsc)
cd mcp-server && npm run start    # Run compiled MCP server

Always run npm run lint:check and npm run build after making changes.

Tests (npm test): Only run when the change touches testable logic (service helpers, state shapes, protocol/template flow, persistence schemas, bug fixes). Skip for pure formatting, comment, UI-style-only, or non-functional edits. When a test is warranted, run only the relevant file rather than the full suite when possible (e.g. npx mocha test/<file>.test.ts).

Read the full file on GitHub · 668 lines

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. 4d ago First seen · 668 lines · 11,896 tokens per session scan A fabed8aeb3b7

Subscribe to this mod's changes

seerai AGENTS.md is an instructions file published in the GitHub repository dralkh/seerai (77 stars, last pushed 1mo ago), licensed MIT. It adds 11,896 tokens to every session, about $0.0595 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). 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