origin-MCP: Instructions file for Codex

AGENTS.md

origin-MCP AGENTS.md is an instructions file for Codex, OpenCode from ZHANG-923-ZE/origin-MCP. It costs 6,584 tokens per session, scanned A, original, MIT.

Project instructions for origin-MCP, an MCP server that connects an AI assistant to OriginPro 2025b through Windows automation. OriginPro is software for creating and analyzing scientific graphs.

In plain words
What is it for?
Use them when developing or operating the OriginPro MCP server, including natural-language graph creation, customization, analysis, and export.
Why use it?
They explain the project, its tool categories, expected workflow, technical requirements, and platform limitations to agents working in the codebase.

Instructions file for CodexOpenCode

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

This is ZHANG-923-ZE/origin-MCP's own configuration. It tells Codex and OpenCode how to work on origin-MCP 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 origin-MCP configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ZHANG-923-ZE/origin-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.

Copy the file
curl -O https://raw.githubusercontent.com/ZHANG-923-ZE/origin-MCP/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/ZHANG-923-ZE/origin-MCP

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 origin-MCP AGENTS.md

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

agentmods 80×15 button for origin-MCP AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/zhang-923-ze/origin-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/zhang-923-ze/origin-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6,584 This file is loaded in full into every session.
When invoked 6,584 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.06584 $0.06584
Opus 5 $0.03292 $0.03292
Sonnet 5 $0.01317 $0.01317
Haiku 4.5 $0.00658 $0.00658

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

Security

Grade A, and why

origin-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 10d 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 · 485 lines

How it starts

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

AGENTS.md — MCP OriginPro

Version: v0.1.0 (early stage; conventions may evolve) Audience: AI agents working in this codebase — both tool-user AIs (调用方) and developer AIs (开发方). Language: This file uses English for technical terms; Chinese annotations appear alongside where Origin's own UI or documentation uses Chinese.


1. Project Identity (项目概述)

MCP OriginPro (package mcp-origin-pro) is an MCP server that bridges conversational AI with Origin 2025b COM automation. An AI user describes a graphing task in natural language and the server translates it into originpro COM API calls — creating, customizing, analyzing, and exporting publication-quality scientific plots without touching the Origin GUI.

Property Value
Source package src/mcp_origin/ (see pyproject.toml line 1-6)
Python 3.10+ (see pyproject.toml line 5)
MCP framework FastMCP (see src/mcp_origin/server.py lines 1-3)
COM library originpro (see pyproject.toml line 8)
Package manager uv (recommended; pip compatible)
Platform Windows-only (OriginPro 2025b)
License MIT (see README.md line 5)
Version __version__ = "0.1.0" in src/mcp_origin/__init__.py line 3

Prerequisites: Origin 2025b installed with COM automation enabled (Tools → System Variables → opj_allow_automation=1). See README.md lines 35-44 and src/mcp_origin/core/connection.py lines 62-71 for the check logic.

Scope: 25 tools across 6 domains (data, plot, customize, analysis, export, project), unified behind a single create_plot(plot_type=...) entry point supporting 52+ plot types. See README.md line 9 and src/mcp_origin/core/constants.py lines 27+.


2. Tool User's Guide (使用者 AI — 工具调用指南)

2.1 Tool Categories

Category Tools Primary Use Case
System (1) ping Pre-flight connectivity check (MUST call first)
Data (4) create_worksheet, set_column_data, import_csv, get_column_info Prepare data containers and populate columns
Plot (5) create_plot, create_multi_curve_plot, create_grouped_plot, create_multi_panel_plot, add_plot_to_graph Generate 52+ chart types from data
Customize (6) set_axis_format, set_axis_labels, set_graph_title, set_plot_style, set_legend, add_text_annotation Polish axes, styles, labels, annotations
Analysis (4) fit_linear, fit_nonlinear, fit_peak, compute_statistics Curve fitting (12 models) and descriptive stats
Export (2) export_graph, save_project Render to file (8 formats) or save .opju
Project (3) list_graphs, list_worksheets, get_graph_snapshot Inspect current Origin session state

Read the full file on GitHub · 485 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. 10d ago First seen · 485 lines · 6,584 tokens per session scan A 1a14e42446e5

Subscribe to this mod's changes

origin-MCP AGENTS.md is an instructions file published in the GitHub repository ZHANG-923-ZE/origin-MCP (7 stars, last pushed 3mo ago), licensed MIT. It adds 6,584 tokens to every session, about $0.0329 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.

Related

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.

vercel/next.js · 7,296 tokens

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.

openai/codex · 5,153 tokens

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 · 6,785 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, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 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,469 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 · 3,735 tokens