Agent skill

Python API

by VectorSpaceLab in VectorSpaceLab/AREX-Skill

Programmatic Deep Daze API use for Imagine and DeepDaze construction, prompt/image/encoding workflows, progress saving, optimizers, and troubleshooting.

MITAuto-check passed

Install Python API

skills CLI
$ npx skills add VectorSpaceLab/AREX-Skill --skill python-api -a claude-code

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

GitHub CLI
$ gh skill install VectorSpaceLab/AREX-Skill python-api --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/VectorSpaceLab/AREX-Skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/repositories/repo-skills/deep-daze/sub-skills/python-api .claude/skills/python-api && 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
python-api
GitHub stars
328
Token cost
~770 tokens
SKILL.md length
296 words
Files
5 (incl. scripts, references)
Skills in repo
157
Repo updated
First seen
Licence
MIT

At a glance

Programmatic Deep Daze API use for Imagine and DeepDaze construction, prompt/image/encoding workflows, progress saving, optimizers, and troubleshooting.

  • Works in 6 steps: Decide the objective input: exactly one… → Pick conservative constructor settings… → Set open_folder=False for noninteractive… → …
  • Imagine and DeepDaze construction
  • SKILL.md covers Route first, Operating sequence, Minimal Python pattern and Safety notes
  • Runs Python scripts from its folder

What it does

Python API is an agent skill from VectorSpaceLab/AREX-Skill. Programmatic Deep Daze API use for Imagine and DeepDaze construction, prompt/image/encoding workflows, progress saving, optimizers, and troubleshooting.

Its SKILL.md is about 770 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `references/api-reference.md`, `references/troubleshooting.md` and `references/workflow-recipes.md`).

It works with Python. The repository describes itself as: A Skill Library for Automated Machine Learning. The licence is MIT.

When your agent uses it

  • Imagine and DeepDaze construction
  • Prompt/image/encoding workflows
  • Progress saving
  • Troubleshooting

Example prompts

  • “/python-api”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Decide the objective input: exactly one of text-only, image-only, combined text+image, or a precomputed CLIP encoding unless deliberately…
  2. Pick conservative constructor settings before instantiating Imagine; construction loads CLIP and may perform model retrieval through the…
  3. Set open_folder=False for noninteractive agents and control the current working directory because images, progress frames, story…
  4. Use exact optimizer names: AdamP, Adam, or DiffGrad.
  5. Run scripts/probe_api_surface.py --verify when a lightweight API check is needed without constructing Imagine or downloading CLIP weights.
  6. Use the references for details

What it can do on your machine

Read from SKILL.md and the folder at commit ac3fe1a. 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

    Ships 1 file in scripts/ (Python), which the agent can run.

    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

Python API loads about 770 tokens when it runs, and up to ~6.5k if it reads all its reference files. Until then it costs about 41 tokens; SKILL.md has 296 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~770
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.5k

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); the scripts in this folder are not scanned.

SKILL.md

The full file from VectorSpaceLab/AREX-Skill at commit ac3fe1a, republished under its MIT licence (© VectorSpaceLab). 296 words, ~770 tokens.

Download SKILL.mdSave it as .claude/skills/python-api/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
python-api
description
Programmatic Deep Daze API use for Imagine and DeepDaze construction, prompt/image/encoding workflows, progress saving, optimizers, and troubleshooting.
disable-model-invocation
true
metadata.disco-role
operating
license
MIT

python-api

Use this sub-skill when a task needs to call Deep Daze from Python rather than assemble shell commands. It covers safe Imagine and DeepDaze construction, prompt/image/custom-encoding choices, story mode, start-image priming, output path helpers, progress saving, optimizers, reproducibility knobs, and API-level failure modes.

Route first

  • For command-line invocation, flags, quoting, overwrite prompts, and shell workflow construction, route to ../cli-workflows/SKILL.md.
  • For installation, CLIP model cache/download/network diagnosis, CUDA/CPU availability, package compatibility, and backend memory diagnosis, route to ../runtime-and-models/SKILL.md.
  • Stay here for Python call structure, constructor arguments, API defaults, helper methods, and code-level troubleshooting after the environment is usable.

Operating sequence

  1. Decide the objective input: exactly one of text-only, image-only, combined text+image, or a precomputed CLIP encoding unless deliberately replacing the target later with set_clip_encoding.
  2. Pick conservative constructor settings before instantiating Imagine; construction loads CLIP and may perform model retrieval through the runtime cache.
  3. Set open_folder=False for noninteractive agents and control the current working directory because images, progress frames, story transitions, GIFs, and videos are written relative to it.
  4. Use exact optimizer names: AdamP, Adam, or DiffGrad.
  5. Run scripts/probe_api_surface.py --verify when a lightweight API check is needed without constructing Imagine or downloading CLIP weights.
  6. Use the references for details:

Minimal Python pattern

python
from deep_daze import Imagine

imagine = Imagine(
    text="a house in the forest",
    epochs=1,
    iterations=100,
    save_every=25,
    save_progress=True,
    open_folder=False,
)
imagine()

Safety notes

  • Imagine(...) is not a cheap metadata operation: instantiate only when ready for CLIP loading and potential cache use.
  • Regular text prompts must fit CLIP tokenization; use story mode for longer prose but still validate each story segment.
  • DeepDaze is the lower-level SIREN module and requires an already loaded CLIP perceptor, normalization transform, input resolution, total-batch count, and batch settings.

© VectorSpaceLab, MIT. 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 4 other files (scripts, references) in skills/repositories/repo-skills/deep-daze/sub-skills/python-api of VectorSpaceLab/AREX-Skill.

  • SKILL.md
  • references/api-reference.md
  • references/troubleshooting.md
  • references/workflow-recipes.md
  • scripts/probe_api_surface.py

