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 agentmods add skills/arabelatso/skills-4-se/pseudocode-to-java-codenpx skills add ArabelaTso/Skills-4-SE --skill pseudocode-to-java-codegit clone --depth 1 https://github.com/ArabelaTso/Skills-4-SEWrote 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/arabelatso/skills-4-se/pseudocode-to-java-code)<a href="https://agentmods.dev/skills/arabelatso/skills-4-se/pseudocode-to-java-code"><img src="https://agentmods.dev/badge/skills/arabelatso/skills-4-se/pseudocode-to-java-code.svg" alt="Measured on agentmods" 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 | $0.00085 | $0.01752 |
| Opus 5 | $0.00043 | $0.00876 |
| Sonnet 5 | $0.00017 | $0.00350 |
| Haiku 4.5 | $0.00009 | $0.00175 |
Grade A, and why
pseudocode-to-java-code 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 yesterday.
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 — 296 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pseudocode to Java Code
Overview
This skill converts pseudocode descriptions and algorithm specifications into complete, executable Java programs. It preserves the original logic and control flow, applies appropriate Java idioms and data structures, and generates test cases to verify correctness.
Workflow
1. Provide Pseudocode Input
Give the pseudocode or algorithm specification. Formats accepted:
- Structured pseudocode with keywords (IF, FOR, WHILE, etc.)
- Algorithm descriptions in plain text
- Textbook-style algorithm specifications
- Flowchart-like descriptions
Example:
FUNCTION findMax(array)
max ← array[0]
FOR i FROM 1 TO LENGTH(array) - 1 DO
IF array[i] > max THEN
max ← array[i]
END IF
END FOR
RETURN max
END FUNCTION
2. Specify Requirements (Optional)
Provide additional context:
- Expected input/output types
- Performance requirements
- Specific Java version or features to use
- Edge cases to handle
- Naming preferences
3. Generate Java Code
The skill will produce:
- Complete Java class with proper structure
- Converted algorithm as Java method(s)
- Appropriate data structures and types
- Necessary imports
- Main method with test cases
Output Example:
import java.util.*;
public class ArrayMaxFinder {
public static void main(String[] args) {
ArrayMaxFinder solution = new ArrayMaxFinder();
// Test case 1: Normal array
int[] arr1 = {3, 7, 2, 9, 1};
System.out.println("Max: " + solution.findMax(arr1)); // Expected: 9
// Test case 2: Single element
int[] arr2 = {5};
System.out.println("Max: " + solution.findMax(arr2)); // Expected: 5
}
/**
* Finds the maximum value in an array
* @param array the input array
* @return the maximum value
*/
public int findMax(int[] array) {
int max = array[0];
for (int i = 1; i < array.length; i++) {
if (array[i] > max) {
max = array[i];
}
}
return max;
}
}
What ships with it
2 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.
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.
- yesterday First seen · 296 lines · 85 tokens per session scan A bba613c71a78
pseudocode-to-java-code is a skill published in the GitHub repository ArabelaTso/Skills-4-SE (248 stars, last pushed 15d ago), licensed Apache-2.0. It adds 85 tokens to every session and 1,752 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-09-03.
Other skills, from other repositories
spring-boot-engineer
Generates Spring Boot 3.x configurations, creates REST controllers, implements Spring Security 6 authentication flows, sets up Spring Data JPA repositories, and configures reactive WebFlux endpoints. Use when building Spring Boot 3.x applications, microservices, or reactive Java applications; invoke for Spring Data…
112-java-maven-plugins
Use when you need to add or configure Maven plugins in your pom.xml — including quality tools (enforcer, surefire, failsafe, jacoco, pitest, spotbugs, pmd), security scanning (OWASP), code formatting (Spotless), version management, container image build (Jib), build information tracking, and benchmarking (JMH) …
121-java-object-oriented-design
Use when reviewing, improving, or refactoring Java object-oriented design, including applying SOLID, DRY, or YAGNI; improving classes and interfaces; correcting encapsulation, inheritance, or polymorphism; resolving God Class, Feature Envy, or Data Clumps; and improving object creation, methods, or exception…
jspecify-skill
Use this skill when asked to perform any of the following actions in a Java project: To add jspecify support To prevent NullPointerExceptions To better handle Nullability This skill will add jspecify dependency, configure Maven or Gradle build to automatically use jspecify for checking Nullability issues.
110-java-maven-best-practices
Use when you need to review, improve, or troubleshoot a Maven pom.xml file — including dependency management with BOMs, plugin configuration, version centralization, multi-module project structure, build profiles, or any situation where you want to align your Maven setup with industry best practices. This should…
111-java-maven-dependencies
Use when you need to add or evaluate Maven dependencies that improve code quality or domain modeling — including nullness annotations (JSpecify), static analysis (Error Prone + NullAway), functional programming (VAVR), architecture testing (ArchUnit), or money and currency support (JavaMoney) — and want a…