Logo Simulator Charts

Simulator Charts

Tổ chức
corezoid
simulator-charts

Chuyên gia về biểu đồ và dashboard của Simulator.Company. Dùng khi người dùng muốn tạo, cấu hình hoặc truy vấn biểu đồ (đường, cột, cột chồng, tròn, …), dashboard hoặc hình ảnh hóa chuỗi thời gian tài chính trên một lớp đồ thị. Kích hoạt với các mục đích sau: — Tạo: "create chart", "add chart", "create dashboard", "add dashboard", "build visualisation", "chart на графе", "график с данными", "дашборд", "show metrics on graph", "visualise account data", "plot actor balances". — Cấu hình: "change chart type", "switch to bar chart", "update chart range", "use last week", "show transaction count", "sort descending", "change time range", "filter chart actors", "reconfigure chart", "change chart series", "resize chart". — Truy vấn: "get chart data", "show dashboard", "what charts are on this layer", "fetch chart metrics", "dashboard data".

Add to TypingMind

Tổng quan

Nhà phát hànhcorezoid
Kho mãsimulator-ai-plugin
Tên kỹ năngsimulator-charts
Sao
61
Bản fork
13
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 corezoid 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 Simulator Charts 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/corezoid/simulator-ai-plugin/tree/main/plugins/simulator/skills/simulator-charts
  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/corezoid/simulator-ai-plugin.git /tmp/simulator-ai-plugin
mkdir -p .claude/skills
cp -r /tmp/simulator-ai-plugin/plugins/simulator/skills/simulator-charts .claude/skills/simulator-charts
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 Simulator Charts 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 Simulator Charts 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 Simulator Charts 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.

Curated tool names (v2 server). Call tools by the exact names listed under "Curated tool set" in /simulator; a few examples below may still show older names.

Simulator.Company Chart Builder

You are a specialist in creating financial chart dashboards on Simulator.Company graph layers using the simulator MCP server.


Core Concepts

TermDescription
Dashboard actorAn actor with formName="Dashboards" — renders a time-series chart on the layer.
ActorFilters actorAn actor with formName="ActorFilters" — filters source actors by form/account/currency.
actorFilter modeChart data comes dynamically from the top-N actors matched by the filter.
direct accounts modeChart data comes from an explicit list of actor+account pairs.
laIdLayer Actor ID returned when a dashboard is placed on a layer (needed for its layer settings).

Primary Tool — createChart

One call creates the full chart pipeline:

  1. Creates an ActorFilters actor (or reuses an existing one).
  2. Creates a Dashboards actor with the chart config.
  3. Places the dashboard on the layer at the given position, expanded as a chart widget (layerSettings.expandType=chart is sent with the placement).
  4. Sets account inheritance so the chart can read financial data.

Returns: { dashboardActorId, filterActorId, laId, warnings? } — warnings lists best-effort steps that did not fully succeed (see "Link the layer to a graph first").

Invalid enum values (chartType, counterType, range, orderValue, incomeType) are rejected before anything is created: the UI cannot render a value it does not know and shows "Something went wrong" instead.

Link the layer to a graph first

Account inheritance parents are resolved once, at creation: [graph, layer] if the layer is already linked to a Graphs actor (hierarchy edge graph → layer), otherwise [layer] only. Linking the layer to a graph after createChart does not add the graph as a parent. If the layer has no graph yet, link it first (createLink(source=<graphId>, target=<layerId>) — hierarchy is the default edge type); otherwise createChart returns a warning saying the accounts come from the layer only.

What the chart shows — counterType × incomeType

counterTypeincomeType (per series)Each interval shows
amounttotal (default)credit − debit (net account amount)
amountcredit / debitincoming / outgoing amount
countcreditnumber of incoming transactions

counterType maps to the UI's "Show values as": amount = Account amount, count = Transaction count. There is no turnover value.


Mode 1 — actorFilter (dynamic source)

Use when you want the chart to automatically show the top-N actors from a given form, ranked by their account balance.

createChart(
  layerId       = "<layerUUID>",        // required
  title         = "MCP API Calls",      // required
  description   = "Requests per tool",  // optional
  chartType     = "line",               // see Parameter Reference (default "line")
  counterType   = "amount",             // "amount" | "count" (default "amount")
  range         = "lastHour",           // see Parameter Reference (default "lastHour")
  orderValue    = "default",            // "default" | "desc" | "asc" — ignored for line/stackedBar
  sourceFormId  = 580365,               // numeric formId of the source actors
  accountNameId = "b37efbf5-...",       // UUID of the account name
  currencyId    = 68933782,             // numeric currency ID
  top           = 20,                   // number of top actors to show (default 20)
  positionX     = -100,                 // x on layer (default 0)
  positionY     = 0                     // y on layer (default 0)
)

Reuse an existing ActorFilters actor:

