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 CrestApps/CrestApps.AgentSkills --skill orchardcore-diagnosticsgit clone --depth 1 https://github.com/CrestApps/CrestApps.AgentSkillsWrote 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/crestapps/crestapps.agentskills/orchardcore-diagnostics)<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-diagnostics"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-diagnostics.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.00157 | $0.01275 |
| Opus 5 | $0.00078 | $0.00638 |
| Sonnet 5 | $0.00031 | $0.00255 |
| Haiku 4.5 | $0.00016 | $0.00128 |
Grade A, and why
orchardcore-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 4d 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 — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Orchard Core Diagnostics
OrchardCore.Diagnostics wires tenant-aware error handling into the Orchard
Core pipeline. Its startup filter uses /Error for unhandled exceptions outside
development and re-executes status code responses at /Error/{status}. The
module maps the Error/{status?} route to DiagnosticsController.Error.
Guidelines
- Enable the exact
OrchardCore.Diagnosticsfeature before relying on its error route and shapes. - In non-development environments it calls
UseExceptionHandler("/Error"). - It calls
UseStatusCodePagesWithReExecute("/Error/{0}")for status responses. - Do not expose exception details in theme templates or production error pages.
- Static-file paths are excluded from status page rendering when their extension maps to a content type.
- Override error rendering through theme shapes rather than changing the module controller.
- Use
IConfigureOptionsfor your own options registration, not to replace the diagnostic middleware order. - Error templates must tolerate an absent status code because
/Erroralso handles exceptions. - All C# classes in examples are sealed except View Models.
Enable Diagnostics
{
"steps": [
{
"name": "Feature",
"enable": [
"OrchardCore.Diagnostics"
],
"disable": []
}
]
}
Pipeline Behavior
The module registers DiagnosticsStartupFilter as an IStartupFilter. This
ensures the error handling runs in the correct tenant pipeline without an
application manually adding duplicate middleware.
| Situation | Result |
|---|---|
| Unhandled exception in production | Re-executes /Error. |
| Response with a 4xx or 5xx status | Re-executes /Error/{status}. |
| Development environment exception | The exception handler is not registered by this filter. |
| Missing static asset | Status page rendering is disabled for known file extensions. |
Avoid calling UseExceptionHandler or UseStatusCodePagesWithReExecute again
for the same tenant unless you deliberately replace this behavior and have
verified pipeline order.
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.
- 4d ago First seen · 154 lines · 157 tokens per session scan A 416a499f9667
orchardcore-diagnostics is a skill published in the GitHub repository CrestApps/CrestApps.AgentSkills (13 stars, last pushed 9d ago), licensed MIT. It adds 157 tokens to every session and 1,275 once invoked, about $0.0008 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 skills, from other repositories
maf-fan-out-validator
Validates fan-out / fan-in workflow topology — detects the silent fan-in starvation pattern (handlers returning void / non-generic Task that produce no downstream message). Canonical rules + procedure for what the compiler cannot catch and the build cannot surface.
diagnose-connectivity
Work out why a 3x-ui client cannot connect, in the order that finds the cause fastest — scope the outage, check the core, the inbound, the client's own limits, routing and outbounds, then the node. Use whenever someone reports "it stopped working", a client cannot connect, a site is unreachable through the proxy, or…
cratis-arc-observable-query-http
Inspect a Cratis Arc observable query from a terminal with curl or another plain HTTP client — snapshot GET, waiting for the first result, Server-Sent Events streaming, and long polling, plus the exact query-string keys, status codes, and payload shape. Use when debugging or exploring an observable query without…
observable-query-curl
Practical guidance for debugging and exploring Cratis Arc observable queries with cURL or other plain HTTP clients. Use this whenever the user mentions observable queries together with cURL, curl, HTTP GET debugging, waiting for the first payload, Server-Sent Events, SSE, streaming JSON, or long polling. Also use it…
dev-tasks
Guides for common development tasks like adding facet fields, file format support, STDIO debugging, and performance tuning. Use when working on specific development recipes.
use-discatsharp
Build, explain, migrate, or troubleshoot Discord applications that use DisCatSharp. Use for DisCatSharp setup, configuration, clients, events, intents, slash commands, CommandsNext, interactivity, hosting, Lavalink, voice, entities, REST operations, exact API lookup, overload selection, and version-aware C# examples.