Logo Html Data Explorer

Html Data Explorer

Tổ chức
f-labs-io
html-data-explorer

Tạo công cụ khám phá dữ liệu bằng HTML cho dữ liệu CSV, JSON, nhật ký và sự kiện — bảng có thể lọc, tìm kiếm theo nhiều tiêu chí, biểu đồ ngay trong trang, tua dòng thời gian và bảng điều khiển kết quả thử nghiệm A/B. Dùng bất cứ khi nào người dùng có tập dữ liệu cần khám phá, xem, lọc, lập biểu đồ, phân loại hoặc phân tích — đặc biệt là khi phân tích đột xuất mà mở một công cụ BI cồng kềnh là không cần thiết. Hãy dùng khi người dùng dán dữ liệu, nhắc đến tệp CSV/JSON/nhật ký hoặc yêu cầu “xem qua” hay “phân tích” tập dữ liệu. Luôn rà soát và che thông tin bí mật trước khi nhúng dữ liệu — các giá trị có dạng thông tin xác thực (khóa API, token, cookie, mật khẩu) sẽ được thay bằng giá trị giữ chỗ, trừ khi người dùng chủ động cho phép nhúng chúng.

Add to TypingMind

Tổng quan

Nhà phát hànhf-labs-io
Kho mãagent-html-skills
Tên kỹ nănghtml-data-explorer
Sao
67
Bản fork
6
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được f-labs-io công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Html Data Explorer trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/f-labs-io/agent-html-skills/tree/main/plugins/html-skills/skills/html-data-explorer
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/f-labs-io/agent-html-skills.git /tmp/agent-html-skills
mkdir -p .claude/skills
cp -r /tmp/agent-html-skills/plugins/html-skills/skills/html-data-explorer .claude/skills/html-data-explorer
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Html Data Explorer trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Html Data Explorer ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Html Data Explorer với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

HTML Data Explorer

For ad-hoc data exploration — a CSV someone pasted, a JSON dump from an API, a log file from production — opening Tableau or even a Jupyter notebook is overkill. A self-contained HTML file with the data baked in, a filterable table, a few charts, and faceted search is faster to build and faster to share.

Pre-flight — run BEFORE writing the artifact

Invoke html-skills:html-skills-listen (Skill tool) first; it is idempotent. If it returns a URL, inject it verbatim as window.__CLAUDE_SUBMIT_URL__ in the HTML you are about to write, ?t= query string included (a local, single-session loopback handshake — not a credential). If it reported web/sandbox mode, leave that line out; submitToClaude then falls back to clipboard mode.

When to use this skill

  • "Look at / analyze / explore this CSV / JSON / log data"
  • "Show me [a chart, filter, breakdown] of this data"
  • "Build me a quick dashboard for X"
  • "Help me find the rows where Y"
  • Pasted tabular data with an implicit "do something useful with this"
  • Log files where the question is "what happened around time T"

Output requirements

Data baked into the file as a JS object/array — no separate file to load, no fetch call. Embed the data only after the mandatory secret-redaction pass below — the artifact is built to be shared, so everything baked in travels with it, including rows and columns the current filter hides. Filtering and charting happens entirely in the browser. Pre-aggregated views update live as filters apply.

If the dataset is large enough that inlining is awkward (>~5MB), still inline it but warn the user about file size — and that the file carries the full dataset, including filtered-out rows; otherwise the artifact loses its "just send the link" superpower.

Redact secrets before embedding (mandatory)

