Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

featbit-java-sdk

verified

Integrates FeatBit feature flags in Java server applications (Spring Boot, Servlet, JAX-RS). Use when working with .java files, pom.xml, build.gradle, or when user asks about "Java SDK", "Spring Boot integration", "feature flags in Java", "OpenFeature Java", or "FeatBit Java".

View on GitHub

Marketplace

featbit-marketplace

featbit/featbit-skills

Plugin

featbit-skills

Development Tools

Repository

featbit/featbit-skills
5stars

skills/featbit-java-sdk/SKILL.md

Last Verified

February 3, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/featbit/featbit-skills/blob/main/skills/featbit-java-sdk/SKILL.md -a claude-code --skill featbit-java-sdk

Installation paths:

Claude
.claude/skills/featbit-java-sdk/
Powered by add-skill CLI

Instructions

# FeatBit Java Server SDK

Expert guidance for integrating FeatBit Server-Side SDK in Java applications.

📚 **Official Repository**: https://github.com/featbit/featbit-java-sdk

> **For complete documentation and latest updates**, visit the [official GitHub repository](https://github.com/featbit/featbit-java-sdk).

## Overview

⚠️ **Server-Side SDK**: Designed for multi-user systems (web servers, APIs). Not for Android - use Android SDK for mobile.

**Data Synchronization**:
- WebSocket for real-time sync
- In-memory storage (default)
- Changes pushed in <100ms average
- Auto-reconnects after internet outage

## Prerequisites

- **Environment Secret**: [How to get](https://docs.featbit.co/sdk/faq#how-to-get-the-environment-secret)
- **SDK URLs**: [How to get](https://docs.featbit.co/sdk/faq#how-to-get-the-sdk-urls)

## Installation

**Version**: 1.4.5

### Maven

```xml
<dependency>
  <groupId>co.featbit</groupId>
  <artifactId>featbit-java-sdk</artifactId>
  <version>1.4.5</version>
</dependency>
```

### Gradle

```gradle
implementation 'co.featbit:featbit-java-sdk:1.4.5'
```

## Quick Start

```java
import co.featbit.commons.model.FBUser;
import co.featbit.commons.model.EvalDetail;
import co.featbit.server.FBClientImp;
import co.featbit.server.FBConfig;
import co.featbit.server.exterior.FBClient;
import java.io.IOException;

class Main {
    public static void main(String[] args) throws IOException {
        String envSecret = "<replace-with-your-env-secret>";
        String streamUrl = "ws://localhost:5100";
        String eventUrl = "http://localhost:5100";

        FBConfig config = new FBConfig.Builder()
                .streamingURL(streamUrl)
                .eventURL(eventUrl)
                .build();

        FBClient client = new FBClientImp(envSecret, config);
        if (client.isInitialized()) {
            String flagKey = "use-new-algorithm";

            FBUser user = new FBUser.Builder("bot-id")
                    .userName("bot")
             

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
9720 chars