Index of every page on this site: llms.txt
All skills
openvinotoolkit avatar

/add-core-op

@993f33e
Run it yourself

Adds a core operator to the OpenVINO toolkit. Use when asked to implement a new operation into OpenVINO.

  • 6 files
  • 30.3 KB
  • Updated 6 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/openvinotoolkit/openvino/add-core-op

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

step1-analysis.md

≈570 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Skill: Core Op Analysis

Source: skills/add-core-op/SKILL.md (Step 1) Agent: core_opspec_agent

When to Use

  • A model conversion fails with No conversion rule for <OpName>.
  • An operation is missing from OpenVINO's op set.
  • Decomposition of the missing op is not possible or not performant enough.
  • No existing operator can implement the required functionality.

Procedure

  1. Identify the missing operation from the error context / conversion log.

    • Extract the exact op name (e.g. ONNX name, PyTorch ATen name, TF op name).
    • Determine the source framework (ONNX, PyTorch, TensorFlow).
  2. Research the math formula / semantics:

    • Official specification (ONNX spec, PyTorch docs, TF docs).
    • Inputs, outputs, attributes, data types, broadcasting rules.
  3. Check alignment with OpenVINO frontends:

    • Does PyTorch FE / ONNX FE / TF FE already have a mapping that decomposes this op into existing OpenVINO ops?
    • If yes → decomposition may be sufficient (no new core op needed).
    • If no or decomposition is too slow → new core op is needed.
  4. Check existing OpenVINO opsets:

    • Is there a similar op in a previous opset that can be extended?
    • If adding a new version of an existing op, note the version delta.
  5. Collect references:

    • Link to the op specification in the source framework.
    • Link to any related OpenVINO issues or PRs.
    • Link to the model that requires this op (model_id).
  6. Determine the target opset:

    • New ops are registered only in the latest opset (e.g. opset16).
    • Use the latest opset version number for the namespace ov::op::vX.

Output

Return a structured analysis:

op_name:        <OpName>
source_framework: <ONNX|PyTorch|TF>
math_formula:   <brief description>
inputs:         <list of inputs with types>
outputs:        <list of outputs with types>
attributes:     <list of attributes>
target_opset:   <opsetX>
decomposable:   <yes|no>
reason:         <why new core op is needed>
references:     <list of URLs>

If decomposable=yes - report back to OV Orchestrator; no further core op work needed (defer to frontend agent for decomposition).

If decomposable=no - proceed to core_op_implementation skill.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 993f33e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 14 hours ago.

Activeupdated 6 months ago

README badge

README badge for openvinotoolkit/openvino/add-core-op