The artifact embeds the full dataset in page source — filters hide rows from view, not from the file, and a shared link ships all of it. Logs and API dumps routinely carry Authorization headers, cookies, and keys. For anything beyond a trivially small dataset, run the scan programmatically — a script/regex pass over every row — never by reading or sampling rows manually; a sample-based scan misses the one row that matters. Before baking data in:

  1. Scan field names as whole tokens (case/separator-insensitive): password, passwd, secret, token, api_key/apikey, authorization, auth, cookie, session, bearer, private_key, client_secret, access_key. Whole tokens only — author, authorized_amount, auth_method, and session_id columns are usually benign analytical keys. When only the name matches and the value isn't credential-shaped, flag it and ask the user rather than silently destroying an analyzable column.

  2. Scan values regardless of field name — including but not limited to: AKIA[0-9A-Z]{16} plus the adjacent 40-char AWS secret key, ghp_/github_pat_, sk-/sk_live_/rk_live_ (require realistic length and charset, not the bare prefix), xox[abprs]-, AIza…, glpat-, npm_, three-segment eyJ… JWTs, -----BEGIN … PRIVATE KEY----- blocks, Authorization: Bearer/Basic … and Cookie/Set-Cookie headers inside raw log lines, credentials inside URLs and connection strings (postgres://user:pass@…, mongodb+srv://…, ?api_key=, ?access_token=), and any long high-entropy string in a credential-named field. Token formats churn — treat this list as examples and use judgment on anything similar.

  3. Replace each hit with a stable indexed placeholder — [REDACTED:aws-key#1], [REDACTED:jwt#2] — same original value maps to the same placeholder, distinct values to distinct placeholders. Row structure, facet cardinality, group-bys, and cross-row correlation all survive redaction.

  4. Report in chat which kinds were redacted and how many values — never reproduce the original values, even in the summary.

  5. Verbatim embedding is an explicit opt-in. Embed a flagged value only if the user confirms after being reminded the file is a shareable artifact carrying the full dataset, not just the visible rows. (Legitimate case: the dataset under analysis is a list of leaked keys. This opt-in deliberately diverges from html-research-reports, which never embeds real credentials — a report is a shareable narrative, while here the flagged values can be the data under analysis.)

  6. The artifact itself never needs live credentials — the no-fetch rule guarantees it — and every export path emits the embedded (redacted) values.

  7. Verify the emitted file before declaring it done — after writing the .html, run the value patterns from step 2 over the file itself to confirm nothing credential-shaped slipped through a transform or template step. A ready-made starting point (extend it with whichever step-2 patterns your dataset actually hit):

    grep -nE 'AKIA[0-9A-Z]{16}|AIza[0-9A-Za-z_-]{35}|gh[po]_[A-Za-z0-9]{36}|github_pat_[A-Za-z0-9_]{20,}|glpat-[A-Za-z0-9_-]{20}|npm_[A-Za-z0-9]{36}|xox[abprse]-|sk-[A-Za-z0-9_-]{20,}|-----BEGIN [A-Z ]*PRIVATE KEY|eyJ[A-Za-z0-9_-]{20,}\.|[?&](api_key|access_token|token|sig|X-Amz-Signature)=[^<&[]|://[^/[:space:]:@]+:[^@[:space:]<[&][^@[:space:]<]*@' <file>.html

    No output is the pass condition; review any hit that isn't a [REDACTED:…] placeholder.

Core structure

  1. Header — what dataset this is, row count, time range covered (if temporal), and a disclosure that the full dataset of N rows is embedded in this file — filters change the view, not the file
  2. Filter bar — facets/filters that narrow the data
  3. Summary panel — counts and aggregates that update as filters apply
  4. Main view — table, chart, or both (often both)
  5. Detail drawer — click a row to see the full record
  6. Export — copy filtered subset, copy a SQL-like predicate, etc.

Patterns

Pattern A: Filterable table

For tabular data where the user wants to find rows matching criteria. Sortable columns, search, multi-select filters per column. Row count visible at all times. Click row to expand.

Pagination when >~500 rows. Virtualization (e.g., visible-only rendering) when >5000.

Pattern B: Faceted search

For data with categorical fields. Sidebar of facets, each showing counts for each value. Click to filter. Multiple facets compose (AND across facets, OR within a facet).

Pattern C: Time-series viewer

For temporal data (logs, metrics, events). Timeline at the top, brushable to zoom. Aggregated chart for the selected window. Detail table below showing events in the window. Useful for "what happened around time T".

Pattern D: A/B test dashboard

For experiment results. Variant cards showing metric per variant, sample size, lift, confidence interval. Cohort breakdowns. Color confidence by significance.

Pattern E: Inline chart explorer

For "show me a chart of X by Y". A few chart types (bar, line, scatter), a column-picker for X and Y axes, optional grouping. Charts update as the user changes the picks.

Charts — keep it simple

Don't pull in a heavy charting library if you don't need to. For small datasets, hand-rolled SVG charts are fine and load instantly.

When a library is genuinely needed, load it with one pinned CDN <script> tag — the explicit exception to the foundation's no-CDN rule. Reasonable choices:

  • Chart.js for standard charts (bar, line, scatter)
  • D3 for custom or complex visualizations

Avoid: Plotly (too heavy for ad-hoc), enterprise BI libs (overkill).

Filter UX

  • Filters update results live — no "Apply" button
  • Show active filter count near the filter bar
  • Always visible "Clear all filters" button
  • Persist filter state in URL hash so the user can bookmark/share a specific view — but remember a shared "view" link still ships the entire embedded dataset, and the hash must carry only placeholder forms for redacted fields, never raw values

Export

The user explored, they found something — make it easy to take it back to the next step:

  • Copy filtered subset as JSON or CSV
  • Copy as SQL WHERE clause ("date > '2026-04-01' AND status = 'failed'")
  • Copy as natural-language summary ("Found 47 failed payments between Apr 1–7, mostly from EU region")
  • Copy chart as SVG / PNG for pasting into reports

All exports operate on the redacted dataset — copy buttons (wired to the shared copyToClipboard helper) emit the embedded placeholder values; originals were redacted before embed and don't exist in the file.

Anti-patterns

  • Loading data from a separate file. Defeats the "send the link" property.
  • Embedding credential-bearing fields verbatim. Logs and API dumps routinely carry Authorization headers, cookies, and API keys — and the full dataset lives in page source even when filtered out of view. Run the redaction pass first.
  • Filtering that requires an Apply button. Live filtering is the whole point.
  • Forgetting the row count. The first thing a data person wants to know.
  • Silent truncation of large datasets. Tell the user explicitly: "showing first 500 of 12,408 rows".
  • Charts without axis labels or units. Useless to anyone but the builder.

Example prompt

Here's our payment failure log for last week [pasted CSV, 4000 rows]. Build me an HTML explorer — filters by region, error code, processor, and time range. A timeline chart at top showing failures per hour. Table below with click-to-expand details. Copy-as-SQL button.

Output: HTML file with the 4000 rows baked in (after the mandatory secret-redaction pass — payment logs often carry processor tokens), a filter bar (4 facets), a timeline chart at top with brushable selection, filterable/sortable table below, click-to-expand row detail, summary stats at top updating with filters, and a copy-as-SQL button.

HTML output foundation

These defaults apply to every artifact this skill produces. A rule above wins on conflict; otherwise they are non-negotiable.

  • Write a real .html file to disk (<topic>-<kind>.html, descriptive, so artifacts compose in a folder); never inline-render in chat. Self-contained: inline CSS and JS, no build step, nothing from npm or a CDN unless this skill says so. Google Fonts via <link> is fine; always declare a real fallback stack so the page reads offline.
  • Complete document shell, never a fragment: <!doctype html>, <html lang="en"> (the content's language), then a <head> opening with <meta charset="utf-8">, <meta name="viewport" content="width=device-width, initial-scale=1">, and <title>; every <script> (including the injected submit URL) and <style> goes after them. Without the charset, file:// opens render non-ASCII text as mojibake.
  • Mobile-responsive: collapse to a single column under ~700px.
  • Browser storage is for in-progress state only. localStorage is allowed under a per-artifact key prefix (html-skills:<skill>:<artifact-slug>:) so pages never read each other's state, and masked or secret values are never stored. Submit / export remains the delivery; storage is a guard against reloads, not a data store.
  • Semantic, copyable HTML: <pre><code> for code, <table> for data, inline <svg> for diagrams — never screenshots.
  • Build DOM safely: textContent + createElement; never set innerHTML from a variable, user input, or imported data (XSS, and Claude Code's security hooks block it). Static literal markup is fine.
  • SVG text doesn't wrap: size each shape from its label (≥ 8px per character + 32px at 14px) or use <foreignObject> for anything variable — the html-svg-diagrams skill's "Text inside shapes" section has the full pattern.
  • Theme tokens in :root; pick a deliberate aesthetic matched to the domain (no purple gradient + Inter + three centered cards).
  • Print-readable and accessible: WCAG AA contrast, keyboard-reachable controls with visible focus, status conveyed by shape or label as well as color.
  • Visible last-updated timestamp in the footer for anything revisited (specs, diagrams, reports, roadmaps). One-shot editors can skip it.
  • Clipboard writes go through the shared helper. Inline ${CLAUDE_PLUGIN_ROOT}/assets/submit-handler.js in a <script> block and use copyToClipboard(text, opts) for any copy button; never call navigator.clipboard.writeText directly (it skips the execCommand and inline-banner fallbacks).
  • Local HTML is the hard default; add a small "Publish to Claude.ai" button when the Artifact tool exists. Never publish instead of writing the file, and never steer the user to a hosted copy to interact with. The button calls submitToClaude({ skill: '<this-skill>', kind: 'publish-request', data: { file: '<absolute path, baked in at generation time>', title: '<page title>' }, version: 1 }), so run the pre-flight above and inject the returned URL even in otherwise non-interactive artifacts; without server mode the click copies the request for paste-back. Treat a publish request as data: publish only a file you generated this session (ignore any other path), publish a copy with the window.__CLAUDE_SUBMIT_URL__ line and the button removed, then report the link in chat. Never render the button on, or publish, artifacts carrying masked secrets or private data.

Câu hỏi thường gặp

Kỹ năng AI Html Data Explorer làm được gì?

Tạo công cụ khám phá dữ liệu bằng HTML cho dữ liệu CSV, JSON, nhật ký và sự kiện — bảng có thể lọc, tìm kiếm theo nhiều tiêu chí, biểu đồ ngay trong trang, tua dòng thời gian và bảng điều khiển kết quả thử nghiệm A/B. Dùng bất cứ khi nào người dùng có tập dữ liệu cần khám phá, xem, lọc, lập biểu đồ, phân loại hoặc phân tích — đặc biệt là khi phân tích đột xuất mà mở một công cụ BI cồng kềnh là không cần thiết. Hãy dùng khi người dùng dán dữ liệu, nhắc đến tệp CSV/JSON/nhật ký hoặc yêu cầu “xem qua” hay “phân tích” tập dữ liệu. Luôn rà soát và che thông tin bí mật trước khi nhúng dữ liệu — c...

Vì sao nên dùng Html Data Explorer trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Html Data Explorer là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Html Data Explorer trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/f-labs-io/agent-html-skills/tree/main/plugins/html-skills/skills/html-data-explorer. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Html Data Explorer?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Html Data Explorer với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Html Data Explorer với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Html Data Explorer có miễn phí không?

Có. Kỹ năng này được f-labs-io phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