New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

optrex

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

optrex

Cornea installer. Downloads the prebuilt Cornea binary for your platform and exposes the cornea command. Deterministic visual inspection for AI agents.

latest
Source
npmnpm
Version
0.2.3
Version published
Weekly downloads
5
-50%
Maintainers
1
Weekly downloads
 
Created
Source

optrex (Cornea npm installer)

npm license MCP Tawakkul Labs

Installs the prebuilt Cornea binary for your platform and exposes the cornea command. Cornea is deterministic visual inspection for AI agents: overlap, overflow, contrast and quality as token-cheap geometry instead of pixel dumps. No Chromium.

npm install -g optrex
cornea --help

On install, the matching binary is downloaded from GitHub Releases into the package bin/ folder. No Rust toolchain needed.

Supported platforms

OSArchAsset
Linux (glibc)x64cornea-x86_64-unknown-linux-gnu
Linux (glibc)arm64cornea-aarch64-unknown-linux-gnu
macOSarm64cornea-aarch64-apple-darwin
macOSx64cornea-x86_64-apple-darwin
Windowsx64cornea-x86_64-pc-windows-msvc.exe

Not listed, e.g. Android, or musl/Alpine: the installer stops with a clear error. Install from source instead (cargo install cornea) or pick a build from the releases page.

Usage

Same as the native binary:

cornea page.html 360
cornea --serve   # MCP server over stdio for agents

Versions

npm package version tracks the Cornea release version. optrex@0.2.2 installs Cornea 0.2.2.

Uninstall

npm uninstall -g optrex

License

MIT. See LICENSE. Binary builds follow the Cornea repo license.

Links: npm | GitHub | Tawakkul Labs

Keywords

cornea

FAQs

Package last updated on 22 Sep 2026

Related posts