Guided first use

Try tracetrim

tracetrim learns from traces which tool output fields an agent visibly reuses and trims the rest. The expand tool returns a retained origina Follow the three steps below with your own setup — nothing on this page runs on your machine or changes a policy.

Step 1 · Check fit

What this coverage governs

tracetrim learns from traces which tool output fields an agent visibly reuses and trims the rest. The expand tool returns a retained original result. The tracetrim_done tool closes a run with the agent's final answer. When tracetrim fronts other MCP servers, Guard sees one server. Proxied tools keep Guard's normal handling.

External — off until you opt in

This coverage stays off until you explicitly enable it from your Guard workspace controls. Reading this page never changes your policy; activation happens in Guard itself.

Harness support

Not documented yet

Contributor-supplied harness support text is not independently verified. Checked end to end with HOL Guard 3.61.0, Claude Code 2.1.329 and tracetrim 1.4.0 on Linux, against a local test server: per-tool Block and Allow on tools reached through tracetrim reached Guard's hook. tracetrim init also writes entries for Claude Desktop, Cursor and VS Code, but Guard's per-tool path through tracetrim has been checked only with Claude Code.

  • Claude Code on Linux, with HOL Guard 3.61.0: per-tool Block and Allow through tracetrim verified against a local test server.
  • Claude Code on Windows and VS Code (folder opened from WSL): tracetrim init, tools passing and tracetrim_done verified by tracetrim's author; not checked with Guard.
  • Claude Desktop and Cursor: tracetrim init writes the entry in the documented format; not verified, with or without Guard.
  • MCP servers reached over stdio or HTTP, with headers or OAuth (OAuth needs tracetrim login once after init). Claude Desktop extensions (.mcpb) and connectors added from Settings are not seen by init.

Prerequisites

Not documented yet

Contributor-supplied prerequisite text is not independently verified. Reviewed documentation: https://github.com/hashgraph-online/hol-guard/blob/main/docs/guard/extensions/README.md

  • Python 3.10 or later, and HOL Guard installed with its Claude Code hook.
  • Claude Code with at least one MCP server in the project's .mcp.json (tracetrim init uses the project's file for Claude Code by default; for servers added with --scope user it prints the steps instead of writing).
  • A project where you can try a harmless, read-only tool first, before pointing tracetrim at servers that write or delete.

Known limitations

Reviewed as supported

Limitations are copied from the reviewed catalog facts. Contributor-supplied limitation notes are not independently verified. Coverage limits declared in the reviewed catalog appear automatically when this guide is published.

  • Coverage is limited to the reviewed operations and the surrounding Guard policy.
  • A maintainer profile is not a security certification or an official upstream endorsement.
  • tracetrim is not a security control: Guard does not see what tracetrim removes from a result, and expand can return any hidden field in full.
  • A tool appears in "Claude Code · observed tools" only after Claude Code has attempted it once; until then it keeps Guard's usual handling.
  • Trimming can hide what a task needs. With text previews (default from tracetrim 1.5) a stress test built around the removed fields kept 99.5% of their facts, against 100% with complete outputs; keep critical fields visible with --keep-field TOOL FIELD.
  • Savings depend on the agent and the model: measure on your own runs with tracetrim measure before relying on them.
  • Coverage is limited to the reviewed operations and the surrounding Guard policy.
  • A maintainer profile is not a security certification or an official upstream endorsement.

Catalog version 1.0.0 · source snapshot 3049478609

Step 2 · Set up

Install and activate

New to Guard? Start with Install Guard. Already installed? Skip install — this coverage stays off until you enable it from your workspace controls.

Activation happens in your Guard workspace. This page links to it; it never enables the coverage for you.

Install

Contributor-supplied install guidance is not independently verified because an exact reviewed argv contract is unavailable. Install tracetrim from PyPI, then let tracetrim init show what it would change before writing anything.

  1. 1

    Install it: pip install "tracetrim[measure,proxy]" (Python 3.10+).

    Self-reported guidance — not verified against a reviewed source.

  2. 2

    In the project folder, run tracetrim init --host claude-code. This is a dry run: it lists the servers that would go behind tracetrim, those that stay in the host and why, and writes nothing.

    Self-reported guidance — not verified against a reviewed source.

  3. 3

    Run tracetrim init --host claude-code --write. It backs up .mcp.json next to it, moves the servers to servers.json in a work directory under ~/.tracetrim readable only by you, leaves one tracetrim entry in .mcp.json, and starts it once to check that it answers. It never prints a key.

    Self-reported guidance — not verified against a reviewed source.

  4. 4

    Restart Claude Code. Keep the backup and the rewritten .mcp.json out of what you commit: the entry holds paths of your machine.

    Self-reported guidance — not verified against a reviewed source.

Activation

Contributor-supplied activation guidance is not independently verified because an exact reviewed argv contract is unavailable. tracetrim needs no activation of its own: during the first 5 runs it only observes (JSON is written compactly, nothing is removed), then it trims on its own. Guard's per-tool choices for the tools reached through tracetrim are set on the entry "Claude Code · observed tools", which Guard builds after Claude Code has attempted each tool once.

  1. 1

    In Claude Code, ask for a task that uses each tool you want to control once. Guard holds these first calls for review and records them.

    Self-reported guidance — not verified against a reviewed source.

  2. 2

    In Guard, open Extensions → Add custom extension, refresh the list and select "Claude Code · observed tools" (not the configured tracetrim entry).

    Self-reported guidance — not verified against a reviewed source.

  3. 3

    Set the choices, for example Allow on a read tool and Block on a tool that deletes; leave expand and tracetrim_done on Allow or inherit. Choose Save tool permissions and wait until the revision is acknowledged.

    Self-reported guidance — not verified against a reviewed source.

Back to fit

Step 3 · Verify the result

Run a safe test and compare

Safe fixture inputs

Contributor-supplied safe fixture input guidance is not independently verified because an exact reviewed argv contract is unavailable. Prove that Guard still controls tools reached through tracetrim without touching anything that writes: block a harmless read-only tool and check that the call is stopped, then allow it again.

  1. 1

    Pick a read-only tool behind tracetrim, such as a search or a lookup, and ask Claude Code to use it once so that Guard records it.

    Self-reported guidance — not verified against a reviewed source.

  2. 2

    On "Claude Code · observed tools", set that tool to Block, save and wait for the acknowledgement. Ask Claude Code to use it again: Guard denies the call and the upstream server receives nothing.

    Self-reported guidance — not verified against a reviewed source.

  3. 3

    Set the tool to Allow, save, and ask again: the call goes through tracetrim and the result reaches the agent.

    Self-reported guidance — not verified against a reviewed source.

Expected outcome

Not documented yet

Contributor-supplied expected-outcome text is not independently verified. With Block, Claude Code reports that Guard denied the call, and the upstream server receives no request; in our check the decision was deny / block, reason native_custom_mcp_tool_block. With Allow, the call reaches the server once. During the first 5 runs results arrive whole (compact JSON only); after that, a trimmed result ends with a line naming the hidden fields, with the first words of hidden free-text fields, and the agent can call expand to get any of them back. tracetrim's report is kept up to date in the work directory (report.html).

Did it work?

Sign in to record an honest self-report. It is stored as your report — never as a verified evaluation.

Sign in to report

Turn it off or recover

Not documented yet

Contributor-supplied disable/remove guidance is not independently verified because an exact reviewed argv contract is unavailable. tracetrim init --undo restores Claude Code's .mcp.json byte for byte from the backup init made, so the servers are reached directly again and Guard sees them as before. The work directory under ~/.tracetrim is left in place (see What remains). Guard's choices on "Claude Code · observed tools" stay until you change them.