Claude Agent SDK Java — Git skill for Claude Code
No longer maintained — active development moved to https://github.com/markpollack/claude-agent-sdk-java.
How to install Claude Agent SDK Java
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open spring-ai-community/claude-agent-sdk-java and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Agent SDK Java does
No longer maintained — active development moved to https://github.com/markpollack/claude-agent-sdk-java.
Alternatives in Git
- Skill Development Guide — Community Examples 81.1k ★
- Worktree Parallel Init — Create multiple git worktrees for parallel development: $ARGUMENTS 23.4k ★
- Superclaude — by SuperClaude-Org - A versatile configuration framework that enhances Claude Code with specialized commands 21.7k ★
README
[!IMPORTANT] **This repository is no longer maintained.**
Active development has moved to [markpollack/claude-agent-sdk-java](https://github.com/markpollack/claude-agent-sdk-java). Current documentation is available at [lab.pollack.ai](https://lab.pollack.ai/projects/claude-agent-sdk).
This repository remains available for historical Spring AI Community releases. Its Apache 2.0 license and historical contents are unchanged. Please submit new issues and pull requests to the active repository.
Claude Agent SDK for Java
Java SDK for interacting with [Claude Code CLI](https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview). This is a pure Java implementation that mirrors the design of the official Python and TypeScript Claude Agent SDKs.
Features
| Feature | Description |
|---|---|
| Simple One-Shot API | Query.text() for quick answers in one line |
| Blocking Client | ClaudeSyncClient for multi-turn conversations with Iterator |
| Reactive Client | ClaudeAsyncClient with Flux/Mono for Spring WebFlux |
| Hook System | Register callbacks for tool use events |
| MCP Integration | Support for Model Context Protocol servers |
| Permission Callbacks | Programmatic control over tool execution |
Documentation
- Tutorial — Step-by-step guide covering all SDK features
- Tutorial Source Code — Runnable examples for each tutorial module
The tutorial covers:
- All three API styles (Query, ClaudeSyncClient, ClaudeAsyncClient)
- Multi-turn conversations and session management
- Hooks, permission callbacks, and MCP integration
- Real-world patterns and best practices
Each module is a standalone runnable example with integration tests.
Requirements
- Java 17+
- Claude Code CLI installed and authenticated
- Maven 3.8+
Installa
Related Skills
Claude Agent SDK Java Tutorial
No longer maintained — active development moved to https://github.com/markpollack/claude-agent-sdk-java-tutori
Agent Client Tutorial
No longer maintained — active development moved to https://github.com/markpollack/agent-client-tutorial
Polyglot Idiom
Run a per-language idiom review against a diff, PR, or branch for Java, C++, C#, Ruby, or PHP code — checkpoin
Callisto PR
Java agent that intercepts JVM exceptions at runtime, classifies bugs as internal or external using Claude Cod
Reflint
Reference-integrity CI linter for AGENTS.md / llms.txt / CLAUDE.md — fail the PR when agent config points at c
Fang Upgrade Skill
Operator manual for fang-upgrade — the patched OpenFang v0.6.9 fork (github.com/kyzdes/fang-upgrade). The only
Related Agents
QA Validator
Use this agent when a story has been completed and moved to 'Review' status and needs validation against accep
Java API Compat Reviewer
easy-extension SDK 公共 API 兼容性审查专家。在改动可能涉及 public 类/方法/接口/异常时使用,仅审查 git diff 中的公共 API 变更。
Java Pro
You are a Java expert specializing in modern Java 21+ development with cutting-edge JVM features, Sp... opus w