- Cortex Code (CoCo). Load the skill into the CLI and invoke it in a session.
- Snowflake CoWork (formerly Snowflake Intelligence). Attach the skill to a Cortex Agent and chat with it.
Prerequisites
All App Builder Skills share one foundation:- The Nimble × Snowflake integration: the External Access Integration, the API-key secret, the
NIMBLE_AGENT_RUNUDTF, and theNIMBLE_SEARCHUDF. See Cortex Agents for the setup. A skill verifies these at runtime and can guided-install them, but only with explicit consent and your Nimble API key, run asACCOUNTADMIN. - Cortex Agents enabled on the account, and a role that can create schemas in the target database.
Use a skill
From Cortex Code (CLI)
The quickest path is/skill add with the skill’s folder URL from the cookbook, not the whole repo:
$cmo-intelligence build a digital-shelf app for the coffee category.
As a Cortex Agent (Snowflake CoWork)
Stand up a Nimble App Builder agent once, then anyone can build apps by chatting with it in Snowflake CoWork (formerly Snowflake Intelligence), no CLI required. The agent loads its skills straight from the cookbook Git repository, so updates are aFETCH away. Run the quick-start as ACCOUNTADMIN.
Point Snowflake at the cookbook (Git)
Create a Git API integration scoped to the Nimble org, register the cookbook repository, and fetch it. The agent reads its skill files from here.
Create the SQL execution MCP server
The agent provisions apps by running SQL: DDL, DML,
CALL, EXECUTE TASK, GRANT. This MCP server gives it that capability, scoped to the integration’s warehouse.Create the Nimble App Builder agent
Attach one or more skills from the Git repository. Each skill defines a different app type, and the agent routes a request to the matching one. Add a skill by listing another entry under
skills:.Skills gallery
Each skill is a different app type you can install and run from either surface. More are on the way; here’s what’s available today.CMO Intelligence
Name a category (a brand is optional), and the CMO Intelligence skill turns the brief into a working digital-shelf intelligence app covering share of shelf, pricing, content health, and sentiment, with live Nimble web data, a Cortex agent, and a ready-to-use Streamlit cockpit.
- A per-app schema. Each provision targets its own
<db>.<schema>, so apps never collide and a live app is never clobbered. - Config tables as the source of truth.
CFG_APPandCFG_QUERIEShold the brand, keywords, retailers, and geography; the views and the scheduled Task read from them, so the app stays updatable after creation. - Scheduled web-data ingestion. A
DAILY_SHELF_TASKcallsREFRESH_SHELF(), which pulls search and product-page data through theNIMBLE_AGENT_RUNUDTF and lands it in raw tables: SERP via a lateral join, the high-volume PDP fan-out concurrently. - A Cortex brand resolver.
REBUILD_BRAND_MAP()normalizes raw product titles into aBRAND_MAPusing a fast Cortex model, so share-of-shelf and focal-brand tagging stay accurate. It refreshes on every run. - Analytics views. Share of shelf, content health, out-of-stock alerts, daily trends, sentiment summary, share of AI answer, and next-best-actions.
- A Cortex Analyst semantic view.
SHELF_SVexposes the analytics layer for natural-language questions. - A Cortex agent.
<BRAND>_SHELF_ANALYSTanswers shelf and price questions overSHELF_SV, and carries a live-webNIMBLE_SEARCHtool for fresh context mid-conversation. - A ready-to-use Streamlit cockpit. A per-app Streamlit-in-Snowflake app (named per app, e.g.
<BRAND>_CMO_COCKPIT) with pricing, digital shelf, and sentiment surfaces, ready on first open.
$cmo-intelligence; in CoWork, just ask the Nimble App Builder agent:
set up CMO intelligence for the chocolate category, focal brand Acmebuild a digital-shelf app for the coffee categorymonitor our category on Walmart, Amazon, and Target
- Preflight: verifies the integration’s functions exist (
NIMBLE_AGENT_RUN+NIMBLE_SEARCH), resolves the available Cortex models, confirms the target database and warehouse, and checks for an existing app in the target schema. - Intake: the “category architect” proposes the focal brand, ~6 keywords, focal-brand patterns, and a schema name from the category, then shows the proposal for confirmation. Defaults: Walmart / Amazon / Target, US geography, daily refresh.
- Provision: runs the SQL templates in order, creating every object above, from the config tables through the
<BRAND>_SHELF_ANALYSTCortex agent. - Seed: fires
DAILY_SHELF_TASKserver-side for the first snapshot (focal-first, so the cockpit has real content fast), then deploys the Streamlit cockpit to a per-app stage. - Verify and deliver: confirms the full object set exists and the views are populated, then returns the cockpit URL, the agent, and the headline insight.
cookbook/snowflake/coco-skills/cmo-intelligence
The CMO Intelligence skill: SKILL.md, the SQL templates, the cockpit, and the bundled integration
Resources
cookbook/snowflake/coco-skills
Every Nimble App Builder Skill, with SKILL.md, SQL templates, and install guides
Cortex Code
Install the Nimble MCP server in Cortex Code for ad-hoc web data in any session
Cortex Agents
The
NIMBLE_SEARCH / NIMBLE_EXTRACT UDFs and the integration these skills build onExtend Cortex Code with agent skills
Snowflake’s guide to creating, installing, and invoking custom Cortex Code skills