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.
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-executionRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install trulens-notebook-execution in Claude Code
git clone --depth 1 https://github.com/truera/trulens /tmp/trulens && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/trulens/src/core/trulens/.agents/skills/trulens-notebook-execution ~/.gemini/antigravity-cli/skills/trulens-notebook-executionAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install trulens-notebook-execution in Antigravity CLI
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
ANo 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 →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
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.
