agentleFS
ttracxttracx/oil-and-gas-claude-skills/skills/well_log_interpreter/SKILL.md

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…

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
  1. Distinctive:

    All defaults are overridable per zone or for the full well.

    line 85

≈ “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.

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

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 familyCommon mnemonics
DepthDEPT, DEPTH, MD, TVDSS
Gamma rayGR, GRC, SGR, CGR
Deep resistivityRT, RD, RILD, RDEEP, ILD
DensityRHOB, DEN, RHOZ
Neutron porosityNPHI, TNPH, CNCF, APLC
SonicDT, DTCO, AC
CaliperCAL, CALI, C1, C2
PhotoelectricPE, PEF
Spontaneous potentialSP

Computed curves (derived outputs)

CurveFormulaUnits
Vsh_GR(GR - GR_clean) / (GR_shale - GR_clean)fraction
PHID(RHOB_ma - RHOB) / (RHOB_ma - RHOB_fl)fraction
PHINDirectly from NPHI curvefraction
PHIE(PHID + PHIN) / 2 — Vsh correction appliedfraction
Sw_Archie(a / (Rw × PHIE^m))^(1/n) from Rtfraction
pay_flag1 if Vsh < cutoff AND Sw < cutoff AND PHIE > cutoffbinary

Default cutoffs (overridable)

ParameterDefaultDescription
GR_clean20 GAPIClean sand/carbonate gamma ray
GR_shale120 GAPIPure shale gamma ray
Vsh_cutoff0.40Maximum shale volume for pay
PHIE_cutoff0.06Minimum effective porosity for pay
Sw_cutoff0.60Maximum water saturation for pay
RHOB_matrix2.65 g/ccQuartz sandstone default
RHOB_fluid1.00 g/ccFresh water default
Rw0.05 ohm-mFormation water resistivity
a0.62Archie tortuosity factor
m2.15Archie cementation exponent
n2.00Archie saturation exponent

All defaults are overridable per zone or for the full well.

Formation top picking logic

  1. Compute smoothed GR, density, and resistivity trends
  2. Identify significant inflection points or step changes
  3. Match inflection depths against user-provided top list or known regional markers
  4. Assign confidence score based on sharpness of the transition
  5. 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 only

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.