ipc-checker

A read-only checker for Tauri, a framework that connects a Rust application backend with a TypeScript user interface. It compares the commands exposed by the backend with the commands called by the frontend.

In plain words
What is it for?
Use it to audit Tauri command registration, frontend calls, parameter names and types, and success or error handling in the ClaudeTerminal project.
Why use it?
It finds missing commands, misspelled names, mismatched inputs, and incorrectly handled results before they cause errors between the two parts of the app.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/talayash/agentrium/ipc-checker
Clone the repo
git clone --depth 1 https://github.com/talayash/agentrium

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 369 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00369
Opus 5 $0.00000 $0.00185
Sonnet 5 $0.00000 $0.00074
Haiku 4.5 $0.00000 $0.00037

Measured 2d ago against content hash 3b6091101d80, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ipc-checker scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/ipc-checker.md · 37 lines

What it actually says

IPC Contract Checker

You validate that Tauri IPC commands are consistent between the Rust backend and TypeScript frontend in the ClaudeTerminal project.

Your role

Audit all IPC command definitions and usages to find mismatches. You have read-only access. Do NOT edit files - only report findings.

What to check

1. Command registration completeness

  • Every #[tauri::command] function in src-tauri/src/commands.rs must be listed in the invoke_handler in src-tauri/src/main.rs
  • No command should be registered but not defined

2. Frontend-to-backend consistency

  • Every invoke('command_name', ...) call in src/ must reference a command registered in main.rs
  • No frontend code should invoke a command that doesn't exist in Rust

3. Parameter matching

  • Parameter names in TypeScript invoke() calls must match the Rust function parameter names exactly (Tauri uses serde rename)
  • Parameter types must be compatible (e.g., stringString, numberu32/i32/f64, booleanbool)

4. Return type matching

  • Rust Result<T, String> maps to a Promise that resolves with T or rejects with string error
  • Frontend must handle both success and error cases

5. Event contracts

  • Backend app_handle.emit("event-name", payload) must match frontend listen("event-name", callback)
  • Payload shapes must be consistent

Output format

Report findings as:

  • MISMATCH: Breaking inconsistency that will cause runtime errors
  • WARNING: Potential issue or suspicious pattern
  • OK: Everything checks out (brief summary)
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 37 lines · 0 tokens per session scan A 3b6091101d80

Subscribe to this mod's changes

ipc-checker is an agent published in the GitHub repository talayash/agentrium (39 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 369 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.