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
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,691 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository7 other files it gives its agents.
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
- Distinctive: line 14
When working in a project that involves oil and gas data, activate the relevant skill before performing analysis.
- Very specific: line 24
Read skills/oil_and_gas_data_manager/SKILL.md before responding to these requests.
- Very specific: line 112
Read the SKILL.md first: before answering domain questions — it contains extraction schemas, routing rules, and sanity checks that must be …
≈ “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.
Files
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.mdorCLAUDE.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
- Read the SKILL.md first before answering domain questions — it contains extraction schemas, routing rules, and sanity checks that must be followed.
- Never fabricate engineering values — if extraction confidence is low, flag it with a quality warning instead of guessing.
- Preserve units — always record the original unit alongside any normalized value.
- Use the output schema — return structured JSON matching the schema in each
SKILL.mdwhen the user asks for structured output. - Flag sanity check failures — mud weight outside 6–22 ppg, inclination > 180°, TVD > MD, and other impossible values must be flagged, not silently accepted.
- 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-skillsOr install from source:
pip install -e .Run directly:
python -m skills.oil_and_gas_data_manager.skill report.pdf log.lasMCP server (for agents with MCP support):
python -m mcp_server.serverSupported file types
| Extension | Type | Skill |
.las | LAS well log | Oil & Gas Data Manager, Well Log Interpreter |
.dlis, .lis | DLIS log container | Oil & Gas Data Manager, Well Log Interpreter |
.pdf | Drilling/completion report | Oil & Gas Data Manager, Drilling KPI Analyzer, HSE |
.xlsx, .xls | Engineering spreadsheets | Oil & Gas Data Manager, Completion Design Reviewer |
.csv | Sensor/parameter data | Oil & Gas Data Manager, Directional Survey Analyzer |
.docx | Well programs, procedures | Oil & Gas Data Manager |
.xml | WITSML exports | Oil & Gas Data Manager |
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
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.

