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.
npx agentmods add instructions/azure-samples/mcp-agent-langchainjs/genaiscriptgit clone --depth 1 https://github.com/Azure-Samples/mcp-agent-langchainjsWrote 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/azure-samples/mcp-agent-langchainjs/genaiscript)<a href="https://agentmods.dev/instructions/azure-samples/mcp-agent-langchainjs/genaiscript"><img src="https://agentmods.dev/badge/instructions/azure-samples/mcp-agent-langchainjs/genaiscript.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 | $0.00238 | $0.00238 |
| Opus 5 | $0.00119 | $0.00119 |
| Sonnet 5 | $0.00048 | $0.00048 |
| Haiku 4.5 | $0.00024 | $0.00024 |
Grade A, and why
mcp-agent-langchainjs genaiscript.instructions.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 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.
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.
Copies of this mod
1 near-identical copy found in the catalogue:
- pizza-mcp-agents genaiscript.instructions.md — 100% identical, 0 lines differ
What it actually says
GenAIScript Code Generation Instructions
GenAIScript is a custom runtime for node.js. It provides a set of unique APIs and support the TypeScript syntax, ESM, await/async.
- GenAIScript documentation: https://microsoft.github.io/genaiscript/llms-full.txt
- GenAIScript ambient type definitions: https://microsoft.github.io/genaiscript/genaiscript.d.ts
Guidance for Code Generation
- you always generate TypeScript code using ESM modules for Node.JS.
- you prefer using APIs from GenAIScript
genaiscript.d.tsrather than node.js. Do NOT use node.js imports. - you keep the code simple, avoid exception handlers or error checking.
- you add
TODOswhere you are unsure so that the user can review them - you use the global types in genaiscript.d.ts are already loaded in the global context, no need to import them.
- save generated code in the
./genaisrcfolder with.genai.mtsextension
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.
- 4d ago First seen · 21 lines · 238 tokens per session scan A ddaef327a935
mcp-agent-langchainjs genaiscript.instructions.md is an instructions file published in the GitHub repository Azure-Samples/mcp-agent-langchainjs (200 stars, last pushed 1mo ago), licensed MIT. It adds 238 tokens to every session, about $0.0012 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-30.
Other instructions, from other repositories
page-agent AGENTS.md
AGENTS.md instructions for alibaba/page-agent, covering instructions for coding assistants, project overview, development commands, architecture and monorepo structure.
azure-search-openai-demo bicep.instructions.md
Infrastructure as Code with Bicep.
GPT-RAG copilot-instructions.md
Copilot instructions for Azure/GPT-RAG, covering repository development and release instructions, branching strategy, default behavior, feature development workflow and branch creation.
GPT-RAG AGENTS.md
AGENTS.md instructions for Azure/GPT-RAG, covering gpt-rag agent operating contract, priority, what this repository is, repository boundaries and how to work.
GPT-RAG release.instructions.md
Instructions for Azure/GPT-RAG, a project described as: Enterprise-grade accelerator for agentic RAG on Azure. Built on Microsoft Foundry with Foundry IQ as the default retrieval backend, Microsoft Agent Framework orchestration, Zero-Trust architecture and IaC.
data-api-builder copilot-instructions.md
Copilot instructions for Azure/data-api-builder, covering data api builder (dab) - copilot instructions, project overview, key technologies, project structure and building and testing.