hoist-core CLAUDE.md

hoist-core CLAUDE.md is an instructions file for coding agents from xh/hoist-core. It costs 4,877 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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/xh/hoist-core/claude-md
Clone the repo
git clone --depth 1 https://github.com/xh/hoist-core

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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,877 This file is loaded in full into every session.
When invoked 4,877 The same file — it is already loaded in full.
Security scan A 1 finding. Scan, not verified.
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.04877 $0.04877
Opus 5 $0.02439 $0.02439
Sonnet 5 $0.00975 $0.00975
Haiku 4.5 $0.00488 $0.00488

Measured 5d ago against content hash 1a994a495432, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 5d 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 · 391 lines

How it starts

The opening of the file, as written. The whole thing — 391 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). It is a Grails 7 plugin (not a standalone app) published as io.xh:hoist-core and consumed by Grails application projects. The client-side counterpart is hoist-react.

  • Language: Groovy 4 / Java 17
  • Framework: Grails 7.0 (Spring Boot 3.5, Hibernate 5, GORM)
  • Clustering: Hazelcast 5.6 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 · 391 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. 5d 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 (11 stars, last pushed yesterday), licensed Apache-2.0. It adds 4,877 tokens to every session, about $0.0244 per session on Opus 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

Other instructions, from other repositories