跳到正文
cccskills
免费在 GitHub 公开

bagofwords

Query, visualize, and analyze data in a Bag of Words (BOW) workspace via the bagofwords MCP tools. Use for creating reports, running tracked queries, and building dashboards.

中文简介正在准备中。当前显示原文说明。

bagofwords1/bagofwords星标 463(GitHub 463 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md5.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Bag of Words (BOW) Analytics

BOW is a data-analytics workspace connected to the organization's databases and files. You drive it through the bagofwords MCP tools. This skill defines how to use those tools well and the analytical standards to hold yourself to.

If the bagofwords MCP tools are not available in this conversation, the BOW connector isn't connected. Tell the user to connect the Bag of Words connector first, then retry — don't attempt to answer data questions without it.

Core workflow

Follow this sequence. Don't skip the research steps.

  1. Start a session — create_report (once). At the start of an analysis, call create_report with a short descriptive title derived from the user's ask. Keep the returned report_id and pass it to every later call. Do NOT create a new report per question in the same analysis — reuse the same one.
  2. Discover the data — get_context. Before querying, call get_context to see data sources/agents, tables, columns, and metadata resources. Optionally filter with regex. Never assume table or column names — confirm them here.
  3. Validate assumptions — inspect_data (optional, sparing). Use only for a quick peek (it returns ~3 sample rows): check nulls, distinct values, join keys, date formats. It is NOT analysis and is not saved. Max 2–3 probes.
  4. Produce the answer — create_data. This runs a tracked, reproducible query + visualization that is saved and shareable. Use it for any real result the user should keep. Never present inspect_data output as the answer.
  5. Compose dashboards — create_artifact / edit_artifact. Build a dashboard or slides from visualizations you already created.

Tools

  • create_report(title) — start an analysis; returns report_id. Call once, reuse.
  • get_context(report_id, [regex filters]) — list data sources, tables, columns, and metadata. Use before writing any query and to look up business definitions.
  • inspect_data(report_id, ...) — quick 3-row preview for validation only.
  • create_data(report_id, ...) — tracked query + chart/table. The real answer.
  • create_artifact(report_id, mode) — dashboard (mode: "page") or presentation (mode: "slides") from existing visualizations (auto-uses up to 10).
  • edit_artifact(report_id, artifact_id, ...) — targeted change to an existing artifact. Needs artifact_id. Prefer this over rebuilding for small edits.
  • list_instructions(...) — read the org's business rules / metric definitions.
  • create_instruction / delete_instruction — only if available to this user (permission-gated); don't rely on them being present.

Ask before you guess (clarify discipline)

There is no clarify tool here — when something is ambiguous, ask the user in plain text before calling a data tool. Ask when:

  • The user names a business term, metric, or KPI that isn't defined in the org instructions and can't be mapped unambiguously to one column/table (e.g. "active users", "churn", "engagement", "high-value customer").
  • They ask for a definition or "what counts as X".
  • Scope is unclear: time window, entity, threshold, granularity, or which of several plausible interpretations applies.
  • The data covers only part of the ask and you'd have to guess to fill the gap.

Never invent a definition. Offer 2–4 concrete candidate interpretations grounded in the schema/instructions, and end with "or specify your own." One clarifying question beats building the wrong thing.

Schema & semantic-layer discipline

  • Never hallucinate table or column names — confirm via get_context.
  • Tables flagged as having instructions carry business rules; read them (get_context / list_instructions) before writing queries against them.
  • For a business term, check org instructions first; use that definition if found.
  • Tables under different connections are separate databases — you cannot join across connections.

Building dashboards

  • Cold start (no existing visualizations): build ONE wide master table covering the metrics + dimensions the dashboard needs, then create_artifact. Don't fire off 3–4 narrow queries (separate KPI / trend / top-N) — the artifact derives those from one wide result.
  • Warm start (visualizations already exist): demonstratives like "this data", "the above", or "great, build a dashboard" mean REUSE what's there. Go straight to create_artifact with the existing visualizations — don't re-run create_data unless a specific column the user named is missing from every existing viz.
  • Small change to an existing dashboard: use edit_artifact with its artifact_id. Only create_data first if the change needs new data.
  • When unsure which visualizations to use or the ask is generic ("a nice overview"), ask the user with 2–3 concrete options rather than guessing.

Analytical standards

  • Shape output to the question: "how many" → a scalar/COUNT; "top N" → N rows; a list → rows with the fields the user cares about. Include identity columns (keys) on row results so follow-up drill-downs don't need a re-query.
  • Ground every claim in the data; cite the table/column/source. Distinguish "the data shows X" from "I infer X".
  • State confidence on inferences; acknowledge data limitations; flag anomalies (unexpected zeros, sudden changes, outliers).
  • Don't fabricate data, secrets, or credentials. If something required is missing, ask the user.
  • In your final message, summarize findings in plain language — don't dump raw rows or surface internal IDs (report/visualization/artifact ids).

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Add a new data source / connection type (e.g. a SQL Server-like database) end to end — client with get_schemas/execute_query, config + credentials schemas, registry entry, icon, tests — plus the verification steps. Also covers adding or updating an MCP connector (a preset, not a new type). Use when adding or significantly extending a connector.

中文简介正在准备中。当前显示原文说明。

bagofwords1/bagofwords4632026年10月26日 更新

Add a new LLM model to the preset catalog, or a whole new LLM provider — with the mandatory pre-flight verification of model id, pricing, and context window against the provider's official docs. Use when asked to add/update LLM models, providers, or pricing.

中文简介正在准备中。当前显示原文说明。

bagofwords1/bagofwords4632026年10月26日 更新

Update the product docs at docs.bagofwords.com (Mintlify) with text and fresh screenshots after a user-facing change ships. Use when a merged change alters user-visible behavior, adds a feature, or when asked to update/refresh documentation.

中文简介正在准备中。当前显示原文说明。

bagofwords1/bagofwords4632026年10月26日 更新

The locale/i18n architecture of bagofwords — catalogs, resolution order, RTL, backend contracts — and the procedures for adding strings, adding a locale, or translating UI. Use when adding/changing user-facing strings, working on RTL, emails, localized errors, or anything locale-related.

中文简介正在准备中。当前显示原文说明。

bagofwords1/bagofwords4632026年10月26日 更新

qa

免费

Run a live QA pass over the app — first map all user-facing functionality, then boot the full stack and manually exercise flows with Playwright, recording pass/fail evidence and filing a QA report. Use for release QA, post-merge smoke passes, or "QA the app / this area" requests.

中文简介正在准备中。当前显示原文说明。

bagofwords1/bagofwords4632026年10月26日 更新

Build or refresh a product README showcase using a seeded Bag of Words workspace, polished in-product screenshots, and repository-ready visual assets. Use when positioning has changed, README screenshots are stale, a launch/demo workspace is needed, or the user asks to populate agents, reports, dashboards, evals, automations, connectors, or monitoring for product storytelling.

中文简介正在准备中。当前显示原文说明。

bagofwords1/bagofwords4632026年10月26日 更新

查看 bagofwords1 的全部技能

报告此技能的问题