java-vs-go-decision

java-vs-go-decision is a skill for Claude Code, Codex from makifbaysal/tasktrooper. It costs 43 tokens per session (708 once invoked), scanned A, original, Apache-2.0.

A decision guide for choosing Go or Java when starting a backend service, based on the repository and the shape of the work.

In plain words
What is it for?
Use it at the start of a backend task to decide whether to follow the repository's language or choose Go or Java for a new service.
Why use it?
It prevents a new service from fighting the existing codebase or choosing a language that does not suit its performance or business-model needs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it at the start of a backend task to decide whether to follow the repository's language or choose Go or Java for a new service.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/makifbaysal/tasktrooper/java-vs-go-decision
Install

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.

Any agent
npx skills add makifbaysal/tasktrooper --skill java-vs-go-decision
Clone the repo
git clone --depth 1 https://github.com/makifbaysal/tasktrooper

Made for: Claude Code, 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-vs-go-decision

README.md
[![agentmods](https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/java-vs-go-decision/github.svg)](https://agentmods.dev/skills/makifbaysal/tasktrooper/java-vs-go-decision)
Your own site
<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/java-vs-go-decision"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/java-vs-go-decision/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-vs-go-decision

Your own site · 80×15
<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/java-vs-go-decision"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/java-vs-go-decision.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 708 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.00043 $0.00708
Opus 5.5 $0.00017 $0.00283
Sonnet 5.5 $0.00009 $0.00142
Haiku 4.5 $0.00004 $0.00071

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

Security

Grade A, and why

java-vs-go-decision 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.

catalog/agents/backend-developer/skills/java-vs-go-decision/SKILL.md · 64 lines

How it starts

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

Java vs Go Decision

Overview

You write both Go and Java. The wrong choice is not a style preference — it fights the grain of the problem and the repository for the life of the code. Decide deliberately, at the start of the task, before writing anything.

Core principle: The repository's existing language wins by default. Only greenfield services or the analiz task's explicit direction open the choice.

The Decision

digraph decide {
    "Repo already single-stack?" [shape=diamond];
    "Follow the repo's language" [shape=box];
    "Analiz task names a language?" [shape=diamond];
    "Use it" [shape=box];
    "Task shape?" [shape=diamond];
    "Go" [shape=box];
    "Java (Quarkus first)" [shape=box];

    "Repo already single-stack?" -> "Follow the repo's language" [label="yes"];
    "Repo already single-stack?" -> "Analiz task names a language?" [label="no / greenfield"];
    "Analiz task names a language?" -> "Use it" [label="yes"];
    "Analiz task names a language?" -> "Task shape?" [label="no"];
    "Task shape?" -> "Go" [label="perf / concurrency / latency / simple service"];
    "Task shape?" -> "Java (Quarkus first)" [label="rich domain / OOP / heavy business rules"];
}

Choose Go when

  • The task is performance-, throughput-, latency-, or concurrency-sensitive (high-QPS API, streaming, fan-out, background workers).
  • The service is small and mostly I/O plumbing over a datastore.
  • The repository is already Go — always.

Choose Java when

  • The domain is rich: many entities, invariants, and business rules that benefit from OOP modelling and a mature type/framework ecosystem.
  • The repository is already Java — always.
  • The analiz task specifies Java.

Within Java: Quarkus first. Reach for Spring Boot only when Quarkus does not fit (a required library has no Quarkus extension, the team/repo standard is Spring, or the deployment target expects a Spring app). See quarkus-service-architecture and spring-boot-fallback.

Hard Rule

Read the full file on GitHub · 64 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 · 64 lines · 43 tokens per session scan A d145f7ac6317

Subscribe to this mod's changes

java-vs-go-decision is a skill published in the GitHub repository makifbaysal/tasktrooper (113 stars, last pushed yesterday), licensed Apache-2.0. It adds 43 tokens to every session and 708 once invoked, about $0.0002 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-10-05.