opensearch-agent-skills: Instructions file for Codex

AGENTS.md

opensearch-agent-skills AGENTS.md is an instructions file for Codex, OpenCode from opensearch-project/opensearch-agent-skills. It costs 1,274 tokens per session, scanned B, original, Apache-2.0.

Project instructions for a collection of skills that help coding agents build search applications and analyze monitoring data with OpenSearch.

In plain words
What is it for?
They are for developing, testing, and maintaining OpenSearch agent skills and their supporting command-line tools.
Why use it?
They explain the repository layout, Python and uv tooling, dependencies, and tests so an agent can make changes consistently.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 opensearch-agent-skills AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/opensearch-project/opensearch-agent-skills/agents-md"><img src="https://agentmods.dev/badge/instructions/opensearch-project/opensearch-agent-skills/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,274 This file is loaded in full into every session.
When invoked 1,274 The same file — it is already loaded in full.
Security scan B 1 finding. 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.01274 $0.01274
Opus 5 $0.00637 $0.00637
Sonnet 5 $0.00255 $0.00255
Haiku 4.5 $0.00127 $0.00127

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

Security

Grade B, and why

opensearch-agent-skills AGENTS.md scanned grade B 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 9d 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.

Reads MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

3. **Do not commit** `.env`, `.mcp.json`, credentials, or secrets.
AGENTS.md · 120 lines

How it starts

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

AGENTS.md

This file provides guidance for AI coding agents working on the opensearch-agent-skills repository.

Project Overview

A collection of Agent Skills for building search applications and analyzing observability data with OpenSearch. Skills are organized in a tree structure under skills/opensearch-skills/ — users can install the entire tree or individual skills at any level.

Tech Stack

  • Language: Python 3.11+
  • Package manager: uv
  • Testing: pytest
  • CI: GitHub Actions (Linux, macOS, Windows)
  • Dependencies: opensearch-py (runtime), pytest>=7.0 (dev)

Repository Structure

skills/
  opensearch-skills/              # Top-level meta-skill (install all)
    SKILL.md                      # Routes to category skills
    cli-reference.md              # CLI command reference
    scripts/                      # Shared scripts, UI, sample data
      opensearch_ops.py           # Main CLI tool
      start_opensearch.sh         # Docker bootstrap
      lib/                        # Core Python modules
        client.py                 # Connection, auth, preflight
        operations.py             # Index/model/pipeline ops
        search.py                 # Query building, UI logic
        evaluate.py               # Search quality metrics
        samples.py                # Sample data loading
        ui.py                     # Search Builder UI server
      ui/                         # React frontend (index.html, app.jsx, styles.css)
      sample_data/                # Bundled IMDB sample dataset
    search/                       # Category: Search
      SKILL.md                    # Category router
      opensearch-launchpad/       # Leaf skill: search app builder
        SKILL.md
        *.md                      # Reference files (models, strategies, evaluation)
    observability/                # Category: Observability
      SKILL.md                    # Category router
      log-analytics/              # Leaf skill: log querying & analysis
        SKILL.md
        log-analytics.md          # Full workflow reference
        ppl-reference.md          # PPL syntax reference
      trace-analytics/            # Leaf skill: distributed trace investigation
        SKILL.md
        traces.md                 # Trace query templates
        ppl-reference.md          # PPL syntax reference
    cloud/                        # Category: Cloud deployment
      SKILL.md                    # Category router
      aws-setup/                  # Leaf skill: AWS provisioning & deployment
        SKILL.md
        aos/                      # Amazon OpenSearch Service guides
        aoss/                     # Amazon OpenSearch Serverless guides
        reference.md              # Cost, security, troubleshooting
      aiven-setup/                # Leaf skill: Aiven provisioning & deployment
        SKILL.md
        aiven-01-provision.md     # Provision the managed Aiven service
        aiven-02-deploy-search.md # Deploy the search configuration
        reference.md              # Plan sizing, TLS/CA, HA, troubleshooting
tests/                            # pytest test suite (no cluster required)

Read the full file on GitHub · 120 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. 9d ago First seen · 120 lines · 1,274 tokens per session scan B 67456bfd0e66

Subscribe to this mod's changes

opensearch-agent-skills AGENTS.md is an instructions file published in the GitHub repository opensearch-project/opensearch-agent-skills (52 stars, last pushed 7d ago), licensed Apache-2.0. It adds 1,274 tokens to every session, about $0.0064 per session on Opus 5. A static security scan graded it B with 1 finding (reads mcp configuration). 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

vibe-coding-prompt-template backend.instructions.md

Instructions for KhazP/vibe-coding-prompt-template: Read AGENTS.md, agentdocs/techstack.md, and agentdocs/codepatterns.md.

KhazP/vibe-coding-prompt-template · 139 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,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