Agent skill

Dmir Compiler Analysis

by DTVMStack in DTVMStack/DTVM

Analyze DTVM's dMIR intermediate representation and compilation pipeline.

Custom licenceAuto-check passedBackend & APIs

Install Dmir Compiler Analysis

skills CLI
$ npx skills add DTVMStack/DTVM --skill dmir-compiler-analysis -a claude-code

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

GitHub CLI
$ gh skill install DTVMStack/DTVM dmir-compiler-analysis --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/DTVMStack/DTVM.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/dmir-compiler-analysis .claude/skills/dmir-compiler-analysis && 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
dmir-compiler-analysis
GitHub stars
157
Token cost
~2.8k tokens
SKILL.md length
1,107 words
Files
4
Skills in repo
3
Repo updated
First seen
Licence
Custom licence

At a glance

Analyze DTVM's dMIR intermediate representation and compilation pipeline.

  • Works in 7 steps: EVM -> dMIR → dMIR -> x86 Pseudocode → Performance Cost Comparison → …
  • The user asks about dMIR instructions
  • SKILL.md covers Source Code is Authoritative, Compilation Pipeline, U256 Decomposition (Critical) and dMIR Design (from…, plus 7 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Dmir Compiler Analysis is an agent skill from DTVMStack/DTVM. Analyze DTVM's dMIR intermediate representation and compilation pipeline. Translates EVM bytecode sequences into dMIR pseudocode, then into x86 pseudocode, and evaluates performance cost at each stage. Use when the user asks about dMIR instructions, EVM-to-dMIR conversion, dMIR-to-x86 lowering, JIT compilation cost analysis, EVM opcode performance evaluation, or EVM-dMIR performance optimization.

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files (for example `cost-model.md`, `dmir-to-x86.md` and `evm-to-dmir.md`).

It sits in Backend & APIs, covering Smart contracts. It works with WebAssembly. The repository describes itself as: DeTerministic Virtual Machine.

When your agent uses it

  • The user asks about dMIR instructions
  • EVM-to-dMIR conversion
  • DMIR-to-x86 lowering
  • JIT compilation cost analysis

Example prompts

  • “/dmir-compiler-analysis”

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. EVM -> dMIR
  2. dMIR -> x86 Pseudocode
  3. Performance Cost Comparison
  4. Baseline Analysis
  5. Proposed Optimization
  6. Feasibility Check
  7. Impact Assessment

What it can do on your machine

Read from SKILL.md and the folder at commit 12943fb. 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

    No scripts in the folder and no shell commands in SKILL.md.

    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

Dmir Compiler Analysis loads about 2.8k tokens when it runs. Until then it costs about 106 tokens; SKILL.md has 1,107 words of instructions outside code blocks.

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

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,107 words (~2,787 tokens).

“This skill provides pseudocode summaries and cost estimates as quick references. When analyzing specific optimization opportunities, always read the actual source code to verify current behavior. The reference files include exact file paths and function names for every EVM opcode…”

— opening of SKILL.md by DTVMStack, Custom licence
name
dmir-compiler-analysis

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files in .agents/skills/dmir-compiler-analysis of DTVMStack/DTVM.

  • SKILL.md
  • cost-model.md
  • dmir-to-x86.md
  • evm-to-dmir.md

Open the folder on GitHubat commit 12943fb

Compare with similar skills

Dmir Compiler Analysis 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.

Dmir Compiler Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dmir Compiler Analysis this skillDTVMStack/DTVM157—~2.8kAutomated safety check: PassCustom licence
Smart Contract Upgrade Governancesickn33/agentic-awesome-skills47k1 repos~1.4kAutomated safety check: PassMIT
Execution Client HardeningPlamenTSV/plamen303—~3.9kAutomated safety check: PassMIT
RuView CLI, API and WASMruvnet/RuView97k—~1.2kAutomated safety check: NotesMIT
Fizz Convertpashov/skills1.2k2 repos~3.7kAutomated safety check: PassMIT
Spider Kingaoyunyang/spider-king-skill507—~7.3kAutomated safety check: PassMIT

Similar skills

  • Smart Contract Upgrade Governance

    sickn33/agentic-awesome-skills

    Soroban WASM upgrade governance register: executable bytecode hash, timelocked migration delays, and multi-sig authorization quorum.

    47k GitHub starsUsed in 1 repo~1.4k tokens
    Backend & APIsAuto-check passed
  • L1 trigger - audits execution engine (EVM interpreter, WASM, SVM) for memory corruption, gas mispricing (EXTCODESIZE class), opcode semantics, and VM invariant breaks.

    303 GitHub stars~3.9k tokensUpdated 11 days ago
    Backend & APIsAuto-check passed
  • Covers the RuView `wifi-densepose` command line binary, its Axum REST API and the WebAssembly builds for browsers and ESP32, for embedding or scripting RuView.

    97k GitHub stars~1.2k tokensUpdated yesterday
    Backend & APIsAuto-check: notes
  • Fizz Convert

    pashov/skills

    Convert English-language properties in PROPERTIES.md (produced by the Fizz skill) into Solidity assertions inside the existing fuzz harness, then flip their checkboxes.

    1.2k GitHub starsUsed in 2 repos~3.7k tokens
    Backend & APIsAuto-check passed
  • Spider King

    aoyunyang/spider-king-skill

    Pure-web protocol reverse skill: turn hostile browser clients into browser-free Python collectors.

    507 GitHub stars~7.3k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Solana Dev

    solana-foundation/solana-dev-skill

    A skill your agent uses when user asks to "build a Solana dapp", "write an Anchor program", "create a token", "debug Solana errors", "set up wallet connection", "test my Solana program", "fuzz my…

    571 GitHub stars~3.8k tokensUpdated 5 days ago
    Backend & APIsAuto-check passed

More from DTVMStack/DTVM

  • Dtvm Perf Profile

    DTVMStack/DTVM

    Profile DTVM execution using Linux perf and generate categorized analysis reports.

    157 GitHub stars~1.1k tokensUpdated 20 days ago
    Auto-check passed
  • Dev Workflow

    DTVMStack/DTVM

    Feature development workflow. An agent skill from DTVMStack/DTVM.

    157 GitHub stars~474 tokensUpdated 20 days ago
    Auto-check passed

Works with

Categories

Questions about Dmir Compiler Analysis

What does Dmir Compiler Analysis do?

Analyze DTVM's dMIR intermediate representation and compilation pipeline. Dmir Compiler Analysis is an agent skill from DTVMStack/DTVM. Analyze DTVM's dMIR intermediate representation and compilation pipeline.

When should I use Dmir Compiler Analysis?

Dmir Compiler Analysis fits situations like: the user asks about dMIR instructions; EVM-to-dMIR conversion; DMIR-to-x86 lowering; JIT compilation cost analysis.

How do I install Dmir Compiler Analysis in Claude Code?

Run `npx skills add DTVMStack/DTVM --skill dmir-compiler-analysis -a claude-code`. Or copy the skill folder (.agents/skills/dmir-compiler-analysis in DTVMStack/DTVM) into .claude/skills/dmir-compiler-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Dmir Compiler Analysis in Codex?

Run `npx skills add DTVMStack/DTVM --skill dmir-compiler-analysis -a codex`. Or copy the skill folder (.agents/skills/dmir-compiler-analysis in DTVMStack/DTVM) into .agents/skills/dmir-compiler-analysis in your project. Codex loads it when a task matches its description.

Can I use Dmir Compiler Analysis 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 DTVMStack/DTVM --skill dmir-compiler-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dmir-compiler-analysis, .gemini/skills/dmir-compiler-analysis, .github/skills/dmir-compiler-analysis and .opencode/skills/dmir-compiler-analysis in your project.

What does Dmir Compiler Analysis need to run?

SKILL.md names no scripts, command-line tools or credentials: Dmir Compiler Analysis is instructions for the agent only.

Does Dmir Compiler Analysis 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 Dmir Compiler Analysis 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 Dmir Compiler Analysis use?

Dmir Compiler Analysis has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Dmir Compiler Analysis use?

About 2.8k tokens (SKILL.md is roughly 11k 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 Dmir Compiler Analysis?

Skills that share tags, products or a category with Dmir Compiler Analysis: Smart Contract Upgrade Governance (sickn33/agentic-awesome-skills, 47k stars), Execution Client Hardening (PlamenTSV/plamen, 303 stars), RuView CLI, API and WASM (ruvnet/RuView, 97k stars) and Fizz Convert (pashov/skills, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dmir Compiler Analysis?

DTVMStack (a GitHub organization) maintains it in DTVMStack/DTVM, which has 157 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on September 17, 2026.

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