Start a pinned uv analysis project or check one is ready (check_workspace.py), then lay out its notebook and prompt appendix. Read-only check; syncs only with the user's go. Not for the analysis itself; use pandas-descriptive.
Ships in data-analytics. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use sections 1 to 6 to start a pinned uv project (pandas, scikit-learn, statsmodels, matplotlib, Plotly, Streamlit,
openpyxl, Jupyter, optional export extra with Kaleido, PANCODE.md, empty data/, no bundled dataset), section 4
to check workspace readiness, and section 7 to structure its notebook and prompt appendix.
Ask which folder to use unless already named. Prefer a new or empty folder; if files exist, list them and ask before
continuing, and never overwrite pyproject.toml, uv.lock, .python-version, PANCODE.md or data/README.md.
Copy every file under <base_dir>/assets/ into <folder>/, keeping relative paths (pyproject.toml, uv.lock,
.python-version, PANCODE.md, data/README.md) with bytes unchanged so the lock pins hold. Create out/ for
generated files and list what you wrote.
uv sync installs the pinned Python and locked packages into .venv (needs the network and uv on PATH). Ask
first. With the user's go, run uv sync --frozen (add --extra export for static Plotly PNGs) and report the result;
without it, note that the first uv run does the same. Install nothing else yourself (section 4 lists platform fixes).
When asked whether a project is ready, or when a tool is missing, run the read-only stdlib check from the project
folder (works before .venv exists; syncs, installs and downloads nothing):
uv run --no-project --offline --python 3 python <base_dir>/scripts/check_workspace.py
It prints OK, WARN or FAIL with macOS, Windows and Linux fixes for uv, pinned Python, .venv vs uv.lock,
Jupyter, uvx and pypi.org, exiting 1 on any FAIL; the charts skill's plotly_chart.py --check-env covers
Kaleido and Chrome for PNG export. If uv --version fails, point the user to https://docs.astral.sh/uv/. Relay fixes
without running them unless approved. pypi.org is needed only for the first sync and first MCP launch: the pack
declares PanCode's pypi egress preset, which a user-scope install asks to add, or the user can run
uv sync --frozen in their own terminal.
Never write under .pancode/. Propose project PanCode settings through configure_pancode so the user approves the
exact diff. Describe safety rules (such as read-only data/) and leave them to the user.
Point to PANCODE.md: raw data in data/, outputs in out/, Python via uv run python ..., first look via
gateway(op="call", capability="data", args={op: "inspect"|"stats"|"select", path: "<file>", ...}) (op: "inspect"
for schema or .xlsx sheets; op: "stats" for column profiles, exact where counts and reconciled group_by totals
when complete: true; op: "select" with where only for sample rows) before using pandas, Plotly and Streamlit, and
confirm grain with grain-check before aggregating.
Make the notebook re-runnable top to bottom with verifiable claims and traceable prompts, in this order:
Locate the workspace root relative to the notebook (never an absolute, home or drive path), fix every random_state
and seed, write outputs under out/, and quote in Markdown only numbers printed by a code cell above (updating prose
when code changes). Execute top to bottom before sharing
(uv run jupyter nbconvert --to notebook --execute <notebook.ipynb> --output-dir out) to catch hidden state and stale
outputs. Keep secrets, credentials and personally identifying records out of notebooks and exports.
For the appendix, export numbered prompts P1, P2, ... with timestamps, models and touched files (no tool dumps) via
/export --prompts out/prompts.md inside PanCode for the current session or
pancode session prompts --out out/prompts.md from a terminal across project sessions. Condense it into a table with
one row per material prompt (number, ask, mistake caught such as wrong grain, unverified metric, leakage or wrong
denominator, and how it was verified or fixed). Keep human judgment and sign-off separate from agent-generated code.
What SKILL.md sets; muted values are Claude Code's defaults
/data-analytics:analysis-projectfrom data-analytics
npx claudepluginhub panstudio/pancode --plugin data-analytics9 skills in this plugin
/chartsMake and check bar, line, histogram or scatter charts (plotly_chart.py, matplotlib): backing table printed, sorted, labelled, bars from zero. Not for dashboards; use streamlit-app./customer-analyticsCohort retention, top-customer share and RFM (cohort_table.py, pareto_rfm.py) for repeat and best customers, counting customers and orders, not lines. Not for k-means clusters; use modelling./excelTurn spreadsheet work into Python: VLOOKUP, SUMIFS and pivot tables to pandas, .xlsx read and write, with merged-header, text-number and total traps. Not for Tableau exports; use tableau.Other plugins' skills for the same job