api12-drilling-analyzer
Analyze drilling performance and metrics using API 12-digit well numbering system. Use for drilling time analysis, cost benchmarking, well comparison, sidetracks tracking, and drilling efficiency metrics across GOM fields.
Best use case
api12-drilling-analyzer is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Analyze drilling performance and metrics using API 12-digit well numbering system. Use for drilling time analysis, cost benchmarking, well comparison, sidetracks tracking, and drilling efficiency metrics across GOM fields.
Teams using api12-drilling-analyzer should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/api12-drilling-analyzer/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How api12-drilling-analyzer Compares
| Feature / Agent | api12-drilling-analyzer | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Analyze drilling performance and metrics using API 12-digit well numbering system. Use for drilling time analysis, cost benchmarking, well comparison, sidetracks tracking, and drilling efficiency metrics across GOM fields.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Api12 Drilling Analyzer
## When to Use
- Parsing and validating API well numbers (10, 12, or 14 digit formats)
- Analyzing drilling performance by operator, field, or area
- Benchmarking drilling times and costs across similar wells
- Tracking sidetrack wells and their relationship to parent bores
- Calculating drilling efficiency metrics (ROP, NPT, connection time)
- Comparing deepwater vs. shelf drilling performance
- Identifying drilling hazards by area/block
- Generating drilling AFE (Authorization for Expenditure) estimates
## Core Pattern
```
API Number → Parse/Validate → Query BSEE Data → Analyze Drilling Metrics → Benchmark → Report
```
### API Number Structure
| Digits | Description | Example |
|--------|-------------|---------|
| 1-2 | State Code | 17 = Louisiana (OCS) |
| 3-5 | County/Area Code | 710 = Green Canyon |
| 6-10 | Well Sequence | 49130 |
| 11-12 | Sidetrack Number | 00, 01, 02 |
| 13-14 | Completion Number | 00, 01 (14-digit only) |
## Implementation
### Data Models
```python
from dataclasses import dataclass, field
from datetime import date, timedelta
from typing import Optional, List, Dict, Any
from enum import Enum
import pandas as pd
import re
class APIFormat(Enum):
"""API number format types."""
*See sub-skills for full details.*
### Drilling Analyzer
```python
from typing import List, Dict, Optional
from pathlib import Path
import pandas as pd
import numpy as np
import logging
logger = logging.getLogger(__name__)
class DrillingAnalyzer:
*See sub-skills for full details.*
### Report Generator
```python
import plotly.graph_objects as go
from plotly.subplots import make_subplots
from pathlib import Path
class DrillingReportGenerator:
"""Generate interactive drilling analysis reports."""
def __init__(self, analyzer: DrillingAnalyzer):
"""
*See sub-skills for full details.*
## YAML Configuration
### Drilling Analysis Configuration
```yaml
# config/drilling_analysis.yaml
metadata:
task: drilling_performance_analysis
created: "2024-01-15"
wells:
# List of API numbers to analyze
- api: "177104913000"
*See sub-skills for full details.*
### AFE Configuration
```yaml
# config/afe_estimate.yaml
metadata:
task: afe_estimation
well_name: "Proposed Well A-1"
target_well:
area: "Green Canyon"
block: "640"
*See sub-skills for full details.*
## CLI Usage
### API Number Operations
```bash
# Parse and validate API number
python -m drilling_analyzer parse "177104913001"
# Find all sidetracks for a well
python -m drilling_analyzer sidetracks --api 1771049130
# List wells by area
python -m drilling_analyzer list --area GC --water-depth-min 5000
```
### Benchmarking
```bash
# Benchmark by area
python -m drilling_analyzer benchmark --by area --output reports/area_benchmark.html
# Benchmark by operator
python -m drilling_analyzer benchmark --by operator --min-wells 3
# Generate AFE estimate
python -m drilling_analyzer afe --td 25000 --water-depth 7000 --area GC
```
### Reports
```bash
# Generate comprehensive benchmark report
python -m drilling_analyzer report --config config/drilling_analysis.yaml
# Compare specific wells
python -m drilling_analyzer compare --apis 177104913000,177104913001,177590301100
# Generate efficiency metrics
python -m drilling_analyzer efficiency --output reports/efficiency.csv
```
## Related Skills
- [bsee-data-extractor](../bsee-data-extractor/SKILL.md) - Source data for drilling analysis
- [npv-analyzer](../npv-analyzer/SKILL.md) - Economic analysis using drilling costs
- [production-forecaster](../production-forecaster/SKILL.md) - Link drilling to production outcomes
- [hse-risk-analyzer](../hse-risk-analyzer/SKILL.md) - Safety metrics for drilling operations
## Sub-Skills
- [Example 1: Parse and Analyze API Numbers (+4)](example-1-parse-and-analyze-api-numbers/SKILL.md)
- [API Number Handling (+3)](api-number-handling/SKILL.md)Related Skills
npv-analyzer
Perform NPV analysis and economic evaluation for oil & gas assets. Use for cash flow modeling, price scenario analysis, Monte Carlo simulation, P10/P50/P90 probabilistic analysis, working interest calculations, and financial metrics (IRR, payback, NPV) for field development projects.
hse-risk-analyzer
Analyze BSEE HSE (Health, Safety, Environment) incident data for risk assessment. Use for operator safety scoring, incident trend analysis, compliance tracking, and ESG-integrated economic evaluation.
field-analyzer
Deepwater field-specific analysis for major Gulf of Mexico developments and production aggregation
economic-sensitivity-analyzer
Perform advanced economic sensitivity analysis for oil & gas investments including spider diagrams, 2D surfaces, breakeven analysis, and decision tree analysis.
drilling
Domain expertise for drilling engineering covering well planning, hydraulics, well control, and drilling operations analysis.
doc-extraction-drilling-riser
Layer 3 domain sub-skill for extracting drilling riser data from API RP 16Q, DNV-RP-C205, and riser analysis reports. Provides detection heuristics for VIV parameters, kill/choke line specs, and BOP stack configurations. type: reference
drilling-well-planning-and-design
Sub-skill of drilling: Well Planning and Design (+5).
drilling-drilling-optimization
Sub-skill of drilling: Drilling Optimization (+2).
drilling-drilling-hydraulics
Sub-skill of drilling: Drilling Hydraulics (+5).
drilling-common-problems
Sub-skill of drilling: Common Problems (+1).
drilling-bsee-drilling-data
Sub-skill of drilling: BSEE Drilling Data (+2).
drilling-api-standards
Sub-skill of drilling: API Standards (+2).