trulens-evaluation-workflow

trulens-evaluation-workflow is a skill for Claude Code, Codex from truera/trulens. It costs 18 tokens per session (1,665 once invoked), scanned A, original, MIT.

A structured process for testing the quality of an application that uses a large language model, such as a chatbot, document-search system, or AI agent.

In plain words
What is it for?
Use it to choose evaluation measures for document-search apps, agents, simple applications, or custom systems, after identifying the framework and goals.
Why use it?
It helps replace informal testing with defined quality checks and metrics suited to the kind of application being tested.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to choose evaluation measures for document-search apps, agents, simple applications, or custom systems, after identifying the framework and goals.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/truera/trulens/trulens-evaluation-workflow
About the project

TruLens is an open-source system for tracing and evaluating LLM applications and AI agents. It records each step's inputs, outputs, latency, tokens, and cost, then uses evaluations to find failures and compare application versions.

truera/trulens · 3,536 stars · on GitHub · trulens.org

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 truera/trulens --skill trulens-evaluation-workflow
Clone the repo
git clone --depth 1 https://github.com/truera/trulens

Made for: Claude Code, Codex.

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 trulens-evaluation-workflow

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/truera/trulens/trulens-evaluation-workflow"><img src="https://agentmods.dev/badge/skills/truera/trulens/trulens-evaluation-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,665 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00018 $0.01665
Opus 5 $0.00009 $0.00833
Sonnet 5 $0.00004 $0.00333
Haiku 4.5 $0.00002 $0.00167

Measured 9d ago against content hash 27ca90d0e52b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

trulens-evaluation-workflow 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 9d 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.

src/core/trulens/.agents/skills/trulens-evaluation-workflow/SKILL.md · 182 lines

How it starts

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

TruLens Evaluation Workflow

A systematic approach to evaluating your LLM application.

When to Use This Skill

Use this skill when you want to:

  • Set up comprehensive evaluation for a new LLM app
  • Improve an existing app's evaluation coverage
  • Understand the full TruLens workflow
  • Know which sub-skill to use for your current task

Required Questions to Ask User

Before implementing, always ask the user these questions:

1. App Type (determines instrumentation wrapper)

  • What framework is your app built with? (LangChain, LangGraph/Deep Agents, LlamaIndex, Custom)

2. Evaluation Metrics (determines feedback functions)

Ask: "Which evaluation metrics would you like to use?"

App Type Recommended Metrics Description
RAG RAG Triad Context Relevance, Groundedness, Answer Relevance
Agent Agent GPA Tool Selection, Tool Calling, Execution Efficiency, etc.
Simple Answer Relevance Basic input-to-output relevance check
Custom Ask user Let user describe what they want to evaluate

For Agents, also ask:

  • Does your agent do explicit planning? (determines if Plan Quality/Adherence metrics apply)

3. Additional Metrics (optional)

  • Do you want any additional evaluations? (Coherence, Conciseness, Harmlessness, custom metrics)

The Evaluation Workflow

┌─────────────────────────────────────────────────────────────────┐
│                    TruLens Evaluation Workflow                   │
├─────────────────────────────────────────────────────────────────┤
│                                                                  │
│   1. INSTRUMENT          2. CURATE            3. CONFIGURE       │
│   ┌──────────────┐      ┌──────────────┐     ┌──────────────┐   │
│   │ Capture data │  →   │ Build test   │  →  │ Choose       │   │
│   │ from your    │      │ datasets     │     │ metrics      │   │
│   │ app          │      │              │     │              │   │
│   └──────────────┘      └──────────────┘     └──────────────┘   │
│         ↓                                           ↓            │
│         └─────────────────────┬─────────────────────┘            │
│                               ↓                                  │
│                      4. RUN & ANALYZE                            │
│                      ┌──────────────┐                            │
│                      │ Execute evals│                            │
│                      │ & iterate    │                            │
│                      └──────────────┘                            │
│                                                                  │
└─────────────────────────────────────────────────────────────────┘

Read the full file on GitHub · 182 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. 9d ago First seen · 182 lines · 18 tokens per session scan A 27ca90d0e52b

Subscribe to this mod's changes

trulens-evaluation-workflow is a skill published in the GitHub repository truera/trulens (3,536 stars, last pushed 4d ago), licensed MIT. It adds 18 tokens to every session and 1,665 once invoked, about $0.0001 per session on Opus 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-08-30.

Related

Other skills, from other repositories

evaluators

Author or refine a Phoenix evaluator — code or LLM-as-a-judge — that scores a run's output. Trigger when the user wants to create a new evaluator, improve an existing one's logic or rubric, choose labels, or decide what to measure on a dataset or experiment. Do NOT trigger on: (1) manual prompt drafting (use…

Arize-ai/phoenix · 113 tokens

generate-rag-dataset

Generate a synthetic evaluation dataset from your RAG knowledge base. Creates diverse Q&A pairs with expected answers and relevant context, ready for LangWatch experiments and platform import. Use when you need test data for your RAG pipeline.

langwatch/langwatch · 51 tokens

datasets

Generate realistic synthetic evaluation datasets by analyzing the user's codebase, prompts, production traces, and reference materials. Interactive and consultant-style. Asks clarifying questions, proposes a plan, generates a preview for approval, then delivers a complete dataset uploaded to LangWatch. Use when user…

langwatch/langwatch · 75 tokens

testing-llm

LLM and AI testing patterns — mock responses, evaluation with DeepEval/RAGAS, structured output validation, and agentic test patterns (generator, healer, planner). Use when testing AI features, validating LLM outputs, or building evaluation pipelines.

yonatangross/orchestkit · 55 tokens

golden-dataset

Golden dataset lifecycle patterns for curation, versioning, quality validation, and CI integration. Use when building evaluation datasets, managing dataset versions, validating quality scores, or integrating golden tests into pipelines.

yonatangross/orchestkit · 44 tokens

annotate-spans

Write effective, consistent annotations on LLM/agent spans and traces, and coach the user on annotation practice. Load this whenever you are about to record structured feedback with the ui.spans.annotate operation (via executebrowseraction), or when the user asks how to annotate, label, score, or review spans/traces…

Arize-ai/phoenix · 120 tokens