Retail Analytics Concierge logo

Retail Analytics Concierge

Organization
Amazon-Quick
retail-analytics-concierge

Translates natural language questions into SQL queries, executes against the connected data warehouse, and presents results with visualizations. Enables non-technical retail users to self-serve analytics without writing SQL. Use when asked to 'how many units did we sell', 'show me returns by category', 'what is our revenue trend', 'top selling products', 'compare regions', 'query the data', or any analytical question about retail metrics.

Overview

PublisherAmazon-Quick
RepositoryAmazon-Quick-official-catalog
Skill nameretail-analytics-concierge
Stars
50
Forks
4
Bundled files
1
LicenseMIT-0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Amazon-Quick on GitHub. Read the source before you install it.

Installation

Install the Retail Analytics Concierge AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Amazon-Quick/Amazon-Quick-official-catalog/tree/main/skills/data-analytics/retail-analytics-concierge
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Amazon-Quick/Amazon-Quick-official-catalog.git /tmp/Amazon-Quick-official-catalog
mkdir -p .claude/skills
cp -r /tmp/Amazon-Quick-official-catalog/skills/data-analytics/retail-analytics-concierge .claude/skills/retail-analytics-concierge
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Retail Analytics Concierge in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Retail Analytics Concierge on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Retail Analytics Concierge is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Overview

Enables any retail business user to ask data questions in plain English and get instant answers with charts. Translates natural language into SQL, executes read-only queries against the customer's data warehouse or uploaded files, and presents results with auto-generated visualizations. Includes strict safety guardrails to prevent any data modification.

Workflow

<Definition - Data Source Cascade> Try in order, stop at first success:

  1. Amazon Quick Dataset Q&A (if a QuickSight dataset is configured): ask questions directly in natural language against the full dataset with automatic SQL generation and security enforcement.
  2. SQL-compatible MCP connector detected (any database connector): use for live queries.
  3. Local SQLite or DuckDB file: query directly with run_python.
  4. CSV or Excel file provided: load into in-memory DuckDB via run_python for SQL querying.
  5. Nothing available: ask user to upload a data file or connect their warehouse in Settings. </Definition - Data Source Cascade>

<Definition - Blocked SQL Keywords> These keywords are NEVER allowed in any generated query: DROP, DELETE, UPDATE, INSERT, ALTER, TRUNCATE, CREATE, REPLACE, MERGE, GRANT, REVOKE, EXECUTE, CALL, SET, LOCK, UNLOCK, RENAME, LOAD, COPY INTO. If the user's question would require a write operation, explain that this skill is read-only and suggest they work with their data team for modifications. </Definition - Blocked SQL Keywords>

<Definition - Chart Type Selection> Based on result shape, auto-select visualization:

  • Time series (date column + numeric): line chart.
  • Categories + single metric: horizontal bar chart.
  • Proportions (parts of whole): pie/donut chart.
  • Two numeric dimensions: scatter plot.
  • Ranking (top N): vertical bar chart, sorted descending.
  • Comparison (2-3 groups over time): multi-line or grouped bar. If ambiguous, default to bar chart. </Definition - Chart Type Selection>

<Definition - Schema Context> A description of the customer's data structure that helps generate accurate SQL:

  • Table names and their purpose.
  • Column names with data types and business meaning.
  • Key relationships (foreign keys, join paths).
  • Common filters (date ranges, status values, region codes). Stored in {{config_directory}}/analytics-schema-context.json after first-run discovery. </Definition - Schema Context>

<Workflow - Setup description="First-run schema discovery and connectivity check." tools=[run_python, file_read] triggers=["connect my data", "setup analytics", "get started with analytics", "connect to my database"]

[Decide] Check if {{config_directory}}/analytics-schema-context.json exists:

  • EXISTS: Load saved schema context. Proceed to Answer Question workflow.
  • DOES NOT EXIST: Continue with setup below. Validate: File existence determined. If fails: Assume first run.

[Ask user] "I am your Self-Service Analytics Concierge. I translate your business questions into data queries and visualizations. To get started, I need to connect to your data. Do you have: (1) A CSV or Excel file to upload? (2) A SQLite or DuckDB database file? (3) A data warehouse connector already configured? Tell me what you are working with." Validate: User responds with a data source option. If fails: Re-prompt with examples of supported formats.

[Decide] Detect data source type per <Definition - Data Source Cascade>:

  • SQL MCP connector detected: probe with SELECT 1 or equivalent.
  • Local database file: verify with file_read.
  • CSV/Excel: load into DuckDB with run_python.
  • Nothing: re-ask user. Validate: Connection verified (test query returns a result). If fails: [Ask user] "I could not connect. Please check the file path or connector status in Settings."

[Agent] Discover schema. For SQL connector: query information_schema or equivalent for table names, column names, and types. For CSV/Excel: infer from headers and first 100 rows. Build schema summary: table name, columns (name, type, sample values), row count. Validate: At least 1 table with 2+ columns discovered. If fails: [Ask user] "I found the data but could not read its structure. Can you describe which tables or columns are important?"

[Decide] Is schema_context input provided (a file with table documentation)?

  • Yes: [Agent] Read the file and merge with discovered schema (documentation enriches the raw structure).
  • No: Use discovered schema as-is. Validate: Schema context available (discovered or provided). If fails: Proceed with discovered schema only.

