Simulator Charts 标志

Simulator Charts

组织
corezoid
simulator-charts

Simulator.Company 图表与仪表板专家。当用户想在图层上创建、配置或查询图表(折线图、柱状图、堆叠柱状图、饼图等)、仪表板或财务时间序列可视化时使用。出现以下意图时触发:— 创建:“创建图表”“添加图表”“创建仪表板”“添加仪表板”“构建可视化”“chart на графе”“график с данными”“дашборд”“在图表上显示指标”“可视化账户数据”“绘制智能体余额”。— 配置:“更改图表类型”“切换为柱状图”“更新图表范围”“使用上周数据”“显示交易数量”“按降序排序”“更改时间范围”“筛选图表中的智能体”“重新配置图表”“更改图表系列”“调整图表大小”。— 查询:“获取图表数据”“显示仪表板”“此图层上有哪些图表”“获取图表指标”“仪表板数据”。

Add to TypingMind

概览

发布者corezoid
代码仓库simulator-ai-plugin
技能名称simulator-charts
星标数
61
复刻数
13
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Simulator Charts。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

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.

常见问题

Simulator Charts AI 技能有什么作用?

Simulator.Company 图表与仪表板专家。当用户想在图层上创建、配置或查询图表(折线图、柱状图、堆叠柱状图、饼图等)、仪表板或财务时间序列可视化时使用。出现以下意图时触发:— 创建:“创建图表”“添加图表”“创建仪表板”“添加仪表板”“构建可视化”“chart на графе”“график с данными”“дашборд”“在图表上显示指标”“可视化账户数据”“绘制智能体余额”。— 配置:“更改图表类型”“切换为柱状图”“更新图表范围”“使用上周数据”“显示交易数量”“按降序排序”“更改时间范围”“筛选图表中的智能体”“重新配置图表”“更改图表系列”“调整图表大小”。— 查询:“获取图表数据”“显示仪表板”“此图层上有哪些图表”“获取图表指标”“仪表板数据”。

为什么在 TypingMind 中使用 Simulator Charts?

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

如何在 TypingMind 中安装 Simulator Charts?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/corezoid/simulator-ai-plugin/tree/main/plugins/simulator/skills/simulator-charts。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Simulator Charts?

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

Simulator Charts 可以搭配多少个 AI 模型使用?

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

Simulator Charts AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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