Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add celigo/ai --skill writing-handlebarsgit clone --depth 1 https://github.com/celigo/aiWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/celigo/ai/writing-handlebars)<a href="https://agentmods.dev/skills/celigo/ai/writing-handlebars"><img src="https://agentmods.dev/badge/skills/celigo/ai/writing-handlebars.svg" alt="Measured on agentmods" height="20"></a>- Socket pass
- Snyk fail
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00050 | $0.05328 |
| Opus 5 | $0.00025 | $0.02664 |
| Sonnet 5 | $0.00010 | $0.01066 |
| Haiku 4.5 | $0.00005 | $0.00533 |
Grade A, and why
writing-handlebars scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 373 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Writing Handlebars Expressions
Handlebars is Celigo's template language for embedding dynamic values into resource configurations. Any string field that the platform evaluates at runtime can contain Handlebars expressions.
Concerns when writing Handlebars:
- Context -- where the expression runs determines what data is available and how output is treated
- Braces -- double
{{ }}vs triple{{{ }}}controls output escaping - Field access --
record.prefix in all contexts (AFE 2.0),@rootfor job/settings/connection, bracket notation for special characters - Helpers -- 79 custom helpers for math, string manipulation, dates, encoding, regex, and more
- Block helpers --
#each,#if,#compare,#withfor iteration and conditional logic - Date/time -- moment.js format tokens with timezone support
Used across exports, imports, mappings, output filters, and APIs.
Where Handlebars Are Used
Mapping extracts
In import mappings[].extract fields, Handlebars concatenates, transforms, or conditionally selects values. The context is the current record.
HTTP request templates
Export and import http blocks use Handlebars in relativeURI, body, headers, and postBody. Triple braces are essential to avoid HTML encoding of query parameters and JSON.
RDBMS SQL queries
SQL queries in rdbms.query use Handlebars with the mandatory record. prefix. Triple braces prevent encoding of SQL-significant characters like commas and quotes. For full SQL patterns (MERGE, upsert, bulk operations, dialect differences), see writing-sql.
Output filters
Expression-based filters on exports use Handlebars to evaluate whether a record passes through or gets skipped.
File paths and names
Dynamic file names in FTP/S3 exports and imports use Handlebars for timestamps and record-derived values.
Delta tokens
Platform-injected variables like {{{lastExportDateTime}}} provide the last successful export timestamp for incremental syncs. These are not record fields -- the platform injects them at runtime into the export's HTTP/query context only.
What ships with it
12 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/helpers/array.md 10 KB
- references/helpers/auth.md 7.1 KB
- references/helpers/block-helpers.md 31 KB
- references/helpers/date.md 7.5 KB
- references/helpers/encoding.md 14 KB
- references/helpers/format.md 3.2 KB
- references/helpers/helper-index.md 6.9 KB
- references/helpers/math.md 16 KB
- references/helpers/regex.md 5.5 KB
- references/helpers/string.md 30 KB
- references/helpers/syntax-and-recipes.md 5.9 KB
- references/helpers/type-logic.md 5.7 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 373 lines · 50 tokens per session scan A 6f84de244922
writing-handlebars is a skill published in the GitHub repository celigo/ai (3 stars, last pushed 3d ago), licensed MIT. It adds 50 tokens to every session and 5,328 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
jira-ticket
Create a Jira issue via the Jira Cloud REST API. Requires JIRABASEURL, JIRAEMAIL, and JIRAAPITOKEN environment variables on the server. Trigger on: create a Jira ticket, raise a Jira issue, log a bug in Jira, open a story.
servicenow-ticket
Create a ServiceNow incident via the Table API. Requires SERVICENOWINSTANCE, SERVICENOWUSER, and SERVICENOWPASSWORD environment variables on the server. Trigger on: create a ServiceNow incident, raise an ITSM ticket, log an incident.
subagent-driven-development
Execute plans via delegatetask subagents (2-stage review).
duckduckgo-search
Free keyless web, news, and image search via ddgs.
mcporter
List, auth, and call MCP servers/tools from the terminal.
mem0-oss-to-platform
Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…