[Agent] Save schema context to {{config_directory}}/analytics-schema-context.json. Include: tables, columns, types, sample values, relationships (if detected), and any user-provided documentation. Validate: File written. If fails: Hold schema in memory for this session.

[Ask user] "Connected! I found [N] tables with [M] total columns. Here is what I see: [table summary] Try asking me a question like: 'How many units did we sell last week?' or 'Show me returns by category.'" Validate: User acknowledges or asks their first question. If fails: N/A.

</Workflow - Setup>

<Workflow - Answer Question description="Translate natural language question to SQL, validate safety, get approval, execute, visualize." tools=[run_python, file_write, open_in_session_tab] triggers=["how many", "show me", "what is", "compare", "top selling", "total revenue", "average", "trend", "breakdown", "which", "list all"]

[Agent] Load {{config_directory}}/analytics-schema-context.json for table/column context. Validate: Schema loaded. If fails: Route to Setup workflow.

[Think] Interpret the user's question. Identify:

  • Target metric (what they want to measure).
  • Dimensions (how they want it grouped/sliced).
  • Filters (time range, category, region, etc.).
  • Comparison (vs prior period, vs another segment?). If ambiguous, prepare a clarifying question. Validate: Clear interpretation or clarifying question ready. If fails: Ask user to rephrase.

[Decide] Is the question ambiguous?

  • Yes: [Ask user] "I want to make sure I get this right. Did you mean [interpretation A] or [interpretation B]?"
  • No: Proceed to SQL generation. Validate: Unambiguous intent established. If fails: Proceed with most likely interpretation, note assumption in response.

[Agent] Generate SQL query using run_python. Apply:

  • Schema context for correct table/column names.
  • LIMIT clause (max_rows).
  • Date casting if date columns are strings.
  • Appropriate aggregations (SUM, COUNT, AVG) based on question. Validate: Valid SQL syntax generated. If fails: Simplify query and retry.

[Agent] Safety check: scan generated SQL for any keyword in <Definition - Blocked SQL Keywords>. Also verify all referenced tables are in approved_schemas (if set). Validate: No blocked keywords found. All tables approved. If fails: Reject query. [Ask user] "This question would require a [blocked operation] which I cannot perform. I am read-only. Can I help with a different question?"

[Ask user] Present the SQL for approval: "Here is the query I will run:

sql
[generated SQL]

This will return [description of expected output]. Shall I execute it?" Validate: User approves (yes, run it, looks good, etc.). If fails: [Ask user] what to change, regenerate SQL, re-present.

[Agent] Execute the approved SQL using run_python:

  • SQL connector: call the connector's query tool.
  • DuckDB/local: execute via duckdb.sql() in run_python. Capture results as a dataframe. Validate: Query returned results (0+ rows without error). If fails: Report the specific error message. Suggest possible fixes (wrong column name, date format, etc.).

[Decide] Did the query return zero rows?

  • Yes: [Agent] Explain possible reasons: date range too narrow, filter too restrictive, column name mismatch. Suggest a broader query.
  • No: Proceed to visualization. Validate: Branch determined. If fails: Present whatever result exists.

[Agent] Generate visualization per <Definition - Chart Type Selection>. Use run_python with highcharts/html_design to create an interactive HTML chart. Save to {output_directory}/analytics-chart-{timestamp}.html. Validate: Chart file created. If fails: Present results as a formatted table instead.

[Agent] Open chart in session tab using open_in_session_tab. Validate: Tab opened. If fails: Provide file path.

[Agent] Present results using <Template - Three Part Result>. Validate: All three parts presented. If fails: Present whatever parts are available.

[Agent] Store this query context (question, SQL, result shape) in session memory so follow-up questions (e.g., "now filter that by region") work without re-stating the full question. Validate: Context stored. If fails: N/A (follow-ups may require re-stating context).

</Workflow - Answer Question>

<Template - Three Part Result>

markdown
1. **Direct answer:** {{direct_answer_sentence}}
2. **Visualization:** I have opened an interactive chart in your session tab. See the {{chart_type}} chart showing {{chart_description}}.
3. **Supporting data:**

{{top_10_rows_table}}

</Template - Three Part Result>

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Retail Analytics Concierge AI skill do?

Translates natural language questions into SQL queries, executes against the connected data warehouse, and presents results with visualizations. Enables non-technical retail users to self-serve analytics without writing SQL. Use when asked to 'how many units did we sell', 'show me returns by category', 'what is our revenue trend', 'top selling products', 'compare regions', 'query the data', or any analytical question about retail metrics.

Why use Retail Analytics Concierge on TypingMind?

Because you install it once and use it with any model. Retail Analytics Concierge is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Retail Analytics Concierge in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Amazon-Quick/Amazon-Quick-official-catalog/tree/main/skills/data-analytics/retail-analytics-concierge. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Retail Analytics Concierge?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Retail Analytics Concierge?

As many as you like. As long as a model supports skills, you can use Retail Analytics Concierge with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Retail Analytics Concierge AI skill free?

Yes. It is published on GitHub by Amazon-Quick under the MIT-0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