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 skills add halsyourpal422/Battenmark --skill backend-diagnosticsgit clone --depth 1 https://github.com/halsyourpal422/BattenmarkWrote 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/skills/halsyourpal422/battenmark/backend-diagnostics)<a href="https://agentmods.dev/skills/halsyourpal422/battenmark/backend-diagnostics"><img src="https://agentmods.dev/badge/skills/halsyourpal422/battenmark/backend-diagnostics/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/skills/halsyourpal422/battenmark/backend-diagnostics"><img src="https://agentmods.dev/badge/skills/halsyourpal422/battenmark/backend-diagnostics.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.00000 | $0.00426 |
| Opus 5.5 | $0.00000 | $0.00170 |
| Sonnet 5.5 | $0.00000 | $0.00085 |
| Haiku 4.5 | $0.00000 | $0.00043 |
Grade A, and why
backend-diagnostics 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.
How it starts
The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
FreeCAD / Backend Diagnostics
Purpose
Diagnose backend/FreeCAD worker failures using only public Battenmark status, capability, and structured-error surfaces. Never bypass the typed service layer.
Use when
- Public operation returns backend-related structured error.
- Need
kernel_statusorinspect_backend_capabilities.
Do not use when
- Ordinary geometry/selector/constraint errors (use modelling skills).
- Tempted to run FreeCAD Python or edit worker internals — forbidden.
Preconditions
- REQUIRED: Operating through a public Battenmark client; stay inside the public contract.
Planning rules
- Structured error is primary evidence.
- Establish backend presence, roles, capabilities.
- Smallest recovery: retry → capability-aware alternative → supported restart → re-verify.
- Never call private FreeCAD modules or shell.
Recommended operation sequence
- REQUIRED — Record failing operation + full structured error.
- REQUIRED —
kernel_status→inspect_backend_capabilities. - REQUIRED — Recover (retry / alternative / supported restart only).
- REQUIRED — Re-run minimal public verification.
Geometry / mechanical rules
Not applicable.
Verification gates
Status/capability called; recovery used only public operations; post-recovery public call succeeds or clear capability-backed unavailability explanation; no private FreeCAD/shell used.
Failure recovery
This skill is the recovery procedure. If public recovery fails, report status + error to user/operator. Do not patch the worker or invoke FreeCADCmd from the agent.
Outputs
Captured error, capability/kernel snapshots, recovery steps, post-recovery verification result.
Platform notes
FreeCAD is Tier-1 authoritative backend; JSCAD is preview only. Capability flags tell the truth. Discovery/install helpers are operator actions, not agent actions.
Examples
export_step timeout → kernel_status → inspect_backend_capabilities → supported restart if available → retry trivial op → retry export. Never "run FreeCADCmd yourself".
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago First seen · 46 lines · 0 tokens per session scan A bce1b76017e8
backend-diagnostics is a skill published in the GitHub repository halsyourpal422/Battenmark (1 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 426 tokens. 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-08-31.
Other skills, from other repositories
cadquery
Use when scripting parametric 3D CAD models in Python — programmatic part generation, parametric design optimization, STEP export. CadQuery: Python-based parametric CAD built on OCCT kernel with a fluent API.
spine-perf
Find and fix performance bottlenecks — N+1 queries, missing indexes, sync bottlenecks, caching gaps. Use when asked "why is this slow", "performance issue", "optimize this endpoint", or "N+1 queries".
spine-recon
Backend reconnaissance — map all routes, middleware, models, dependencies, auth, and assess code quality for project takeover. Use when asked to "understand this backend", "map the API", or "assess code quality".
freecad
Use when doing parametric 3D CAD modeling, BIM/architectural design, FEM simulation, CAM toolpath generation, or robot simulation with Python scripting. FreeCAD: the leading open-source parametric 3D CAD with Sketcher, Part, PartDesign, Arch, CAM, and FEM workbenches.
api-integration-architect
Design, implement, debug, and optimize API integrations with expert-level patterns for REST, GraphQL, webhooks, and authentication flows.
ce-sweep
Sweep configured feedback sources (Slack, GitHub Issues; email experimental) for new items: acknowledge at source, analyze recordings, verify fixes merged to main, and emit an lfg-ready plan. First run sets up sources; supports mode:non-interactive for scheduled runs.