iktinah: Instructions file for Codex

AGENTS.md

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

A project instruction file for a Zotero research-assistant plugin and its related services. Zotero is a tool for collecting and managing academic references, while a monorepo is one repository containing several related parts.

In plain words
What is it for?
Use it when working on the seerai Zotero plugin, its Node.js server, or its bundled research skills.
Why use it?
It tells coding agents how the plugin, server, and skills library are organized and which commands check or build them.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

This is dralkh/iktinah's own configuration. It tells Codex and OpenCode how to work on iktinah 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 iktinah configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { config } from "../../package.json";.

Reuse

Borrowing it

Nothing to install: this file belongs to dralkh/iktinah. 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/dralkh/iktinah/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/dralkh/iktinah

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/dralkh/iktinah/agents-md"><img src="https://agentmods.dev/badge/instructions/dralkh/iktinah/agents-md.svg" alt="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.11896 $0.11896
Opus 5.5 $0.04758 $0.04758
Sonnet 5.5 $0.02379 $0.02379
Haiku 4.5 $0.01190 $0.01190

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

Security

Grade A, and why

iktinah 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 1mo 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.
Origin

This is a copy

100% identical to seerai AGENTS.md — 41 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

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

Subscribe to this mod's changes

iktinah AGENTS.md is an instructions file published in the GitHub repository dralkh/iktinah (77 stars, last pushed 3mo ago), licensed MIT. It adds 11,896 tokens to every session, about $0.0476 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). It is 100% identical to seerai AGENTS.md, differing in 41 lines, and is treated as a copy.

Related

Other instructions, from other repositories

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).

microsoft/vscode · 9,715 tokens

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.

vercel/next.js · 7,581 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

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.

langchain-ai/langchain · 4,680 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens