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 DataSQRL/sqrl --skill implement-udfgit clone --depth 1 https://github.com/DataSQRL/sqrlWrote 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/datasqrl/sqrl/implement-udf)<a href="https://agentmods.dev/skills/datasqrl/sqrl/implement-udf"><img src="https://agentmods.dev/badge/skills/datasqrl/sqrl/implement-udf/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/datasqrl/sqrl/implement-udf"><img src="https://agentmods.dev/badge/skills/datasqrl/sqrl/implement-udf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00031 | $0.00495 |
| Opus 5.5 | $0.00012 | $0.00198 |
| Sonnet 5.5 | $0.00006 | $0.00099 |
| Haiku 4.5 | $0.00003 | $0.00049 |
Grade A, and why
implement-udf 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 3d 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.
What it actually says
Implement User Defined Function
Implement New UDF
Only implement a UDF if the functionality cannot be implemented with existing Flink SQL or DataSQRL functions. Look up existing functions first.
Follow these steps:
- Initialize function with
/opt/agent/cmd.sh add-func -r <project-root> <function-name>to create a scalar UDF. Append--aggregateto create an aggregate function.-ris the project root relative to/workspace, the same value you pass tocompileandtest, and not the current directory. It must stay inside/workspace: a root such as../otheris rejected withProject root must be inside the workspace. Without-rthe project root is/workspace. - New function implementation is added in the project's
functions/folder with the name<function-name>.java - The generated file declares
//DEPS org.apache.flink:flink-table-common:<version>with the compiler's Flink version. Keep this line: the UDF does not compile without it. - Import into SQRL script with
IMPORT functions.<function-name>orIMPORT functions.*for all functions.functions/sits at the project root, so from a script in a subfolder use the reservedrootprefix —IMPORT root.functions.<function-name>— since SQRL relative dot-paths cannot climb upward. (Inside an included project, keep the import relative so it travels with the copied files.)
Edit UDF
Follow these steps:
- Edit the
.javafile in thefunctions/folder - Try to use standard java libraries
- Use JBANG
//DEPSto include dependencies, next to the generatedflink-table-commonone compile,testandrunbuild the UDFs with JBang. A build failure stops the command with[FATAL] Failed to build JBang UDF(s) [...]followed by the javac output: fix the reported file and line before anything else- Implement tests for the function in the
mainmethod - Execute the
mainmethod after each edit to ensure function compiles and works correctly
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.
- 3d ago Changed 79da1e2c301b
- 17d ago Changed 30e93c624c16
- 1mo ago Changed · +2 lines eb4d2ce1b476
- 2mo ago First seen · 24 lines · 31 tokens per session scan A 34a01e15b068
implement-udf is a skill published in the GitHub repository DataSQRL/sqrl (237 stars, last pushed 2d ago), licensed Apache-2.0. It adds 31 tokens to every session and 495 once invoked, about $0.0001 per session on Opus 5.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-09-30.
implement-udf compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| implement-udfDataSQRL/sqrl | Skill | 237 | 2d ago | Apache-2.0 | A | 31 | Claude Code, Codex |
| authoring-java-sdk-tasksastronomer/agents | Skill | 464 | 6d ago | Apache-2.0 | A | 152 | Claude Code |
| configuring-airflow-language-sdksastronomer/agents | Skill | 464 | 6d ago | Apache-2.0 | A | 155 | Claude Code |
| deploying-java-sdk-bundlesastronomer/agents | Skill | 464 | 6d ago | Apache-2.0 | C | 146 | Claude Code |
| java-data-engineering-and-integration-servicesvaquarkhan/data-engineering-agent-skills | Skill | 69 | 5mo ago | MIT | A | 45 | Claude Code, Codex |
| fastapi-patternschandrudp29/skillhub | Skill | 14 | 5mo ago | MIT | A | 36 | Claude Code, Codex |
| api-data-fetcherJonasWeinert/EconAgentSkills | Skill | 32 | 6mo ago | none | A | 144 | Claude Code, Codex |