agentleFS
ttracxttracx/oil-and-gas-claude-skills/AGENTS.md

oil-and-gas-claude-skills

AGENTS.md7 starsChanged 9 months agoMITView on GitHub

Universal agent instructions file. Compatible with OpenAI Codex CLI, Cursor, Aider, Continue, Cline, Roo, OpenCode, Gemini CLI, and any agent that reads AGENTS.md or CLAUDE.md. This library provides AI coding agent skills for the oil and gas engineering domain. Each skill gives the agent deep, domain-specific knowledge to analyze engineering files, extract structured data, and assist with petroleum engineering workflows. When working in a project that involves oil and gas data, activate the relevant skill before performing analysis. Trigger phrases:…

  • Installs packages

The file

We split this AGENTS.md into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When working in a project that involves oil and gas data, activate the relevant skill before performing analysis.

    line 14
  2. Very specific:

    Read skills/oil_and_gas_data_manager/SKILL.md before responding to these requests.

    line 24
  3. Very specific:

    Read the SKILL.md first: before answering domain questions — it contains extraction schemas, routing rules, and sanity checks that must be …

    line 112

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Oil and Gas Engineering Agent Instructions

Universal agent instructions file. Compatible with OpenAI Codex CLI, Cursor, Aider, Continue, Cline, Roo, OpenCode, Gemini CLI, and any agent that reads AGENTS.md or CLAUDE.md.


What this repository does

This library provides AI coding agent skills for the oil and gas engineering domain. Each skill gives the agent deep, domain-specific knowledge to analyze engineering files, extract structured data, and assist with petroleum engineering workflows.

When working in a project that involves oil and gas data, activate the relevant skill before performing analysis.


Available skills and when to use them

Oil & Gas Data Manager — skills/oil_and_gas_data_manager/

Use when: User uploads or references any engineering file (PDF, LAS, XLSX, CSV, DLIS, DOCX). Detects file type, routes to the correct parser, extracts structured data, links to project context. Read skills/oil_and_gas_data_manager/SKILL.md before responding to these requests.

Trigger phrases:

  • "analyze these drilling files"
  • "identify oil and gas file types"
  • "extract well data from these reports"
  • "parse this LAS file"
  • "what data can you get from these files?"

Drilling KPI Analyzer — skills/drilling_kpi_analyzer/

Use when: User has daily drilling reports (DDRs), morning reports, or bit records and wants performance analysis. Read skills/drilling_kpi_analyzer/SKILL.md.

Trigger phrases:

  • "analyze drilling performance"
  • "compute drilling KPIs"
  • "benchmark ROP"
  • "NPT breakdown"
  • "flat time analysis"

Well Log Interpreter — skills/well_log_interpreter/

Use when: User has LAS or DLIS well log files and wants petrophysical interpretation, formation top picking, or pay zone identification. Read skills/well_log_interpreter/SKILL.md.

Trigger phrases:

  • "interpret this LAS file"
  • "find pay zones"
  • "compute porosity and water saturation"
  • "pick formation tops"
  • "analyze well logs"

Completion Design Reviewer — skills/completion_design_reviewer/

Use when: User has completion design spreadsheets, frac stage sheets, or pump schedules and wants validation, QC, or offset comparison. Read skills/completion_design_reviewer/SKILL.md.

Trigger phrases:

  • "review completion design"
  • "check frac stage parameters"
  • "validate pump schedule"
  • "compare against offset wells"

Production Data Analyst — skills/production_data_analyst/

Use when: User has production history data, production test reports, or decline curves. Read skills/production_data_analyst/SKILL.md.

Trigger phrases:

  • "analyze production data"
  • "run decline curve"
  • "what are the IP30/IP90 rates"
  • "estimate EUR"
  • "check production allocation"

Directional Survey Analyzer — skills/directional_survey_analyzer/

Use when: User has directional survey files and wants trajectory validation, DLS computation, or anticollision checks. Read skills/directional_survey_analyzer/SKILL.md.

Trigger phrases:

  • "analyze directional survey"
  • "compute dogleg severity"
  • "validate wellbore trajectory"
  • "check anticollision"

HSE Incident Tracker — skills/hse_incident_tracker/

Use when: User wants safety events, near misses, NPT, or HSE incidents extracted from drilling reports. Read skills/hse_incident_tracker/SKILL.md.

Trigger phrases:

  • "extract HSE events"
  • "safety incident log"
  • "NPT by cause"
  • "IADC classification"

Key rules for all agents

  1. Read the SKILL.md first before answering domain questions — it contains extraction schemas, routing rules, and sanity checks that must be followed.
  2. Never fabricate engineering values — if extraction confidence is low, flag it with a quality warning instead of guessing.
  3. Preserve units — always record the original unit alongside any normalized value.
  4. Use the output schema — return structured JSON matching the schema in each SKILL.md when the user asks for structured output.
  5. Flag sanity check failures — mud weight outside 6–22 ppg, inclination > 180°, TVD > MD, and other impossible values must be flagged, not silently accepted.
  6. Source every extraction — include page number, section, or depth range as a reference for every extracted value.

Python implementation

The Oil & Gas Data Manager has a full Python implementation:

pip install oil-and-gas-claude-skills

Or install from source:

pip install -e .

Run directly:

python -m skills.oil_and_gas_data_manager.skill report.pdf log.las

MCP server (for agents with MCP support):

python -m mcp_server.server

Supported file types

ExtensionTypeSkill
.lasLAS well logOil & Gas Data Manager, Well Log Interpreter
.dlis, .lisDLIS log containerOil & Gas Data Manager, Well Log Interpreter
.pdfDrilling/completion reportOil & Gas Data Manager, Drilling KPI Analyzer, HSE
.xlsx, .xlsEngineering spreadsheetsOil & Gas Data Manager, Completion Design Reviewer
.csvSensor/parameter dataOil & Gas Data Manager, Directional Survey Analyzer
.docxWell programs, proceduresOil & Gas Data Manager
.xmlWITSML exportsOil & Gas Data Manager

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.