Automated Log Analysis 标志

Automated Log Analysis

组织
Amazon-Quick
automated-log-analysis

解析 LAS 2.0 井测曲线数据,处理供应商曲线别名;执行确定性的岩石物理评价(Vshale、密度孔隙度、Archie Sw、有效孔隙度、净产层厚度、产层、OOIP);生成五道组合测井图;撰写 Word 和 Markdown 报告,并通过电子邮件草拟结果。当用户要求“处理每日钻井测井数据”“检查是否有新的 MWD 数据”“对收到的邮件运行岩石物理分析”“分析供应商交付的测井数据”“评估这口井的测井曲线”“分析这个 LAS 文件”,或“运行测井分析流程”时使用。

概览

发布者Amazon-Quick
代码仓库Amazon-Quick-official-catalog
技能名称automated-log-analysis
星标数
50
复刻数
4
附带文件
13
许可协议MIT-0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 13 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Amazon-Quick 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Automated Log Analysis AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Amazon-Quick/Amazon-Quick-official-catalog/tree/main/skills/energy-utilities/automated-log-analysis
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Amazon-Quick/Amazon-Quick-official-catalog.git /tmp/Amazon-Quick-official-catalog
mkdir -p .claude/skills
cp -r /tmp/Amazon-Quick-official-catalog/skills/energy-utilities/automated-log-analysis .claude/skills/automated-log-analysis
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Automated Log Analysis,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Automated Log Analysis。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Automated Log Analysis 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Overview

Automated Log Analysis turns a vendor LAS 2.0 delivery into an auditable petrophysical evaluation. Every number comes from a bundled script: the parser resolves vendor mnemonics through an alias table, the evaluator computes Vshale, porosity, water saturation, net pay, pay zones, and OOIP with declared parameters, the plotter renders the composite log, and the report writer produces a Word document with a Markdown twin. The model explains the figures, decides how to proceed on warnings, and drafts the email; it never recomputes a value. When no email delivery exists, a deterministic synthetic well (SYN-LAS-1) exercises the whole pipeline with locked golden values.

Workflow

<Definition - Script execution recipe> Read references/script-interface.md first. For every script: read its source with file_read, then in run_python_with_write import it by file stem and call run(request); for example import run_evaluation as script; result = script.run(request). Always pass workspace_dir (the sandbox workspace directory Amazon Quick supplies) in the request. Use a unique script_name per execution. Do not read or assign __file__ or other dunder attributes, do not compile or exec source text, do not modify sys.path or os.environ, and do not import one bundled script from another. Treat the returned JSON as authoritative. </Definition - Script execution recipe>

<Definition - Canonical request> {"workspace_dir":"{workspace_dir}","well_id":"{well_id}","data_root":"automated-log-analysis-data"} plus the per-script fields listed in references/script-interface.md. well_id must match ^[A-Za-z0-9._-]+$; default SYN-LAS-1. All paths are relative to workspace_dir; the scripts reject absolute paths and parent traversal. </Definition - Canonical request>

<Definition - Default parameters> Starting defaults. Override only when the user specifies formation-specific values, and record every override in the report methodology.

ParameterDefaultNotes
matrix_density2.65 g/ccSandstone. 2.71 limestone, 2.87 dolomite
fluid_density0.9 g/ccOil-based mud
a1.0Archie tortuosity
m1.87Archie cementation
n2.45Archie saturation exponent
rw0.017 ohm-mFormation water resistivity
phie_min0.06Net pay porosity minimum
sw_max0.50Net pay water saturation maximum
vsh_max0.50Net pay shale volume maximum
boi1.3 RB/STBOil formation volume factor
rf0.35Recovery factor
area_acres500Drainage area
</Definition - Default parameters>

<Definition - OOIP formula> OOIP (STB) = 7758 x area_acres x net_pay_ft x avg_phie x (1 - avg_sw) / boi. Recoverable = OOIP x rf. Computed only by run_evaluation.py; null when no water saturation exists. </Definition - OOIP formula>

