Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

trulens-notebook-execution

Skill by truera

Runs TruLens quickstart and example Jupyter notebooks end to end, showing section progress and handling API keys. It is for developers who want to demo or test TruLens notebooks.

  • Score 81
  • 3.7k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install trulens-notebook-execution

Built from the published package, never by AI.

git clone --depth 1 https://github.com/truera/trulens /tmp/trulens && mkdir -p ~/.claude/skills && cp -r /tmp/trulens/src/core/trulens/.agents/skills/trulens-notebook-execution ~/.claude/skills/trulens-notebook-execution

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install trulens-notebook-execution in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

trulens-notebook-execution is an agent skill that runs TruLens quickstart and example Jupyter notebooks. It uses jupyter nbconvert --execute because the source says this keeps state across cells, captures output and works with OTEL tracing. While a notebook runs, the skill shows section headers taken from the notebook's markdown and checks the environment for API keys, asking for any missing keys one at a time.

After execution, the skill launches the TruLens dashboard from the notebook's directory so the database is found, then reports results and the dashboard URL. It also covers common problems such as timeouts, kernel errors and invalid 'id' fields in notebook cells. It is aimed at developers who want to demo or test TruLens notebooks from start to finish.

Written from the project's SKILL.md and checked against it.

What it can do

  • Notebook executionRuns a notebook with jupyter nbconvert --execute, with an optional longer timeout.
  • Section progress displayShows section headers from the notebook's markdown as each group of cells runs.
  • API key handlingChecks the environment for keys and asks for any missing ones one at a time.
  • Dashboard launchStarts the TruLens dashboard from the notebook's directory after execution.
  • Results summaryShows the leaderboard or results, the dashboard URL and the metrics evaluated.
  • Notebook JSON repairRemoves 'id' fields from cells that are invalid in nbformat 4.

What you need

  • Jupyter with nbconvert installed
  • Python environment with TruLens installed
  • OPENAI_API_KEY or other keys the notebook uses

Try asking

  • Run the deep agents quickstart notebook
  • Execute the TruLens example notebook with a 20 minute timeout
  • Launch the TruLens dashboard for this notebook's results

Good to know

  • The dashboard stops when the notebook process ends, so it must be launched separately.
  • The dashboard must be started from the notebook's directory.
  • Native streamlit commands should not be used to launch the dashboard.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: src/core/trulens/.agents/skills/trulens-notebook-execution/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md10 KB

Alternatives to trulens-notebook-execution

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

trulens-notebook-execution: common questions

Why does the TruLens dashboard show no apps?

The notebook writes ./default.sqlite next to the notebook, while run_dashboard() reads from the current working directory. The source says to cd into the notebook's directory before launching the dashboard.

Can this skill run a notebook as a plain Python script?

The source says not to. Running a notebook as a standalone script loses the notebook context, so the skill uses nbconvert instead.

Which API keys does this skill mention?

The source lists OPENAI_API_KEY, TAVILY_API_KEY, ANTHROPIC_API_KEY and HUGGINGFACE_API_KEY as common keys for TruLens notebooks.

How do I install trulens-notebook-execution?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is trulens-notebook-execution free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is trulens-notebook-execution safe to use?

It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to trulens-notebook-execution?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

trulens-notebook-execution Install

Add to stack

Loading.