Skip to content
Back to skills

X Transformers

ASecurity

"Route x-transformers transformer construction, sequence wrappers,

  • 247 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 9, 2026
developmentpythondebuggingapibackend

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill x-transformers --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of X Transformers?

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

Security grade badge for X Transformers
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-x-transformers/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-x-transformers)

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: "x-transformers"
description: "Route x-transformers transformer construction, sequence wrappers,
  and recipe workflows through self-contained sub-skills."
metadata:
  disco-role: operating
disable-model-invocation: true
license: MIT
---

# x-transformers

Use this skill when the user asks about the x-transformers package, its transformer constructors, wrapper APIs, vision wrapper, or the repository's training recipes.

## Quick start

- For a safe installation check, read [installation](references/installation.md).
- For a fast runtime smoke, run `scripts/probe_backend.py` and `scripts/smoke_models.py`.
- For exact constructor and wrapper signatures, read [API reference](references/api-reference.md).
- For feature-selection and compatibility questions, read [compatibility](references/compatibility.md) and the relevant sub-skill reference.
- For task-specific failures, read [troubleshooting](references/troubleshooting.md).

## Choose a route

### `core-models`
Use this when the request is about building or tuning the base transformer stack: `TransformerWrapper`, `XTransformer`, `ViTransformerWrapper`, `AttentionLayers`, `Attention`, `Encoder`, `Decoder`, `PrefixDecoder`, `CrossAttender`, `AttentionPool`, and `TransformerBlock`.

Typical triggers:
- choosing attention flags or positional families
- debugging shape or mask errors in a constructor
- building text, seq2seq, or vision-wrapper models from scratch

### `sequence-workflows`
Use this when the request is about wrapper and specialized-model workflows: autoregressive generation, continuous sequences, xVal mixed inputs, XL recurrence, belief-state or next-latent objectives, DPO, FreeTransformer, GPTVAE, NeoMLP, entropy tokenization, or XMLatentDecoder flows.

Typical triggers:
- generation and sampling APIs
- continuous or mixed discrete/continuous sequences
- latent or preference objectives
- memory or test-time-training wrappers

### `training-recipes`
Use this when the request is about the repository's `train_*.py` examples, enwik8 data assumptions, or a safe smoke for recipe-style training.

Typical triggers:
- understanding which training script to run
- checking required extras and data files
- adapting a recipe to a smaller or safer smoke

## Route selection rules

1. If the task names a base constructor, attention flag, positional family, pooling mode, or vision wrapper, start with `core-models`.
2. If the task names a wrapper, generation method, continuous/xVal/memory/latent objective, or preference objective, start with `sequence-workflows`.
3. If the task names a `train_*.py` script or enwik8 recipe, start with `training-recipes`.
4. If the task is only about install/import/runtime identity, begin with `references/installation.md` and `scripts/probe_backend.py`.

## Notes for future agents

- The package has no dedicated end-user CLI entry point; most workflows are Python APIs or example scripts.
- Keep runtime instructions self-contained inside this skill tree.
- If you need a quick end-to-end smoke, prefer `scripts/smoke_models.py` or the copy-task smoke under `sub-skills/training-recipes/scripts/` rather than the long native recipes.

Files in this skill

  • SKILL.md3.1 KB
  • references/api-reference.md5.8 KB
  • references/compatibility.md1.7 KB
  • references/installation.md1.5 KB
  • references/repo-provenance.md735 B
  • references/repo-routing-metadata.json525 B
  • references/troubleshooting.md2.7 KB
  • references/workflows.md2.2 KB
  • scripts/probe_backend.py2.1 KB
  • scripts/smoke_models.py6.3 KB
  • sub-skills/core-models/SKILL.md2.6 KB
  • sub-skills/core-models/references/feature-compatibility.md9.5 KB
  • sub-skills/core-models/references/troubleshooting.md6.2 KB
  • sub-skills/sequence-workflows/SKILL.md2.8 KB
  • sub-skills/sequence-workflows/references/troubleshooting.md13.9 KB
  • sub-skills/sequence-workflows/references/wrapper-contracts.md24.3 KB
  • sub-skills/training-recipes/SKILL.md1.6 KB
  • sub-skills/training-recipes/references/recipe-catalog.md10.1 KB
  • sub-skills/training-recipes/references/troubleshooting.md5.2 KB
  • sub-skills/training-recipes/scripts/copy_task_smoke.py5.8 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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.