Borrowing it
Nothing to install: this file belongs to felimet/endnote-for-word. 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/felimet/endnote-for-word/main/AGENTS.mdgit clone --depth 1 https://github.com/felimet/endnote-for-wordWrote 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/felimet/endnote-for-word/agents-md)<a href="https://agentmods.dev/instructions/felimet/endnote-for-word/agents-md"><img src="https://agentmods.dev/badge/instructions/felimet/endnote-for-word/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/felimet/endnote-for-word/agents-md"><img src="https://agentmods.dev/badge/instructions/felimet/endnote-for-word/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.00901 | $0.00901 |
| Opus 5.5 | $0.00360 | $0.00360 |
| Sonnet 5.5 | $0.00180 | $0.00180 |
| Haiku 4.5 | $0.00090 | $0.00090 |
Grade A, and why
endnote-for-word 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 5d 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 — 38 lines — stays where its author put it; the contents beside it link to each section on GitHub.
endnote-for-word
Claude Code and Codex plugin whose stdio MCP server (stdlib-only Python) drives Microsoft Word and EndNote 21 through COM to insert genuine Cite While You Write citations; it runs only on Windows with Word, EndNote 21, Python 3 and PowerShell 7 or 5.1, in an unlocked interactive desktop session.
Project facts and conventions in this file take precedence over global instructions; the global "risk" rules are never relaxed by this file.
Commands
- Verify (must pass before declaring work done):
pwsh ./tests/run-tests.ps1(offline: Python unittest discovery plus a parse check of every .ps1 under pwsh.exe and powershell.exe; about one minute) - Package (CI runs it after the tests):
python ./scripts/package_plugin.py(writesdist/endnote-for-word-plugin.zip,dist/endnote-for-word.skilland their.sha256sidecars) - One test module:
python -m unittest discover -s tests -t tests -p "test_endnote_session.py" - Live run against the real Word and EndNote:
pwsh ./tests/run-tests.ps1 -IncludeLive(not run when this file was written; see Boundaries)
Conventions
- Every .ps1 must parse and run under Windows PowerShell 5.1 and PowerShell 7: no ternary,
??,?.,clean {},-ParallelorJoin-String.tests/test_static.pyrejects any?outside string literals in .ps1 code. Keep .ps1 files ASCII, because 5.1 reads a BOM-less file in the ANSI code page. - Python under
scripts/uses the standard library only; the plugin must start on a bare CPython. scripts/endnote-word.ps1runs an action as soon as it is loaded. Offline tests lift single functions out of it through the PowerShell AST (tests/test_bridge_runtime.py), so put new decision logic in a self-contained function that takes plain values.- Bridge contract: exactly one compact JSON line, last on stdout; logs go to stderr; exit codes 0 ok, 1 error, 2 probe not ready, 3 postcondition failed.
- Comments and docstrings that say "measured" record EndNote or Word behaviour observed on real installs (dialogs, macros, window titles). Do not simplify such a workaround without measuring again.
- The version string lives in
.claude-plugin/plugin.json,.codex-plugin/plugin.json,skills/endnote-for-word/SKILL.md,scripts/mcp_server.py,tests/test_mcp_protocol.py,tests/test_static.pyandCHANGELOG.md; bump them together. - Prose files (.md, .json, .py, .ps1, .yaml, .txt, .ris) use hyphens, never em or en dashes, and carry no bracketed TODO or PLACEHOLDER markers or personal home-directory paths;
tests/test_static.pyenforces this. - CHANGELOG follows Keep a Changelog. Commit subjects follow
type(scope): summary, for examplefix(bridge): ...,feat(mcp): ...,chore(release): 1.5.2.
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.
- 5d ago First seen · 38 lines · 901 tokens per session scan A 73a28dfb398e
endnote-for-word AGENTS.md is an instructions file published in the GitHub repository felimet/endnote-for-word (9 stars, last pushed 7d ago), licensed MIT. It adds 901 tokens to every session, about $0.0036 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-11-25.
endnote-for-word AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| endnote-for-word AGENTS.mdfelimet/endnote-for-word | Instructions file | 9 | 7d ago | MIT | A | 901 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 3,303 | GitHub Copilot |
| deno copilot-instructions.mddenoland/deno | Instructions file | 109k | today | MIT | A | 3,077 | GitHub Copilot |