AutoTS is a Python package that automatically searches forecasting models, data transformations, and ensembles for time-series datasets. It is used by developers and analysts to build forecasts across one or many series, including multivariate and probabilistic forecasts. The catalogue MCP server and instruction help coding agents use AutoTS in their workflows.
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 agentmods add instructions/winedarksea/autots/agents-mdgit clone --depth 1 https://github.com/winedarksea/AutoTSWrote 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/instructions/winedarksea/autots/agents-md)<a href="https://agentmods.dev/instructions/winedarksea/autots/agents-md"><img src="https://agentmods.dev/badge/instructions/winedarksea/autots/agents-md.svg" alt="Measured on agentmods" 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 | $0.00846 | $0.00846 |
| Opus 5 | $0.00423 | $0.00423 |
| Sonnet 5 | $0.00169 | $0.00169 |
| Haiku 4.5 | $0.00085 | $0.00085 |
Grade A, and why
AutoTS AGENTS.md 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 5d 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 — 39 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AutoTS Agent Overview
General Code Guidelines
Small Files & Single Responsibility
- Aim to keep files < 500 lines. Large files are difficult to reason about and cause merge conflicts.
- Single Responsibility per File: Each module should have one reason to change.
Hyper-Descriptive Naming
- Favor Explicit Over Concise: Use long, descriptive names that explain intent
High-Signal Comments
- Explain "Why", Not "What": Comments should explain the reasoning behind complex algorithms or architectural decisions.
- Be Token-Efficient in Comments: Use concise, informative language. Focus on documenting interface contracts and capability tiers.
Testing & Benchmarking
- Shared Fixtures: Extract common test utilities (synthetic signal generators, stub storage) into a shared helper module if reused across 3+ files.
Dependencies
- Limited Assumed Dependencies Only pandas, numpy are assumed always available. scikit-learn, scipy, and statsmodels are usually available but should still be in a guarded import block (with fallbacks in mocks.py). Then other libraries are in a separate guarded import as well. Python 3.9 compatibility is to be maintained where possible.
AutoTS Specific Guidelines
Data
- Wide Style Data All internal objects use
widestyle time series data dataframes directly whenever possible, with custom data classes used sparingly. In wide style data each column is a unique time series and each row has a datetime index. - Assumptions on Data Series will largely be consistent in period, or at least up-sampled to regular intervals. The most recent data will generally be the most important.
Core objects in AutoTS
- Transformers Transformers are preprocessing or postprocessing of wide style data. They are most commonly used as a transform before a forecast on historical data, then inverse_transform after the forecast on the forecast data (which includes new future dates) back to the original space. They sometimes increase or decrease the number of columns or rows of the data (expanding transformers).
- Models Models are generally machine learning algorithms that take in historical data (fit) and output future values (predict) as a forecast based upon their algorithm. Both Models and Transformers have
get_new_paramswhich generate new random parameter values for the genetic optimizer. get_new_params is weighted towards the most consistently accurate and fastest parameter options. Ensembles are a special model type that combine multiple models, and AutoTS has some unique state of the art ensemble methods like mosaic ensembles. - Detectors Detectors such as AnomalyDetector or HolidayDetector identify features of time series data. Most of them are used together in the TimeSeriesFeatureDetector (note code changes should be upstreamed to the more specific detector class where possible). Detectors often can serve as transformers or share library code with a paired transformer.
- PredictionObject This object is the class designed for storage of forecasts output from all models. It includes various features to adjust or plot the resulting forecast.
- AutoTS the AutoTS class itself is the primary entry point for users to get and iteract with forecasts. While advanced users are expected to utilize the rest of the library code directly, documentation and code style generally focus on the AutoTS class in particular. AutoTS's core function is to run a search across validation holdouts of combinations of transformers and model parameters, usually several combined in an ensemble, returning a prediction object at the end of a tuned forecast.
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.
- 5d ago First seen · 39 lines · 846 tokens per session scan A d9acb57b6202
AutoTS AGENTS.md is an instructions file published in the GitHub repository winedarksea/AutoTS (1,429 stars, last pushed 10d ago), licensed MIT. It adds 846 tokens to every session, about $0.0042 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-30.
Other instructions, from other repositories
DeepSpeed AGENTS.md
AGENTS.md instructions for deepspeedai/DeepSpeed, covering deepspeed project rules, commit & ci requirements, code change discipline, test discipline and tool caveats.
streamlit copilot-instructions.md
Copilot instructions for streamlit/streamlit, covering streamlit repo overview, tech stack, folder structure, shell & build policy and make commands.
skypilot AGENTS.md
AGENTS.md instructions for skypilot-org/skypilot, covering claude.md - skypilot development guide, project overview, repository structure, development setup and environment setup.
PINA AGENTS.md
AGENTS.md instructions for PINA-org/PINA, covering pina — physics-informed neural architectures, quick reference, workflow: problem → model → solver → trainer, problem types and condition types.
streamlit python_tests.instructions.md
Instructions for streamlit/streamlit, covering python unit test guide, key principles, running tests and typing tests.
streamlit agents.instructions.md
Instructions for streamlit/streamlit, covering agent definitions, file format, best practices, cross-platform compatibility and slash command support.