with one click
calculator
WASM skill providing basic arithmetic operations for VAK agents.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
WASM skill providing basic arithmetic operations for VAK agents.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | calculator |
| description | WASM skill providing basic arithmetic operations for VAK agents. |
A WebAssembly module providing basic arithmetic operations that runs inside the VAK kernel sandbox.
This skill provides safe arithmetic operations with proper error handling for:
# Build for WASM target
cargo build -p calculator --target wasm32-unknown-unknown --release
# Output location
# target/wasm32-unknown-unknown/release/calculator.wasm
| Operation | Input | Output | Error Conditions |
|---|---|---|---|
add | (a: i64, b: i64) | i64 | Overflow |
subtract | (a: i64, b: i64) | i64 | Overflow |
multiply | (a: i64, b: i64) | i64 | Overflow |
divide | (a: i64, b: i64) | i64 | Division by zero |
This skill runs in the VAK WASM sandbox with:
// SAFETY: comments// From VAK kernel
let result = kernel.execute_skill("calculator", "add", &[10, 20]).await?;
assert_eq!(result, 30);
Cargo.toml - Crate configurationsrc/lib.rs - Skill implementationInstructions for building the VAK project including Rust, WASM skills, and Python bindings.
WASM skill providing cryptographic hashing operations for VAK agents.
WASM skill providing JSON validation and manipulation for VAK agents.
WASM skill providing pattern matching operations for VAK agents.
Instructions for releasing and publishing the VAK project to crates.io and PyPI.
WASM skill providing text analysis operations for VAK agents.