Horse is a lightweight web framework for Delphi and Lazarus programs, providing tools for building HTTP servers and APIs. It is for developers who need routing, request handling, middleware, streaming, WebSockets, and related server features in those languages. Its catalogue skills support working with the framework.
Borrowing it
Nothing to install: this file belongs to HashLoad/horse. 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/HashLoad/horse/master/.agents/skills/horse-websocket/SKILL.mdgit clone --depth 1 https://github.com/HashLoad/horseWrote 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/hashload/horse/horse-websocket)<a href="https://agentmods.dev/skills/hashload/horse/horse-websocket"><img src="https://agentmods.dev/badge/skills/hashload/horse/horse-websocket/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/hashload/horse/horse-websocket"><img src="https://agentmods.dev/badge/skills/hashload/horse/horse-websocket.svg" alt="Reviewed on agentmods" width="80" 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.00023 | $0.00753 |
| Opus 5.5 | $0.00009 | $0.00301 |
| Sonnet 5.5 | $0.00005 | $0.00151 |
| Haiku 4.5 | $0.00002 | $0.00075 |
Grade A, and why
horse-websocket 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 2mo 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 — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Horse WebSocket Coding Skill
This skill provides guidelines and patterns for developers and AI agents implementing, debugging, or maintaining WebSocket endpoints in the Horse framework.
🟢 Request Upgrade Pattern
To upgrade an HTTP request to a WebSocket connection, always call Res.UpgradeToWebSocket(AOnConnectCallback) inside the route handler.
Delphi Syntax (Anonymous Procedure / Closure)
THorse.Get('/ws',
procedure(Req: THorseRequest; Res: THorseResponse)
begin
Res.UpgradeToWebSocket(
procedure(const AConn: IHorseWebSocketConnection)
begin
AConn.OnMessage := procedure(const AConnection: IHorseWebSocketConnection; const AText: string)
begin
AConnection.SendText('Received: ' + AText);
end;
end);
end);
Lazarus/FPC Syntax (Object Methods)
Always use regular object methods or class procedures for callbacks in Lazarus/FPC to ensure compatibility:
type
TWebSocketController = class
public
class procedure HandleWS(Req: THorseRequest; Res: THorseResponse);
class procedure OnConnect(const AConn: IHorseWebSocketConnection);
class procedure OnMessage(const AConnection: IHorseWebSocketConnection; const AText: string);
end;
class procedure TWebSocketController.HandleWS(Req: THorseRequest; Res: THorseResponse);
begin
Res.UpgradeToWebSocket(OnConnect);
end;
class procedure TWebSocketController.OnConnect(const AConn: IHorseWebSocketConnection);
begin
AConn.OnMessage := OnMessage;
end;
class procedure TWebSocketController.OnMessage(const AConnection: IHorseWebSocketConnection; const AText: string);
begin
AConnection.SendText('Received: ' + AText);
end;
🟢 Broadcasts and Session Management
Use THorseWebSocketManager for thread-safe operations across multiple connections.
- Broadcast to all:
THorseWebSocketManager.Broadcast('/ws', 'Hello all!'); - Broadcast excluding sender:
THorseWebSocketManager.Broadcast('/ws', 'Hello others!', AConnection);
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.
- 2mo ago First seen · 74 lines · 23 tokens per session scan A 293b1fc37bb9
horse-websocket is a skill published in the GitHub repository HashLoad/horse (1,383 stars, last pushed 8d ago), licensed MIT. It adds 23 tokens to every session and 753 once invoked, about $0.0001 per session on Opus 5.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-08-30.
horse-websocket compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| horse-websocketHashLoad/horse | Skill | 1.4k | 8d ago | MIT | A | 23 | Claude Code, Codex |
| api-design-patternsaAAaqwq/AGI-Super-Team | Skill | 114 | yesterday | MIT | A | 29 | Claude Code |
| api-design-patternsbobmatnyc/claude-mpm | Skill | 158 | 2mo ago | none | A | 29 | Claude Code |
| api-design-patternsbobmatnyc/claude-mpm-skills | Skill | 78 | 3mo ago | MIT | A | 29 | Claude Code |
| api-integration-architectsickn33/agentic-awesome-skills | Skill | 49k | yesterday | MIT | A | 33 | Claude Code |
| dmrwemake-services/django-modern-rest | Skill | 1.5k | today | MIT | A | 80 | Claude Code, Codex |
| dmr-openapi-skeletonwemake-services/django-modern-rest | Skill | 1.5k | today | MIT | A | 97 | Claude Code, Codex |