Borrowing it
Nothing to install: this file belongs to martin-francois/symphony-trello. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/martin-francois/symphony-trello/main/.codex/skills/java-optionals-eval-capture/SKILL.mdgit clone --depth 1 https://github.com/martin-francois/symphony-trelloWrote 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/martin-francois/symphony-trello/java-optionals-eval-capture)<a href="https://agentmods.dev/skills/martin-francois/symphony-trello/java-optionals-eval-capture"><img src="https://agentmods.dev/badge/skills/martin-francois/symphony-trello/java-optionals-eval-capture/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/martin-francois/symphony-trello/java-optionals-eval-capture"><img src="https://agentmods.dev/badge/skills/martin-francois/symphony-trello/java-optionals-eval-capture.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.00078 | $0.02553 |
| Opus 5 | $0.00039 | $0.01277 |
| Sonnet 5 | $0.00016 | $0.00511 |
| Haiku 4.5 | $0.00008 | $0.00255 |
Grade A, and why
java-optionals-eval-capture 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 9d 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 — 282 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Java Optionals Eval Capture
Goal
When a Symphony for Trello change provides a reusable Optional or adjacent
absence/fallback strategy-selection lesson, preserve the teaching example for
the Java Optionals skill. Capture the reusable absence-handling shape without
generalizing an unrelated container or context migration. Create or update an
issue in martinfrancois/java-optionals-skill that stands on its own: it must
include the relevant code before the prompt, the prompt or review request that
triggered the change, the intermediate or rejected implementation when one
exists, the final preferred code, and why the final code is better.
When the Optional improvement is prompted by a reviewer or user after Codex introduced the weaker Optional shape, also capture the earlier prompt that caused Codex to write that shape. The eval issue must make the trigger failure explicit: the Optionals skill should have activated during the original implementation prompt, not only during the later refactor request.
When a later request reveals only that activation or eval capture was missed, even though the implementation was already preferred, capture both prompts and state that no code correction was needed. The eval must reward recognizing and capturing the reusable lesson without inventing a defect.
When an Optional refactor is later found to be non-equivalent, over-abstracted, or worse than the original code, capture the full correction chain. Include the original code, the prompt that produced the weaker Optional code, the weaker code, the later correction/revert prompt, and the final code. The eval must teach the skill to preserve behavior by default, and to call out any laziness, exception, side-effect, nullability, prompt, or checked-boundary change explicitly before recommending it.
When To Use
Use this skill whenever you:
- replace
isPresent()/get()/orElseThrow()control flow with clearer Optional APIs; - replace
orElse(null), null checks, fake streams, or generic Optional helpers with a direct Optional shape; - improve
map,flatMap,or,orElseGet,ifPresent, orifPresentOrElseusage; - simplify nullable, absent, fallback, or default strategy selection on an
adjacent owning API such as
ScopedValue.orElse(...)when choosing and invoking the strategy is a reusable lesson, even when the final code contains nojava.util.Optional; - preserve checked-exception or side-effect boundaries while improving Optional readability;
- accept a user-provided Optional refactor;
- correct an Optional refactor after review feedback;
- revert or repair an Optional refactor because it changed behavior, laziness, exception handling, side effects, nullability, prompt ordering, or a checked boundary.
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.
- 9d ago First seen · 282 lines · 78 tokens per session scan A c52402f10eca
java-optionals-eval-capture is a skill published in the GitHub repository martin-francois/symphony-trello (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 78 tokens to every session and 2,553 once invoked, about $0.0004 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
implement
Use in the Implement phase whenever writing or editing production Java code, or fixing a bug, in a Spring/Spring Boot project. Enforces test-first (red-green-refactor), executes the approved plan step by step, and honors the project's path-scoped tech-stack rules and the task's enforcement set. Preloaded into…
claudehut-workflow
Use at the start of every session and whenever beginning a coding task in a Java/Spring backend - establishes the ClaudeHut 7-phase agentic workflow, the complexity-tier routing that lets small tasks skip deliberation phases, and the laws that govern which skills and rules must fire. Injected at session start; also…
continuous-learning
Pattern extraction, confidence-scored evaluation, skill creation, organization, versioning, and cross-project export pipeline.
moai-workflow-jit-docs
Enhanced Just-In-Time document loading system that discovers, loads, and caches relevant documentation based on user intent and project context. Use when users need specific documentation on demand.
agent-booster
WASM-based instant code transforms for simple tasks, achieving 352x speedup over LLM inference with zero cost.
vigilante-issue-implementation-on-java-kotlin
Implement a GitHub issue end-to-end when Vigilante dispatches work for a Java or Kotlin repository with JVM build-tool, style, and secure-coding guidance.