一键导入
calculator
WASM skill providing basic arithmetic operations for VAK agents.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
WASM skill providing basic arithmetic operations for VAK agents.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| 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.