aries-to-valuation

aries-to-valuation is a skill for Claude Code, Codex from crude-code/mcp-app. It costs 101 tokens per session (1,784 once invoked), scanned A, original, Apache-2.0.

A workflow for valuing production forecasts stored in an ARIES database, a database commonly used for oil and gas reserve and economic data. It translates the seller’s decline-curve forecasts into the project’s valuation process while preserving their explanations.

In plain words
What is it for?
Use it when a deal includes an ARIES database and you need to value its stored well forecasts, attribute the assumptions, and compare them with your own forecast.
Why use it?
It lets you calculate what the seller’s own forecasts imply under your economic assumptions, without confusing that result with an independent forecast or the seller’s original economics.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when a deal includes an ARIES database and you need to value its stored well forecasts, attribute the assumptions, and compare them with your own forecast.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/crude-code/mcp-app/aries-to-valuation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add crude-code/mcp-app --skill aries-to-valuation
Clone the repo
git clone --depth 1 https://github.com/crude-code/mcp-app

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aries-to-valuation

README.md
[![agentmods](https://agentmods.dev/badge/skills/crude-code/mcp-app/aries-to-valuation.svg)](https://agentmods.dev/skills/crude-code/mcp-app/aries-to-valuation)
Your own site
<a href="https://agentmods.dev/skills/crude-code/mcp-app/aries-to-valuation"><img src="https://agentmods.dev/badge/skills/crude-code/mcp-app/aries-to-valuation.svg" alt="Measured on agentmods" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,784 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00101 $0.01784
Opus 5 $0.00051 $0.00892
Sonnet 5 $0.00020 $0.00357
Haiku 4.5 $0.00010 $0.00178

Measured 7d ago against content hash 6e841b89cbf8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

aries-to-valuation scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (aries_curves.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`export_data(kind="parameters", run_id=...)`, curl the CSV in the
skills/aries-to-valuation/SKILL.md · 126 lines

How it starts

The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ARIES → Valuation

What you're doing

The user has an ARIES database (already read via aries-explorer) and has explicitly asked to value the curves inside it. This skill translates the section-4 decline forecasts into deal_forecast_wells assertions — adopted-with-attribution, every rationale carrying the verbatim ARIES line — and the normal valuation flow runs unchanged from there.

The result is a third number with its own name: the seller's curves under Crude Code economics. It is not a replay (their prices, costs, and econ-limit life are never used) and it is not our view (no independent forecast was made). Say this plainly, label the deal sheet with it, and offer the natural comparison — our own well-forecasting pass on the same wells — as the follow-up.

Routing: reading/exploring the database → aries-explorer. An independent valuation → well-forecasting. This skill only when the user asks for the database's own curves in a valuation, in their own words.

What you need

  • Code execution (hard requirement, same as the explorer).
  • The _aries/ directory from the explorer's aries_triage.py. If it isn't in the sandbox yet, fetch aries-explorer and run triage first.
  • The translation math rides on the pinned conventions in the explorer's ARIES.md (declines are effective-annual; the engine wants nominal-monthly). aries_curves.py implements them — verified against a real database's own oneliner to ≤0.013% per stream. Never convert by hand.

Workflow

  1. Confirm the lane. The user asked to value the seller's curves — restate what that means (their volumes, our prices/costs/discounting) in one sentence before starting.
  2. Translate:
    python3 aries_curves.py _aries --qualifier <Q>
    
    (qualifier defaults to BASE, else the most-used; say which was decoded). This writes forecast_payload.json and prints the coverage report. Read the whole report — it is the contract of what did and did not translate.
  3. Resolve the wells. Check every payload API against the warehouse:
    SELECT well_api, well_name, operator FROM public.wells
    WHERE well_api = ANY(ARRAY['42-227-41093', ...])
    
    A well missing from public.wells cannot enter a run (deal_forecast_wells bounces it) — remove its entry, and tell the user which wells fell out and why. Never fabricate or force an API.
  4. Tie out against the oneliner when the room has one. Extract per-well ultimates into oneliner.json{"<api>": {"ult_oil": bbl, "ult_gas": mcf, "life_yrs": yrs, "eff_offset_months": n}}. Get the life anchoring right: the oneliner's LIFE column is measured from the EFFECTIVE date, so eff_offset_months = months from the forecast START to the effective date (START 01/2025, effective 08/2026 → 19). Then:
    python3 aries_curves.py _aries --qualifier <Q> --tieout oneliner.json
    
    Residuals beyond ~0.1% on capped wells: check the life anchoring first — a wrong offset or a misread life moves the shortest-lived wells the most (in either direction) while long-lived wells still round to 0.000%, which looks exactly like "a few wells failed." The per-well [cap ...] annotations make the caps auditable. Only after anchoring is ruled out, treat the residual as a broken translation: stop and investigate; never value on top of an unexplained residual. (Without life_yrs the comparison overshoots by the seller's econ-limit truncation — explained, not wrong.)
  5. Commit — machine-copied, never retyped. Hand-typed parameters have corrupted in transit before (garbled digits inside rationale strings, qi values drifting). Print the entries with code execution —
    python3 -c "import json; print(json.dumps(json.load(open('forecast_payload.json'))['entries']))"
    
    — and paste that output verbatim as deal_forecast_wells' forecasts argument. You may drop wells (step 3); you may not edit numbers or rationale text. Read the echo. Expect stale-anchor warnings when the ARIES START predates recent actuals — that is the seller's timing, and the user must see it, not have it smoothed over.
  6. Verify the commit deterministically. Mint export_data(kind="parameters", run_id=...), curl the CSV in the sandbox, and diff the committed/asserted qi/di/b and anchor per well against forecast_payload.json in code — any drift means a transcription error: re-commit the affected wells straight from the payload and verify again. Do not proceed to valuation on an unverified commit.
  7. Confirm before valuing. Present the assumptions grid as usual, PLUS the report's not-modeled items, each as a user decision:
    • NGL yield (bbl/mcf per well) — the engine has no NGL stream; revenue is understated by roughly that share of the deck.
    • Shrink — the engine models wellhead gas; realization rides the BTU factor and differentials (gas_btu_factor override is the lever).
    • Water opex (OPC/WTR) — not modeled; an economics_overrides opex adjustment is the blunt instrument if the user wants it.
    • Tail policy — the report quantifies ARIES-tail vs engine-tail volumes per stream; surface the package-level difference.
  8. Value: deal_valuation as normal. The deal sheet's TLDR must lead with the label: "Seller's ARIES curves (qualifier ) under Crude Code economics." Then offer the comparison: an independent well-forecasting pass on the same wells, same economics — that two-run diff is usually what the user actually wants.

Read the full file on GitHub · 126 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 126 lines · 101 tokens per session scan A 6e841b89cbf8

Subscribe to this mod's changes

aries-to-valuation is a skill published in the GitHub repository crude-code/mcp-app (5 stars, last pushed 4d ago), licensed Apache-2.0. It adds 101 tokens to every session and 1,784 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories