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

production_data_analyst

Skill7 starsChanged 9 months agoMITView on GitHub

Reads production test reports and time-series production data, computes initial production rates, runs Arps decline curve analysis, checks production allocation, identifies anomalous behavior, and generates production performance summaries. Supports single-well and multi-well pad analysis. Standard Arps hyperbolic: q(t) = qi / (1 + b × Di × t)^(1/b) When multiple zones or wells share a separator or test line: 1. Extract allocation factors from test data or design documents 2. Apply factors to gross production to compute per-well or per-zone…

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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:

    When multiple zones or wells share a separator or test line:

    line 88
  2. Distinctive:

    Prefer hyperbolic fit for unconventional wells during boundary-dominated flow

    line 168

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

Production Data Analyst

What this skill does

Reads production test reports and time-series production data, computes initial production rates, runs Arps decline curve analysis, checks production allocation, identifies anomalous behavior, and generates production performance summaries. Supports single-well and multi-well pad analysis.

When to use

  • User uploads production test reports or production history files
  • User asks to analyze production performance or run decline curves
  • User wants to compare production against type curve or forecast
  • User needs allocation checks across stages or wells
  • User is diagnosing liquid loading, anomalous decline, or well interference

Trigger phrases

  • "Analyze production data for this well"
  • "Run decline curve analysis on this production history"
  • "What are the IP30, IP90, and IP180 rates?"
  • "Check the production allocation for this pad"
  • "Is this well loading up with water?"
  • "Compare production against the type curve"
  • "Summarize production test results"
  • "Flag anomalous production behavior"
  • "What is the EUR estimate for this well?"

Inputs

  • Production test reports (PDF, DOCX)
  • Monthly or daily production time series (CSV, XLSX)
  • Pressure and rate data (CSV, XLSX)
  • Optional: type curve for benchmarking
  • Optional: offset well production for comparison
  • Optional: allocation factors per zone or stage

Outputs

  • Production test summary with rates and pressures
  • IP rates: IP30, IP60, IP90, IP180, IP365
  • Peak rate and date of peak
  • Decline curve fit parameters (qi, Di, b)
  • EUR estimate with confidence range
  • GOR and water cut trend
  • Allocation table if multi-zone or multi-well
  • Anomaly flags (rate spikes, loading indicators, interference signals)
  • Structured JSON output

Production metrics computed

Rate metrics

MetricDefinition
Initial rate (IP)First production rate or average of first 24 hours
IP30Average daily rate over first 30 producing days
IP60Average daily rate over first 60 producing days
IP90Average daily rate over first 90 producing days
IP180Average daily rate over first 180 producing days
IP365Average daily rate over first 365 producing days
Peak rateMaximum recorded daily rate
Current rateMost recent 30-day average

Decline curve analysis (Arps)

ParameterSymbolDescription
Initial rateqiRate at time zero (bbl/d or MSCF/d)
Nominal decline rateDiFractional decline per time unit
Hyperbolic exponentb0 = exponential, 1 = harmonic, 0–1 = hyperbolic
EUREUREstimated Ultimate Recovery from decline fit
Remaining life—Years to reach economic limit

Standard Arps hyperbolic: q(t) = qi / (1 + b × Di × t)^(1/b)

Pressure analysis (when available)

  • Tubing head pressure trend
  • Casing head pressure trend
  • Drawdown = reservoir pressure - flowing BHP
  • Buildup analysis if shut-in periods exist

GOR and water cut

MetricDefinitionFlag condition
GORGas-oil ratio (SCF/STB)Rapid increase may indicate gas breakthrough
Water cutWater fraction of liquid productionRising WC suggests water encroachment
Liquid loadingVelocity < critical velocity for gas wellsDeclining rate with increasing backpressure

Allocation logic

When multiple zones or wells share a separator or test line:

  1. Extract allocation factors from test data or design documents
  2. Apply factors to gross production to compute per-well or per-zone volumes
  3. Flag allocations that sum to > 102% or < 98% of gross
  4. Report unallocated volume

Anomaly detection flags

FlagCondition
RATE_SPIKESingle-day rate > 3× 30-day average
LOADINGRate declining while wellhead pressure increasing
GOR_BREAKTHROUGHGOR increase > 50% over 90 days
WATER_BREAKTHROUGHWater cut increase > 20 percentage points in 30 days
INTERFERENCERate decline correlates with offset well startup
NEGATIVE_DECLINERate increasing anomalously without workover
MISSING_DATAGaps > 7 days in production history
ALLOCATION_ERRORAllocated sum deviates > 2% from gross

Output schema

{
  "well_info": {
    "well_name": "string",
    "api": "string",
    "field": "string",
    "first_production_date": "string"
  },
  "ip_rates": {
    "ip30_bopd": 0.0,
    "ip60_bopd": 0.0,
    "ip90_bopd": 0.0,
    "ip180_bopd": 0.0,
    "ip365_bopd": 0.0,
    "peak_rate_bopd": 0.0,
    "peak_date": "string",
    "current_rate_bopd": 0.0
  },
  "decline_curve": {
    "model": "hyperbolic | exponential | harmonic",
    "qi_bopd": 0.0,
    "di_per_year": 0.0,
    "b_factor": 0.0,
    "eur_mbo": 0.0,
    "eur_p10_mbo": 0.0,
    "eur_p90_mbo": 0.0,
    "r_squared": 0.0
  },
  "production_tests": [
    {
      "test_date": "string",
      "oil_rate_bopd": 0.0,
      "gas_rate_mcfd": 0.0,
      "water_rate_bwpd": 0.0,
      "gor_scf_stb": 0.0,
      "water_cut_pct": 0.0,
      "choke_size_in": "string",
      "tubing_pressure_psi": 0.0,
      "casing_pressure_psi": 0.0,
      "test_duration_hrs": 0.0
    }
  ],
  "cumulative_production": {
    "cum_oil_mbo": 0.0,
    "cum_gas_mmscf": 0.0,
    "cum_water_mbw": 0.0,
    "producing_months": 0
  },
  "anomaly_flags": ["string"],
  "quality_flags": ["string"]
}

Decline curve fitting notes

  • Require minimum 6 months of production data for reliable Arps fit
  • Flag b > 2.0 as physically unlikely (may indicate transient flow still dominating)
  • Apply terminal decline rate (typically 8–10% per year) for EUR calculation
  • Report P10/P50/P90 EUR range using Monte Carlo or sensitivity on Di ± 20%
  • Prefer hyperbolic fit for unconventional wells during boundary-dominated flow

Example response

PRODUCTION PERFORMANCE — Wolfcamp B 3H
════════════════════════════════════════
First production:    June 1, 2024
Producing months:    9
Peak rate:           1,240 BOPD (June 28, 2024)

IP RATES
─────────
IP30:   1,085 BOPD
IP60:     892 BOPD
IP90:     741 BOPD
IP180:    498 BOPD

DECLINE CURVE FIT (Hyperbolic)
──────────────────────────────
qi:   1,240 BOPD
Di:   68% / year
b:    1.4
EUR:  380 MBOE (P50)   |   P10: 490 MBOE   P90: 285 MBOE
R²:   0.94

ANOMALY FLAGS
──────────────
⚠ GOR_BREAKTHROUGH: GOR increased from 850 to 1,420 SCF/STB between months 6–9
⚠ MISSING_DATA: 12-day gap in September (shut-in, reason unknown)

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.