anofox-forecast-data-prep SKILL.md skillA

anofox-forecast-data-prep from datazoode/anofox-forecast is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add datazoode/anofox-forecast/anofox-forecast-data-prep@v2026.09.26

Pins v2026.09.26 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
datazoode/anofox-forecast
Path
plugins/anofox-forecast/skills/anofox-forecast-data-prep/SKILL.md
Versions recorded
10
Latest version
v2026.09.26, committed Oct 28, 2026
First version recorded
Sep 18, 2026
Size
10,535 bytes
Repository stars
45
License
a license file GitHub does not identify

Data preparation for the anofox_forecast DuckDB extension — filling gaps, imputing nulls, dropping bad series, differencing, detrending, hierarchical key operations. Use when preparing raw time series for downstream forecasting or backtesting with `ts_forecast_by` / `ts_cv_folds_by`.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Anofox Forecast — Data Preparation Cheat Sheet

**Extension:** `anofox_forecast` v2026.09.26 (Rust crate `anofox-forecast` v0.16.2) | **DuckDB:** v2.0.0 / v1.5.6 | **Dual naming:** `ts_*` and `anofox_fcst_ts_*` (identical)

Prep raw time series so downstream forecasting / CV has clean input: no gaps, no unwanted NULLs, no degenerate series, correct hierarchy.

## Critical gotcha — materialise between `_by` steps

`_by` table functions **do not chain in CTEs** — under parallel execution they silently return 0 rows. Always `CREATE TABLE` between pipeline steps.

```sql
-- BROKEN (silent 0 rows under parallelism) -- `raw` is (product_id, ds, y):
WITH step1 AS (SELECT * FROM ts_fill_gaps_by('raw', product_id, ds, y, '1d'))
SELECT * FROM ts_fill_nulls_const_by('step1', product_id, ds, y, 0.0);
```

```sql
-- CORRECT:
CREATE OR REPLACE TABLE step1 AS SELECT * FROM ts_fill_gaps_by('raw', product_id, ds, y, '1d');
CREATE OR REPLACE TABLE step2 AS SELECT * FROM ts_fill_nulls_const_by('step1', product_id, ds, y, 0.0);
```

## Gap filling

### `ts_fill_gaps_by`
Insert missing date rows (NULL value) so every series has a complete regular grid.

```sql
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add datazoode/anofox-forecast/anofox-forecast-data-prep@sha256:53894a260b261622

The line at the top of this page pins the label v2026.09.26, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_2kjakfhqoesymzhd.svg)](https://markdownregistry.com/a/art_2kjakfhqoesymzhd)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 10 versions of this file, between Sep 18, 2026 and Oct 28, 2026, about one every 4 days.

versioncommittedcommitsizeaudit
v2026.09.26 latest2026-10-28 eeb26da 10,535 BA view · diff
v2026.09.262026-10-23 d35f1d4 10,548 BA view · diff
v2026.09.262026-10-22 fb11ec5 10,365 BA view · diff
v2026.09.262026-10-22 7f33142 10,306 BA view · diff
v2026.09.262026-10-16 3a62628 10,298 BA view · diff
v2026.09.262026-10-15 2cbb500 10,294 BA view · diff
v2026.09.262026-10-15 12b3642 10,294 BA view · diff
v2026.09.262026-10-14 042ba8a 9,582 BA view · diff
v2026.09.262026-10-12 b3755ae 8,785 BA view · diff
v0.15.32026-09-18 e2d0889 6,558 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (10535 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

datazoode/anofox-forecast · 45 stars · license a license file GitHub does not identify · pushed 2026-10-31 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_2kjakfhqoesymzhd
GET https://markdownregistry.com/api/v1/resolve?ref=datazoode/anofox-forecast/anofox-forecast-data-prep
GET https://markdownregistry.com/api/v1/blob/53894a260b261622a6f97f9476147293753cb03b76121091ffe8040526ca72e9

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from datazoode/anofox-forecast

CLAUDE.md@.claude CLAUDE.md file
datazoode/anofox-forecast · .claude/CLAUDE.md
git:20261028.eeb26da · audit A · 45 stars
anofox-forecast-backtest SKILL.md skill
datazoode/anofox-forecast · plugins/anofox-forecast/skills/anofox-forecast-backtest/SKILL.md · Backtesting, cross-validation, evaluation metrics, and conformal prediction intervals for the anofox_forecast DuckDB…
v2026.09.26 · audit A · 45 stars
anofox-forecast-detection SKILL.md skill
datazoode/anofox-forecast · plugins/anofox-forecast/skills/anofox-forecast-detection/SKILL.md · Seasonality, changepoint, peak, and decomposition detection for the anofox_forecast DuckDB extension. Use when…
v2026.09.26 · audit A · 45 stars
anofox-forecast-eda SKILL.md skill
datazoode/anofox-forecast · plugins/anofox-forecast/skills/anofox-forecast-eda/SKILL.md · Exploratory data analysis, data quality, and statistical diagnostics for the anofox_forecast DuckDB extension — 36…
v2026.09.26 · audit A · 45 stars
anofox-forecast-models SKILL.md skill
datazoode/anofox-forecast · plugins/anofox-forecast/skills/anofox-forecast-models/SKILL.md · Forecasting models and the `ts_forecast_by` / `ts_forecast_var_by` API surface of the anofox_forecast DuckDB extension…
v2026.09.26 · audit A · 45 stars

Every file in datazoode/anofox-forecast

Browse by kind, by grade A, or by owner.