Open the folder on GitHubat commit ac3fe1a

Compare with similar skills

Python API 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.

Python API compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Python API this skillVectorSpaceLab/AREX-Skill328—~770Automated safety check: PassMIT
MCP Server Builderanthropics/skills180k64 repos~2.3kAutomated safety check: PassApache-2.0
PDF Processinganthropics/skills180k48 repos~2kAutomated safety check: PassProprietary
NotebookLM Research AssistantPleasePrompto/notebooklm-skill7.8k14 repos~2.4kAutomated safety check: NotesMIT
Manim Video Productionbrowser-use/video-use28k6 repos~3kAutomated safety check: PassMIT
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 64 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • PDF Processing

    anthropics/skills

    Official

    Handles everyday PDF jobs in Python and on the command line: extract text and tables, merge, split, rotate, watermark, fill forms, encrypt and OCR.

    180k GitHub starsUsed in 48 repos~2k tokens
    Documents & OfficeAuto-check passed
  • NotebookLM Research Assistant

    PleasePrompto/notebooklm-skill

    Lets Claude Code ask questions of your Google NotebookLM notebooks through browser automation and return answers grounded in your uploaded sources.

    7.8k GitHub starsUsed in 14 repos~2.4k tokens
    Knowledge ManagementAuto-check: notes
  • Manim Video Production

    browser-use/video-use

    Produces math and technical explainer videos with Manim Community Edition: concept animations, equation derivations, algorithm walkthroughs and data stories.

    28k GitHub starsUsed in 6 repos~3k tokens
    Media & CreativeAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • PPT Master

    hugohe3/ppt-master

    Generates editable PowerPoint decks, rebuilds slides from images, fills .pptx templates and polishes existing presentations through routed workflows.

    58k GitHub starsUsed in 1 repo~2.5k tokens
    Documents & OfficeAuto-check passed

More from VectorSpaceLab/AREX-Skill

All 157 skills in this repo
  • Agent Lightning

    VectorSpaceLab/AREX-Skill

    Use this repo skill for Agent Lightning package tasks: authoring trainable agents, tracing rewards and spans, running LightningStore/Trainer loops, using agl CLI services, choosing examples, and…

    328 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Agent Tools

    VectorSpaceLab/AREX-Skill

    A skill your agent uses when configuring LiteLLM for MCP tools, A2A agents, Claude Code/Cursor agent gateway traffic, MCP auth/OAuth, tool permissions, semantic filtering, or agent-specific proxy…

    328 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Agents And Awel

    VectorSpaceLab/AREX-Skill

    Build and debug DB-GPT agents, tools, skills, teams, and AWEL workflows, including deterministic local DAG runs and HTTP-trigger topology without assuming an LLM, credential, or external service.

    328 GitHub stars~2.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Agents And Middleware

    VectorSpaceLab/AREX-Skill

    Work on the actively maintained LangChain v1 agent package: initchatmodel, createagent, structured output, tools, middleware, embeddings initialization, provider routing, and agent runtime…

    328 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Agents Workflows

    VectorSpaceLab/AREX-Skill

    A skill your agent uses for giskard.agents async chat workflows, tools, prompt templates, structured outputs, retries, rate limiting, embeddings, and optional LiteLLM backend.

    328 GitHub stars~500 tokensUpdated 1 mo ago
    Auto-check passed
  • Alphafold3

    VectorSpaceLab/AREX-Skill

    A skill your agent uses for AlphaFold 3 input preparation, prediction command planning, output interpretation, and Python API inspection.

    328 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Python API

What does Python API do?

Programmatic Deep Daze API use for Imagine and DeepDaze construction, prompt/image/encoding workflows, progress saving, optimizers, and troubleshooting. Python API is an agent skill from VectorSpaceLab/AREX-Skill. Programmatic Deep Daze API use for Imagine and DeepDaze construction, prompt/image/encoding workflows, progress saving, optimizers, and troubleshooting.

When should I use Python API?

Python API fits situations like: imagine and DeepDaze construction; prompt/image/encoding workflows; progress saving; troubleshooting.

How do I install Python API in Claude Code?

Run `npx skills add VectorSpaceLab/AREX-Skill --skill python-api -a claude-code`. Or copy the skill folder (skills/repositories/repo-skills/deep-daze/sub-skills/python-api in VectorSpaceLab/AREX-Skill) into .claude/skills/python-api in your project. Claude Code loads it when a task matches its description.

How do I install Python API in Codex?

Run `npx skills add VectorSpaceLab/AREX-Skill --skill python-api -a codex`. Or copy the skill folder (skills/repositories/repo-skills/deep-daze/sub-skills/python-api in VectorSpaceLab/AREX-Skill) into .agents/skills/python-api in your project. Codex loads it when a task matches its description.

Can I use Python API 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 VectorSpaceLab/AREX-Skill --skill python-api -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/python-api, .gemini/skills/python-api, .github/skills/python-api and .opencode/skills/python-api in your project.

What does Python API need to run?

Going by SKILL.md and its folder, Python API needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Python API 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 Python API 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Python API use?

Python API is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Python API use?

About 770 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.7k tokens, read only when the agent opens those files.

What are the alternatives to Python API?

Skills that share tags, products or a category with Python API: MCP Server Builder (anthropics/skills, 180k stars), PDF Processing (anthropics/skills, 180k stars), NotebookLM Research Assistant (PleasePrompto/notebooklm-skill, 7.8k stars) and Manim Video Production (browser-use/video-use, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Python API?

VectorSpaceLab (a GitHub organization) maintains it in VectorSpaceLab/AREX-Skill, which has 328 GitHub stars. The repository holds 157 skills in this directory. The repository was last updated on September 3, 2026.

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