Borrowing it
Nothing to install: this file belongs to wb04307201/spring-ai-loom-agent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/wb04307201/spring-ai-loom-agent/master/CLAUDE.mdgit clone --depth 1 https://github.com/wb04307201/spring-ai-loom-agentWrote 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.
[](https://agentmods.dev/instructions/wb04307201/spring-ai-loom-agent/claude-md)<a href="https://agentmods.dev/instructions/wb04307201/spring-ai-loom-agent/claude-md"><img src="https://agentmods.dev/badge/instructions/wb04307201/spring-ai-loom-agent/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.
<a href="https://agentmods.dev/instructions/wb04307201/spring-ai-loom-agent/claude-md"><img src="https://agentmods.dev/badge/instructions/wb04307201/spring-ai-loom-agent/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.06850 | $0.06850 |
| Opus 5 | $0.03425 | $0.03425 |
| Sonnet 5 | $0.01370 | $0.01370 |
| Haiku 4.5 | $0.00685 | $0.00685 |
Grade C, and why
spring-ai-loom-agent CLAUDE.md 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 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- **Schema** (单一 V1.0 一站式 init,**项目只跑全新库**;任何已有 V1/V2 历史部署必须 `flyway baseline` 或 `rm -rf ~/.loom/datasource` 重跑): How it starts
The opening of the file, as written. The whole thing — 266 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
Spring AI LoomAgent — A Spring Boot auto-configuration library that provides an out-of-the-box chat UI with RAG knowledge base, MCP tool calling, Skill library + Skill market, and role-based access (RBAC) for Spring AI applications.
- JDK: 17+
- Framework: Spring Boot 3.x + Spring AI 1.x
- Build: Maven (multi-module)
- Database: H2 (default), with Flyway migrations
Project Overview Images
docs/project-overview-en.png and docs/project-overview-zh.png (shown at the top of README.md / README.zh-CN.md) are generated from project source + README.md + this CLAUDE.md by the project skill at .claude/skills/project-overview-image/ using DashScope wan2.7-image (generate.py PRIMARY_MODEL; requires DASHSCOPE_WORKSPACE_ID + DASHSCOPE_API_KEY). The infographic layout (single source of truth) lives in generate.py's EN_LAYOUT / ZH_LAYOUT — edit those, not the PNGs. Regenerate via the skill trigger phrases ("更新项目概览图", "刷新 README 顶部的 overview 图", "生成 docs/project-overview-{en,zh}.png") whenever the architecture changes meaningfully — never hand-edit the PNGs.
Module Structure
| Module | Purpose |
|---|---|
spring-ai-loom-agent |
Core library — chat, knowledge base, file, MCP, skill (market + role auth), RBAC (user/role/mcp), user interfaces + default implementations, JVector vector store, H2 schema, static frontend resources |
spring-ai-loom-agent-spring-boot-autoconfigure |
LoomAgentConfiguration with 7 nested static @Configuration classes (Infrastructure, Chat, Rag, Mcp, Tool, Storage, Web) — @AutoConfiguration with @ConditionalOnMissingBean on all beans for full replaceability |
spring-ai-loom-agent-spring-boot-starter |
Empty JAR that depends on autoconfigure — the one dependency users add |
spring-ai-loom-agent-test |
Test application with application.yml — run locally to verify 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.
- 5d ago Changed · +97 lines · +1,911 tokens per session cb6b88236bd2
- 9d ago First seen · 169 lines · 4,939 tokens per session scan C 3def1315e317
spring-ai-loom-agent CLAUDE.md is an instructions file published in the GitHub repository wb04307201/spring-ai-loom-agent (327 stars, last pushed 9d ago), licensed Apache-2.0. It adds 6,850 tokens to every session, about $0.0343 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.