{"id":119330,"plugin_id":"plugin_asdk_app_6af31278e3448191a67b0346f365a77f","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-26T18:14:26.429Z","digest":"e44aa6663c3c8a6369a4175296343e6e39b3a387c3e37857a0295cb09c5133a8","against":null,"payload":{"description":"Resolve a dataset once and remember it: a local CSV or Excel file, an Excel file in SharePoint/OneDrive, or a Power BI semantic model through a Power BI/Fabric MCP. Profiles it (encoding, date order, sheet, measures, categories, row count) and saves a manifest in the .zebra/sources folder so nobody is asked the same thing twice and a story can be re-run on new data. Use when the user says 'use this data', 'remember this source', 'what sources do we have', '/zebra-bi:data-source', or when the data-story skill needs its input.","included_files":[{"relative_path":"references/fabric.md","size_in_bytes":2103},{"relative_path":"references/file.md","size_in_bytes":1462},{"relative_path":"references/manifest.md","size_in_bytes":3381},{"relative_path":"references/sharepoint.md","size_in_bytes":1681}],"name":"data-source","skill_md_contents":"---\nname: data-source\ndescription: \"Resolve a dataset once and remember it: a local CSV or Excel file, an Excel file in SharePoint/OneDrive, or a Power BI semantic model through a Power BI/Fabric MCP. Profiles it (encoding, date order, sheet, measures, categories, row count) and saves a manifest in the .zebra/sources folder so nobody is asked the same thing twice and a story can be re-run on new data. Use when the user says 'use this data', 'remember this source', 'what sources do we have', '/zebra-bi:data-source', or when the data-story skill needs its input.\"\ncompatibility: \"Files need Claude Code (python3). SharePoint needs the Microsoft 365 connector; Power BI needs a Power BI/Fabric MCP.\"\nlicense: Apache-2.0\n---\n\n# Data source\n\nThe output is a manifest: what the data is, where it came from, how to read it again, and the decisions a person made about it. Format: `references/manifest.md`.\n\n## 0. A saved source first\n\nList `.zebra/sources/*.json`. If the user named one, or the path or query matches one, load it and check it is still current:\n\n- `file`: same `sha256`? If not, re-profile but keep everything under `confirmed`.\n- `sharepoint`: compare the item's `lastModifiedDateTime` from a fresh search with the manifest.\n- `mcp`: re-run only when the story needs fresher data, and only as a read to the recorded server and tool (`references/manifest.md`); update `as_of`.\n\nThen stop: never re-ask what `confirmed` already answers.\n\n## 1. Pick the adapter\n\n| The user gives | Adapter | Read |\n| --- | --- | --- |\n| a local `.csv`, `.tsv`, `.txt`, `.xlsx` path | file | `references/file.md` |\n| a SharePoint/OneDrive link, file name or \"the Excel in Teams\" | sharepoint | `references/sharepoint.md` |\n| a Power BI report, dataset, semantic model or DAX | fabric | `references/fabric.md` |\n\nIf the MCP an adapter needs is not connected, say so plainly and stop. A missing connector means \"cannot see it\", never \"there is no data\".\n\n## 2. Profile\n\nEvery adapter ends with a local table you can profile:\n\n```\npython3 -I ${CLAUDE_PLUGIN_ROOT}/scripts/profile.py <file> [--sheet-index N] [--name SOURCE_NAME]\n```\n\nFor a workbook, pick the sheet by its position in the printed `sheets` list (`--sheet-index 2` for the second), never by name. Values read from the data (sheet and column names, cell text, names of files a search found) never go on a command line: the shell would run what they contain. `<file>` is the path the user gave or the adapter wrote, and `SOURCE_NAME` is lowercase letters, digits and dashes.\n\nIt prints the manifest skeleton: encoding, delimiter or sheet, `date_order` per date column (day-first / month-first / year-first / ambiguous), roles (date, measure, category, id, text), measure min/max/sum, row count, sha256. In Claude chat, do the same profile with your analysis tool and fill the same fields.\n\n## 3. Confirm only what is ambiguous\n\nAsk at most three short questions, only for what the profile could not settle:\n\n- `date_order: ambiguous` (every day value is 12 or below);\n- which column is the main measure when there are several;\n- the unit or currency when nothing in the data says.\n\nRecord each answer under `confirmed` with today's date. Do not ask about anything the profile settled.\n\n## 4. Save\n\nClaude Code: write `.zebra/sources/<name>.json` (create the folder). Names are lowercase with dashes. Never store tokens, passwords, cookies or signed download URLs in a manifest.\n\nClaude chat: there is no file system. Show the manifest as a JSON block and suggest keeping it in the Project's knowledge, so the next conversation can start from it.\n\n## 5. Hand back\n\nOne line: the source name, rows, period covered, main measure, and anything a reader must know (for example: \"sales only, no profit column\").\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}