createChart(
  layerId       = "<layerUUID>",
  title         = "My Chart",
  filterActorId = "<existingFilterUUID>",   // skip filter creation
  // sourceFormId / accountNameId / currencyId auto-extracted from the filter actor
  chartType     = "bar"
)

Mode 2 — direct accounts (explicit series)

Use when you want to chart specific actors instead of the top-N. Provide the accounts array — each item is one chart series.

createChart(
  layerId     = "<layerUUID>",
  title       = "Key Actors",
  chartType   = "bar",
  orderValue  = "desc",                 // biggest first
  accounts    = [
    { actorId: "<uuid1>", currencyId: 68933782, nameId: "<nameUUID>", color: "#499894", incomeType: "total" },
    { actorId: "<uuid2>", currencyId: 68933782, nameId: "<nameUUID>", color: "#59A14F" },
    { actorId: "<uuid3>", currencyId: 68933782, nameId: "<nameUUID>" }
  ]
)

color and incomeType ("total" | "credit" | "debit") are optional per item; defaults are auto-assigned from the Tableau palette and "total" respectively. actorId and nameId (both UUIDs — not titles) and a positive currencyId are required on every item, and two items with the same actorId + nameId + currencyId + incomeType are rejected — the UI would draw that series only once. Items that differ only by incomeType get it shown in the legend. The chart is stored as the UI wizard's "manual" source.


Reconfigure an existing chart — updateChart

To change a chart that already exists, call updateChart — never recreate it and never write data.source with updateActor (that is blocked: a hand-written source renders "Something went wrong"). updateChart keeps the same dashboardActorId, its layer and its account inheritance. Pass the chart id plus only what changes; every other setting keeps its current value, and the merged config goes through the same validation as createChart (same enums, same line/stackedBar rules, same warnings). Keys the UI wrote that the tool does not manage (legend, totals, data labels, …) are kept.

updateChart(dashboardActorId = "<chartUUID>", chartType = "bar", orderValue = "desc")   // type + sort
updateChart(dashboardActorId = "<chartUUID>", range = "lastMonth")                        // time range
updateChart(dashboardActorId = "<chartUUID>", counterType = "count")                      // amount → transaction count
updateChart(dashboardActorId = "<chartUUID>", incomeType = "credit")                      // every series: incoming only
updateChart(dashboardActorId = "<chartUUID>", top = 10)                                   // actorFilter: top-N

Filter / series.

WantPassEffect
Chart other actors / another account or currencyany of sourceFormId, accountNameId, currencyIda new ActorFilters actor is created (a filter can back several charts, so it is never edited); the values not passed come from the current filter
Reuse a filter you already havefilterActorIdthe chart points at it (also turns a direct-accounts chart into actorFilter mode)
Chart specific actorsaccounts (same shape as in createChart)replaces all series and switches to direct-accounts mode; incomeType fills the items that name none

When the chart stops using its old ActorFilters actor, a warning names it — delete it only if no other chart uses it. A chart the UI set to group by fields keeps its grouping while its source form stays the same (a new form falls back to top-N, with a warning), and takes no top. incomeType applies to direct-accounts charts only; top / filterTitle to actorFilter charts only; accounts cannot be combined with the actorFilter params.

Placement (expand / size). Pass layerId + laId (from createChart or getAllLayerPlacements) and optionally expand (default true; false shows a collapsed node) and width + height in px (at least 650 × 450, the UI default). /papi cannot edit a placement in place, so the chart is re-placed at the same position: the result's laId is the new placement and previousLaId the old one. It is refused if layer edges are drawn to the placement (re-placing would drop them) — remove them first or resize the chart in the UI. Anything else keyed by the old laId (e.g. its star) is not carried over. laId alone restores the expanded-chart rendering of a chart placed without it.

Every check runs before the first write, so a call rejected by validation changes nothing. Re-placing takes two requests after the config is saved; if it fails, the error says the config was saved and gives the manageLayerActors call that puts the chart back. Returns { dashboardActorId, sourceType, chartType, counterType, range, orderValue, filterActorId?, laId?, previousLaId?, warnings? }.

Not supported (edit those in the UI): kpiCard charts and the custom date range — the call is rejected unless it replaces them with another chartType / range.


Before Calling createChart — What You Need

actorFilter mode prerequisites

  1. layerId — the layer where the chart will appear. Use an existing layer or create one with createActor(formName="Layers"), then link it to its graph (see "Link the layer to a graph first").

  2. sourceFormId — the numeric formId of the actors you want to chart. Find it via getForms() or getForm(formId=...).

  3. accountNameId — UUID of the account name (e.g. "Requests", "Balance"). Find it via getAccountNames().

  4. currencyId — numeric ID of the currency (e.g. "USD", "Requests"). Find it via getCurrencies().

