Paddle Build
PaddlePaddle/Paddle
A skill your agent uses when needing to compile, rebuild, or install Paddle from source after code changes.
Elementwise TTIR→D2M→TTMetal path: tablegen, TTIRToD2M.cpp, D2MToTTKernel.cpp, and — only when the kernel API callee is new — TTKernelIncludesMap.h (per-op api/compute/eltwiseunary/.h mapping for…
$ npx skills add tenstorrent/tt-mlir --skill add-ttir-d2m-lowering -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install tenstorrent/tt-mlir add-ttir-d2m-lowering --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/tenstorrent/tt-mlir.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/add-ttir-d2m-lowering .claude/skills/add-ttir-d2m-lowering && 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 "add-ttir-d2m-lowering" agent skill from https://github.com/tenstorrent/tt-mlir/tree/main/.claude/skills/add-ttir-d2m-lowering into .claude/skills/add-ttir-d2m-lowering/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-ttir-d2m-lowering", 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/tenstorrent/tt-mlir/tree/main/.claude/skills/add-ttir-d2m-loweringType 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 tenstorrent/tt-mlir --skill add-ttir-d2m-lowering -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install tenstorrent/tt-mlir add-ttir-d2m-lowering --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tenstorrent/tt-mlir.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/add-ttir-d2m-lowering .agents/skills/add-ttir-d2m-lowering && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "add-ttir-d2m-lowering" agent skill from https://github.com/tenstorrent/tt-mlir/tree/main/.claude/skills/add-ttir-d2m-lowering into .agents/skills/add-ttir-d2m-lowering/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-ttir-d2m-lowering", 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 tenstorrent/tt-mlir --skill add-ttir-d2m-lowering -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install tenstorrent/tt-mlir add-ttir-d2m-lowering --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tenstorrent/tt-mlir.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/add-ttir-d2m-lowering .cursor/skills/add-ttir-d2m-lowering && 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 "add-ttir-d2m-lowering" agent skill from https://github.com/tenstorrent/tt-mlir/tree/main/.claude/skills/add-ttir-d2m-lowering into .cursor/skills/add-ttir-d2m-lowering/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-ttir-d2m-lowering", 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/tenstorrent/tt-mlir.git --path .claude/skills/add-ttir-d2m-lowering--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 tenstorrent/tt-mlir --skill add-ttir-d2m-lowering -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install tenstorrent/tt-mlir add-ttir-d2m-lowering --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tenstorrent/tt-mlir.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/add-ttir-d2m-lowering .gemini/skills/add-ttir-d2m-lowering && 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 "add-ttir-d2m-lowering" agent skill from https://github.com/tenstorrent/tt-mlir/tree/main/.claude/skills/add-ttir-d2m-lowering into .gemini/skills/add-ttir-d2m-lowering/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-ttir-d2m-lowering", 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 tenstorrent/tt-mlir add-ttir-d2m-loweringInstalls 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 tenstorrent/tt-mlir --skill add-ttir-d2m-lowering -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/tenstorrent/tt-mlir.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/add-ttir-d2m-lowering .github/skills/add-ttir-d2m-lowering && 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 "add-ttir-d2m-lowering" agent skill from https://github.com/tenstorrent/tt-mlir/tree/main/.claude/skills/add-ttir-d2m-lowering into .github/skills/add-ttir-d2m-lowering/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-ttir-d2m-lowering", 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 tenstorrent/tt-mlir --skill add-ttir-d2m-lowering -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install tenstorrent/tt-mlir add-ttir-d2m-lowering --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tenstorrent/tt-mlir.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/add-ttir-d2m-lowering .opencode/skills/add-ttir-d2m-lowering && 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 "add-ttir-d2m-lowering" agent skill from https://github.com/tenstorrent/tt-mlir/tree/main/.claude/skills/add-ttir-d2m-lowering into .opencode/skills/add-ttir-d2m-lowering/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-ttir-d2m-lowering", 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.
add-ttir-d2m-loweringElementwise TTIR→D2M→TTMetal path: tablegen, TTIRToD2M.cpp, D2MToTTKernel.cpp, and — only when the kernel API callee is new — TTKernelIncludesMap.h (per-op api/compute/eltwiseunary/.h mapping for…
Add Ttir D2m Lowering is an agent skill from tenstorrent/tt-mlir. Elementwise TTIR→D2M→TTMetal path: tablegen, TTIRToD2M.cpp, D2MToTTKernel.cpp, and — only when the kernel API callee is new — TTKernelIncludesMap.h (per-op api/compute/eltwiseunary/.h mapping for JIT). Does not edit D2MGenericRegionOps.cpp or TTKernelToCpp.cpp. Not for reductions, matmul, views, or CCL.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It works with C++. The repository describes itself as: Tenstorrent MLIR compiler. The licence is Apache-2.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 78b7044. 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.
Shell commands in SKILL.md call:
cmakeFrom 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.
Add Ttir D2m Lowering loads about 1.6k tokens when it runs. Until then it costs about 82 tokens; SKILL.md has 666 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 tenstorrent/tt-mlir at commit 78b7044, republished under its Apache-2.0 licence (© tenstorrent). 666 words, ~1,636 tokens.
.claude/skills/add-ttir-d2m-lowering/SKILL.md (or your agent's skills folder).Allowed edits (these layers):
Tablegen — e.g. include/ttmlir/Dialect/D2M/IR/D2MGenericRegionOps.td (and any other .td you
already own for the op). Pick the same base class as the nearest op (unary:
D2M_GenericRegionComputeUnaryDstOp; typical binary: …FPUOrSFPUBinary; ternary: …TernaryDstOp).
Prefer ops that need no hand-written C++ in D2MGenericRegionOps.cpp; that file is out of
scope for this workflow.
lib/Conversion/TTIRToD2M/TTIRToD2M.cpp — in populateTTIRToD2MPatterns, add one line to the
big patterns.add< … > list with the other elementwise rewriters, e.g.
D2MNamedElementwiseRewriter<ttir::YourOp, d2m::TileYourOp>, (keep ordering consistent with
neighbors). Use notifyMatchFailure inside patterns, not emitOpError.
lib/Conversion/D2MToTTKernel/D2MToTTKernel.cpp — extend ComputeOpMap / IntComputeOpMap and
the patterns.add<…D2MSFPUOpsRewriter…> list to match the nearest unary/binary tile op.
If the TTKernel op takes i32-encoded scalar params (float attrs bit-reinterpreted, or int attrs, or a runtime scalar Value), reuse the shared helpers defined at the top of the anonymous namespace rather than re-inlining a lambda:
floatAttrToI32Bits(rewriter, loc, attr) — FloatAttr → i32 bits (e.g. selu scale/alpha,
clamp_scalar float min/max).intAttrToI32(rewriter, loc, attr) — IntegerAttr → sign-extended i32 (e.g. clamp_scalar int
min/max).scalarToI32Bits(rewriter, loc, value) — runtime scalar Value → i32 (float widened+bitcast,
int sign-extended/truncated). Used by binop_with_scalar-style scalar rhs lowerings.Ops with scalar attributes typically need a dedicated else if constexpr (std::is_same_v<SFPUOp, ttkernel::FooTileOp>) branch in the D2MSFPUOpsRewriter body that pulls
attrs off op and calls the shared helper — see the SeluTileOp / ClampScalarTileOp branches
as templates.
include/ttmlir/Target/TTKernel/TTKernelIncludesMap.h (only if the kernel API callee is new) —
the ScopedModuleHelper in lib/Target/TTKernel/TTKernelToCpp.cpp no longer hardcodes
api/compute/eltwise_unary/*.h. It walks the region and looks up each emitc.call_opaque
callee in getCalleeToHeadersMap(). If your op lowers to a tt-metal SFPU helper
(foo_tile / foo_tile_init) that isn't already in that map, add entries like:
{"foo_tile", {"api/compute/eltwise_unary/foo.h", ""}},
{"foo_tile_init", {"api/compute/eltwise_unary/foo.h", ""}},The callee string must match the TTKernel_SFPUOp<"foo_tile", …> / TTKernel_InitOp<"foo_tile_init">
name in TTKernelOps.td exactly. Do not edit TTKernelToCpp.cpp to add includes directly —
the old unconditional emitc::IncludeOp block was removed. Without a map entry, wormhole JIT can
fail with "foo_tile was not declared in this scope" in chlkc_unpack.cpp.
Out of scope here: D2MGenericRegionOps.cpp, TTKernelToCpp.cpp. For TTNN / flatbuffer / full
builder parity across all targets, use .claude/skills/add-op/SKILL.md.
Tests (minimal): extend existing TTIR→D2M lit at
test/ttmlir/Conversion/TTIRToD2M/named_to_generic.mlir. Chain the new op into the SSA dataflow of
the existing named_elementwise function (bump the %N numbering and add a
// CHECK: d2m.tile_<op> + the ttir.<op> call) — do not create a separate
named_elementwise_* func for the new op. No lit under test/ttmlir/Conversion/D2MToTTKernel/
is required.
Golden (TTMetal-only, no TTNN): add ttir_<op>.mlir under mlir_snippets/ttir/ — one
snippet per new op so test_parse_split_ops.py exercises parse/split for each. Add the golden
in tools/golden/mapping.py and the matching @tag / @parse / @split in
tools/builder/ttir/ttir_builder.py (same pattern as square / exp: pass output_type_mlir
into the golden, no _op_proxy).
For ops that carry MLIR attributes (e.g. SELU's scale / alpha, clamp's min / max), the
golden function should accept the MLIR attr types (FloatAttr, IntegerAttr, …) as
positional arguments and unpack them internally with unpack_mlir_attr — do not give the
golden Python-level defaults that duplicate the tablegen DefaultValuedAttr. The builder
@tag method is allowed to keep Python-float defaults as a caller convenience; just convert them
to FloatAttr.get_f32(...) and pass the FloatAttr directly into the golden (both from @tag
and from @parse, where you already have the attr off old_op). Mirror the
ttnn_clamp_scalar_golden / ttnn_leaky_relu_golden shape for this.
In test/python/golden/ttir_ops/eltwise/test_ttir_unary.py (or sibling), mark the op with
SkipIf("ttnn", "emitc", "emitpy", "sim") so it runs only on ttmetal on silicon until TTNN
lowering exists. SkipIf is already imported from test_utils; prefer it over the more verbose
Marks(pytest.mark.skip_config([...]), …) form.
Run cmake --build build after changes.
D2M_Tile* in D2MGenericRegionOps.td (tablegen only; no extra .cpp for D2M tile op)D2MNamedElementwiseRewriter<ttir::…, d2m::Tile…> in the elementwise section of populateTTIRToD2MPatterns’s patterns.add<{…}>D2MToTTKernel.cpp (reuse floatAttrToI32Bits / intAttrToI32 / scalarToI32Bits for any i32-encoded scalar params; don't inline new lambdas)TTKernelIncludesMap.h: entries for any new *_tile / *_tile_init callees (skip if the callee is already mapped). Do not touch TTKernelToCpp.cpp.named_elementwise func in named_to_generic.mlir (no new func). No D2MToTTKernel lit required.mlir_snippets/ttir/ttir_<op>.mlir per new op + mapping.py golden (take FloatAttr/IntegerAttr positionally and unpack_mlir_attr inside for ops with attrs — no Python defaults) + ttir_builder.py @tag/@parse/@split + SkipIf("ttnn", "emitc", "emitpy", "sim") for ttmetal-only-on-silicon (no TTNN)© tenstorrent, 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 .claude/skills/add-ttir-d2m-lowering of tenstorrent/tt-mlir.
Open the folder on GitHubat commit 78b7044
Add Ttir D2m Lowering 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 |
|---|---|---|---|---|---|---|
| Add Ttir D2m Lowering this skilltenstorrent/tt-mlir | 314 | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Paddle BuildPaddlePaddle/Paddle | 24k | — | ~1k | Automated safety check: Pass | Apache-2.0 | |
| Fory Releaseapache/fory | 4.6k | — | ~2.9k | Automated safety check: Pass | Apache-2.0 | |
| ONNX Runtime Shape Inference Safety Auditmicrosoft/onnxruntime | 22k | — | ~3.3k | Automated safety check: Pass | MIT | |
| Code Audit3stoneBrother/code-audit | 892 | 1 repos | ~2.7k | Automated safety check: Pass | None | |
| Leetcuda Tex To Readthedocsxlite-dev/LeetCUDA | 12k | — | ~902 | Automated safety check: Pass | GPL-3.0 |
PaddlePaddle/Paddle
A skill your agent uses when needing to compile, rebuild, or install Paddle from source after code changes.
apache/fory
Prepare an Apache Fory release candidate from a clean release branch, including the version bump, RC tag, JVM staging, ASF source artifacts, SVN upload, and vote email.
microsoft/onnxruntime
Finds and fixes out-of-range output writes in ONNX Runtime operator shape-inference functions where a getNumOutputs guard admits too few outputs.
3stoneBrother/code-audit
Professional code security audit skill covering 55+ vulnerability types.
xlite-dev/LeetCUDA
LeetCUDA 书稿 LaTeX 到 Read the Docs 站点的转换管线维护 skill(站点目录 LeetCUDA/docs/readthedocs/)。当任务涉及:改完书稿后让站点同步、改转换器 convert/、本地构建与预览 build.sh、内容核对 convert.verify、浏览器验收…
x-tools-author/x-tools
Read-only review of Qt6 C++ code that combines a deterministic lint script with six parallel analysis agents and reports only high-confidence issues.
tenstorrent/tt-mlir
How to add a new operation (op) to the tt-mlir compiler across all layers: TTIR/TTNN dialect definitions, StableHLO composite conversion, TTIR-to-TTNN conversion, EmitC/EmitPy conversions…
tenstorrent/tt-mlir
Add full builder API support (@tag, @parse, @split) for a TTIR op.
tenstorrent/tt-mlir
Compile and optionally execute every func.func in an ops.mlir-style snippet file (or every .mlir file in a directory) using runopsmlirsnippets.py.
tenstorrent/tt-mlir
Add a new composite op decomposition pattern to the TTMetal pipeline.
tenstorrent/tt-mlir
Uplift the TTSim version used by tt-mlir CI and refresh WH/BH simulator skips.
tenstorrent/tt-mlir
Validate a tt-mlir PR against tt-xla by creating a cherry-picked branch and triggering CI.
Works with
Elementwise TTIR→D2M→TTMetal path: tablegen, TTIRToD2M.cpp, D2MToTTKernel.cpp, and — only when the kernel API callee is new — TTKernelIncludesMap.h (per-op api/compute/eltwiseunary/.h mapping for…. Add Ttir D2m Lowering is an agent skill from tenstorrent/tt-mlir.h mapping for JIT).
Run `npx skills add tenstorrent/tt-mlir --skill add-ttir-d2m-lowering -a claude-code`. Or copy the skill folder (.claude/skills/add-ttir-d2m-lowering in tenstorrent/tt-mlir) into .claude/skills/add-ttir-d2m-lowering in your project. Claude Code loads it when a task matches its description.
Run `npx skills add tenstorrent/tt-mlir --skill add-ttir-d2m-lowering -a codex`. Or copy the skill folder (.claude/skills/add-ttir-d2m-lowering in tenstorrent/tt-mlir) into .agents/skills/add-ttir-d2m-lowering 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 tenstorrent/tt-mlir --skill add-ttir-d2m-lowering -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-ttir-d2m-lowering, .gemini/skills/add-ttir-d2m-lowering, .github/skills/add-ttir-d2m-lowering and .opencode/skills/add-ttir-d2m-lowering in your project.
Going by SKILL.md and its folder, Add Ttir D2m Lowering needs the command-line tools its instructions call (cmake). 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.
Add Ttir D2m Lowering 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.6k tokens (SKILL.md is roughly 6.5k 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 Add Ttir D2m Lowering: Paddle Build (PaddlePaddle/Paddle, 24k stars), Fory Release (apache/fory, 4.6k stars), ONNX Runtime Shape Inference Safety Audit (microsoft/onnxruntime, 22k stars) and Code Audit (3stoneBrother/code-audit, 892 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
tenstorrent (a GitHub organization) maintains it in tenstorrent/tt-mlir, which has 314 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 10, 2026.
Source: tenstorrent/tt-mlir on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.