Works with the AI Agents you already use
Rust WebAssembly Memory Examiner AI
Review guest memory boundaries and typed host interface fixtures. Built for rust service maintainers, with source-linked
$9.99
Rust WebAssembly Memory Examiner AI
Example session with this skill installed
Review the guest memory boundaries for the provided plugin_core.rs and the exported host_api fixtures. Here is the source and the target safety invariant of 4MB max allocation.
- Read your context and instructions
- Compiled the rust webassembly memory
I have completed the review of the guest memory boundaries for plugin_core.rs and the host_api fixtures. The analysis identifies a confirmed discrepancy regarding allocation limits.
Disposition: Partial Result (Review Required)
Finding and Exception Register
| Finding ID | Affected Item | Source | Expected | Observed | Confidence | Severity | Corrective Action |
|---|---|---|---|---|---|---|---|
| MEM-001 | Guest Heap Init | plugin_core.rs:L42 | Max 4MB | 16MB | High | High | Update memory export to limit initial/max pages. |
| FIX-002 | host_api Buffer | host_api.rs:L110 | Owned Slice | Borrowed Ref | Medium | Med | Ensure lifetime elision matches host-side GuestPtr. |
| GAP-003 | Allocation Trace | N/A | Trace Logs | Missing | N/A | Low | Provide runtime trace for peak usage validation. |
Source Register
- REF-01:
plugin_core.rs(v1.2.0) - Guest entry point and memory configuration. - REF-02:
host_api.rs(v1.2.0) - Typed interface definitions.
Validation Summary
- Observed: Static memory export limits, Type signatures in FFI fixtures.
- Planned: Lifetime verification of shared buffers.
- Not Run: Dynamic allocation pressure tests (Missing runtime environment).
Next steps
- Modify the WebAssembly memory initialization in
plugin_core.rsto reflect the 4MB limit. - Supply
stdouttraces from a test execution to verify peak heap usage. - Review the
GuestPtrimplementation on the host side to ensure alignment with REF-02.
Connects securely to your tools. The creator never sees your data.
About this skill
Maintainers of high-performance Rust services often struggle to audit memory boundaries and host interface safety in WebAssembly runtimes without clear evidence trails. This skill automates the rigorous review of guest-host interactions to ensure system reliability.
What it does
- Memory Boundary Auditing traces guest memory limits and validates them against host safety constraints.
- Interface Fixture Review examines typed host interfaces to identify mismatches in data serialization or ownership.
- Evidence-Based Reporting generates a finding and exception register linked directly to source code and traces.
- Conflict Identification flags unresolved evidence or contradictory validation steps in the memory model.
- Gap Analysis isolates specific missing data points required for a complete safety assessment.
How it works
- Preflight Inventory: You provide the Rust source, WebAssembly artifacts, and specific acceptance criteria for the review.
- Boundary Normalization: The agent maps observed memory states and interface definitions to target safety invariants.
- Automated Trace Analysis: It executes a specialty procedure to trace ownership, lifetimes, and cancellation assumptions across the boundary.
- Register Generation: A structured finding and exception register is produced, categorizing each item by confidence and impact.
Frameworks & tools
Built for the Rust ecosystem including Cargo, Tokio, and standard WebAssembly runtimes. It integrates with agensi:google.serp.organic for retrieving public documentation on toolchain specifications and platform versions.
Why this beats prompting it yourself
Generic prompts often overlook subtle Rust ownership rules or fail to provide the structured "finding ID to evidence" mapping required for production audits. This skill enforces a strict safety-first methodology that treats source code as data, preventing hallucinations about execution results.
Use cases
- Auditing memory isolation between a Rust host and a third-party Wasm guest module.
- Validating the safety of complex FFI fixtures in high-throughput systems.
- Preparing formal exception registers for compliance or security reviews.
- Troubleshooting memory leaks or boundary violations in Wasm-based plugin systems.
Known limitations
Does not perform actual runtime execution or claim cargo test results without access to a live environment. It cannot verify private or non-public crates not provided in the context.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 7 days ago
Permissions
What's inside
Frequently Asked Questions
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.