hoist-core: Instructions file for Claude Code

CLAUDE.md

hoist-core CLAUDE.md is an instructions file for Claude Code from xh/hoist-core. It costs 5,285 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for hoist-core, the server-side plugin used by the Hoist web-application toolkit.

In plain words
What is it for?
They help developers understand the Grails, Groovy, Java, caching, documentation, and optional GitHub or IntelliJ tool integrations used in the repository.
Why use it?
They give coding agents project-specific rules and direct them to the project's documentation tools before changing code.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is xh/hoist-core's own configuration. It tells Claude Code how to work on hoist-core 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 hoist-core configures →

Reuse

Borrowing it

Nothing to install: this file belongs to xh/hoist-core. 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/xh/hoist-core/develop/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/xh/hoist-core

Made for: Claude Code.

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 hoist-core CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/xh/hoist-core/claude-md/github.svg)](https://agentmods.dev/instructions/xh/hoist-core/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/xh/hoist-core/claude-md"><img src="https://agentmods.dev/badge/instructions/xh/hoist-core/claude-md/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 hoist-core CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/xh/hoist-core/claude-md"><img src="https://agentmods.dev/badge/instructions/xh/hoist-core/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,285 This file is loaded in full into every session.
When invoked 5,285 The same file — it is already loaded in full.
Security scan A 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.05285 $0.05285
Opus 5.5 $0.02114 $0.02114
Sonnet 5.5 $0.01057 $0.01057
Haiku 4.5 $0.00528 $0.00528

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

Security

Grade A, and why

hoist-core CLAUDE.md scanned grade A 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 10d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

crafting raw `curl` calls to the GitHub API.
CLAUDE.md · 419 lines

How it starts

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

CLAUDE.md

This file provides guidance to AI coding assistants — including Claude Code, GitHub Copilot, and similar tools — when working with code in this repository.

Project Overview

Hoist-core is the server-side component of the Hoist web application development toolkit, built by Extremely Heavy Industries (xh.io). Its primary product is a Grails 8 plugin (not a standalone app) published as io.xh:hoist-core and consumed by Grails application projects. The repo also publishes two companion artifacts at the same version: hoist-core-test (the test-support/ subproject, Spock test support for apps) and hoist-core-mcp (the mcp/ subproject, an MCP server for AI agents). The client-side counterpart is hoist-react.

  • Language: Groovy 5 / Java 21
  • Framework: Grails 8.0 (Spring Boot 4.1, Hibernate 5, GORM)
  • Clustering: Hazelcast 5.7 for distributed caching, pub/sub, and multi-instance coordination
  • Package root: io.xh.hoist

Hoist Developer Tools and Documentation

IMPORTANT: Do not guess at hoist-core APIs, service patterns, or framework conventions. Hoist-core ships a dedicated MCP server that provides structured access to all framework documentation and Groovy/Java symbol information. You MUST use these tools before modifying or extending hoist-core code to understand existing architecture, configuration patterns, and common pitfalls. The feature docs and concept docs are the authoritative reference for how Hoist Core works -- skipping them risks producing code that conflicts with established patterns or misses built-in functionality.

The MCP server is configured via .mcp.json and is very likely already available. Use the following tools:

  • hoist-core-search-docs -- Search all docs by keyword (e.g. "BaseService lifecycle", "authentication OAuth", "clustering Hazelcast")
  • hoist-core-list-docs -- List all available documentation, grouped by category
  • hoist-core-search-symbols -- Search for Groovy/Java classes, interfaces, traits, enums, and members of key framework classes (e.g. "Cache", "createTimer")
  • hoist-core-get-symbol -- Get detailed type info for a specific symbol (signature, Groovydoc, inheritance, annotations)
  • hoist-core-get-members -- List all properties and methods of a class or interface

Read the full file on GitHub · 419 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. 10d ago Changed · +17 lines · +195 tokens per session a283724e29f0
  2. 14d ago Changed · +4 lines · +65 tokens per session f87297c5d53f
  3. 28d ago Changed 940b9e7c4203
  4. 1mo ago Changed · +7 lines · +148 tokens per session 1438d1c5bc17
  5. 2mo ago First seen · 391 lines · 4,877 tokens per session scan A 1a994a495432

Subscribe to this mod's changes

hoist-core CLAUDE.md is an instructions file published in the GitHub repository xh/hoist-core (13 stars, last pushed yesterday), licensed Apache-2.0. It adds 5,285 tokens to every session, about $0.0211 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

hoist-core CLAUDE.md compared with instructions from other repositories

hoist-core CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hoist-core CLAUDE.mdxh/hoist-coreInstructions file13yesterdayApache-2.0A5,285Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot