PromptL Syntax Guide
PromptL syntax guide for writing prompts in the Latitude platform. This skill should be used when writing, reviewing, or editing PromptL prompts. Triggers on tasks involving creating prompts, configuring LLM parameters, using variables, conditionals,
Free to install — no account needed
Copy the command below and paste into your agent.
Instant access • No coding needed • No account needed
What you get in 5 minutes
- Full skill code ready to install
- Works with 4 AI agents
- Lifetime updates included
Description
--- name: promptl description: PromptL syntax guide for writing prompts in the Latitude platform. This skill should be used when writing, reviewing, or editing PromptL prompts. Triggers on tasks involving creating prompts, configuring LLM parameters, using variables, conditionals, loops, chains, tools, agents, or any prompt engineering in Latitude. license: MIT metadata: author: latitude version: "1.0.0" --- # PromptL Syntax Guide Comprehensive guide for writing PromptL prompts in the Latitude platform. PromptL is a versatile, human-readable language that simplifies defining and managing dynamic prompts for LLMs. ## When to Apply Reference these guidelines when: - Writing new PromptL prompts for Latitude - Configuring LLM models and parameters - Using variables, conditionals, or loops in prompts - Creating multi-step chains or agentic workflows - Defining tools for function calling - Referencing other prompts (snippets) - Working with structured JSON output schemas ## Syntax Categories | Category | Purpose | Key Syntax | |----------|---------|------------| | Configuration | Define model, provider, and parameters | `---` YAML block | | Messages | Structure conversations | `<system>`, `<user>`, `<assistant>`, `<tool>` | | Variables | Dynamic content | `{{ variable }}` | | Conditionals | Dynamic flow control | `{{ if }}`, `{{ else }}`, `{{ endif }}` | | Loops | Iterate over lists | `{{ for item in list }}`, `{{ endfor }}` | | Chains | Multi-step prompts | `<step>` | | Tools | Function calling | `tools:` in config | | Agents | Autonomous workflows | `type: agent` | | Snippets | Reusable prompts | `<prompt path="..." />` | | Content | Multi-modal content | `<content-image>`, `<content-file>` | ## Quick Reference ### Configuration Block ```yaml --- provider: OpenAI model: gpt-4o temperature: 0.7 top_p: 0.9 maxSteps: 20 --- ``` ### Message Tags - `<system>` - System instructions - `<user>` - User messages - `<assistant>` - Assistant responses - `<tool>` - Tool interaction results - `<message role="...">` - Generic message tag ### Variables ``` {{ variable_name }} {{ variable || "default" }} {{ set myVar = "value" }} ``` ### Conditionals ``` {{ if condition }} content {{ else }} alternative {{ endif }} ``` ### Loops ``` {{ for item, index in items }} {{ index }}: {{ item }} {{ else }} No items {{ endfor }} ``` ### Chains (Multi-step) ``` <step as="result"> First step content </step> <step> Use {{ result }} from previous step </step> ``` ### Tools Configuration ```yaml tools: - tool_name: description: What the tool does parameters: type: object properties: param_name: type: string description: Parameter description required: - param_name ``` ### Agents ```yaml --- type: agent provider: OpenAI model: gpt-4o tools: - latitude/search agents: - agents/sub-agent-path maxSteps: 40 --- ``` ### Structured Output ```yaml schema: type: object properties: field_name: type: string description: Field description required: - field_name ``` ### Prompt References (Snippets) ``` <prompt path="relative/path/to/prompt" /> <prompt path="shared/policies" variable={{ value }} /> ``` ### Content Types ``` <content-text>Plain text</content-text> <content-image>{{ image_url }}</content-image> <content-file mime="application/pdf">{{ file_data }}</content-file> ``` ## How to Use Read the `AGENTS.md` file for the complete detailed guide with all syntax explanations, examples, and best practices. Each section contains: - Detailed explanation of the feature - Correct usage examples - Common mistakes to avoid - Best practices and tips
Security Status
Scanned
Passed automated security checks
Related AI Tools
More Make Money tools you might like
Social Autoposter
Free"Automate social media posting across Reddit, X/Twitter, LinkedIn, and Moltbook. Find threads, post comments, create original posts, track engagement stats. Use when: 'post to social', 'social autoposter', 'find threads to comment on', 'create a post
PICT Test Designer
FreeDesign comprehensive test cases using PICT (Pairwise Independent Combinatorial Testing) for any piece of requirements or code. Analyzes inputs, generates PICT models with parameters, values, and constraints for valid scenarios using pairwise testing.
Product Manager Skills
FreePM skill for Claude Code, Codex, Cursor, and Windsurf. Diagnoses SaaS metrics, critiques PRDs, plans roadmaps, runs discovery, coaches PM career transitions, pressure-tests AI product decisions, and designs PLG growth strategies. Seven knowledge doma
paper-fetch
FreeUse when the user wants to download a paper PDF from a DOI, title, or URL via legal open-access sources. Tries Unpaywall, arXiv, bioRxiv/medRxiv, PubMed Central, and Semantic Scholar in order. Never uses Sci-Hub or paywall bypass.
Beautiful Prose (Claude Skill)
FreeA hard-edged writing style contract for timeless, forceful English prose without modern AI tics. Use when users ask for prose or rewrites that must be clean, exact, concrete, and free of AI cadence, filler, or therapeutic tone.
SkillCheck (Free)
FreeValidate Claude Code skills against Anthropic guidelines. Use when user says "check skill", "skillcheck", "validate SKILL.md", or asks to find issues in skill definitions. Covers structural and semantic validation. Do NOT use for anti-slop detection,