<Definition - Synthetic golden values> SYN-LAS-1 from create_synthetic_las.py in create mode: 1,501 samples at 0.5 ft from 8,000.0 to 8,750.0 ft; vendor mnemonics GRMA, ROBB, TNPH, P40H, DTCO, HCAL resolve to GR, RHOB, NPHI, RT, DT, CALI. Evaluation with defaults: clean GR 35.0 API, shaley GR 120.0 API; net pay 325.0 ft of 750.5 ft gross, net-to-gross 0.433; three pay zones 8,100.0–8,199.5, 8,300.0–8,424.5, and 8,550.0–8,649.5 ft; average pay PHIE 0.2286 and Sw 0.1184; OOIP 195,437,364 STB and recoverable 68,403,077 STB; QC grade good with a CALI spike warning. no_resistivity mode omits P40H. </Definition - Synthetic golden values>

<Definition - Limited-accuracy result> When required_curves.missing contains RT, evaluation still succeeds: SW samples are null, net_pay_summary.sw_cutoff_applied is false, net_pay_summary.accuracy begins with limited, avg_sw_pay and every zone avg_sw are null, and ooip.ooip_stb is null with a note. Report net pay as porosity-and-shale screened only and recommend resistivity acquisition before volumetrics. </Definition - Limited-accuracy result>

<Definition - Report structure> Sections in order: title, well information table, methodology with parameters, cutoffs table, composite log image, net pay zones table, summary metrics, OOIP estimate, QC notes, recommendations. Summary metrics include a Net pay basis line built from net_pay_summary.accuracy; when resistivity is missing the report states porosity and shale cutoffs only with limited accuracy, renders Sw as n/a (no resistivity), and shows the ooip.note in place of a volume. The literal None never appears. Recommendations are supplied by the agent in the request only after the user has seen the evaluation; the script never invents them. </Definition - Report structure>

<Workflow - Email pipeline description="End-to-end evaluation from an Outlook LAS delivery to a draft results email." tools=[file_read, run_python_with_write, open_in_session_tab, get_current_time] triggers=["process daily drilling logs", "check for new MWD data", "run petrophysics on incoming email", "analyze vendor log delivery", "run log analysis pipeline"]

  1. [Agent] Read README.md ## Pre-requisites and references/script-interface.md; confirm file_read and run_python_with_write are available and check whether the Outlook connector is available. Validate: Both required tools present; Outlook availability known. If fails: Stop on a missing required tool. If only Outlook is missing, say so and switch to <Workflow - Standalone LAS analysis>.
  2. [Agent] Find unread emails in {{email_folder}} whose attachments end in .las or .dlis. Validate: At least one qualifying email. If fails: Report No new log deliveries found in {{email_folder}} and stop.
  3. [Decide] If more than one qualifies, apply Rule 7. Validate: One delivery selected or all queued. If fails: Process the most recent.
  4. [Agent] Read subject and body for well name, interval, and formation context. Save the first LAS attachment beneath {workspace_dir}/automated-log-analysis-data/ using a validated well_id as the file stem. Validate: A non-empty .las file exists at a relative path. If fails: For DLIS, warn per and move to the next email; otherwise report the download error and stop.
  5. [Agent] Continue with steps 2 through 7 of <Workflow - Standalone LAS analysis> using that relative path. Validate: Evaluation, plot, and report all returned status of success or created. If fails: Follow that workflow's failure paths.
  6. [Agent] Draft, do not send, a reply to the vendor email using <Template - Email body>, attach the report (Word if created, otherwise Markdown), CC {{recipients}} when provided. Validate: Draft exists with the attachment. If fails: Create the draft without the attachment and include the full summary in the body.
  7. [Agent] Print the console summary: well, interval, curve count and alias mapping, GR baselines, net pay and net-to-gross, zone count, OOIP and recoverable (or the limited-accuracy note), QC grade, warnings. Validate: Summary printed. If fails: Informational only.

</Workflow - Email pipeline>

