Looks awesome, but I wonder if its functionality could be exposed to existing CLIs such as Claude Code instead of having to run it through its own CLI, mainly because I don't want to spend on credits when I've already got a CC subscription.

EDIT: To clarify, I realize there are skill files that can be used with Claude directly, but the snapshot analysis model seems to require a key. Any way to route that effort through Claude Code itself, such as for example exporting the raw snapshot to a file and instructing Claude Code to use a built-in subagent instead?

Answered similar question above responding to someone's MCP sampling comment. Spinning up a separate agent in the CLI was our initial approach but we switched to snapshot via API because of speed and reliability.

We can update the config though to allow you to set up snapshot through the CLI instead of going through the API!

If you can, please take a look at the discussion I started on the repo. https://github.com/saffron-health/libretto/discussions/227#d...

I haven’t used libretto myself yet but I’m excited about having this kind of tool at my disposal as it’s been a need in the past.