Skip to content
Back to skills

Tree Of Thoughts Llm

ASecurity

"Routes Tree of Thoughts workflows for game24, coherent passage

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
toolspythonapibackend

Works with

  • cli
  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 20 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill tree-of-thoughts-llm --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tree Of Thoughts Llm?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tree Of Thoughts Llm
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-tree-of-thoughts-llm/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-tree-of-thoughts-llm)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tree-of-thoughts-llm
description: "Routes Tree of Thoughts workflows for game24, coherent passage
  generation, and mini-crossword solving, with shared installation and execution
  guidance."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Tree of Thoughts LLM

Use this skill for the Princeton NLP Tree of Thoughts repository and package.
It focuses on the bundled `tot` package, the shared runner, and the three
public task modes: arithmetic puzzles, coherent text generation, and mini
crossword solving.

## Fast start

- Install from PyPI: `pip install tree-of-thoughts-llm`
- Install from a checkout: `pip install -e .`
- Required runtime setting: `OPENAI_API_KEY`
- Optional proxy/base URL: `OPENAI_API_BASE`
- Smoke check: `python scripts/check_install.py`

## Choose a route

- `sub-skills/game24/` for 24-game arithmetic trajectories, ToT BFS, and
  naive sampling baselines.
- `sub-skills/text/` for coherent passage generation, sample/vote runs, and
  GPT-based coherency scoring.
- `sub-skills/crosswords/` for 5x5 mini crosswords, naive sampling, and the
  notebook-derived DFS search workflow.

## Shared runtime helper

- `scripts/run_tot.py` is the bundled runner that mirrors the repository
  runner interface and writes JSON logs under `./logs/` relative to the launch
  directory.
- `scripts/check_install.py` confirms the runtime package install, public
  metadata, and the three task constructors from the active environment.

## What this skill does not do

- It does not depend on the original checkout being present at runtime.
- It does not bundle private API keys, proxies, or machine-specific paths.
- It does not run the paper experiments automatically; use the route-specific
  sub-skill scripts or the shared runner with explicit task arguments.

## Shared prerequisites

The package is pure Python, but the workflows call the OpenAI Chat Completions
API. Expect the following before running any task mode:

- A valid OpenAI key in `OPENAI_API_KEY`.
- A reachable API endpoint, optionally overridden with `OPENAI_API_BASE`.
- Network access to the chosen backend.
- The runtime package installed with its pinned dependencies.

## Read next

- `references/workflows.md` for the shared ToT execution model and extension
  notes.
- `references/cli-reference.md` for the bundled runner flags and example
  commands.
- `references/api-reference.md` for verified package functions and task
  classes.
- `references/troubleshooting.md` for install, import, API, and parsing
  failures.
- `references/repo-provenance.md` before refreshing this skill from a newer
  checkout.

Files in this skill

  • SKILL.md2.6 KB
  • references/api-reference.md4.5 KB
  • references/cli-reference.md2.4 KB
  • references/repo-provenance.md981 B
  • references/repo-routing-metadata.json361 B
  • references/troubleshooting.md2.7 KB
  • references/workflows.md2 KB
  • scripts/check_install.py632 B
  • scripts/run_tot.py2.9 KB
  • sub-skills/crosswords/SKILL.md1.7 KB
  • sub-skills/crosswords/references/troubleshooting.md1 KB
  • sub-skills/crosswords/references/workflows.md1.6 KB
  • sub-skills/crosswords/scripts/dfs_search.py5.5 KB
  • sub-skills/crosswords/scripts/run_crosswords.sh1.3 KB
  • sub-skills/game24/SKILL.md1.6 KB
  • sub-skills/game24/references/troubleshooting.md1.1 KB
  • sub-skills/game24/references/workflows.md1.6 KB
  • sub-skills/game24/scripts/run_game24.sh1.1 KB
  • sub-skills/text/SKILL.md1.5 KB
  • sub-skills/text/references/troubleshooting.md1.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.