well_log_interpreter
Skill7 starsChanged 9 months agoMITView on GitHub
Parses LAS 2.0/3.0 and DLIS well log files, identifies and normalizes curve mnemonics, computes standard petrophysical properties, picks formation tops, identifies net pay intervals, and generates an interpreted log summary. Flags data quality issues and zones requiring manual review. All defaults are overridable per zone or for the full well. A zone is flagged as pay when all three conditions are met: - Vsh < Vsh_cutoff (reservoir quality rock) - PHIE > PHIE_cutoff (sufficient porosity) - Sw < Sw_cutoff (hydrocarbon…
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- completion_design_reviewerSkill
- directional_survey_analyzerSkill
- drilling_kpi_analyzerSkill
- hse_incident_trackerSkill
- oil_and_gas_data_managerSkill
- production_data_analystSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 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.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 85
All defaults are overridable per zone or for the full well.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
Well Log Interpreter
What this skill does
Parses LAS 2.0/3.0 and DLIS well log files, identifies and normalizes curve mnemonics, computes standard petrophysical properties, picks formation tops, identifies net pay intervals, and generates an interpreted log summary. Flags data quality issues and zones requiring manual review.
When to use
- User uploads or references LAS or DLIS files
- User asks to interpret well logs, compute porosity, or find pay zones
- User needs formation tops picked or updated
- User wants petrophysical properties for a specific interval
- User is building a reservoir summary and needs log-derived inputs
Trigger phrases
- "Interpret this LAS file"
- "Analyze the well logs for this well"
- "Find pay zones in these logs"
- "Compute porosity and water saturation from the log"
- "Pick formation tops from this log"
- "What formations are present in this LAS file?"
- "Calculate net pay for the Eagle Ford interval"
- "Summarize the petrophysical properties for the target zone"
Inputs
- LAS 2.0 or LAS 3.0 file (
.las) - DLIS log container (
.dlis) - Optional: formation top depths from offset wells or geological model
- Optional: fluid contacts (OWC, GOC, GWC)
- Optional: cutoff parameters (GR cutoff, Sw cutoff, porosity cutoff)
Outputs
- Curve inventory: mnemonics, units, depth range, data quality
- Formation top picks with depth in MD and TVD
- Net pay summary per zone (gross, net, N/G ratio)
- Petrophysical properties per zone (Vsh, PHIE, Sw, pay flag)
- Zone-by-zone interpretation summary
- Data quality report (bad hole, rugosity, statistical outliers)
- Quality flags per curve and per zone
Curves interpreted
Input curves (auto-detected by mnemonic alias)
| Curve family | Common mnemonics |
| Depth | DEPT, DEPTH, MD, TVDSS |
| Gamma ray | GR, GRC, SGR, CGR |
| Deep resistivity | RT, RD, RILD, RDEEP, ILD |
| Density | RHOB, DEN, RHOZ |
| Neutron porosity | NPHI, TNPH, CNCF, APLC |
| Sonic | DT, DTCO, AC |
| Caliper | CAL, CALI, C1, C2 |
| Photoelectric | PE, PEF |
| Spontaneous potential | SP |
Computed curves (derived outputs)
| Curve | Formula | Units |
| Vsh_GR | (GR - GR_clean) / (GR_shale - GR_clean) | fraction |
| PHID | (RHOB_ma - RHOB) / (RHOB_ma - RHOB_fl) | fraction |
| PHIN | Directly from NPHI curve | fraction |
| PHIE | (PHID + PHIN) / 2 — Vsh correction applied | fraction |
| Sw_Archie | (a / (Rw × PHIE^m))^(1/n) from Rt | fraction |
| pay_flag | 1 if Vsh < cutoff AND Sw < cutoff AND PHIE > cutoff | binary |
Default cutoffs (overridable)
| Parameter | Default | Description |
| GR_clean | 20 GAPI | Clean sand/carbonate gamma ray |
| GR_shale | 120 GAPI | Pure shale gamma ray |
| Vsh_cutoff | 0.40 | Maximum shale volume for pay |
| PHIE_cutoff | 0.06 | Minimum effective porosity for pay |
| Sw_cutoff | 0.60 | Maximum water saturation for pay |
| RHOB_matrix | 2.65 g/cc | Quartz sandstone default |
| RHOB_fluid | 1.00 g/cc | Fresh water default |
| Rw | 0.05 ohm-m | Formation water resistivity |
| a | 0.62 | Archie tortuosity factor |
| m | 2.15 | Archie cementation exponent |
| n | 2.00 | Archie saturation exponent |
All defaults are overridable per zone or for the full well.
Formation top picking logic
- Compute smoothed GR, density, and resistivity trends
- Identify significant inflection points or step changes
- Match inflection depths against user-provided top list or known regional markers
- Assign confidence score based on sharpness of the transition
- Flag picks within bad hole intervals (caliper > 2× bit size)
Pay identification
A zone is flagged as pay when all three conditions are met:
Vsh < Vsh_cutoff(reservoir quality rock)PHIE > PHIE_cutoff(sufficient porosity)Sw < Sw_cutoff(hydrocarbon bearing)
Net pay = sum of 0.5-ft intervals meeting all three criteria within the gross interval.
Output schema
{
"well_info": {
"well_name": "string",
"api": "string",
"field": "string",
"log_date": "string",
"depth_range_ft": {"start": 0.0, "stop": 0.0}
},
"curves": [
{
"mnemonic": "string",
"canonical_name": "string",
"unit": "string",
"sample_count": 0,
"min": 0.0,
"max": 0.0,
"mean": 0.0,
"null_percentage": 0.0
}
],
"formation_tops": [
{
"formation": "string",
"top_md_ft": 0.0,
"top_tvd_ft": 0.0,
"confidence": 0.0,
"picked_from": "string"
}
],
"interpreted_zones": [
{
"zone_name": "string",
"top_md_ft": 0.0,
"base_md_ft": 0.0,
"gross_ft": 0.0,
"net_pay_ft": 0.0,
"ng_ratio": 0.0,
"avg_vsh": 0.0,
"avg_phie": 0.0,
"avg_sw": 0.0,
"pay_flag": true
}
],
"net_pay_summary": {
"total_gross_ft": 0.0,
"total_net_pay_ft": 0.0,
"overall_ng": 0.0,
"pay_zones": 0
},
"quality_flags": ["string"]
}Bad hole detection
Flag intervals where caliper > (bit size + 2 inches) as rugose or washed out. In bad hole:
- Density readings are unreliable
- Neutron readings may be high
- Computed Vsh and porosity should be used with caution
- Mark affected depth ranges in quality flags
Example response
WELL LOG INTERPRETATION — Eagle Ford A12H
══════════════════════════════════════════
Log depth range: 7,500 – 9,200 ft MD
Curves present: GR, RT, RHOB, NPHI, DT, CAL (6 curves)
FORMATION TOPS PICKED
──────────────────────
Austin Chalk: 7,500 ft MD (confidence 0.82)
Eagle Ford Shale: 7,840 ft MD (confidence 0.91)
Buda Limestone: 8,650 ft MD (confidence 0.87)
NET PAY SUMMARY — Eagle Ford Interval (7,840 – 8,650 ft)
───────────────────────────────────────────────────────
Gross interval: 810 ft
Net pay: 380 ft
N/G ratio: 0.47
Avg Vsh: 0.28
Avg PHIE: 0.09
Avg Sw: 0.42
⚠ Quality flags:
- Bad hole interval 8,100–8,180 ft (caliper > 12.5 in): density interpretation unreliable
- NPHI missing below 8,500 ft: porosity computed from density onlyDoes 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.

