scl-expressions

Explain SCL dynamic expressions with backtick syntax and built-in functions.

1|1|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/simple-platform/simple-tools --skill scl-expressions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scl-expressions
Source: https://github.com/simple-platform/simple-tools/tree/main/tools/simple-cli/internal/scaffold/templates/agent/skills/scl-expressions
Command: npx skills add https://github.com/simple-platform/simple-tools --skill scl-expressions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill demystifies and provides clear guidance on using SCL's powerful dynamic expression language, enabling users to leverage variables, functions, and data manipulation for complex logic within SCL.

Core Features & Use Cases

  • Dynamic Value Injection: Understand how to use backtick expressions to embed dynamic data and function calls within SCL.
  • Variable Management: Learn to define and utilize reusable data blocks with the var keyword for GraphQL queries or static JSON.
  • Function Reference: Comprehensive details on built-in functions like $var, $jq, $json, $file, $env, and $encode_image.
  • Common Patterns: Practical examples for dynamic ID lookups and configuration injection.

Quick Start

Use the scl-expressions skill to understand how to dynamically set a table_id using a jq filter on a variable.

Frequently Asked Questions about scl-expressions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use backtick expressions for dynamic data injection in SCL?

Backtick expressions enable dynamic data injection in SCL by embedding variables and function calls directly within your logic. You can use them to dynamically set values like a table_id by evaluating functions such as $jq inside the expression syntax.

Can I use jq filters to manipulate variables and perform dynamic lookups in SCL?

Yes, you can use the $jq function within SCL expressions to manipulate variables and perform dynamic lookups. This allows you to filter complex data structures and extract specific identifiers, such as a table_id, for dynamic configuration injection.

What built-in functions are available for data manipulation in the SCL expression language?

The SCL expression language includes built-in functions like $var, $jq, $json, $file, $env, and $encode_image for data manipulation. These functions support variable management, file reading, environment variable injection, and data formatting within your logic.

How do I load environment variables and file contents into my SCL logic?

You can load environment variables and file contents into SCL logic using the $env and $file functions within backtick expressions. This allows seamless configuration injection and data retrieval directly into your dynamic workflows.

Does SCL dynamic expression language support piping data between function calls?

Yes, the SCL dynamic expression language supports piping data between function calls. This syntax allows you to pass the output of one expression or function directly into another, streamlining complex data manipulation and variable transformation chains.