Agent skill

Sandbox Tfjs

by nodetool-ai in nodetool-ai/nodetool

Classify and embed images, detect objects, and answer from a passage in a Code node or CodeAct action, with TensorFlow.js running on the host

AGPL-3.0Auto-check passedAI & LLM Engineering

Install Sandbox Tfjs

skills CLI
$ npx skills add nodetool-ai/nodetool --skill sandbox-tfjs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install nodetool-ai/nodetool sandbox-tfjs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/nodetool-ai/nodetool.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/sandbox-packs/sandbox-tfjs .claude/skills/sandbox-tfjs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sandbox-tfjs
GitHub stars
560
Token cost
~660 tokens
SKILL.md length
266 words
Files
2
Skills in repo
127
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Classify and embed images, detect objects, and answer from a passage in a Code node or CodeAct action, with TensorFlow.js running on the host

  • Tasks that involve Deep learning
  • SKILL.md covers classify — ImageNet labels, embed — a feature vector for…, detect — objects with boxes and answer — extractive question…, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Sandbox Tfjs is an agent skill from nodetool-ai/nodetool. Classify and embed images, detect objects, and answer from a passage in a Code node or CodeAct action, with TensorFlow.js running on the host

Its SKILL.md is about 660 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `package.json`).

It sits in AI & LLM Engineering, covering Deep learning. It works with TensorFlow. The repository describes itself as: Agent-first Creative Workspace. The licence is AGPL-3.0.

When your agent uses it

  • Tasks that involve Deep learning

Example prompts

  • “/sandbox-tfjs”

What it can do on your machine

Read from SKILL.md and the folder at commit 339f069. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Sandbox Tfjs loads about 660 tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 266 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~39
When it runs · the whole SKILL.md, loaded when a task matches
~660

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from nodetool-ai/nodetool at commit 339f069, republished under its AGPL-3.0 licence (© nodetool-ai). 266 words, ~660 tokens.

Download SKILL.mdSave it as .claude/skills/sandbox-tfjs/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
sandbox-tfjs
description
Classify and embed images, detect objects, and answer from a passage in a Code node or CodeAct action, with TensorFlow.js running on the host

TensorFlow.js models in the sandbox

Specifier: @nodetool-ai/sandbox-tfjs. Import it at the top of the body.

The models are tens of megabytes of weights, fetched over the network and kept between calls. The guest has neither the heap for them nor a way to keep anything alive past a run, so this pack is a host module: the import resolves to a generated facade over NodeTool's own implementation, and each model loads once per process.

These models are small, local, and free — that is the whole reason to reach for them. For anything a description or a caption would answer better, use a vision model through nodetool.media instead.

classify — ImageNet labels

js
import { classify } from "@nodetool-ai/sandbox-tfjs";

const labels = await classify(await workspace.readBytes("photo.jpg"), { topK: 3 });
return { best: labels[0].className, probability: labels[0].probability };

MobileNet v2 over the 1000 ImageNet classes, most likely first. topK defaults to 5.

embed — a feature vector for an image

js
import { embed } from "@nodetool-ai/sandbox-tfjs";

const vector = await embed(bytes);   // 1280 numbers

The MobileNet penultimate layer. Compare two vectors by cosine similarity for near-duplicate detection or nearest-neighbour search.

detect — objects with boxes

js
import { detect } from "@nodetool-ai/sandbox-tfjs";

const objects = await detect(bytes, { maxBoxes: 10, minScore: 0.6 });
// [{ className: "person", score: 0.91, bbox: { x, y, width, height } }, …]

COCO-SSD over the 80 COCO classes. The box is in image pixels. maxBoxes defaults to 20 and minScore to 0.5.

answer — extractive question answering

js
import { answer } from "@nodetool-ai/sandbox-tfjs";

const spans = await answer("When was it founded?", inputs.article);
return { answer: spans[0]?.text ?? null };

BERT QnA quotes the passage — it never writes prose. Each span carries a score and its startIndex/endIndex in the passage.

Gotchas

  • Every export is async, and the first call to each model waits for its weights to download.
  • Images go in as encoded bytes (PNG/JPEG/WebP), decoded through the sandbox's own image backend — so the same pixel caps image.decode enforces apply, and 10 MB is the input limit.
  • The models see pixels, nothing else. classify on a screenshot of text answers with an ImageNet class, not with the text; that is @nodetool-ai/sandbox-ocr.

© nodetool-ai, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in packages/sandbox-packs/sandbox-tfjs of nodetool-ai/nodetool.

  • SKILL.md
  • package.json

Open the folder on GitHubat commit 339f069

Compare with similar skills

Sandbox Tfjs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Sandbox Tfjs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sandbox Tfjs this skillnodetool-ai/nodetool560—~660Automated safety check: PassAGPL-3.0
Ray Train Distributed TrainingOrchestra-Research/AI-Research-SKILLs13k2 repos~2.7kAutomated safety check: PassMIT
TensorBoard Training VisualizationOrchestra-Research/AI-Research-SKILLs13k3 repos~3.8kAutomated safety check: PassMIT
ML Engineerdavila7/claude-code-templates33k9 repos~2.3kAutomated safety check: PassMIT
Senior ML Engineerdavila7/claude-code-templates33k2 repos~1.4kAutomated safety check: PassMIT
Technology Selectiondotnet/skills5.6k1 repos~2.1kAutomated safety check: PassMIT