<Workflow - Standalone LAS analysis description="Parse, evaluate, plot, and report a LAS file already in the workspace, or the synthetic well when none is supplied." tools=[file_read, run_python_with_write, open_in_session_tab] triggers=["run petrophysics on this LAS file", "analyze this LAS file", "evaluate this well log", "run the log analysis on the synthetic well"]

  1. [Agent] Read README.md ## Pre-requisites and references/script-interface.md; confirm file_read and run_python_with_write. Determine the LAS source: a user-supplied relative path beneath workspace_dir, or none. Validate: Required tools present; source decided. If fails: Stop and name the missing tool.
  2. [Decide] With no user LAS, read scripts/create_synthetic_las.py and run it with <Definition - Canonical request> and mode create (or no_resistivity when the user asks for the degraded case). Validate: status is created, sample_count is 1501, curves include GRMA, ROBB, TNPH. If fails: Report the script error and stop.
  3. [Agent] Read references/curve_aliases.json, parse it, read scripts/run_las_parse.py, and run it with las_path and aliases. Validate: status is success; alias_mapping, depth_range, required_curves, and output_path present. If fails: Report the parser error message and stop.
  4. [Decide] Inspect required_curves.missing and apply Rule 3. Validate: A continue, degraded-continue, ask, or stop decision is stated to the user. If fails: Stop.
  5. [Agent] Read scripts/run_evaluation.py and run it with parsed_path and every parameter from <Definition - Default parameters>, substituting user overrides. Validate: status is success; gr_baselines, net_pay_summary, zones, ooip, qc_summary present; for SYN-LAS-1 defaults the values match <Definition - Synthetic golden values>. If fails: Report warnings and the error; stop.
  6. [Agent] Read scripts/create_log_plot.py, run it with parsed_path, evaluation_path, and downsample; open the PNG with open_in_session_tab. Validate: status is created, bytes under 2,097,152. If fails: Note the plot failure and continue without the image.
  7. [Agent] Present the evaluation, then ask the user for or propose recommendations; read scripts/create_report.py and run it with parsed_path, evaluation_path, plot_path, and the agreed recommendations; open the report. Validate: status is created; markdown_path present; docx_path present or a python-docx unavailable warning. If fails: Report the error and provide the summary in chat.
  8. [Agent] Print the console summary as in the email pipeline. Validate: Summary printed. If fails: Informational only.

</Workflow - Standalone LAS analysis>

<Template - Email body> Subject: RE: - Petrophysical Evaluation Results

<well_id> - Log Evaluation Summary Interval: - Evaluated:

KEY METRICS

  • Net pay: <net_pay_ft> ft (N:G <net_to_gross>)
  • Average porosity (pay): <avg_phie_pay>
  • Average Sw (pay): <avg_sw_pay or "not available: no resistivity">
  • OOIP: <ooip_stb> STB (recoverable <recoverable_stb> STB at RF )

PAY ZONES <one line per zone: id, top, base, thickness, avg PHIE, avg Sw>

DATA QUALITY: <overall_quality>

RECOMMENDATIONS

Parameters: Rw , m , n , matrix <matrix_density> g/cc. Cutoffs: PHIE >= <phie_min>, Sw <= <sw_max>, Vsh <= <vsh_max>. Full report attached. This is an automated evaluation; review before distribution. </Template - Email body>

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Automated Log Analysis AI 技能有什么作用?

解析 LAS 2.0 井测曲线数据,处理供应商曲线别名;执行确定性的岩石物理评价(Vshale、密度孔隙度、Archie Sw、有效孔隙度、净产层厚度、产层、OOIP);生成五道组合测井图;撰写 Word 和 Markdown 报告,并通过电子邮件草拟结果。当用户要求“处理每日钻井测井数据”“检查是否有新的 MWD 数据”“对收到的邮件运行岩石物理分析”“分析供应商交付的测井数据”“评估这口井的测井曲线”“分析这个 LAS 文件”,或“运行测井分析流程”时使用。

为什么在 TypingMind 中使用 Automated Log Analysis?

因为您只需安装一次,就能搭配任何模型使用。Automated Log Analysis 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Automated Log Analysis?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Amazon-Quick/Amazon-Quick-official-catalog/tree/main/skills/energy-utilities/automated-log-analysis。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Automated Log Analysis?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Automated Log Analysis 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Automated Log Analysis 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Automated Log Analysis AI 技能免费吗?

是的。Amazon-Quick 已在 GitHub 上根据 MIT-0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