saiku: Skill for Claude Code

.agents/skills/rebuild-launcher/SKILL.md

rebuild-launcher is a skill for Claude Code, Codex from spiculedata/saiku. It costs 65 tokens per session (511 once invoked), scanned A, original, Apache-2.0.

A local build-and-run workflow for Saiku's launcher after Java or user-interface changes. It rebuilds the launcher fat JAR, a single file containing the application and its dependencies, before restarting it.

In plain words
What is it for?
Use it to stop the current launcher, clean the relevant modules, rebuild the interface and JAR, and start Saiku locally.
Why use it?
It avoids stale browser files and problems caused by cleaning or rebuilding while the old Java process still has the JAR open.

Skill for Claude CodeCodex

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

This is spiculedata/saiku's own configuration. It tells Claude Code and Codex how to work on saiku 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 saiku configures →

About the project

Saiku is an open-source semantic layer that represents data as analytical cubes for browser exploration, SQL queries, dashboards, and AI-agent access. It is for analysts and applications that need to query structured business data through Mondrian, Apache Calcite, REST, or MCP. The catalogue instruction helps agents work with Saiku.

spiculedata/saiku · 1,334 stars · on GitHub · saiku.bi

Reuse

Borrowing it

Nothing to install: this file belongs to spiculedata/saiku. 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/spiculedata/saiku/development/.agents/skills/rebuild-launcher/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/spiculedata/saiku

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 rebuild-launcher

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/spiculedata/saiku/rebuild-launcher"><img src="https://agentmods.dev/badge/skills/spiculedata/saiku/rebuild-launcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 511 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.00065 $0.00511
Opus 5.5 $0.00026 $0.00204
Sonnet 5.5 $0.00013 $0.00102
Haiku 4.5 $0.00006 $0.00051

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

Security

Grade A, and why

rebuild-launcher 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.

.agents/skills/rebuild-launcher/SKILL.md · 30 lines

What it actually says

Rebuild the launcher

Two traps make a naive mvn package go wrong here; this sequence avoids both.

  1. Stop any running launcher first. Its JVM holds the fat-JAR open. mvn clean deletes it, and Mondrian's Janino ServiceLoader then fails with NoSuchFileException, so every MDX discover/query returns HTTP 500 until you restart.
    pkill -f 'saiku-launcher/target/saiku-.*\.jar' || true
    
  2. Clean the webapp and launcher modules. The war overlay never purges old hashed SvelteKit bundles (_app/immutable/...<hash>.js), so an incremental package ships old and new side by side.
    mvn -pl saiku-webapp,saiku-launcher clean
    
  3. Build the fat-JAR. This also runs npm ci + npm run build for saiku-ui through the frontend plugin.
    mvn -pl saiku-launcher -am -Dmaven.test.skip=true package
    
  4. Run it.
    VERSION=$(mvn -q -DforceStdout help:evaluate -Dexpression=project.version)
    SAIKU_ALLOW_DEFAULT_ADMIN=true java -jar saiku-launcher/target/saiku-$VERSION.jar serve --port 8080 --home ./saiku-home
    
    UI at http://localhost:8080/ui/, REST at http://localhost:8080/rest/saiku/api/, login admin / admin. Without SAIKU_ALLOW_DEFAULT_ADMIN=true (or SAIKU_DEMO=true, or a real SAIKU_ADMIN_PASSWORD) the launcher refuses to boot on the default password.

If you changed the FoodMart seed schema (saiku-launcher/src/main/resources/seed/FoodMart4.xml), an existing saiku-home won't pick it up. Delete saiku-home/data/FoodMart4.xml before relaunching.

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 · 30 lines · 65 tokens per session scan A 424142ebeb76

Subscribe to this mod's changes

rebuild-launcher is a skill published in the GitHub repository spiculedata/saiku (1,334 stars, last pushed yesterday), licensed Apache-2.0. It adds 65 tokens to every session and 511 once invoked, about $0.0003 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-09-29.

Related

Other skills, from other repositories

business-intelligence

Use when a metric (revenue, MRR, margin) needs defining once in a governed semantic layer so every dashboard, report and agent returns the same number, or when an LLM must answer data questions in plain language without hallucinating SQL. NOT chart layout (that is dashboard), NOT which KPIs to track (that is…

ericrisco/rsc-harness · 90 tokens

anvil-find-keywords

A research procedure for finding and evaluating game-related search terms across several sources. It checks search results and user intent, then records whether each idea should be pursued, rejected, or reviewed later.

PNGTRID/AnvilWiki · 110 tokens

anvil-new-article

A tool that turns supplied material into MDX article pages for AnvilWiki, a wiki site built from structured content files. It fills in page details and checks that the pages follow the site’s rules.

PNGTRID/AnvilWiki · 111 tokens

anvil-refresh

A content review tool that finds older or potentially outdated pages in an AnvilWiki game site and produces a prioritized update list.

PNGTRID/AnvilWiki · 82 tokens

malloy-model

Build Malloy semantic models with base source and joined source files. Use when creating or modifying .malloy files, user asks to "create a malloy model", "add dimensions", "add measures", "create a source", or any Malloy model authoring task.

malloydata/publisher · 59 tokens

malloy-reports

Build or modify a Malloy Publisher report: a .malloy file with an ## artifact tag, written at the package root unless asked otherwise, laid out as a grid (a dashboard, scanned at a glance) or linear (a notebook or data story, read top to bottom), with filter controls rendered from givens and # drill click-through. Use…

malloydata/publisher · 123 tokens