用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vamseeachanta/workspace-hub --skill energy-data-visualizer命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Write outbound email and external messages in Vamsee Achanta's voice — a subtle offer to help, never bold or rash claims. Load before drafting ANY email, LinkedIn/Collide reply, proposal note, or outreach sent under his name.
Save/publish analysis or computation results from ANY ecosystem repo to Hugging Face as a queryable, viewer-renderable dataset. Use when the user wants to "save results to hugging face", "publish dataset to HF", "hugging face data saving", "save analysis results", "hf dataset", "make results queryable", or "render via datasets-server API". Reshapes nested results into flat parquet tables, writes a dataset card with a viewer `configs:` block and provenance, applies license/public-vs-private routing, enforces a domain data-quality gate (faithful-to-source != correct), publishes to `aceengineer/<repo>-<projection>`, and verifies via the datasets-server API.
Clone, create, fork, configure, and manage GitHub repositories. Manage remotes, secrets, releases, and workflows. Works with gh CLI or falls back to git + GitHub REST API via curl.
正在显示 SKILL.md
基于 SOC 职业分类
| name | energy-data-visualizer |
| description | Interactive visualization for oil and gas production data analysis using Plotly dashboards |
| type | reference |
| capabilities | [] |
| requires | [] |
| see_also | [] |
| tags | [] |
| category | data |
| version | 1.0.0 |
Interactive visualization for oil & gas data analysis using Plotly
Use this skill when you need to:
"""
ABOUTME: Interactive visualization toolkit for energy data analysis
ABOUTME: Provides chart templates for production, economics, and mapping
"""
import plotly.graph_objects as go
from plotly.subplots import make_subplots
import pandas as pd
class ProductionChartBuilder:
"""Build interactive production charts."""
def production_time_series(
self,
df: pd.DataFrame,
date_col: str = "date",
rate_cols: list = ["oil_bopd", "gas_mcfd"]
) -> go.Figure:
"""Create production rate vs time chart."""
fig = make_subplots(rows=2, cols=1, shared_xaxes=True)
colors = {"oil_bopd": "#2E7D32", "gas_mcfd": "#D32F2F"}
for col in rate_cols:
if col in df.columns:
fig.add_trace(
go.Scatter(x=df[date_col], y=df[col], name=col),
row=1, col=1
)
fig.update_layout(title="Production History", hovermode=)
fig
() -> go.Figure:
fig = go.Figure()
fig.add_trace(go.Scatter(
x=actual_df[],
y=actual_df[],
mode=,
name=
))
forecast_df :
fig.add_trace(go.Scatter(
x=forecast_df[],
y=forecast_df[],
mode=,
name=
))
log_scale:
fig.update_yaxes(=)
fig
:
() -> go.Figure:
names = (components.keys()) + []
values = (components.values())
values.append((values))
fig = go.Figure(go.Waterfall(
x=names,
y=values,
measure=[] * ((values)-) + []
))
fig.update_layout(title=)
fig
() -> go.Figure:
params = (sensitivities.keys())
lows = [s[] - base_npv s sensitivities.values()]
highs = [s[] - base_npv s sensitivities.values()]
fig = go.Figure()
fig.add_trace(go.Bar(y=params, x=lows, orientation=, name=))
fig.add_trace(go.Bar(y=params, x=highs, orientation=, name=))
fig.update_layout(barmode=, title=)
fig
from worldenergydata.visualize import ProductionChartBuilder
import pandas as pd
# Load data
df = pd.read_csv("production.csv", parse_dates=["date"])
# Create chart
builder = ProductionChartBuilder()
fig = builder.production_time_series(df)
fig.write_html("reports/production.html")