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
Access Scripts through the Go Button on the Companion. Scripts are listed alphabetically - tap any to open.
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
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
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
Set basic details like name, icon, and description. Auto mode uses descriptions to choose the best script for each prompt.
Test Tab
Try your script with test prompts to verify performance.
Code Tab
Visual canvas for connecting five types of Script Steps:
- Dialogue: Instructions and context
- AI Chat: Core AI interactions
- Search: Web information gathering
- Retrieve: Document processing
- AI Art: Image generation
Scripts automatically include your prompt as a Dialogue step - no need to add it manually.
Script Steps
1. Dialogue
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
Toggle dialogue visibility with the eye icon. Access hidden steps anytime via Magic Wand > Show Code.
2. AI Chat
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
3. Search
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
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
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: Name step "outline", reference later as
Example: Art Prompt Enhancement
- User Dialog: Request prompt enhancement
- "Improve this art prompt for better results"
- AI Chat: Generate enhanced prompt
- Set Variable Name: "artPrompt"
- Temperature: 0.7 for creative rewording
- AI Art: Use enhanced prompt
- Prompt:
{{artPrompt}}
- Prompt:
See Cookbooks > Art for detailed examples and best practices.