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 StamKavid/last-ds-mile --skill ds-framegit clone --depth 1 https://github.com/StamKavid/last-ds-mileWrote 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/stamkavid/last-ds-mile/ds-frame)<a href="https://agentmods.dev/skills/stamkavid/last-ds-mile/ds-frame"><img src="https://agentmods.dev/badge/skills/stamkavid/last-ds-mile/ds-frame/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/stamkavid/last-ds-mile/ds-frame"><img src="https://agentmods.dev/badge/skills/stamkavid/last-ds-mile/ds-frame.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.00083 | $0.01132 |
| Opus 5 | $0.00042 | $0.00566 |
| Sonnet 5 | $0.00017 | $0.00226 |
| Haiku 4.5 | $0.00008 | $0.00113 |
Grade A, and why
ds-frame 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 10d 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 — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ds-frame — Problem Framing
Overview
Turns a vague ask into a crisp problem before any data is touched: what decision this feeds, what exactly is being predicted, and how success will be measured against that decision — not just against a modeling metric.
When to Use
- Starting a new DS project or a new modeling question within an existing one.
- The user asks for "a model" or "a prediction" without a defined target, decision, or success metric.
- NOT for: refining an already-framed problem's features or data (that's
/ds-dataand/ds-prep); this stage is about the question, not the data.
Core Process
- Infer what decision this will inform — who acts on the output, how often, and what happens today without it — from the request and the data, and state it as your own read. Only ask the user when the answer would materially change the target definition or the metric and genuinely can't be inferred (e.g. the request is ambiguous between two different targets); otherwise state the assumption in one line and continue.
- Define the unit of analysis and the target variable precisely — not "churn" but "customer with 0 purchases in the next 90 days, as of signup+30 days."
- Take an information inventory: write down what will actually be known at the
moment of prediction versus what only becomes known after the fact. Calendar, account
age, and prior-period totals are usually available; same-day outcomes, values that
arrive later, and anything derived from the target are not. This is the framing-time
complement to
/ds-prep's per-feature check — it decides whether the problem is even feasible and tells you what signal to go looking for before anyone builds a feature. - Check whether this needs ML at all, or whether a simple rule or lookup would solve it just as well (the "do we even need ML?" gate), and state your conclusion — this is a judgment call to make and record, not a question to put back to the user.
- Pick a success metric tied to the decision, not only a modeling metric — e.g. "reduce
false negatives below X because a missed case costs $Y," not just "maximize AUC."
Check explicitly whether over- and under-shooting cost the same: if understaffing
hurts more than overstaffing, a symmetric metric (RMSE, accuracy) optimizes the wrong
thing — see
metric-selectionfor the asymmetric-cost options. - Write the brief to
.last-ds-mile/stages/00-frame.md: problem statement, unit of analysis, target definition, the information inventory, decision, success metric, and explicit non-goals. Then continue to the next stage in the same turn — framing is a record of what you decided, not a stopping point to wait at.
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.
- 10d ago First seen · 81 lines · 83 tokens per session scan A 350613289dcc
ds-frame is a skill published in the GitHub repository StamKavid/last-ds-mile (3 stars, last pushed 1mo ago), licensed MIT. It adds 83 tokens to every session and 1,132 once invoked, about $0.0004 per session on Opus 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-08-31.
Other skills, from other repositories
developing-with-streamlit
Use for ALL Streamlit tasks: creating, editing, debugging, beautifying, styling, theming, optimizing, or deploying Streamlit apps. Also custom components, st.components.v2, HTML/JS/CSS work. Discovers and loads version-matched reference docs from the user's installed Streamlit (>=1.57). Triggers: streamlit, st.…
marimo-pair
Work inside the user's live marimo notebook from the code editor: run Python in the same kernel the user does, inspect live notebook state, and commit durable notebook changes through code mode. Use whenever you create, analyze, or improve the user's marimo notebook.
wax
Swift framework guidance for Wax on-device memory/RAG. Use when writing Swift code with the public Memory facade, experimental PhotoMemory / VideoMemory, BuiltInMultimodalEmbeddings, embedding providers, retrieval modes, or hybrid search. For agent operators using the Wax MCP server tools, use the separate wax-mcp…
wax-memory-maintenance
Maintain the Wax memory store used by the Hermes wax-memory provider.
ml-expert
Expert-level machine learning, deep learning, model training, and MLOps. Use when the user mentions machine learning, deep learning, neural networks, MLOps, or data science, or when the task involves Machine Learning Fundamentals, Data Preparation, or Model Training.
fast-dash
Build a Fast Dash web app from a Python function. Use when the user wants to turn a function into an interactive app, add a UI to an existing function, or build a dashboard / form / wizard. Fast Dash infers UI components from type hints, so a well-typed function becomes an app with one decorator.