원클릭으로
data-analysis
Analyze data (e.g. an uploaded CSV/Excel) with pandas and produce a chart or report file, returned to the user as an attachment.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Analyze data (e.g. an uploaded CSV/Excel) with pandas and produce a chart or report file, returned to the user as an attachment.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Solve the user's task by writing Python; the harness runs it in an isolated sandbox and returns stdout.
Use when the user asks about using Gemini in an enterprise environment or explicitly mentions Vertex AI, Google Cloud, or Agent Platform. Guides the usage of the Gemini API on Agent Platform with the Google Gen AI SDK. Covers SDK usage (Python, JS/TS, Go, Java, C#), capabilities like multimodal inputs, tools, media generation, caching, batch prediction, and Live API.
Manages datasets, tables, and jobs in BigQuery, and integrates with BigQuery ML and Gemini for advanced data analytics and AI-driven insights. Use when you need to interact with BigQuery, run SQL queries, manage BigQuery resources, or leverage BigQuery's built-in ML capabilities. Also use when performing data analysis, ingesting data into BigQuery, or developing AI applications on BigQuery.
Echo the user input back verbatim
Compute the prime factorization of an integer by executing Python in the sandbox
Reverse the user input string
| name | data-analysis |
| description | Analyze data (e.g. an uploaded CSV/Excel) with pandas and produce a chart or report file, returned to the user as an attachment. |
Use this skill when the user wants to analyze data and/or get a chart or report — especially when they uploaded a data file.
Steps:
df = pandas.read_csv("data.csv") (or read_excel). Inspect columns/dtypes as needed.matplotlib/seaborn fig.savefig("chart.png", dpi=150, bbox_inches="tight").report.xlsx (df.to_excel) or report.csv.run_code with the full script.Displaying charts in the UI:
chart.png -> {{chart:ab12}}. To show it, make ONE send_a2ui_json_to_client call
whose a2ui_json is a JSON list with BOTH a beginRendering and a surfaceUpdate —
never beginRendering alone (that's an empty surface). Lay the surface out top-to-bottom:
a title Text, a thinking Text (2–4 short sentences explaining how you approached the
task and what the data shows — your reasoning, in plain language), then the chart in an
Image whose url is the token copied EXACTLY (it resolves to the real image).
Column.children uses {"explicitList": [<ids>]}:
[
{"beginRendering": {"surfaceId": "report", "root": "root", "styles": {}}},
{"surfaceUpdate": {"surfaceId": "report", "components": [
{"id": "root", "component": {"Column": {"children": {"explicitList": ["title", "thinking", "chart"]}}}},
{"id": "title", "component": {"Text": {"text": {"literalString": "<headline>"}, "usageHint": "h3"}}},
{"id": "thinking", "component": {"Text": {"text": {"literalString": "<2-4 sentences: how you analyzed it + what the data shows>"}}}},
{"id": "chart", "component": {"Image": {"url": {"literalString": "{{chart:ab12}}"}}}}
]}}
]
Guidance:
savefig("chart.png", ...) so the user gets a rendered image.