tachyon: Skill for Claude Code

.agents/skills/tachyon-mcp/SKILL.md

tachyon-mcp is a skill for Claude Code, Codex from kpavlov/tachyon. It costs 33 tokens per session (4,872 once invoked), scanned C, original, Apache-2.0.

A guide for building MCP servers in Java 21 or newer with the Tachyon MCP library. MCP is a standard way for AI applications to connect to tools and data.

In plain words
What is it for?
Use it when creating Tachyon-based MCP servers with tools, resources, prompts, and a Netty web connection.
Why use it?
It gives developers the required structure and setup for making a server that AI clients can connect to over the web.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents).

This is kpavlov/tachyon's own configuration. It tells Claude Code and Codex how to work on tachyon itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything tachyon configures →

Reuse

Borrowing it

Nothing to install: this file belongs to kpavlov/tachyon. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/kpavlov/tachyon/main/.agents/skills/tachyon-mcp/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/kpavlov/tachyon

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 tachyon-mcp

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kpavlov/tachyon/tachyon-mcp"><img src="https://agentmods.dev/badge/skills/kpavlov/tachyon/tachyon-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,872 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00033 $0.04872
Opus 5 $0.00016 $0.02436
Sonnet 5 $0.00007 $0.00974
Haiku 4.5 $0.00003 $0.00487

Measured yesterday against content hash 8fb119ea7096, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade C, and why

tachyon-mcp scanned grade C with 1 finding 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 yesterday.

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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<version>1.0.0-beta.25</version> <!-- get latest version from Maven Central -->
.agents/skills/tachyon-mcp/SKILL.md · 433 lines

How it starts

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

Tachyon MCP Server Skill️

Make Java 21+ MCP server. Tachyon lib. Transport = Streamable HTTP (Netty).

Dependency

Import tachyon-bom once, then add modules with no <version>:

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>dev.tachyonmcp</groupId>
            <artifactId>tachyon-bom</artifactId>
            <version>1.0.0-beta.25</version> <!-- get latest version from Maven Central -->
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

<dependencies>
    <dependency>
        <groupId>dev.tachyonmcp</groupId>
        <artifactId>tachyon-core</artifactId> <!-- or tachyon-kotlin for the Kotlin DSL -->
    </dependency>
</dependencies>

Core

  • TachyonServer.builder()ServerBuilder. Start here.
  • .build() (only terminal method) → TachyonServer (AutoCloseable), no transport bound yet.
  • TachyonServer.start() (blocking) → binds the Netty transport.
  • TachyonServer: .tools(), .resources(), .prompts(), .tasks(), .completions() first; then .start(), .port() (throws before .start()), .close(), .config().
  • Dynamic registration: .tools().register(...), .resources().register(...), .prompts().register(...), .completions().registerForPrompt(...)/.registerForResource(...) — all work before or after .start().
  • Every function gets dev.tachyonmcp.api.runtime.InteractionContext → protocol + optional session + notifications.
  • Virtual threads: All synchronous functions (ToolFn, ResourceFn, PromptFn, CompletionFn) run on a virtual thread per request. Blocking for I/O is fine — never use synchronized (pins carrier thread). Use ReentrantLock instead.

Quickstart

var server = TachyonServer.builder()
    .info(b -> b.name("my-server").version("1.0"))
    .port(8080)
    .build();
server.start();
// server.port() → real bound port (matters when port=0); throws before start()

Read the full file on GitHub · 433 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. yesterday Changed · +38 lines 8fb119ea7096
  2. 10d ago First seen · 395 lines · 33 tokens per session scan C 785f527767e2

Subscribe to this mod's changes

tachyon-mcp is a skill published in the GitHub repository kpavlov/tachyon (30 stars, last pushed yesterday), licensed Apache-2.0. It adds 33 tokens to every session and 4,872 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories