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 topprismdata/cultivating-ml-agent --skill yoy-364day-featuresgit clone --depth 1 https://github.com/topprismdata/cultivating-ml-agentWrote 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/topprismdata/cultivating-ml-agent/yoy-364day-features)<a href="https://agentmods.dev/skills/topprismdata/cultivating-ml-agent/yoy-364day-features"><img src="https://agentmods.dev/badge/skills/topprismdata/cultivating-ml-agent/yoy-364day-features/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/topprismdata/cultivating-ml-agent/yoy-364day-features"><img src="https://agentmods.dev/badge/skills/topprismdata/cultivating-ml-agent/yoy-364day-features.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.00096 | $0.00803 |
| Opus 5.5 | $0.00038 | $0.00321 |
| Sonnet 5.5 | $0.00019 | $0.00161 |
| Haiku 4.5 | $0.00010 | $0.00080 |
Grade A, and why
yoy-364day-features 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 2mo 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 — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
YoY 364-Day Features for Time Series
Core Idea
Use sales/values from exactly 364 days ago (52 weeks) as features. This aligns day-of-week perfectly (364 = 52 × 7), capturing annual seasonality while maintaining weekly structure.
Feature Set (4 features)
# For each (store, family) on reference date t:
yoy_sales_364 = sales[t - 364] # Same day-of-week last year
yoy_sales_364_7d_avg = mean(sales[t-370 : t-364]) # 7-day avg around same week last year
yoy_ratio_1y = sales_lag_1 / (yoy_sales_364 + 1) # Current vs last year momentum
yoy_ratio_7d = rolling_mean_7 / (yoy_sales_364_7d_avg + 1) # Recent trend vs last year
Implementation
# Build YoY lookup: map each date to sales from 364 days ago
sales_df = train_raw[["store_nbr", "family", "date", "sales"]].copy()
sales_df["yoy_date"] = sales_df["date"] + pd.Timedelta(days=364)
yoy_lookup = sales_df.rename(columns={
"date": "yoy_ref_date", "sales": "yoy_sales_364"
})[["store_nbr", "family", "yoy_ref_date", "yoy_sales_364"]]
# Merge into training data
merged = merged.merge(
yoy_lookup, left_on=["store_nbr", "family", "date"],
right_on=["store_nbr", "family", "yoy_ref_date"], how="left"
)
# 7-day average around same week last year
yoy_7d = sales_df.groupby(["store_nbr", "family"]).apply(
lambda g: g.set_index("date")["sales"].rolling(7, min_periods=1).mean().shift(364)
).reset_index()
Evidence
Kaggle Store Sales (Favorita), April 2026:
| Version | Features | LB |
|---|---|---|
| R11c (baseline) | 82 base | 0.39824 |
| R12 multilevel | +18 family/store aggregation | 0.39874 (+0.00050 worse) |
| R13 YoY | +4 YoY 364-day | 0.39779 (-0.00045 better) |
Feature importance: yoy_sales_364_7d_avg = 2577 (high), yoy_sales_364 = 1204.
Key Insight
Why 364 and not 365? Because 364 = 52 × 7, so day_of_week is guaranteed to match. This matters for retail data where weekday/weekend sales differ dramatically. Using 365 would shift day-of-week by 1 (or 2 for leap years), introducing noise.
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.
- 2mo ago First seen · 75 lines · 96 tokens per session scan A 8826913ba4e7
yoy-364day-features is a skill published in the GitHub repository topprismdata/cultivating-ml-agent (5 stars, last pushed 1mo ago), licensed MIT. It adds 96 tokens to every session and 803 once invoked, about $0.0004 per session on Opus 5.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-09-03.
yoy-364day-features compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| yoy-364day-featurestopprismdata/cultivating-ml-agent | Skill | 5 | 1mo ago | MIT | A | 96 | Claude Code, Codex |
| python-output-buffering-background-scriptstopprismdata/agent-nurture-framework | Skill | 3 | 1mo ago | MIT | A | 153 | Claude Code, Codex |
| huggingface-hubbraxtonROSE4/zorro-agent | Skill | 11 | 7mo ago | MIT | C | 43 | Claude Code, Codex |
| agent-code-analyzerruvnet/ruflo | Skill | 83k | today | MIT | A | 19 | Claude Code |
| eval-dataset-designbojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 138 | Claude Code, Codex |
| memory-systembojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 95 | Claude Code, Codex |
| writingbojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 27 | Claude Code, Codex |