petropy
Petrophysical analysis and formation evaluation from well logs. Calculate porosity, water saturation, permeability, and lithology. Use when Claude needs density/neutron/sonic logs, (3) Estimate water saturation using Archie or Simandoux, (4) Calculate permeability from porosity and saturation, (5) Perform pay zone identification, (6) Conduct multi-mineral analysis, (7) Generate petrophysical summation plots.
npx skills add majiayu000/claude-skill-registry --skill petropy --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# PetroPy - Petrophysical Analysis ## Quick Reference ```python import petropy as pp # Load and inspect log = pp.Log('well.las') print(log.keys()) # Available curves depth, gr = log['DEPT'], log['GR'] # Calculate properties log.shale_volume(gr_curve='GR', gr_clean=20, gr_shale=120) log.formation_porosity(rhob_curve='RHOB', rhob_matrix=2.65, rhob_fluid=1.0) log.water_saturation(method='archie', rt_curve='RT', porosity_curve='PHIT', rw=0.05) log.permeability(method='timur', porosity_curve='PHIT', sw_curve='SW') ``` ## Key Classes | Class | Purpose | |-------|---------| | `Log` | Main well log container, extends lasio.LASFile | | `electrofacies` | Facies classification utilities | | `Formations` | Zone/formation management | ## Essential Operations ### Shale Volume (Vsh) ```python log.shale_volume( gr_curve='GR', gr_clean=20, # GR of clean sand (API) gr_shale=120, # GR of shale (API) method='linear' # or 'larionov_young', 'larionov_old', 'clavier' ) vsh = log['VSH'] ``` ### Porosity ```python # Density porosity with shale correction log.formation_porosity( rhob_curve='RHOB', rhob_matrix=2.65, # g/cc (sandstone) rhob_fluid=1.0, # g/cc (water) rhob_shale=2.45, # optional shale correctio
- Quick Reference
- Key Classes
- Essential Operations
- Shale Volume (Vsh)
- Porosity
- Water Saturation
- Permeability
- Pay Flag and Net Pay
- Export Results
- Archie Parameters
- Matrix Properties
- When to Use vs Alternatives
- Common Workflows
- Complete formation evaluation from raw logs
What does the petropy skill do?
Petrophysical analysis and formation evaluation from well logs. Calculate porosity, water saturation, permeability, and lithology. Use when Claude needs density/neutron/sonic logs, (3) Estimate water saturation using Archie or Simandoux, (4) Calculate permeability from porosity and saturation, (5) Perform pay zone identification, (6) Conduct multi-mineral analysis, (7) Generate petrophysical summation plots.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill petropy --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
