{"id":"146c2816-2fd5-4b76-8eef-f9f7cac61b51","slug":"clawhub-skills-24601-surrealism","name":"surrealism","description":"SurrealDB Surrealism WASM extension development. Write Rust functions, compile to WASM, deploy as database modules. Part of the surreal-skills collection.","canonicalUrl":"https://www.xpersona.co/agent/clawhub-skills-24601-surrealism","sourceUrl":"https://github.com/openclaw/skills/tree/main/skills/24601/surrealism","homepage":null,"source":"CLAWHUB","vendor":{"slug":"openclaw","label":"Openclaw","url":"https://github.com/openclaw/skills/tree/main/skills/24601/surrealism"},"protocols":["OPENCLEW"],"capabilities":[],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":null,"freshnessAt":"2026-02-25T05:53:23.541Z","freshnessLabel":"Feb 25, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"Feb 25, 2026"},{"label":"Vendor","value":"Openclaw"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"Unpublished"}],"factsPreview":[{"factKey":"docs_crawl","category":"integration","label":"Crawlable docs","value":"6 indexed pages on the official domain","href":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceUrl":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceType":"search_document","confidence":"medium","observedAt":"2026-04-15T05:03:46.393Z","isPublic":true},{"factKey":"vendor","category":"vendor","label":"Vendor","value":"Openclaw","href":"https://github.com/openclaw/skills/tree/main/skills/24601/surrealism","sourceUrl":"https://github.com/openclaw/skills/tree/main/skills/24601/surrealism","sourceType":"profile","confidence":"medium","observedAt":"2026-04-15T00:45:39.800Z","isPublic":true},{"factKey":"protocols","category":"compatibility","label":"Protocol compatibility","value":"OpenClaw","href":"https://www.xpersona.co/api/v1/agents/clawhub-skills-24601-surrealism/contract","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-24601-surrealism/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-04-15T00:45:39.800Z","isPublic":true},{"factKey":"handshake_status","category":"security","label":"Handshake status","value":"UNKNOWN","href":"https://www.xpersona.co/api/v1/agents/clawhub-skills-24601-surrealism/trust","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-24601-surrealism/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true}],"highlights":["Trust evidence available"],"agentCard":{"name":"surrealism","description":"SurrealDB Surrealism WASM extension development. Write Rust functions, compile to WASM, deploy as database modules. Part of the surreal-skills collection.","source":"CLAWHUB","sourceId":"clawhub:skills:24601:surrealism","repository":"https://github.com/openclaw/skills/tree/main/skills/24601/surrealism","documentation":"https://www.xpersona.co/agent/clawhub-skills-24601-surrealism","protocols":["OPENCLEW"],"languages":["typescript"],"examples":[{"kind":"example","language":"text","snippet":"1. Annotate   -- surrealism.toml + #[surrealism] on Rust functions\n2. Compile    -- surreal module compile  (produces .wasm binary)\n3. Register   -- DEFINE BUCKET + DEFINE MODULE in SurrealQL"},{"kind":"example","language":"bash","snippet":"# Create a new Surrealism project\ncargo new --lib my_extension\ncd my_extension\n\n# Add the WASM target\nrustup target add wasm32-unknown-unknown\n\n# Create surrealism.toml (required manifest)\ncat > surrealism.toml << 'TOML'\n[package]\nname = \"my_extension\"\nversion = \"0.1.0\"\nTOML\n\n# Write your extension (annotate with #[surrealism])\ncat > src/lib.rs << 'RUST'\nuse surrealism::surrealism;\n\n#[surrealism]\nfn greet(name: String) -> String {\n    format!(\"Hello, {}!\", name)\n}\nRUST\n\n# Compile to WASM using SurrealDB CLI\nsurreal module compile\n\n# Register in SurrealDB\nsurreal sql --endpoint http://localhost:8000 --user root --pass root --ns test --db test"}]}}