production-surveillance
SkillFiles & storageAnalyze synthetic production surveillance data with deterministic field, well-log, flow-assurance, reservoir, safety, petrophysics, and economics checks. Use when asked to 'generate a morning field report', 'run production surveillance', 'read this LAS file', 'ingest well logs', 'what curves are in SK-14', 'investigate the RED alarm', 'run a full investigation on a well', 'check flow assurance', 'calculate hydrate margin', 'assess reservoir constraints', 'run a safety compliance check', or 'create a production surveillance watch'.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the production-surveillance skill
What this skill tells your AI
The instructions your AI receives, as published by amazon-quick/amazon-quick-official-catalog in skills/energy-utilities/production-surveillance/SKILL.md and read by ahel’s review.
Overview
Production Surveillance provides six operationally read-only analysis workflows for a synthetic deepwater-gas field. The Morning Field Report can add a self-contained Highcharts dashboard, and the Anomaly Investigation fans out three isolated domain checks in parallel before applying the safety veto. After either workflow, the skill can offer once to create an opt-in recurring surveillance watch. It produces evidence-bound analysis and proposed external handoffs, never field commands or claims of execution.
Workflow
<Definition - Synthetic fixture>
All bundled data under references/ and evals/files/ is synthetic. references/tiger-data-sample-response.json contains the 27-well field snapshot, references/formation-tops.json contains two synthetic formation summaries, references/petrophysics-summary.json contains pre-computed results derived from synthetic well-log sidecars, and evals/files/ contains synthetic LAS 2.0 logs for SK-14 and SK-22. None represents a real field, customer, or operator.
</Definition - Synthetic fixture>
<Definition - Signed scenario margin> The hydrate signed scenario margin is current temperature minus inhibited equilibrium temperature. A positive value means the synthetic temperature is above the inhibited hydrate curve. It is not a field-certified operating margin. </Definition - Signed scenario margin>
<Definition - Safety veto>
A BLOCK from the Safety Compliance Check overrides every other finding. An UNKNOWN safety result also withholds the proposed handoff until the evidence gap is resolved. The agent must not offer APPROVE while either condition remains.
</Definition - Safety veto>
<Definition - Domain result>
Each isolated Anomaly Investigation task returns one status from PASS, CAUTION, BLOCK, or UNKNOWN. A failed, malformed, unavailable, or timed-out task is UNKNOWN for that domain, never PASS. The parent agent retains the failure reason in the recommendation card.
</Definition - Domain result>
<Definition - Human decision>
APPROVE records approval for an external handoff only. MODIFY changes assumptions or proposed parameters and requires the affected calculations and safety screen to run again. REJECT records the rejection reason and holds the current state. None executes a field command.
</Definition - Human decision>
<Definition - Partial report>
A report labeled PARTIAL contains only completed calculations, names every failed or missing input, and makes no conclusion that depends on unavailable evidence.
</Definition - Partial report>
<Definition - Production Surveillance watch>
An opt-in recurring local Quick scheduled task that runs the bundled well_deviations and alarms operations. A RED alarm invokes Anomaly Investigation and stops at the human decision boundary. The watch never auto-approves or executes an operational action.
</Definition - Production Surveillance watch>
<Workflow - Well Log Ingestion description="Read a confined LAS 2.0 unwrapped well log, resolve curve aliases, normalize supported units, run the existing petrophysics sequence, and report evidence limits." tools=[file_read, run_python] triggers=["read this LAS file", "ingest well logs", "what curves are in SK-14", "parse a LAS 2.0 well log"]
-
[Agent] Read README.md
## Pre-requisites,references/analysis-basis.md, andreferences/script-interface.md. Verifyrun_pythonis available. Identify the requested path as bundled synthetic data underevals/files/or user-supplied data, and ensure it resolves withinWORKSPACE_DIR. Validate: The Python tool and references are available, the source label is explicit, and the path contains no parent traversal and stays withinWORKSPACE_DIR. If fails: Stop, returnUNKNOWN, and name the missing tool, reference, or confinement error. Never copy data outside the workspace to bypass confinement. -
[Agent] Run
scripts/run_las_reader.pyoperationread_metadatawith the documentedpathargument. Validate: The response hasstatus: success,version: 2.0,wrap: NO, a finite null value, a non-empty well section, and a curve inventory. If fails: Preserve the documented error code. Wrapped LAS, LAS 3.0, a missing ASCII section, or malformed metadata returnsUNKNOWNand must not continue to petrophysics. -
[Agent] Pass the returned curve mnemonics to operation
resolve_aliases. IdentifyGR,NPHI,RHOB, andRT; also retain depth and every unresolved mnemonic in the inventory. Validate: The response hasstatus: success; every input mnemonic appears once; the mapping source is recorded; required curves for each requested calculation are known. If fails: Return alias statusUNKNOWN. Continue only calculations whose required canonical curves are unambiguous. -
[Agent] Run operation
read_curveswith the samepathand optional source-unitdepth_minanddepth_max. For bundled SK-14 and SK-22 reservoir calculations, use the intervals inreferences/analysis-basis.md. Remove any row containing null in a curve required by the next calculation, and report the removed-row count. Validate: Raw and canonical arrays have equal sample counts, JSON null represents the LAS null value, canonical units areFTfor depth,GAPIfor GR,V/Vfor NPHI,G/CCfor RHOB, andOHMMfor RT when those source curves exist. If fails: Preserve the error code and return curve dataUNKNOWN. Never substitute, interpolate, or model a malformed or missing value. -
[Agent] Using only aligned non-null canonical arrays and the constants in
references/analysis-basis.md, callscripts/run_petrophysics.pyin this order:density_porosityfrom RHOB;shale_volumefrom GR;effective_porosityfrom density porosity and shale volume;archie_water_saturationfrom RT and effective porosity; thennet_payfrom depth, effective porosity, water saturation, and shale volume. Validate: Every response hasstatus: success, arrays remain aligned, the input and output units matchreferences/script-interface.md, and no model arithmetic replaces a failed operation. If fails: Mark the failed operation and all dependent operationsUNKNOWN, retain independent successful outputs, and label the resultPARTIAL. -
[Agent] Report the source label, LAS version and wrap, well metadata, original curve inventory, canonical mapping, units, source and retained row counts, depth interval, each successful petrophysics result, constants and cutoffs, null-row handling, and evidence gaps. State the professional-review disclaimer from Rule 11. Validate: Bundled SK-14 or SK-22 is labeled synthetic, user-supplied data is not mislabeled synthetic, every number traces to script output or
references/analysis-basis.md, and no field action or certified interpretation is claimed. If fails: Remove unsupported claims and rebuild the report only from successful script results and committed references.
</Workflow - Well Log Ingestion>
<Workflow - Morning Field Report description="Build a synthetic morning production report and optional self-contained dashboard with field status, anomalies, petrophysics context, economics, safety screening, and a human handoff decision." tools=[file_read, run_python, run_python_with_write, open_in_session_tab, get_current_time, agent_management, memory_management, list_scheduled_agents, create_scheduled_agent, recall_memories, save_to_memory] triggers=["generate a morning field report", "run production surveillance", "summarize the synthetic field", "review today's production anomalies"]
-
[Agent] Read README.md
## Pre-requisites. Verifyrun_pythonis available. Check whether the optionalhtml_design,highcharts,agent_management, andmemory_managementbuilt-ins are enabled. If the user supplied LAS, require LAS 2.0 unwrapped text withinWORKSPACE_DIR; if the user supplied DLIS, require external conversion to validated JSON. Validate: The required Python tool is available, LAS input is supported and confined or DLIS input is validated JSON, and optional built-in availability is recorded. If fails: Stop for a missing required tool or unsupported well-log input. Continue without an unavailable optional capability, state the reduced scope, and keep the Markdown report available. -
[Agent] Read
references/analysis-basis.mdandreferences/script-interface.md. Record the run time withget_current_time. Runscripts/run_tiger_fixture.pyagainstreferences/tiger-data-sample-response.jsonusing the documented{"operation": ..., "arguments": {...}}envelope forfield_summary,well_deviationswiththreshold_pct: 10, andalarmswithseverity: all. Validate: Each result is valid JSON withstatus: success; the field summary contains 27 wells and the deviation and alarm outputs retain fixture timestamps. If fails: Retry only a malformed invocation once. Then label the reportPARTIAL, name each failed operation, and omit dependent conclusions. -
[Agent] Read
references/formation-tops.json. When bundled or user-supplied LAS 2.0 unwrapped input is available, run <Workflow - Well Log Ingestion> through its calculation and reporting steps and use only successful outputs for petrophysics context. Otherwise readreferences/petrophysics-summary.jsonas the fallback. Confirm any fallback covers only SK-14 and SK-22 and identify its pre-computed calculation sequence and cutoffs. Validate: The selected source is labeled bundled synthetic or user-supplied, LAS output hasstatus: successfor every retained calculation, or the fallback JSON is valid and contains SK-14 and SK-22 without implying coverage of all 27 wells. If fails: Mark petrophysics contextUNKNOWN, name the failed LAS operation or missing fallback, and continue the independent field and economics sections as a partial report. -
[Agent] Run
scripts/run_economics.pyfordaily_revenuewithgas_rate_mmscfd: 1004,gas_price_per_mmbtu: 3.5,btu_per_scf: 1050,condensate_bpd: 68000, andcondensate_price_per_bbl: 72.5. Rundeferred_productiontwice with the same price and heating value: once withconstrained_wellsholding SK-14 atcurrent_rate_mmscfd: 22andpotential_rate_mmscfd: 38, and once withshut_in_wellsholding SK-14 atpotential_rate_mmscfd: 38. Argument names are inreferences/script-interface.md. Validate: The script returns $58,800/day current deferral and $139,650/day full-well exposure, with all assumptions repeated in JSON. If fails: Mark economicsUNKNOWN; do not calculate replacements or label any value as avoided savings. -
[Agent] If the report proposes the external handoff in
references/analysis-basis.md, runscripts/run_tiger_fixture.pyoperationsafety_compliancefor SK-14 with that proposed action and action classchemical. Validate: The result includesverdict,blocking,precedent_basis: active_alarm_set, andexecution_status: not_executed. If fails: Treat safety asUNKNOWN, withhold the handoff, and do not offer APPROVE. -
[Agent] Produce a Markdown report containing: synthetic-data disclosure; analysis and fixture timestamps; field summary; active alarms; deviations; SK-14 and SK-22 petrophysics status; explicit economics assumptions; separate current-deferral and full-exposure values; safety result; evidence gaps; exact script operations used; and the professional-review disclaimer. Validate: Every numeric claim traces to a successful result or committed reference, failed sections are labeled
UNKNOWNorPARTIAL, and no operational action is described as executed. If fails: Remove unsupported claims and rebuild only from retained evidence. -
[Decide] Are both
html_designandhighchartsenabled? Validate: Availability is determined from step 1.- Yes: Continue to the dashboard location step.
- No: Present the complete Markdown report, state which built-in is unavailable, skip the dashboard location and build steps, and continue to the human decision step. If fails: Preserve the Markdown report as the fallback, skip the dashboard location and build steps, and continue to the human decision step.
-
[Ask user] Ask where to save the optional HTML dashboard. Accept a user-confirmed location or the current session workspace. Validate: A writable destination is explicitly confirmed before any file is created. If fails: Keep the Markdown report in chat, skip the dashboard build step, and continue to the human decision step.
-
[Agent] Load the built-in
highchartsandhtml_designskills. Build one self-contained HTML file using the vendored Highcharts from those skills, with no CDN or external dependency. Include a field-production column chart; an SK-14 rate, pressure, and temperature trend with the 14.22 degC inhibited hydrate curve as a separately labeled line; an active-alarm table; and separate cards for $58,800/day current deferral and $139,650/day full-well exposure. Generate the HTML only from successful prior results, write it to the confirmed location withrun_python_with_write, and open it withopen_in_session_tab. Validate: The file opens, contains all four requested views, uses only vendored Highcharts, labels the fixture synthetic, and keeps both economics figures in separate cards with their $3.50/MMBtu and 1,050 BTU/scf basis. If fails: State that dashboard rendering failed and present the complete Markdown report as the fallback. Do not replace Highcharts with a CDN. -
[Ask user] If safety is not
BLOCKorUNKNOWN, present the proposed handoff withexecution_status: not_executedand ask for exactly one decision:APPROVE,MODIFY, orREJECT. If safety isBLOCKorUNKNOWN, present the withheld handoff and requestMODIFYorREJECTinstead. Validate: A blocked or unknown case offers no APPROVE path; otherwise the response matches one human decision. If fails: Re-state the safety result and decision boundary, then ask again without taking action. -
[Decide] On
APPROVE, record approval for external handoff only. OnMODIFY, collect changed assumptions, rerun affected calculations, rebuild the report and dashboard if requested, and reapply safety. OnREJECT, record the reason and hold current state. Then run <Workflow - Scheduled Surveillance Offer> unless this report was launched by the watch. Validate: The final record retainsexecution_status: not_executed; a modified case was recalculated and rescreened; the scheduling check was invoked once for an owner-initiated run. If fails: Reset the status to not executed, keep the report in chat, and state which decision, save, or scheduling step failed.
</Workflow - Morning Field Report>
<Workflow - Anomaly Investigation description="Investigate a synthetic well anomaly by dispatching flow assurance, reservoir constraints, and safety compliance in parallel, then synthesize one safety-gated recommendation card." tools=[file_read, run_python, get_current_time, start_task, create_task_group, get_task_group_result, inspect_task, agent_management, memory_management, list_scheduled_agents, create_scheduled_agent, recall_memories, save_to_memory] triggers=["SK-14 pressure is spiking and rate is dropping, run a full investigation", "investigate the RED alarm", "run a full investigation on a well", "review the production anomaly end to end"]
-
[Agent] Read README.md
## Pre-requisites,references/analysis-basis.md, andreferences/script-interface.md. Verifyrun_python,create_task_group,start_task, andget_task_group_resultare available. Record the analysis time withget_current_time. Validate: Required tools and both references are available, and the script contract is loaded before any command is assembled. If fails: Stop, name the unavailable tool or reference, and do not simulate parallel results. -
[Agent] Read current alarm evidence first by running
run_tiger_fixture.run({"fixture":"references/tiger-data-sample-response.json","operation":"alarms","arguments":{"severity":"RED"}}. If the request names a well, rerun withwell_idadded. If no well is named and exactly one RED well is returned, select it; if multiple RED wells are returned, ask the user which well to investigate. Validate: Alarm output hasstatus: success, every selected alarm is current fixture evidence, and exactly onewell_idis selected. If fails: Return anomaly statusUNKNOWN, preserve the script error, and request a well identifier or valid alarm evidence. -
[Agent] Assemble isolated-task inputs for the selected well: complete active-alarm JSON; any user-supplied proposed action or rate; and aqueous MEG weight percent only when explicitly supplied or committed for that well in
references/analysis-basis.md. For SK-14, use the committed proposed external handoff and 21.5 wt% basis. For another well without a supported proposal, use "hold current state and request qualified review" with action classother. Validate: Every value has a successful tool, user, or committed-reference source; volumetric MEG rate was not converted to weight percent. If fails: Set the unsupported input to null and require the affected task to returnUNKNOWNrather than inventing it.
Shortened here. Read the whole file on GitHub.
Signals
- GitHub stars
- 49
- Forks
- 2
- Last commit
- Sep 2026
ahel review
K6low
bundled executables the agent is told to run
Automated review, not a security audit. Ruleset v1+k2.
Advanced
- Catalog kind
- skill
- Gateway key
production-surveillance- Source
- github.com/amazon-quick/amazon-quick-official-catalog