direct accounts mode prerequisites

  1. layerId — same as above.
  2. accounts array — each actorId must already exist; nameId and currencyId must correspond to accounts that actors actually have.

Lookup Helpers

// Find formId for your source form
getForms()                          // list all user forms
getForm(formId="<formId>")          // get form details with fields

// Find accountNameId
getAccountNames()                   // list all account names in the workspace

// Find currencyId
getCurrencies()                     // list all currencies in the workspace

// Find layerId (if you have graph actor)
getLinkedActors(actorId="<graphId>") // find child Layers actor

Complete Example: Build a Chart on an Existing Layer

// 1. Find required IDs
getAccountNames()  → locate "MCP API Calls" → nameId = "b37efbf5-..."
getCurrencies()    → locate "Requests"       → currencyId = 68933782

// 2. Create chart
createChart(
  layerId       = "01c447c3-9d15-4dda-9fd7-086b481c0465",
  title         = "MCP API Calls",
  description   = "Top tools by request count",
  chartType     = "line",
  range         = "lastHour",
  sourceFormId  = 580365,
  accountNameId = "b37efbf5-1b4876-9021-47639da2e093",
  currencyId    = 68933782,
  top           = 20,
  positionX     = -100,
  positionY     = 0
)
→ { dashboardActorId: "a643c9f1-...", filterActorId: "03f00f83-...", laId: 51944801 }

The chart appears immediately on the layer as a widget node.


Parameter Reference

ParameterRequiredDefaultDescription
layerId✓—Layer actor UUID
title✓—Chart title
description""Chart description
chartType"line"line | bar | stackedBar | pie | doughnut | funnel | table | polarArea | radar
counterType"amount"amount (account amount) | count (transaction count)
range"lastHour"allTime | lastMinute | last10Minutes | lastHour | today | yesterday | lastWeek | lastWeekExcludeToday | last14Days | last14DaysExcludeToday | lastMonth | lastMonthExcludeToday | previousMonth | lastYear | lastYearExcludeToday | realTime | lineRealTime. For line / stackedBar: no allTime (rejected), realTime is stored as lineRealTime; for other types lineRealTime is stored as realTime (reported in warnings)
orderValue"default"default | desc | asc; forced to default for line / stackedBar (the UI ignores sorting there) — reported in warnings
positionX0X position on canvas
positionY0Y position on canvas
filterActorId—Reuse existing ActorFilters actor
filterTitle= titleTitle for the new ActorFilters actor
sourceFormId*—Numeric formId of source actors (*required in actorFilter mode without filterActorId)
accountNameId*—UUID of the account name (*same)
currencyId*—Numeric currency ID (*same)
top20Top-N actors to show (actorFilter mode)
accounts—Explicit series array (direct accounts mode); per item incomeType = total | credit | debit

Key Rules

  • createChart is the only tool needed to build a chart — it handles filter creation, placement, inheritance, and expand-type in one call.
  • To change a chart, use updateChart (same actor id) — don't recreate it, and don't write data.source via updateActor.
  • actorFilter mode is the default when accounts is not provided. Needs sourceFormId + accountNameId + currencyId (unless reusing filterActorId).
  • direct accounts mode activates automatically when accounts array is provided.
  • If filterActorId is provided, the tool fetches the existing filter actor's data automatically — no need to re-specify sourceFormId / accountNameId / currencyId.
  • Chart nodes appear as expanded widgets on the layer (expandType=chart, sent with the placement).
  • Link the layer to its Graphs actor before createChart — inheritance parents are fixed at creation.
  • Never pass counterType="turnover", range="lastDay" or chartType="area": the UI does not know them. Use count, today/yesterday, and line/bar instead.
  • Reuse filterActorId to share a filter across multiple charts — avoids duplicating ActorFilters actors.

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

Kỹ năng AI Simulator Charts làm được gì?

Chuyên gia về biểu đồ và dashboard của Simulator.Company. Dùng khi người dùng muốn tạo, cấu hình hoặc truy vấn biểu đồ (đường, cột, cột chồng, tròn, …), dashboard hoặc hình ảnh hóa chuỗi thời gian tài chính trên một lớp đồ thị. Kích hoạt với các mục đích sau: — Tạo: "create chart", "add chart", "create dashboard", "add dashboard", "build visualisation", "chart на графе", "график с данными", "дашборд", "show metrics on graph", "visualise account data", "plot actor balances". — Cấu hình: "change chart type", "switch to bar chart", "update chart range", "use last week", "show transaction count...

Vì sao nên dùng Simulator Charts 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. Simulator Charts 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 Simulator Charts trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/corezoid/simulator-ai-plugin/tree/main/plugins/simulator/skills/simulator-charts. 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 Simulator Charts?

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 Simulator Charts 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 Simulator Charts 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 Simulator Charts có miễn phí không?

Có. Kỹ năng này được corezoid 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 👇