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.
npx agentmods add instructions/lsampaioweb/ai-instructions/spring-boot-actuatorgit clone --depth 1 https://github.com/lsampaioweb/ai-instructionsWrote 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/lsampaioweb/ai-instructions/spring-boot-actuator)<a href="https://agentmods.dev/instructions/lsampaioweb/ai-instructions/spring-boot-actuator"><img src="https://agentmods.dev/badge/instructions/lsampaioweb/ai-instructions/spring-boot-actuator.svg" alt="Measured on agentmods" 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.00721 | $0.00721 |
| Opus 5 | $0.00360 | $0.00360 |
| Sonnet 5 | $0.00144 | $0.00144 |
| Haiku 4.5 | $0.00072 | $0.00072 |
Grade A, and why
ai-instructions spring-boot-actuator.instructions.md 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Spring Boot Actuator Engine
Rules
- Keep actuator endpoint exposure allowlist-based.
- Expose only
healthandinfoby default. - Allow
metrics,prometheus, or any additional actuator endpoint only with explicit module-level opt-in. - Record the reason for any non-default actuator exposure in configuration comments or documentation.
- Configure the
infoendpoint to expose at most application name and version. - Keep base health details set to
when-authorizedunless a stricter policy is required. - Allow profile-specific health detail overrides when justified by environment needs.
- Prefer
alwaysonly for local or development profiles. - Prefer
neverfor production profiles unless an authenticated operational requirement is documented. - Keep
/actuator/healthpublicly accessible for liveness and readiness probes. - Set
management.endpoint.health.probes.enabled: trueinapplication.ymlfor container-aware deployments to activate/actuator/health/livenessand/actuator/health/readiness. - Configure explicit liveness (
/actuator/health/liveness) and readiness (/actuator/health/readiness) probe groups for container deployments. - Keep non-health actuator endpoints authenticated when Spring Security is active.
- Configure the management server on a dedicated port (
8081by default) to isolate actuator endpoints from application traffic. - Set
management.endpoints.web.base-pathto/actuatorexplicitly inapplication.yml. - Override
management.endpoints.web.base-pathin a profile file only when that profile uses a different base path. - Include metrics exposure only when runtime monitoring requires it.
- Keep metrics visibility consistent across active profiles.
- Use Micrometer Tracing as the tracing abstraction layer.
- Set
spring.application.nameas the service name for all trace spans. - Use W3C TraceContext (
traceparent) as the trace context propagation format. - Set sampling rate to
1.0for local and development profiles. - Set sampling rate to
0.1or lower for production profiles unless a higher rate is operationally justified and documented. - Configure the exporter endpoint explicitly in every profile that enables tracing.
- Keep a shared exporter endpoint definition in
application.ymlwhen all environments use the same externalized property key. - Override the exporter endpoint in a profile file only when that profile requires a different effective value or a local-development fallback.
- Disable tracing in test classes by setting
management.tracing.sampling.probability=0.0via environment variable override or inline@TestPropertySourcein test configuration. - Use
@Observedon service methods to create automatic spans via AOP when custom span boundaries are needed. - Use Micrometer
BaggageAPI to propagate contextual key-value pairs (e.g.,user.id,tenant.id) alongside trace context across service boundaries. - Externalize exporter endpoint URLs as configuration properties.
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.
- 2d ago First seen · 48 lines · 721 tokens per session scan A 228dd6e32978
ai-instructions spring-boot-actuator.instructions.md is an instructions file published in the GitHub repository lsampaioweb/ai-instructions (1 stars, last pushed 13d ago), licensed MIT. It adds 721 tokens to every session, about $0.0036 per session on Opus 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-03.
Other instructions, from other repositories
awsmux AGENTS.md
Instructions for 0hardik1/awsmux, covering agents.md, what awsmux is, build, test, verify, layout and the safety model — invariants you must not weaken.
plan-forge naming.instructions.md
Azure naming conventions — Microsoft CAF abbreviations, constraints, uniqueness, tagging.
agent-skills fortrabbit.instructions.md
Instructions for fortrabbit/agent-skills, covering fortrabbit — github copilot instructions, what fortrabbit is, configuration lookup, available operations and mcp server (optional).
cron-mcp CLAUDE.md
Claude Code instructions for Shreyas-Profile/cron-mcp, covering deploying cron-mcp to hetzner + regiq.in, server (shared with the rest of the globalion mcp fleet), deploy a new version, first-time subdomain wiring (cron.regiq.in) and env vars.
Railway-mcp CLAUDE.md
Claude Code instructions for Travis-Gilbert/Railway-mcp, covering railway mcp server, quick reference, file map, architecture and key patterns.
equinix-fabric-mcp CLAUDE.md
Claude Code instructions for sliuuu/equinix-fabric-mcp, covering claude.md — equinix-fabric-mcp, canonical files, auth, add equinixclientid and equinixclientsecret and running.