Quark Install
amd/Quark
Install or verify the AMD Quark package and its dependencies.
Read or write ONNX text format ("onnxtxt"). An agent skill from onnx/onnx.
$ npx skills add onnx/onnx --skill onnxtxt -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install onnx/onnx onnxtxt --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/onnx/onnx.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/onnxtxt .claude/skills/onnxtxt && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "onnxtxt" agent skill from https://github.com/onnx/onnx/tree/main/.agents/skills/onnxtxt into .claude/skills/onnxtxt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "onnxtxt", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/onnx/onnx/tree/main/.agents/skills/onnxtxtType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add onnx/onnx --skill onnxtxt -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install onnx/onnx onnxtxt --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/onnx/onnx.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/onnxtxt .agents/skills/onnxtxt && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "onnxtxt" agent skill from https://github.com/onnx/onnx/tree/main/.agents/skills/onnxtxt into .agents/skills/onnxtxt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "onnxtxt", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add onnx/onnx --skill onnxtxt -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install onnx/onnx onnxtxt --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/onnx/onnx.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/onnxtxt .cursor/skills/onnxtxt && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "onnxtxt" agent skill from https://github.com/onnx/onnx/tree/main/.agents/skills/onnxtxt into .cursor/skills/onnxtxt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "onnxtxt", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/onnx/onnx.git --path .agents/skills/onnxtxt--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add onnx/onnx --skill onnxtxt -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install onnx/onnx onnxtxt --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/onnx/onnx.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/onnxtxt .gemini/skills/onnxtxt && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "onnxtxt" agent skill from https://github.com/onnx/onnx/tree/main/.agents/skills/onnxtxt into .gemini/skills/onnxtxt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "onnxtxt", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install onnx/onnx onnxtxtInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add onnx/onnx --skill onnxtxt -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/onnx/onnx.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/onnxtxt .github/skills/onnxtxt && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "onnxtxt" agent skill from https://github.com/onnx/onnx/tree/main/.agents/skills/onnxtxt into .github/skills/onnxtxt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "onnxtxt", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add onnx/onnx --skill onnxtxt -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install onnx/onnx onnxtxt --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/onnx/onnx.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/onnxtxt .opencode/skills/onnxtxt && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "onnxtxt" agent skill from https://github.com/onnx/onnx/tree/main/.agents/skills/onnxtxt into .opencode/skills/onnxtxt/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "onnxtxt", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
onnxtxtRead or write ONNX text format ("onnxtxt"). An agent skill from onnx/onnx.
Onnxtxt is an agent skill from onnx/onnx. Read or write ONNX text format ("onnxtxt"). Use when authoring .FunctionBody(R"ONNX(...)") blocks, writing tests with onnx.parser.parsemodel / parsegraph, using the C++ OnnxParser, debugging parser errors, or interpreting Constant <value = ... and body-subgraph syntax.
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in AI & LLM Engineering, covering Deep learning. It works with ONNX, C++ and Python. The repository describes itself as: Open standard for machine learning interoperability. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit ab429ea. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python and cpp).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Onnxtxt loads about 1.3k tokens when it runs. Until then it costs about 73 tokens; SKILL.md has 395 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from onnx/onnx at commit ab429ea, republished under its Apache-2.0 licence (© onnx). 395 words, ~1,319 tokens.
.claude/skills/onnxtxt/SKILL.md (or your agent's skills folder).ONNX has a compact text format implemented by onnx/parser.py (Python) and onnx/defs/parser.{h,cc} (C++). The formal grammar lives in docs/Syntax.md; this skill captures the practical conventions, idioms, and gotchas that matter when authoring or reviewing code that uses it.
| Surface | API |
|---|---|
| C++ function bodies | .FunctionBody(R"ONNX( ... )ONNX") and FunctionBuilder::Add(...) |
| Python test fixtures | onnx.parser.parse_model("..."), onnx.parser.parse_graph("...") |
| C++ tests | OnnxParser in onnx/defs/parser.h — parse a model, then call shape_inference::InferShapes |
<var> = <OpName> <attr1 = value, attr2 = value> (<input1>, <input2>).Input(...) / .Output(...).Const = Constant <value = float {0.0}>() or Alpha = Constant <value_float: float = @alpha>().CastLike (not Cast) when the target dtype depends on another input.@attr_name (only inside function bodies, and only for attributes declared on the schema).Simple scalar/tensor attributes — keep the conventional Op<attrs>(inputs) form; reads well on one line:
Y = Transpose<perm = [2, 0, 1]>(X)Subgraph attributes (Scan, Loop, If, ScanVarLen, …) — prefer Op(inputs)<body = ...>. The body spans multiple lines, so putting inputs first keeps the call site readable:
so, xo = Scan (s, x) <
num_scan_inputs = 1,
body = scan_body (float[1] s_in, float[1] x_in) => (float[1] s_out, float[1] x_out) {
s_out = Add(s_in, x_in)
x_out = Identity(x_in)
}
>| Test file | Recommendation |
|---|---|
tests/python/shape_inference_test.py, tests/python/reference_evaluator_test.py | Use onnx.parser.parse_model(...) for one-off fixtures. |
onnx/backend/test/case/node/<op>.py | Keep the outer helper.make_node + expect(...) (it drives data generation). For body-subgraph ops, build the body with onnx.parser.parse_graph. |
tests/cpp/shape_inference_test.cc | Use OnnxParser (onnx/defs/parser.h); pair with shape_inference::InferShapes. |
tests/python/version_converter/automatic_upgrade_test.py and similar harnesses | Keep the established _test_op_upgrade / _test_op_downgrade style — do not rewrite. |
Empirical: PR #7962 (ScanVarLen) cut ~58–70% of test LOC by switching to parser-based fixtures.
import onnx
import onnx.parser
import onnx.shape_inference
model = onnx.parser.parse_model("""
<ir_version: 8, opset_import: ["" : 18]>
g (float[2, 3, 4] X) => (float[4, 2, 3] Y) {
Y = Transpose<perm = [2, 0, 1]>(X)
}
""")
inferred = onnx.shape_inference.infer_shapes(model, strict_mode=True)body = onnx.parser.parse_graph("""
b (float[1] s, float[1] xi) => (float[1] so, float[1] xo) {
so = Identity(s)
xo = Identity(xi)
}
""")
node = onnx.helper.make_node("Scan", ["s", "x"], ["so", "xo"], body=body, num_scan_inputs=1)#include "onnx/defs/parser.h"
#include "onnx/shape_inference/implementation.h"
ModelProto model;
OnnxParser parser(R"ONNX(
<ir_version: 8, opset_import: ["" : 18]>
g (float[2, 3, 4] X) => (Y) {
Y = Transpose<perm = [2, 0, 1]>(X)
}
)ONNX");
auto status = parser.Parse(model);
ASSERT_TRUE(status.IsOK()) << status.ErrorMessage();
shape_inference::InferShapes(model);unk__* materialization in C++ shape-inference tests. Under InferShapes, unset output dims are materialized by MaterializeSymbolicShape into dim_param names like unk__0, unk__1, … Assertions on free dims must accept either an unset dim or an unk__* placeholder — write (or use) a helper that treats both forms as equivalent.@attr_name scope. Only valid inside a function body, and only for attributes declared on the enclosing schema's .Attr(...) calls.CastLike vs Cast. Use CastLike when the desired target dtype is determined by another input; Cast requires a static to attribute.| Resource | Path |
|---|---|
| Formal grammar | docs/Syntax.md |
| C++ parser | onnx/defs/parser.h, onnx/defs/parser.cc |
| Python parser | onnx/parser.py |
| C++ parser tests | tests/cpp/parser_test.cc |
| Python parser tests | tests/python/parser_test.py |
| Empirical LOC win | PR #7962 (ScanVarLen test rewrite) |
© onnx, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/onnxtxt of onnx/onnx.
Open the folder on GitHubat commit ab429ea
Onnxtxt next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Onnxtxt this skillonnx/onnx | 22k | — | ~1.3k | Automated safety check: Pass | Apache-2.0 | |
| Quark Installamd/Quark | 181 | — | ~1.8k | Automated safety check: Notes | MIT | |
| Technology Selectiondotnet/skills | 5.6k | 2 repos | ~2.1k | Automated safety check: Pass | MIT | |
| Segment Anything Model GuideOrchestra-Research/AI-Research-SKILLs | 13k | 9 repos | ~3.3k | Automated safety check: Pass | MIT | |
| Paddle BuildPaddlePaddle/Paddle | 24k | — | ~1k | Automated safety check: Pass | Apache-2.0 | |
| Paddle Eager GraphPaddlePaddle/Paddle | 24k | — | ~562 | Automated safety check: Pass | Apache-2.0 |
amd/Quark
Install or verify the AMD Quark package and its dependencies.
dotnet/skills
Guides technology selection and implementation of AI and ML features in .NET 8+ applications using ML.NET, Microsoft.Extensions.AI (MEAI), Microsoft Agent Framework (MAF), GitHub Copilot SDK, ONNX…
Orchestra-Research/AI-Research-SKILLs
Guide to using Meta's Segment Anything Model for zero-shot image segmentation with point, box or mask prompts, or automatic mask generation.
PaddlePaddle/Paddle
A skill your agent uses when needing to compile, rebuild, or install Paddle from source after code changes.
PaddlePaddle/Paddle
A skill your agent uses when navigating Paddle eager-mode (dynamic graph) source code, tracing forward/backward execution, debugging autograd issues, understanding PyLayer, or investigating…
pytorch/executorch
Builds ExecuTorch from source: the Python package, C++ runtime, model runners, Android and iOS cross-compilation and backend-specific builds, with environment checks.
onnx/onnx
Add a new ONNX operator or update an existing operator to a new opset version.
onnx/onnx
Add a function body definition to an ONNX operator, defining how it decomposes into simpler ops.
onnx/onnx
Add or update type and shape inference for an ONNX operator.
Read or write ONNX text format ("onnxtxt"). An agent skill from onnx/onnx. Onnxtxt is an agent skill from onnx/onnx. Read or write ONNX text format ("onnxtxt").
Onnxtxt fits situations like: authoring .FunctionBody(RONNX(...)) blocks; writing tests with onnx.parser.parsemodel / parsegraph; using the C++ OnnxParser; debugging parser errors.
Run `npx skills add onnx/onnx --skill onnxtxt -a claude-code`. Or copy the skill folder (.agents/skills/onnxtxt in onnx/onnx) into .claude/skills/onnxtxt in your project. Claude Code loads it when a task matches its description.
Run `npx skills add onnx/onnx --skill onnxtxt -a codex`. Or copy the skill folder (.agents/skills/onnxtxt in onnx/onnx) into .agents/skills/onnxtxt in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add onnx/onnx --skill onnxtxt -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/onnxtxt, .gemini/skills/onnxtxt, .github/skills/onnxtxt and .opencode/skills/onnxtxt in your project.
SKILL.md names no scripts, command-line tools or credentials: Onnxtxt is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Onnxtxt is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Onnxtxt: Quark Install (amd/Quark, 181 stars), Technology Selection (dotnet/skills, 5.6k stars), Segment Anything Model Guide (Orchestra-Research/AI-Research-SKILLs, 13k stars) and Paddle Build (PaddlePaddle/Paddle, 24k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
onnx (a GitHub organization) maintains it in onnx/onnx, which has 21,564 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 7, 2026.
Source: onnx/onnx on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.