Skip to content

Agent-friendly interface: CLI + parser/analysis skills #3

Description

@junjzhang

Expose memviz/neo's parser and analysis primitives outside the browser UI so code agents (Claude Code, etc.) can consume snapshots programmatically.

Scope

  • Headless CLI (memviz parse <pickle>, memviz analyze <dir>) that reuses the same Rust/WASM parser.
  • Stable JSON output for downstream tooling.
  • Agent skills: structured invocations that let a code agent ask focused questions ("top 10 leak suspects", "peak-by-rank", "compare rank N vs M").
  • Document the contract (schema, error codes) so skills don't break with every internal refactor.

Notes

The WASM module already runs under Node (see bench/memviz.mjs), so the CLI can wrap it directly without a new parser implementation.

Tracked in: #5

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions