build-mosaic-model

build-mosaic-model is a skill for Claude Code, Codex from mstr-sharma/strategy-automate. It costs 0 tokens per session (3,040 once invoked), scanned A, original, MIT.

A builder for Strategy Mosaic, MicroStrategy’s semantic data-modeling system, using tables in a live data warehouse. It creates the model’s connected data structure from database tables.

In plain words
What is it for?
Building a new Mosaic model from a database instance, schema, and tables, including authentication, table discovery, and model setup.
Why use it?
It provides a defined process for discovering warehouse tables and wiring them into a Mosaic model, while keeping unrelated Strategy features out of scope.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Building a new Mosaic model from a database instance, schema, and tables, including authentication, table discovery, and model setup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mstr-sharma/strategy-automate/build-mosaic-model
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mstr-sharma/strategy-automate --skill build-mosaic-model
Clone the repo
git clone --depth 1 https://github.com/mstr-sharma/strategy-automate

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for build-mosaic-model

README.md
[![agentmods](https://agentmods.dev/badge/skills/mstr-sharma/strategy-automate/build-mosaic-model/github.svg)](https://agentmods.dev/skills/mstr-sharma/strategy-automate/build-mosaic-model)
Your own site
<a href="https://agentmods.dev/skills/mstr-sharma/strategy-automate/build-mosaic-model"><img src="https://agentmods.dev/badge/skills/mstr-sharma/strategy-automate/build-mosaic-model/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for build-mosaic-model

Your own site · 80×15
<a href="https://agentmods.dev/skills/mstr-sharma/strategy-automate/build-mosaic-model"><img src="https://agentmods.dev/badge/skills/mstr-sharma/strategy-automate/build-mosaic-model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,040 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.03040
Opus 5 $0.00000 $0.01520
Sonnet 5 $0.00000 $0.00608
Haiku 4.5 $0.00000 $0.00304

Measured 12d ago against content hash 212dcc795f02, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

build-mosaic-model scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 10 executable files (scripts/_client.py, scripts/build_mosaic.py, scripts/mosaic_safety.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/build-mosaic-model/SKILL.md · 176 lines

How it starts

The opening of the file, as written. The whole thing — 176 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Build a Strategy Mosaic model from scratch

This skill is the execution layer for Mosaic data-model creation and modification. The planning layer is skills/strategy-data-modeling/SKILL.md — route through it first unless the user gave you a complete pre-planned build.

Out of scope for this skill — route to skills/strategy-automation/SKILL.md and memory/reference_strategy_surface_matrix.md:

  • Classic / project semantic-layer objects (legacy attributes, project metrics/facts/filters, project security filters)
  • Runtime analytics (reports, dashboards, documents, prompt answers, exports)
  • AI / Agent / Bot work
  • Non-Mosaic cube / dataset work (Intelligent Cube, OLAP cube, Super Cube, MTDI, Push Data)
  • Subscriptions, users, groups, roles, VLDB, object administration

Load these memory files on entry

Every one of these owns a piece of the build surface; this skill delegates the detail to them. Load before synthesizing any payload.

  • memory/reference_strategy_error_codes.md — grep this FIRST on any 4xx/5xx before looking anywhere else.
  • memory/reference_data_modeling_foundations.md — Kimball: grain, conformed dims, star/snowflake/galaxy/bridge topology, additivity classes.
  • memory/reference_mosaic_business_logic_translation.md — intent → build plan; the mandatory pre-build artifact.
  • memory/feedback_business_logic_pass_mandatory.md — non-optional rule.
  • memory/feedback_mosaic_relationship_wiring.md — conformed-dim recipe + the 8004ccdb / 8004ccc7 / 8004e409 failure modes + fix pattern.
  • memory/feedback_build_mosaic_session_leak.md — one-session-one-process rule; the single most common cause of mid-build failure.
  • memory/reference_mosaic_rest_api.md — verified endpoint paths (auth, datasources, catalog, data models, changesets, security, translations).
  • memory/reference_mosaic_modeling_concepts.md — payload shapes for attributes, metrics (compound / conditional / level / transformation), relationships, filters, transformations.
  • memory/reference_mosaic_publish_path.md — the one publish file: 3-step flow, do-not-fire-both rule, dataType publish-readiness gate (prevents iServerCode -2147212544 stalls).
  • memory/reference_mosaic_vs_legacy_surfaces.md — subType 779 vs 776 classification before any publish/refresh/execute write.
  • memory/reference_strategy_object_cloning.md — clone-and-remap procedure when a payload shape is unknown.
  • memory/feedback_mosaic_ship_bar.md — ship-bar checklist: naming, DESC-form report/browse displays, metric format tokens, description length cap, SF naming.

Read the full file on GitHub · 176 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 176 lines · 0 tokens per session scan A 212dcc795f02

Subscribe to this mod's changes

build-mosaic-model is a skill published in the GitHub repository mstr-sharma/strategy-automate (2 stars, last pushed 7d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,040 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens