symphony-trello: Skill for Codex

.codex/skills/java-streams-eval-capture/SKILL.md

java-streams-eval-capture is a skill for Codex from martin-francois/symphony-trello. It costs 91 tokens per session (2,697 once invoked), scanned A, original, Apache-2.0.

A teaching-example capture skill for Java Streams, a way to process collections of values through chained operations.

In plain words
What is it for?
Recording before-and-after stream or collection transformations, the prompts that caused them, rejected approaches, and why the preferred code is better.
Why use it?
It preserves useful lessons from Java changes so a separate Java Streams skill can learn from both the original and improved code.

Skill for Codex

Written for Codex: installed under .codex/. Also seen: mentions Codex.

This is martin-francois/symphony-trello's own configuration. It tells Codex how to work on symphony-trello itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything symphony-trello configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/martin-francois/symphony-trello/main/.codex/skills/java-streams-eval-capture/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/martin-francois/symphony-trello

Made for: Codex.

Wrote 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.

agentmods badge for java-streams-eval-capture

README.md
[![agentmods](https://agentmods.dev/badge/skills/martin-francois/symphony-trello/java-streams-eval-capture/github.svg)](https://agentmods.dev/skills/martin-francois/symphony-trello/java-streams-eval-capture)
Your own site
<a href="https://agentmods.dev/skills/martin-francois/symphony-trello/java-streams-eval-capture"><img src="https://agentmods.dev/badge/skills/martin-francois/symphony-trello/java-streams-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.

agentmods 80×15 button for java-streams-eval-capture

Your own site · 80×15
<a href="https://agentmods.dev/skills/martin-francois/symphony-trello/java-streams-eval-capture"><img src="https://agentmods.dev/badge/skills/martin-francois/symphony-trello/java-streams-eval-capture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,697 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00091 $0.02697
Opus 5 $0.00046 $0.01349
Sonnet 5 $0.00018 $0.00539
Haiku 4.5 $0.00009 $0.00270

Measured 8d ago against content hash d149dbd6f53d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

java-streams-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 8d 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.

.codex/skills/java-streams-eval-capture/SKILL.md · 292 lines

How it starts

The opening of the file, as written. The whole thing — 292 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Java Streams Eval Capture

Goal

When a Symphony for Trello change provides a reusable stream, collector, direct result-producing collection API, or character-predicate equivalence lesson, preserve the teaching example for the Java Streams skill. This includes cases where a direct owning API is better than a stream or where a useful stream-equivalence pattern appears inside another fluent API. Create or update an issue in martinfrancois/java-streams-skill that stands on its own: it must include the relevant code before the refactor, 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 stream improvement is prompted by a reviewer or user after Codex introduced the weaker stream shape, also capture the earlier prompt that caused Codex to write that shape. The eval issue must make the trigger failure explicit: the Streams skill should have activated during the original implementation prompt, not only during the later stream-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 a stream refactor is later found to be non-equivalent, over-allocated, over-abstracted, or worse than the original code, capture the full correction chain. Include the original code, the prompt that produced the weaker stream 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 mutability, ordering, laziness, parser, exception, allocation, or side-effect change explicitly before recommending it.

When To Use

Use this skill whenever you:

  • refactor Java code to use streams more clearly, lazily, or safely;
  • replace a loop with a stream or a stream with a clearer stream shape;
  • replace or remove a stream with a stronger direct collection API where the choice or equivalence boundary is reusable;
  • simplify result-producing collection work inside Optional.map(...) or a similar fluent mapping when the collection transformation itself presents a reusable lesson, even when the final code contains no .stream();
  • replace a loop or character scan with a primitive stream and a match terminal when empty-input, UTF-16, or code-point semantics matter;
  • replace an identity string reduction such as .reduce("", String::concat) with Collectors.joining(), even when a related delimiter reduction was already captured;
  • fix stream short-circuiting, ordering, allocation, collector, Optional, or pipeline readability problems;
  • accept a user-provided streams refactor;
  • correct a streams refactor after review feedback;
  • revert or repair a stream refactor because it changed behavior, allocation, mutability, ordering, laziness, parser semantics, or side-effect boundaries.

Read the full file on GitHub · 292 lines

Changes

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.

  1. 8d ago First seen · 292 lines · 91 tokens per session scan A d149dbd6f53d

Subscribe to this mod's changes

java-streams-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 91 tokens to every session and 2,697 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

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…

taipt1504/claudehut · 86 tokens

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…

taipt1504/claudehut · 73 tokens

continuous-learning

Pattern extraction, confidence-scored evaluation, skill creation, organization, versioning, and cross-project export pipeline.

a5c-ai/babysitter · 25 tokens

agent-booster

WASM-based instant code transforms for simple tasks, achieving 352x speedup over LLM inference with zero cost.

a5c-ai/babysitter · 28 tokens

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.

modu-ai/moai-adk · 42 tokens

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.

aliengiraffe/vigilante · 45 tokens