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 alexmond/jhelm --skill new-functiongit clone --depth 1 https://github.com/alexmond/jhelmWrote 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/alexmond/jhelm/new-function)<a href="https://agentmods.dev/skills/alexmond/jhelm/new-function"><img src="https://agentmods.dev/badge/skills/alexmond/jhelm/new-function/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/alexmond/jhelm/new-function"><img src="https://agentmods.dev/badge/skills/alexmond/jhelm/new-function.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.00018 | $0.00536 |
| Opus 5.5 | $0.00007 | $0.00214 |
| Sonnet 5.5 | $0.00004 | $0.00107 |
| Haiku 4.5 | $0.00002 | $0.00054 |
Grade A, and why
new-function 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 1mo 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 — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add a new template function
Guided workflow for adding a new template function named $ARGUMENTS.
Step 1: Determine the category
Helm functions (in jhelm-gotemplate/src/main/java/.../helm/):
conversion/ConversionFunctions.java— YAML/JSON conversion (toYaml, fromJson, etc.)template/TemplateFunctions.java— Template inclusion (include, tpl, required)kubernetes/KubernetesFunctions.java— Kubernetes integration (lookup)chart/ChartFunctions.java— Chart utilities (semverCompare, certificate generation)
Sprig functions (in jhelm-gotemplate/src/main/java/.../sprig/):
strings/StringFunctions.java— String manipulationcollections/CollectionFunctions.java— List/dict operationslogic/LogicFunctions.java— default, empty, coalesce, ternarymath/MathFunctions.java— Arithmetic operationsencoding/EncodingFunctions.java— Base64, SHA, etc.crypto/CryptoFunctions.java— UUID, random, encryptiondate/DateFunctions.java— Date formatting/manipulationreflection/ReflectionFunctions.java— Type checkingnetwork/NetworkFunctions.java— DNS lookupsemver/SemverFunctions.java— Semantic versioning
Step 2: Implement the function
- Add the function to the appropriate category class
- Follow existing patterns in that class (method signature, error handling)
- Use
@Slf4jfor logging if needed - For strict variants, create a
must*version that throws on error
Step 3: Registration
The function auto-registers via the coordinator:
- Helm functions:
HelmFunctions.java→getFunctionCategories() - Sprig functions:
SprigFunctionsRegistry.java→getFunctionCategories()
If adding a new category, update getFunctionCategories() in the appropriate coordinator.
Step 4: Add tests
Add tests in the corresponding test class (e.g., Helm4FunctionsTest.java, or the test class for the Sprig category).
Step 5: Verify
Run the relevant module tests:
./mvnw test -pl jhelm-gotemplate
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.
- 1mo ago First seen · 57 lines · 18 tokens per session scan A 6ce14dff5b2e
new-function is a skill published in the GitHub repository alexmond/jhelm (7 stars, last pushed 3d ago), licensed Apache-2.0. It adds 18 tokens to every session and 536 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-08-31.
Other skills, from other repositories
java
Use when writing, reviewing or refactoring modern Java (21+, 25 LTS) — records and sealed interfaces as algebraic data types, exhaustive pattern-matching switch over instanceof ladders, virtual-thread concurrency, structured concurrency and ScopedValue replacing ThreadLocal, Stream and Optional pipelines…
java-expert
Expert-level Java development with Java 21+ features, Spring Boot, Maven/Gradle, and enterprise best practices. Use when the user mentions JVM, Spring, Maven, Gradle, or enterprise, or when the task involves Modern Java, Spring Boot, Build Tools, or Dependency Injection.
effective-java
Generate and review Java code using patterns and best practices from Joshua Bloch's "Effective Java" (3rd Edition). Use this skill whenever the user asks about Java best practices, API design, object creation patterns, generics, enums, lambdas, streams, concurrency, serialization, method design, exception handling, or…
java-expert
Expert knowledge for Modern Java (21+) development, including Virtual Threads, performance tuning, and idiomatic clean code. Use for deep Java language/logic questions.
java-kotlin
Java and Kotlin programming patterns.
mcp-java-dev-tools-bug-drill
Discover bounded Java method drill candidates or run a Probe-guided diagnostic drill for one selected method and return an evidence-backed Markdown report.