Skip to content
Skills Library
AI & agents · Building & coding

goodmem:java

/goodmem:java

Use when the user wants to write Java code that interacts with GoodMem - creating embedders, spaces, memories, retrieval, pagination, streaming, or async workflows with the goodmem-java SDK.

Licence
MIT
Last repository change
26.10.2026

Assessment and security

82/ 100Class: good
Format15 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content27 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when the user wants to write Java code that interacts with GoodMem - creating embedders, spaces, memories, retrieval, pagination, streaming, or async workflows with the goodmem-java SDK.

Original author description

Use when the user wants to write Java code that interacts with GoodMem - creating embedders, spaces, memories, retrieval, pagination, streaming, or async workflows with the goodmem-java SDK.

How it works

SKILL.md has no level-two headings · 20 lines, 173 words

SKILL.md preview
---
name: goodmem:java
description: "Use when the user wants to write Java code that interacts with GoodMem - creating embedders, spaces, memories, retrieval, pagination, streaming, or async workflows with the goodmem-java SDK."
user-invocable: false
---

You have access to the GoodMem Java SDK. Use it to write Java code that accomplishes the user's request.

See [reference.md](reference.md) for install instructions, common request builders, streaming,
pagination, async usage, typed IDs, and end-to-end snippets.

Key principles:
- Use `Goodmem.builder().baseUrl(...).apiKey(...).build()` and prefer try-with-resources.
- Use `AsyncGoodmem` when the user asks for async code; async methods return `CompletableFuture<T>`.
- Import request/response records from `ai.pairsys.goodmem.client.models`.
- Use request builders for creates and updates, for example `EmbedderCreationRequest.builder()...build()`.
- For SaaS providers, pass the provider API key to create calls, for example `client.embedders.create(request, openaiApiKey)`.
- Use `modelIdentifier(...)` for embedders, LLMs, and rerankers; the SDK auto-infers provider details.
- Preserve typed handles such as `SpaceId`, `MemoryId`, `EmbedderId`, `LlmId`, and `RerankerId`.
- Create spaces with `List.of(new SpaceEmbedderConfig(embedderId, null))`.
- Iterate paginated results directly with `Page<T>` or `AsyncPage<T>`; list option `maxResults` takes an integer page size.
- Use try-with-resources for streaming types such as `RetrieveMemoryStream` and `PingStream`.
- Use the file-upload convenience `client.memories.create(spaceId, Path.of(...))` instead of manual base64 encoding.
- Compare typed enums directly, for example `status == MemoryProcessingStatus.COMPLETED`.
Files in this package (2)
  • SKILL.md 2 KB
  • reference.md 5 KB

Versions

The database has no other skills named goodmem:java.

Database snapshot: 13.11.2026 · package version 0bd3bdbed5d3 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90goodmem:help
    Overview of all available GoodMem skills and what a user needs to get started. Invoke when a user asks what GoodMem skills are available, how to get started, or what they need to set up.
  • 90goodmem:help
    Overview of all available GoodMem skills and what a user needs to get started. Invoke when a user asks what GoodMem skills are available, how to get started, or what they need to set up.
  • 80goodmem:mcp
    Workflow guide for GoodMem MCP server tools. Use when an agent needs to understand what GoodMem MCP tools are available and how to use them. Parameter signatures are provided by the MCP protocol itself — do not hardcode them here.
  • 90goodmem:mcp
    Workflow guide for GoodMem MCP server tools. Use when an agent needs to understand what GoodMem MCP tools are available and how to use them. Parameter signatures are provided by the MCP protocol itself — do not hardcode them here.
  • 96java
    Guidelines for building Java base applications Triggers on: **/*.java
  • 95java-mcp-server
    Best practices and patterns for building Model Context Protocol (MCP) servers in Java using the official MCP Java SDK with reactive streams and Spring integration. Triggers on: **/*.java, **/pom.xml, **/build.gradle, **/build.gradle.kts

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.