Skip to content
Back to skills

Model Architecture

ASecurity

"Use and debug the TimeMixer Model API, PDM/FMM architecture,

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
toolspythonshellbashdebuggingapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill model-architecture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Model Architecture?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Model Architecture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-model-architecture-96789caa/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-model-architecture-96789caa)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: model-architecture
description: "Use and debug the TimeMixer Model API, PDM/FMM architecture,
  decomposition, downsampling, channel independence, normalization, and
  task-specific forward shapes."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# TimeMixer Model Architecture

Use this sub-skill when the task is about instantiating or debugging the TimeMixer model class, checking forward-output shapes, choosing decomposition/downsampling/channel settings, or explaining the Past-Decomposable-Mixing and Future-Multipredictor-Mixing internals.

## Route here for

- `Model.forward(x_enc, x_mark_enc, x_dec, x_mark_dec, mask=None)` behavior.
- Forecast, imputation, anomaly-detection, and classification tensor shapes.
- `moving_avg` versus `dft_decomp`, `avg`/`max`/`conv` downsampling, `channel_independence`, `use_norm`, and future temporal features.
- Small CPU smoke tests that instantiate TimeMixer and print deterministic JSON shape evidence.
- Classification shape errors involving multi-feature tensors and the default channel-independent embedding.

## Do not use this sub-skill for

- Benchmark command recipes, training loops, dataset downloads, or shell-script reproduction; route those to forecasting experiment guidance.
- Raw dataset layout, CSV validation, PEMS/Solar/M4/UEA file placement, or time-feature preprocessing beyond tensor-shape context.
- Full imputation, anomaly-detection, or classification CLI workflows beyond model-forward shape diagnostics.

## Operating flow

1. Read `references/api-reference.md` for the model constructor inputs, forward signature, and task output contracts.
2. Read `references/architecture-notes.md` before changing decomposition, downsampling, normalization, future temporal features, or channel independence.
3. Use `references/troubleshooting.md` to map common RuntimeErrors to concrete config or tensor fixes.
4. Run the bundled smoke helper when you need a fast CPU-only shape check. Invoke the helper by its explicit skill path, while pointing `--repo-root` at the source checkout:

   ```bash
   cd /path/to/TimeMixer-checkout
   python /path/to/timemixer-skill/sub-skills/model-architecture/scripts/smoke_timemixer_forward.py --repo-root /path/to/TimeMixer-checkout --task long_term_forecast
   ```

The smoke helper is diagnostic only. It does not train, download data, run benchmark scripts, or read generated test artifacts.

Files in this skill

  • SKILL.md2.4 KB
  • references/api-reference.md7.8 KB
  • references/architecture-notes.md6.2 KB
  • references/troubleshooting.md5.2 KB
  • scripts/smoke_timemixer_forward.py12.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…