Similar skills

  • Ray Train Distributed Training

    Orchestra-Research/AI-Research-SKILLs

    Scales PyTorch, TensorFlow and Hugging Face training from a single GPU to multi-node clusters with Ray Train, including Ray Tune sweeps and checkpoint recovery.

    13k GitHub starsUsed in 2 repos~2.7k tokens
    AI & LLM EngineeringAuto-check passed
  • TensorBoard Training Visualization

    Orchestra-Research/AI-Research-SKILLs

    Covers logging and viewing training metrics, histograms, model graphs, embeddings and profiles with TensorBoard in PyTorch and TensorFlow projects.

    13k GitHub starsUsed in 3 repos~3.8k tokens
    AI & LLM EngineeringAuto-check passed
  • ML Engineer

    davila7/claude-code-templates

    Build production ML systems with PyTorch 2.x, TensorFlow, and modern ML frameworks.

    33k GitHub starsUsed in 9 repos~2.3k tokens
    AI & LLM EngineeringAuto-check passed
  • Senior ML Engineer

    davila7/claude-code-templates

    World-class ML engineering skill for productionizing ML models, MLOps, and building scalable ML systems.

    33k GitHub starsUsed in 2 repos~1.4k tokens
    AI & LLM EngineeringAuto-check passed
  • Official

    Guides technology selection and implementation of AI and ML features in .NET 8+ applications using ML.NET, Microsoft.Extensions.AI (MEAI), Microsoft Agent Framework (MAF), GitHub Copilot SDK, ONNX…

    5.6k GitHub starsUsed in 1 repo~2.1k tokens
    AI & LLM EngineeringAuto-check passed
  • Tensorflow Model Trainer

    jeremylongshore/tons-of-skills-marketplace

    Build tensorflow model trainer operations. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~580 tokensUpdated today
    AI & LLM EngineeringAuto-check passed

More from nodetool-ai/nodetool

All 127 skills in this repo
  • Beat Sync Editing

    nodetool-ai/nodetool

    Cut a NodeTool timeline to music and shape its pacing — detect the beat grid, place cuts on phrases, pick a cut type, build speed ramps with time remap, and give the piece an arc.

    560 GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Caption Titles

    nodetool-ai/nodetool

    Add and animate a consistent text layer on an existing NodeTool timeline.

    560 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Color Motion

    nodetool-ai/nodetool

    Choose and animate colour on a NodeTool timeline, including shape and text gradients, colour grades, 3D LUTs, and dither.

    560 GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Commercial Beat Sheet

    nodetool-ai/nodetool

    Write a shootable, precisely timed commercial beat sheet and store it as a NodeTool storyboard, with a consistent entity roster behind every shot.

    560 GitHub stars~4.6k tokensUpdated today
    Auto-check passed
  • Elevenlabs Audio Prompting

    nodetool-ai/nodetool

    Direct ElevenLabs speech, dialogue, sound effects and music — the bracketed audio tags v3 acts on and why the voice decides whether a tag lands, stability as the delivery dial, punctuation instead…

    560 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Frame Composition

    nodetool-ai/nodetool

    Stage the frame on a NodeTool timeline — grids, focal placement, safe areas per aspect ratio, depth layers and parallax, camera moves, and where elements enter and leave.

    560 GitHub stars~3.5k tokensUpdated today
    Auto-check passed

Works with

Questions about Sandbox Tfjs

What does Sandbox Tfjs do?

Classify and embed images, detect objects, and answer from a passage in a Code node or CodeAct action, with TensorFlow.js running on the host. Sandbox Tfjs is an agent skill from nodetool-ai/nodetool.

When should I use Sandbox Tfjs?

Sandbox Tfjs fits situations like: tasks that involve Deep learning.

How do I install Sandbox Tfjs in Claude Code?

Run `npx skills add nodetool-ai/nodetool --skill sandbox-tfjs -a claude-code`. Or copy the skill folder (packages/sandbox-packs/sandbox-tfjs in nodetool-ai/nodetool) into .claude/skills/sandbox-tfjs in your project. Claude Code loads it when a task matches its description.

How do I install Sandbox Tfjs in Codex?

Run `npx skills add nodetool-ai/nodetool --skill sandbox-tfjs -a codex`. Or copy the skill folder (packages/sandbox-packs/sandbox-tfjs in nodetool-ai/nodetool) into .agents/skills/sandbox-tfjs in your project. Codex loads it when a task matches its description.

Can I use Sandbox Tfjs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nodetool-ai/nodetool --skill sandbox-tfjs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sandbox-tfjs, .gemini/skills/sandbox-tfjs, .github/skills/sandbox-tfjs and .opencode/skills/sandbox-tfjs in your project.

What does Sandbox Tfjs need to run?

SKILL.md names no scripts, command-line tools or credentials: Sandbox Tfjs is instructions for the agent only.

Does Sandbox Tfjs access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Sandbox Tfjs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Sandbox Tfjs use?

Sandbox Tfjs is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Sandbox Tfjs use?

About 660 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Sandbox Tfjs?

Skills that share tags, products or a category with Sandbox Tfjs: Ray Train Distributed Training (Orchestra-Research/AI-Research-SKILLs, 13k stars), TensorBoard Training Visualization (Orchestra-Research/AI-Research-SKILLs, 13k stars), ML Engineer (davila7/claude-code-templates, 33k stars) and Senior ML Engineer (davila7/claude-code-templates, 33k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sandbox Tfjs?

nodetool-ai (a GitHub organization) maintains it in nodetool-ai/nodetool, which has 560 GitHub stars. The repository holds 127 skills in this directory. The repository was last updated on October 10, 2026.

Source: nodetool-ai/nodetool on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.