tricorder-mcp

tricorder-mcp is a skill for Claude Code from tweag/tricorder. It costs 48 tokens per session (580 once invoked), scanned A, original, MIT.

An agent skill for checking a Haskell project's build status, compiler diagnostics, and test results through the tricorder MCP server. GHCi is Haskell's interactive development environment.

In plain words
What is it for?
Use it when you need to check the Haskell build, review compiler errors or warnings, or run tricorder.
Why use it?
It gives the agent a defined way to inspect build errors, warnings, and test results without checking them manually.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when you need to check the Haskell build, review compiler errors or warnings, or run tricorder.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tweag/tricorder/tricorder-mcp
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.

Any agent
npx skills add tweag/tricorder --skill tricorder-mcp
Clone the repo
git clone --depth 1 https://github.com/tweag/tricorder

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tricorder-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/tweag/tricorder/tricorder-mcp/github.svg)](https://agentmods.dev/skills/tweag/tricorder/tricorder-mcp)
Your own site
<a href="https://agentmods.dev/skills/tweag/tricorder/tricorder-mcp"><img src="https://agentmods.dev/badge/skills/tweag/tricorder/tricorder-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tricorder-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/tweag/tricorder/tricorder-mcp"><img src="https://agentmods.dev/badge/skills/tweag/tricorder/tricorder-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 580 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00048 $0.00580
Opus 5.5 $0.00019 $0.00232
Sonnet 5.5 $0.00010 $0.00116
Haiku 4.5 $0.00005 $0.00058

Measured 17d ago against content hash bf76622b08f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tricorder-mcp 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 17d 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.

agent-plugins/tricorder-mcp/skills/tricorder-mcp/SKILL.md · 42 lines

How it starts

The opening of the file, as written. The whole thing — 42 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Using the tricorder MCP Server

Use the mcp__plugin_tricorder-mcp_tricorder__* MCP tools for GHCi build status, diagnostics, and test results in this project — don't run tricorder as a Bash command; the MCP server already wraps it.

Tools

  • start — start the daemon (no-op if already running)
  • stop / restart — stop/restart the daemon; pass force: true to skip waiting on pending queries
  • status — current build status: diagnostics, errors, warnings. Pass wait: true to block until an in-progress build finishes, verbose: true for full GHC message bodies, or expand: N to expand a single diagnostic. Returns JSON.
  • test_results — output from the latest test run. Pass wait: true to block until the build/test cycle finishes, or failed: true to show only failing suites.
  • source — Haskell source for one or more project or installed modules (e.g. Data.Map.Strict or Data.Map.Strict#insert). Prefer this over downloading tarballs.
  • eval_comments — eval comments and their evaluated results from the latest build. Pass wait: true to block until the build finishes. Returns JSON.
  • log_contents / log_path — the daemon's log output, or the path to its log file.

All tools accept an optional projectRoot (defaults to the current working directory).

Workflow

  1. Edit source files.
  2. Call status with wait: true — blocks until tricorder finishes recompiling.
  3. If errors are shown, fix them and repeat.
  4. A clean result means the build is clean; configured test suites run automatically.
  5. Call test_results with wait: true, failed: true to see any test failures.

Notes

  • The daemon is per-project, scoped by the resolved project directory.
  • status auto-starts the daemon if it isn't running.
  • Do not run cabal test manually — the daemon manages test execution after each clean build.
  • If these MCP tools are unavailable, disconnected, or misbehave, and the tricorder CLI is installed, fall back to running it directly via Bash (see the tricorder skill from the tricorder plugin, if installed).

Read the full file on GitHub · 42 lines

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. 17d ago Changed bf76622b08f7
  2. 1mo ago First seen · 42 lines · 48 tokens per session scan A ebd18f6a2096

Subscribe to this mod's changes

tricorder-mcp is a skill published in the GitHub repository tweag/tricorder (67 stars, last pushed today), licensed MIT. It adds 48 tokens to every session and 580 once invoked, about $0.0002 per session on Opus 5.5. 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-09-03.

Related

Other skills, from other repositories

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

alleneee/skill-agent · 35 tokens

fix-failing-tests

Diagnose a failing test in the googleapis/mcp-toolbox repo and land a fix by reasoning from the actual error: read the failure, reproduce it, shrink it until the cause is forced into the open, then fix the cause. Use this whenever a test or CI job is red, a build breaks after a change, many packages fail at once, or a…

googleapis/mcp-toolbox · 87 tokens

reproduce-bug

Reproduce a reported bug in googleapis/mcp-toolbox and decide whether it is real, delivering an evidence-backed verdict: confirmed, already fixed, misconfiguration, client-side, works as intended, not reproducible, or blocked. Use whenever a maintainer asks you to reproduce, verify, confirm, or investigate a bug…

googleapis/mcp-toolbox · 130 tokens

reproduce

Reproduces a paper's result, a claim, an artifact or a previous run with the target and success criterion frozen first, the canonical code path run before any substitute, exact inputs, environment, seeds and commands captured, and a verdict from a fixed set, reproduced, reproduced within tolerance, partially…

synthetic-sciences/openscience · 116 tokens

smiles-validation

Strict SMILES validation, structural comparison, and modification verification. Catches invalid LLM-generated molecules.

synthetic-sciences/openscience · 24 tokens

acceptance-checks

Turns the acceptance criteria a task states into executable checks and runs them against the finished outputs before delivering, rather than trusting that a correct-looking analysis satisfies them; rehearses the hidden condition when the grader scores unseen instances from a described family; treats a stated formula…

synthetic-sciences/openscience · 203 tokens