Official agent skill

E2E To Bazel

by google in google/heir

Converts end-to-end (e2e) test targets or paths to bazel run commands for heir-opt.

OfficialApache-2.0Auto-check passedTesting & QA

Install E2E To Bazel

skills CLI
$ npx skills add google/heir --skill e2e-to-bazel -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install google/heir e2e-to-bazel --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/google/heir.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/e2e_to_bazel .claude/skills/e2e-to-bazel && rm -rf skills-src

Use ~/.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/

Facts

Skill name
e2e-to-bazel
GitHub stars
929
Token cost
~394 tokens
SKILL.md length
127 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
Apache-2.0

At a glance

Converts end-to-end (e2e) test targets or paths to bazel run commands for heir-opt.

  • Tasks that involve End-to-end testing
  • SKILL.md covers Overview, Usage and Gotchas
  • Calls bazel

What it does

E2E To Bazel is an agent skill from google/heir, published by the product's own GitHub organization. Converts end-to-end (e2e) test targets or paths to bazel run commands for heir-opt. Use when you need to convert an e2e test target (where flags are defined in the BUILD file) to a shell command whose flags can be modified for further analysis and debugging.

Its SKILL.md is about 390 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 Testing & QA, covering End-to-end testing. The repository describes itself as: The compiler for homomorphic encryption. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve End-to-end testing

Example prompts

  • “Use the e2e-to-bazel skill to convert end-to-end (e2e) test targets or paths to bazel run commands for heir-opt”
  • “/e2e-to-bazel”

What it can do on your machine

Read from SKILL.md and the folder at commit 4721d8d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • bazel

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

E2E To Bazel loads about 394 tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 127 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~69
When it runs · the whole SKILL.md, loaded when a task matches
~394

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from google/heir at commit 4721d8d, republished under its Apache-2.0 licence (© google). 127 words, ~394 tokens.

