tricorder-cli

tricorder-cli is a skill for Claude Code from tweag/tricorder. It costs 67 tokens per session (1,405 once invoked), scanned A, original, MIT.

A command-line reference for tricorder, a tool that reports build diagnostics, test results, source lookups, evaluation comments, and logs. It is used when tricorder's server connection is unavailable or not working.

In plain words
What is it for?
Use it to check Haskell build output, tests, source information, evaluation comments, and logs from the command line.
Why use it?
It provides a fallback way to inspect the project when the normal tricorder integration cannot be used.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./src/Source/Module.hs (line 123).

Good fit Use it to check Haskell build output, tests, source information, evaluation comments, and logs from the command line.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/tweag/tricorder
agentmods
npx agentmods add skills/tweag/tricorder/tricorder-cli

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-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/tweag/tricorder/tricorder-cli/github.svg)](https://agentmods.dev/skills/tweag/tricorder/tricorder-cli)
Your own site
<a href="https://agentmods.dev/skills/tweag/tricorder/tricorder-cli"><img src="https://agentmods.dev/badge/skills/tweag/tricorder/tricorder-cli/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-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/tweag/tricorder/tricorder-cli"><img src="https://agentmods.dev/badge/skills/tweag/tricorder/tricorder-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,405 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.00067 $0.01405
Opus 5.5 $0.00027 $0.00562
Sonnet 5.5 $0.00013 $0.00281
Haiku 4.5 $0.00007 $0.00140

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

Security

Grade A, and why

tricorder-cli 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 22d 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/skills/tricorder-cli/SKILL.md · 162 lines

How it starts

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

Using the tricorder CLI

tricorder is a daemon-based GHCi build monitor. The daemon is per-project, scoped by the current working directory, and every query command starts it if it isn't running. Output is human-readable text by default, or JSON with --json.

Run tricorder <command> --help for exact flags. CLI.md holds the --help output of every command.

Workflow

  1. Edit source files.
  2. Run tricorder status. It blocks until the daemon finishes the pending build.
  3. Fix any errors and repeat.
  4. On All good., the daemon runs the configured test suites. Run tricorder test suites --failed-only to see failures.

Never run cabal build or cabal test yourself. The daemon builds after every edit and runs tests after each clean build.

Commands

Command Use
status Build diagnostics and test summary
test suites Test suites, cases, failures, output
source Haskell source of project or installed modules
eval-comments Results of eval comments in watched sources
daemon info|start|stop|restart Manage the daemon
log Daemon log
ui Interactive auto-refreshing display, for humans

Flags shared by the query commands

status, test suites and eval-comments accept:

  • -j, --json for machine-readable output.
  • -c, --use-current to skip waiting for the pending build and read the current, possibly incomplete, state.
  • --prevent-daemon to fail instead of starting the daemon when it isn't running.

status

One line per diagnostic with a 1-based index, then a summary:

[1] E src/Foo/Bar.hs:42 `something` not in scope
[2] W src/Foo/Bar.hs:10 redundant import
2 error(s), 1 warning(s) (71 modules, 1.2s)

Format: [N] <E|W> <file>:<line> <title>. A clean build prints:

All good. (71 modules, 17.3s)

Test suite results follow the summary when suites are configured:

All good. (71 modules, 17.3s)
test:my-test  passed
test:other-test  failed

Read the full file on GitHub · 162 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 22d ago Changed · -48 lines 9e9ee794bae9
  2. 1mo ago Changed 8e370609eef8
  3. 2mo ago Changed · -1 lines 11b0b8122543
  4. 3mo ago First seen · 211 lines · 67 tokens per session scan A f52cd47ad3b2

Subscribe to this mod's changes

tricorder-cli is a skill published in the GitHub repository tweag/tricorder (73 stars, last pushed 2d ago), licensed MIT. It adds 67 tokens to every session and 1,405 once invoked, about $0.0003 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

tricorder-cli compared with skills from other repositories

tricorder-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tricorder-clitweag/tricorderSkill732d agoMITA67Claude Code
smiles-validationsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A24Claude Code, Codex
knowledge-extension-ecosystem-lsp-code-intelligenceechoVic/blade-codeSkill18120d agoMITA161Claude Code
knowledge-model-and-provider-runtime-provider-resilience-admission-and-observabilityechoVic/blade-codeSkill18120d agoMITA184Claude Code, Codex
knowledge-agent-execution-and-orchestration-decision-loop-and-completionechoVic/blade-codeSkill18120d agoMITA145Claude Code, Codex
knowledge-tool-execution-pipelineechoVic/blade-codeSkill18120d agoMITA165Claude Code
knowledge-runtime-state-bootstrap-and-observabilityechoVic/blade-codeSkill18120d agoMITA198Claude Code, Codex