java-xmlrpc-guideline

java-xmlrpc-guideline is a skill for Claude Code, Codex from gabia/agent-skills. It costs 58 tokens per session (1,505 once invoked), scanned A, original, MIT.

A design guideline for Java XML-RPC interfaces, where XML-RPC is a way for programs to call methods over the network using XML. It recommends exceptions for failures, return values for successful results, and JAXB annotations for data that must work across languages.

In plain words
What is it for?
Use it when designing or reviewing Java XML-RPC methods, replacing void or status-code patterns, handling XmlRpcException failures, or migrating data objects to JAXB serialization.
Why use it?
It prevents unclear error handling, meaningless return codes, and data formats that other programming languages cannot reliably read.

Skill for Claude CodeCodex

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

Good fit Use it when designing or reviewing Java XML-RPC methods, replacing void or status-code patterns, handling XmlRpcException failures, or migrating data objects to JAXB serialization.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gabia/agent-skills/java-xmlrpc-guideline
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 gabia/agent-skills --skill java-xmlrpc-guideline
Clone the repo
git clone --depth 1 https://github.com/gabia/agent-skills

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-xmlrpc-guideline

README.md
[![agentmods](https://agentmods.dev/badge/skills/gabia/agent-skills/java-xmlrpc-guideline/github.svg)](https://agentmods.dev/skills/gabia/agent-skills/java-xmlrpc-guideline)
Your own site
<a href="https://agentmods.dev/skills/gabia/agent-skills/java-xmlrpc-guideline"><img src="https://agentmods.dev/badge/skills/gabia/agent-skills/java-xmlrpc-guideline/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-xmlrpc-guideline

Your own site · 80×15
<a href="https://agentmods.dev/skills/gabia/agent-skills/java-xmlrpc-guideline"><img src="https://agentmods.dev/badge/skills/gabia/agent-skills/java-xmlrpc-guideline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,505 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.00058 $0.01505
Opus 5.5 $0.00023 $0.00602
Sonnet 5.5 $0.00012 $0.00301
Haiku 4.5 $0.00006 $0.00151

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

Security

Grade A, and why

java-xmlrpc-guideline 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.

skills/java-xmlrpc-guideline/SKILL.md · 216 lines

How it starts

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

Java XML-RPC API Design Guideline

Overview

Design XML-RPC APIs with clear exception handling, proper return types, and interoperable serialization.

Core principle: Exceptions signal failure, return values signal success. Use JAXB for cross-language compatibility.

Quick Reference

Scenario Pattern
API interface method ReturnType method(Param p) throws XmlRpcException
Void-like operation Return int, always 0 (value is meaningless, workaround for spec limitation)
Success result Return value (DTO, primitive, etc.)
Failure result Throw XmlRpcException
DTO serialization Use JAXB annotations (@XmlRootElement, @XmlAttribute)

Exception Handling

All API Methods Must Declare XmlRpcException

Every interface method must include throws XmlRpcException:

public interface SomeApi {
    SomeDto someAction(SomeParameterDto request) throws XmlRpcException;
}

Why: XML-RPC library can transmit one exception type to client. Most projects use extension features enabling this. The exception serializes as:

<?xml version="1.0" encoding="UTF-8"?>
<methodResponse xmlns:ex="http://ws.apache.org/xmlrpc/namespaces/extensions">
    <fault>
        <value>
            <struct>
                <member>
                    <name>faultCode</name>
                    <value><i4>1</i4></value>
                </member>
                <member>
                    <name>faultString</name>
                    <value>failed to execute api</value>
                </member>
            </struct>
        </value>
    </fault>
</methodResponse>

Avoid: enabledForException feature. It serializes Java exceptions including chained exceptions, but only works with Java clients.

Return Type Guidelines

Void Methods Must Return int

XML-RPC library doesn't support void return type. Use int instead:

public interface ServiceControlApi {
    int start(String name) throws XmlRpcException;
}

Read the full file on GitHub · 216 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. 1mo ago First seen · 216 lines · 58 tokens per session scan A a5a8e14d6cdf

Subscribe to this mod's changes

java-xmlrpc-guideline is a skill published in the GitHub repository gabia/agent-skills (2 stars, last pushed 2mo ago), licensed MIT. It adds 58 tokens to every session and 1,505 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-08-31.

Related

Other skills, from other repositories

wxjava-api-contributor

A contributor guide for adding or maintaining official WeChat API support in WxJava, a Java software development kit. It covers services, request and response data objects, data conversion, HTTP handling, starter configuration, and regression tests.

binarywang/WxJava · 68 tokens

azure-communication-callautomation-java

Build call automation workflows with Azure Communication Services Call Automation Java SDK. Use when implementing IVR systems, call routing, call recording, DTMF recognition, text-to-speech, or AI-powered call flows.

microsoft/skills · 49 tokens

azure-communication-chat-java

Build real-time chat applications with Azure Communication Services Chat Java SDK. Use when implementing chat threads, messaging, participants, read receipts, typing notifications, or real-time chat features.

microsoft/skills · 41 tokens

azure-communication-common-java

Azure Communication Services common utilities for Java. Use when working with CommunicationTokenCredential, user identifiers, token refresh, or shared authentication across ACS services.

microsoft/skills · 35 tokens

azure-communication-sms-java

Send SMS messages with Azure Communication Services SMS Java SDK. Use when implementing SMS notifications, alerts, OTP delivery, bulk messaging, or delivery reports.

microsoft/skills · 36 tokens

java-coding-standards

Java coding standards for Spring Boot services: naming, immutability, Optional usage, streams, exceptions, generics, and project layout.

hashgraph-online/awesome-codex-plugins · 35 tokens