Download SKILL.mdSave it as .claude/skills/e2e-to-bazel/SKILL.md (or your agent's skills folder).
name
e2e-to-bazel
description
Converts end-to-end (e2e) test targets or paths to `bazel run` commands for `heir-opt`. Use when you need to convert an e2e test target (where flags are defined in the BUILD file) to a shell command whose flags can be modified for further analysis and debugging.

E2E To Bazel

Overview

This skill guides the agent in using the e2e_to_bazel tool to convert e2e test targets or paths to executable commands.

Usage

Converting a Test Target or Path

To convert an e2e test target, directory, or source file to a bazel run command, use the following command recipes:

bash
bazel run //third_party/heir/scripts:e2e_to_bazel -- {target_or_path}

Replace {target_or_path} with the test target (e.g., //tests/Examples/lattigo/ckks/mnist:mnist_test), directory, or source file path.

Gotchas

  • Blaze Query Dependency: The tool relies on bazel query to extract attributes. This requires a working blaze environment and may be slow for the first run.
  • Workspace State: It requires that the workspace is in a state where bazel query can evaluate the targets.
  • Source file mapping: If a source file is provided, it searches for heir_opt targets that depend on it.
markdown
Copy this checklist and track progress:

- [ ] Step 1: Identify the e2e test target, directory, or file to convert.
- [ ] Step 2: Run the `e2e_to_bazel` tool on it.
- [ ] Step 3: Inspect the generated command or run it.
- [ ] Step 4: Verify execution results.
<!-- mdformat global-off -->

© google, 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

Files

Just SKILL.md in .agents/skills/e2e_to_bazel of google/heir.

Open the folder on GitHubat commit 4721d8d

Compare with similar skills

E2E To Bazel 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.

E2E To Bazel compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
E2E To Bazel this skillgoogle/heir929—~394Automated safety check: PassApache-2.0
Web Application Testinganthropics/skills180k51 repos~966Automated safety check: PassApache-2.0
TDD WorkflowhellangleZ/burn-in-cceverywhere-ralph11211 repos~2.4kAutomated safety check: PassNone
Uloop Replay Inputkurotu/VRCQuestTools3733 repos~615Automated safety check: PassMIT
Ui4 Convert Testspayloadcms/payload45k—~3.5kAutomated safety check: PassMIT
E2Estackia/rtp2httpd2.2k—~517Automated safety check: PassGPL-2.0

Similar skills

  • Web Application Testing

    anthropics/skills

    Official

    Tests local web applications with Python Playwright scripts, checking frontend behavior, capturing screenshots and reading browser console logs.

    180k GitHub starsUsed in 51 repos~966 tokens
    Testing & QAAuto-check passed
  • TDD Workflow

    hellangleZ/burn-in-cceverywhere-ralph

    A skill your agent uses when writing new features, fixing bugs, or refactoring code.

    112 GitHub starsUsed in 11 repos~2.4k tokens
    Testing & QAAuto-check passed
  • Uloop Replay Input

    kurotu/VRCQuestTools

    Replay recorded PlayMode keyboard and mouse input. An agent skill from kurotu/VRCQuestTools.

    373 GitHub starsUsed in 3 repos~615 tokens
    Testing & QAAuto-check passed
  • Ui4 Convert Tests

    payloadcms/payload

    A skill your agent uses when UI changes are complete and e2e tests need updating.

    45k GitHub stars~3.5k tokensUpdated today
    Testing & QAAuto-check passed
  • E2E

    stackia/rtp2httpd

    Write, run, review, or debug rtp2httpd E2E tests and their harness in e2e/ and scripts/run-e2e.sh.

    2.2k GitHub stars~517 tokensUpdated 6 days ago
    Testing & QAAuto-check passed
  • Moav E2E

    MotherofallVPNs/MoaV

    Run and debug MoaV's end-to-end tests — real protocol connectivity (client-test.sh) and the moav CLI smoke test — against a LIVE server, via the self-hosted e2e workflow or a local test VPS.

    448 GitHub stars~1.9k tokensUpdated yesterday
    Testing & QAAuto-check: notes

More from google/heir

  • Lit To Bazel

    google/heir

    Official

    Converts MLIR lit test files to bazel run commands. An agent skill from google/heir.

    929 GitHub stars~447 tokensUpdated today
    Auto-check passed
  • Official

    Augments a bazel run CLI command for heir-opt with additional flags that dump the IR before each compiler pass, allowing the agent to inspect intermediate IR during compilation, identify a…

    929 GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Official

    Describes a decision tree of steps and skills to utilize when, starting from a test failure or the failure of bazel run command using heir-opt, you would like to produce a reproducing input IR that…

    929 GitHub stars~1.4k tokensUpdated today
    Auto-check passed

Categories

Questions about E2E To Bazel

What does E2E To Bazel do?

Converts end-to-end (e2e) test targets or paths to bazel run commands for heir-opt. E2E To Bazel is an agent skill from google/heir, published by the product's own GitHub organization. Converts end-to-end (e2e) test targets or paths to bazel run commands for heir-opt.

When should I use E2E To Bazel?

E2E To Bazel fits situations like: tasks that involve End-to-end testing.

How do I install E2E To Bazel in Claude Code?

Run `npx skills add google/heir --skill e2e-to-bazel -a claude-code`. Or copy the skill folder (.agents/skills/e2e_to_bazel in google/heir) into .claude/skills/e2e-to-bazel in your project. Claude Code loads it when a task matches its description.

How do I install E2E To Bazel in Codex?

Run `npx skills add google/heir --skill e2e-to-bazel -a codex`. Or copy the skill folder (.agents/skills/e2e_to_bazel in google/heir) into .agents/skills/e2e-to-bazel in your project. Codex loads it when a task matches its description.

Can I use E2E To Bazel in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add google/heir --skill e2e-to-bazel -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/e2e-to-bazel, .gemini/skills/e2e-to-bazel, .github/skills/e2e-to-bazel and .opencode/skills/e2e-to-bazel in your project.

What does E2E To Bazel need to run?

Going by SKILL.md and its folder, E2E To Bazel needs the command-line tools its instructions call (bazel).

Does E2E To Bazel access the network?

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.

Is E2E To Bazel safe to install?

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.

What licence does E2E To Bazel use?

E2E To Bazel 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.

How many tokens does E2E To Bazel use?

About 394 tokens (SKILL.md is roughly 1.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to E2E To Bazel?

Skills that share tags, products or a category with E2E To Bazel: Web Application Testing (anthropics/skills, 180k stars), TDD Workflow (hellangleZ/burn-in-cceverywhere-ralph, 112 stars), Uloop Replay Input (kurotu/VRCQuestTools, 373 stars) and Ui4 Convert Tests (payloadcms/payload, 45k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains E2E To Bazel?

google (a GitHub organization, an official publisher) maintains it in google/heir, which has 929 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 8, 2026.

Source: google/heir on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.