Input representation

From VectorSpaceLab/AREX-Skill · View interactive version

Input representation is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Build, validate, batch, serialize, and export AlphaFold 3 molecule and atom inputs without running model inference.

How to use this skill

Skill file

Input representation

Use this sub-skill when a task starts from protein, RNA, DNA, ligand, or metal

entities and needs a valid AlphaFold 3 input graph, atom-level features,

collation, serialization, or structure-output conversion.

Route first

  1. Read the API contract for entity fields and the

conversion chain.

  1. Read the feature and shape contract

before supplying tensors, custom embeddings, masks, or windows.

  1. Use the workflows for direct construction,

heterogeneous batches, round trips, and coordinate export.

  1. Use troubleshooting when validation fails.
  2. Run scripts/inspect_input.py --help before using the bundled, no-inference

validator. It accepts a small JSON specification, emits deterministic

summaries, and can validate a temporary serialization round trip.

The normal conversion is:

Alphafold3Input → molecule-length input → AtomInput →

BatchedAtomInput → model-facing keyword arguments.

Prefer Alphafold3Input for sequence/SMILES/ion descriptions and AtomInput

when atom-level features already exist. Keep MSA, template, PDB/mmCIF loading,

cropping, and dataset preparation in data-pipeline.

Keep forward, loss, sampling, checkpoint, and confidence behavior in

model-inference. Keep trainer and dataloader

configuration in training-configuration.

Operating guardrails

and padding before a model call.

its reverse complement; do not add the complement a second time.

explicit AtomInput data for precomputed or unusual atom-level cases.

a model. It is a preflight tool, not a structure-quality check.

[batch, atoms, 3], while standalone alphafold3_input_to_biomolecule

expects token-major [tokens, 47, 3] coordinates. Do not interchange them.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.