Skip to content
Back to skills

Agents And Models

ASecurity

"Configure and inspect tree-of-thoughts TotAgent model adapters,

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 9, 2026
toolspythonrustrailsdebuggingapi

Works with

  • api

Security analysis

A100/100

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

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill agents-and-models --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agents And Models?

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

Security grade badge for Agents And Models
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-agents-and-models/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-agents-and-models)

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: agents-and-models
description: "Configure and inspect tree-of-thoughts TotAgent model adapters,
  Thought output contracts, and safe model preflight checks."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# agents-and-models

Use this sub-skill when a task needs to configure, inspect, or preflight the `tree-of-thoughts` model-facing agent layer before using search workflows. It covers `TotAgent`, the `Thought` schema, OpenAI caller configuration, injected custom or fake models, model-output validation, and failure diagnosis.

## Route here for

- Verifying that `TotAgent` imports and that the installed dependency set is compatible.
- Choosing between the default OpenAI function caller and `use_openai_caller=False` with a custom or fake model runner.
- Validating that a model returns dict-like text with `thought` and numeric `evaluation` keys.
- Building deterministic fake agents for safe downstream DFS/BFS smoke checks without external services.
- Diagnosing import, API-key, parser, constructor side-effect, or no-PyTorch warnings around model setup.

## Do not handle here

- DFS/BFS traversal parameters, pruning behavior, breadth limits, or result interpretation. Route those to the search-workflows sub-skill.
- Stale maintainer scripts, packaging release automation, or project-wide cleanup. Route those to the root troubleshooting or maintainer references.

## Runtime references

1. Read [references/api-reference.md](references/api-reference.md) for verified signatures, install/import expectations, environment setup, model-output contracts, and safe fake/custom model examples.
2. Read [references/troubleshooting.md](references/troubleshooting.md) for concrete symptoms, causes, commands, and expected recovery signals.
3. Use [scripts/check_model_contract.py](scripts/check_model_contract.py) to validate sample model output before passing it into `TotAgent.run` or DFS/BFS wrappers.

## Operating guardrails

- Treat model output as trusted-only or tightly constrained: this package converts text to a dict with Python `eval`.
- Prefer deterministic fake/custom runners for CI, smoke tests, and offline checks; the default `TotAgent(use_openai_caller=True)` requires `OPENAI_API_KEY` and external OpenAI-compatible service access.
- Keep API keys out of prompts, logs, sample outputs, and generated files.
- Validate the model contract before debugging DFS/BFS behavior; traversal code assumes every generated thought is a dict with exact `thought` and `evaluation` keys.

Files in this skill

  • SKILL.md2.5 KB
  • references/api-reference.md8.5 KB
  • references/troubleshooting.md6.8 KB
  • scripts/check_model_contract.py2.8 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.