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.
npx skills add mstr-sharma/strategy-automate --skill reference_mosaic_buildgit clone --depth 1 https://github.com/mstr-sharma/strategy-automateWrote 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.
[](https://agentmods.dev/skills/mstr-sharma/strategy-automate/reference_mosaic_build)<a href="https://agentmods.dev/skills/mstr-sharma/strategy-automate/reference_mosaic_build"><img src="https://agentmods.dev/badge/skills/mstr-sharma/strategy-automate/reference_mosaic_build/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.
<a href="https://agentmods.dev/skills/mstr-sharma/strategy-automate/reference_mosaic_build"><img src="https://agentmods.dev/badge/skills/mstr-sharma/strategy-automate/reference_mosaic_build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00025 | $0.02499 |
| Opus 5.5 | $0.00010 | $0.01000 |
| Sonnet 5.5 | $0.00005 | $0.00500 |
| Haiku 4.5 | $0.00003 | $0.00250 |
Grade A, and why
build-mosaic-model skill location and subcommands 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 1mo ago.
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.
How it starts
The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: $REPO/skills/build-mosaic-model/SKILL.md
Helper script: $REPO/skills/build-mosaic-model/scripts/build_mosaic.py
Invoke directly; reads tenant defaults from env and signs in through strategy_auth.py (--auth-method / MSTR_AUTH_METHOD: API token, user + password, cached browser session, or sso). Never pass --password or other secrets as flags, and do not hardcode credentials in memory or skill files.
Discovery subcommands (read-only):
auth-probe— confirm login + identity-token flow.list-datasources [--name SUBSTR]— list DB instances, filter by name.list-namespaces --instance NAME|--instance-id ID— schemas in a DB instance.list-tables --instance-id ID --namespace SCHEMA [--match SUBSTR]— tables; uses base64({"ns":…}) for namespaceId under the hood.describe-table --instance-id ID --namespace SCHEMA --table T— columns + types; uses base64({"tbn":…,"ns":…}) for tableId.discover— probes every endpoint variant; useful when porting to a new MSTR version.openapi-summary [--out /tmp/strategy-openapi.yaml]— fetches{base}/api/openapi.yaml, prints title/version/path counts, and selected modeling/data-source paths. Does not require login.openapi-search PATTERN [--context N]— searches localopenapi.yamlfirst, then live OpenAPI; use before coding new endpoint workflows.api-call --method GET --path /api/projects— generic authenticated Strategy REST caller. Use--no-authfor public paths such as/api/openapi.yaml; use--with-identity-tokenonly for Mosaic data-model Modeling writes; token response headers and token/password fields in the printed body are redacted (--show-secretsto print them;--outfiles keep them, 0600); onlyDELETErequires--yes— preferstrategy_api.py call, which validates against the spec and gates every write.resolve-users --user NAME_OR_EMAIL/--file users.csv— resolve user IDs before ACL/security/user writes.describe-tables --source instanceId:namespace:table ...— describe many warehouse tables in one sign-in (never loopdescribe-table).kill-sessions [--project P] [--idle-minutes N] [--yes]— list your open Intelligence Server connections (user-connection monitor, all pages) and disconnect them with--yes; idle time keeps the UTC offset;--yesis refused when your login name can't be read; needs a monitoring privilege.release-locks— release stuck Modeling Service changesets owned by you (owner checked withGET /api/model/schema/lock; this run's own changesets are never released;DELETE /api/model/schema/lockas the fallback).search-objects --name NAME [--type N] [--subtype N]— Quick Search wrapper for object IDs.get-model-object --kind attribute|fact_metric|legacy_attribute|... --model-id M --object-id O --show-expression-as tokens— read Mosaic-contained or classic schema object definitions.
Global flags (before the subcommand): --base, --project-id, --auth-method (auto, password, ldap, anonymous, api-token, sso, identity-token, oidc — see reference_strategy_authentication.md), --login-mode, borrowed-session --auth-token / --session-cookie / --ingress-cookie (env vars preferred — flags are visible in ps), -v. Requests time out after MSTR_HTTP_TIMEOUT (default 300 s read); an open changeset is discarded on any exit path.
Build subcommand:
build --name N --source "INSTANCE:SCHEMA:T1,T2,..."(repeatable, for multi-source) — the main one. Flags:--data-serve-mode {connect_live|in_memory|off_memory},--dictionary,--erd,--conformance-map,--fk-map,--attr-cols,--metric-cols,--skip-relationships,--security-filter 'NAME=ATTR_ID[:FORM_ID]=VALUE|USER,USER',--grant 'trusteeId:rights[:user|user_group]',--deny 'trusteeId:rights[:user|user_group]',--replace-trustee,--translate 'objectId[:SubType]:locale[:field]=text',--certify,--publish. Post-build specs (security filters, grants, translations) are validated before the model is created; the summary always carriesmodel_id; publish runs only when tables, attributes, metrics and relationships succeeded, and certify runs last, only on a clean build.--conformance-map FILE: JSON/YAML{logical_name: [TABLE.COLUMN, ...]}; forces listed columns to collapse into one conformed attribute.--fk-map FILE: JSON/YAML{child_table.child_col: parent_table.parent_col}; normalizes differently-named FKs so they conform.
build-from-schema-objects— translate classic attributes / facts / relationships into a new Mosaic model (reference_mosaic_schema_object_import.md). Creates the model inside its first changeset, one POST per object (--use-batchopts into the UI-internal batch endpoint), publishes through the verified flow, exits 1 on failures.build-from-config --config spec.yaml— declarative JSON/YAML build; acceptsdictionary,data_dictionary,erd, anderdspaths (seereference_mosaic_config_schema.md).
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.
- 1mo ago Changed · +10 lines 71c0220dd6d4
- 2mo ago Changed afea64122f97
- 2mo ago First seen · 57 lines · 25 tokens per session scan A f9143ef04472
build-mosaic-model skill location and subcommands is a skill published in the GitHub repository mstr-sharma/strategy-automate (4 stars, last pushed 1mo ago), licensed MIT. It adds 25 tokens to every session and 2,499 once invoked, about $0.0001 per session on Opus 5.5. 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-09-04.
build-mosaic-model skill location and subcommands compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| build-mosaic-model skill location and subcommandsmstr-sharma/strategy-automate | Skill | 4 | 1mo ago | MIT | A | 25 | Claude Code, Codex |
| create-prprisma/orm | Skill | 48k | today | Apache-2.0 | A | 47 | Claude Code, Codex |
| schema-explorationlangchain-ai/deepagents | Skill | 32k | today | MIT | A | 57 | Claude Code, Codex |
| atlas-mssqlariga/atlas | Skill | 8.9k | yesterday | Apache-2.0 | A | 163 | Claude Code |
| ha-data-storesshiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 115 | Claude Code, Codex |
| bex-keyvaluebex-co/bex | Skill | 1.6k | today | Apache-2.0 | A | 117 | Claude Code, Codex |
| pentesting-mysqlxalgorix/xalgorix | Skill | 1.6k | today | Apache-2.0 | A | 65 | Claude Code, Codex |