Skip to main content

Scripts

Turn AI workflows into one-click commands without coding. Scripts are the core of Telosnex, combining multiple AI steps into powerful tools you can customize and share.

Accessing Scripts​

Screenshot showing how to access Scripts from Go button

Access Scripts through the Go Button on the Companion. Scripts are listed alphabetically - tap any to open.

Menu for an individual Script

Access script options via the 3-dot menu:

  • Copy Link: Share script access link
  • Delete: Remove script permanently
  • Download JSON: Export script configuration
  • Duplicate: Create a copy of this script
  • Copy Screenshot: Capture script as image
  • Sync: Cloud Private: Toggle cloud synchronization (both storage options remain private)

Script Library​

Script Library button

Download pre-built Scripts from Telosnex and other users through:

  • Library icon on Scripts Screen
  • Companion > Magic Wand > Library

Essential Scripts​

Start with Chat and Search scripts:

  • Small versions (Chat S/Search S): Cost-effective
  • Large versions (Chat L/Search L): More powerful
Scripts are Yours

Downloaded scripts become yours to customize - they won't be overwritten by Library updates. Download again anytime for the latest version.

Building Scripts​

The Script Screen has three tabs:

Info Tab​

Script Screen Info tab

Set basic details like name, icon, and description. Auto mode uses descriptions to choose the best script for each prompt.

Test Tab​

Script Screen Test tab

Try your script with test prompts to verify performance.

Code Tab​

Script Screen Code tab

Visual canvas for connecting five types of Script Steps:

  1. Dialogue: Instructions and context
  2. AI Chat: Core AI interactions
  3. Search: Web information gathering
  4. Retrieve: Document processing
  5. AI Art: Image generation
Automatic Prompt Step

Scripts automatically include your prompt as a Dialogue step - no need to add it manually.

Script Steps​

1. Dialogue​

Script Dialogue step

Pre-written prompts and instructions with distinct roles:

  • Assistant: Shape AI's response style
    • Example: "I'll answer in bullet points, starting with the most important information"
  • System: Set overall AI behavior
    • Example: "You are an expert programmer focusing on clean, maintainable code"
  • User: Provide instructions/examples
    • Example: "Please analyze this using the following three criteria..."
  • Function: Handle structured data results
    • Advanced feature for processing JSON outputs
Hide Instructions

Toggle dialogue visibility with the eye icon. Access hidden steps anytime via Magic Wand > Show Code.

2. AI Chat​

Script AI Chat step

Control AI response parameters:

  • Words: Maximum output length (e.g., 500 words)
  • Temperature: Response randomness (0-1)
    • 0.2: Focused, consistent responses
    • 0.8: Creative, varied outputs
  • Top P: Vocabulary diversity
    • 0.1: Limited, precise vocabulary
    • 1.0: Full vocabulary range
  • Variable Name: Reference output later (e.g., "firstDraft")
  • Structure: Format output as JSON for consistent parsing
Script Search step

Configure web searches:

  • Queries: One search query per line
    • Example: "latest research on renewable energy"
  • Searches: Number to perform (e.g., 3 searches)
  • Results: Results to retrieve per search (e.g., 5 results)

4. Retrieve​

Script Retrieve step

Process documents and search results:

  • Queries: Search/filter criteria
    • Example: "Find statistics and recent data"
  • Words: Maximum retrieved text length
    • Example: 1000 words for concise summaries

5. AI Art​

Script Art step

Generate images with provider-specific options:

  • Prompt: Core image description
  • Additional settings via Magic Wand > Art Provider Settings
    • Style adjustments
    • Resolution options
    • Generation parameters

Advanced Features​

Templates​

Reference outputs in later steps using Jinja templates:

  • Use {{variable_name}} to reference AI Chat outputs
  • Built-in variables:
    • {{prompt}}: Original user input
    • {{datetime}}: Current date/time
  • Name outputs using "Variable Name" in AI Chat steps
    • Example: Name step "outline", reference later as {{outline}}

Example: Art Prompt Enhancement​

  1. User Dialog: Request prompt enhancement
    • "Improve this art prompt for better results"
  2. AI Chat: Generate enhanced prompt
    • Set Variable Name: "artPrompt"
    • Temperature: 0.7 for creative rewording
  3. AI Art: Use enhanced prompt
    • Prompt: {{artPrompt}}
info

See Cookbooks > Art for detailed examples and best practices.