Principle Redesign From First Principles
cursor/plugins
Apply when integrating a new requirement into an existing design.
Guide for programming with Zero-Allocation principles in Horse, focusing on stack allocations, string slicing, object pooling, and avoiding lock contention.
$ npx skills add HashLoad/horse --skill horse-zero-allocation -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install HashLoad/horse horse-zero-allocation --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/HashLoad/horse.git skills-src && mkdir -p .claude/skills && cp -r skills-src/doc/skills/horse-zero-allocation .claude/skills/horse-zero-allocation && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "horse-zero-allocation" agent skill from https://github.com/HashLoad/horse/tree/master/doc/skills/horse-zero-allocation into .claude/skills/horse-zero-allocation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "horse-zero-allocation", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/HashLoad/horse/tree/master/doc/skills/horse-zero-allocationType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add HashLoad/horse --skill horse-zero-allocation -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install HashLoad/horse horse-zero-allocation --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HashLoad/horse.git skills-src && mkdir -p .agents/skills && cp -r skills-src/doc/skills/horse-zero-allocation .agents/skills/horse-zero-allocation && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "horse-zero-allocation" agent skill from https://github.com/HashLoad/horse/tree/master/doc/skills/horse-zero-allocation into .agents/skills/horse-zero-allocation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "horse-zero-allocation", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HashLoad/horse --skill horse-zero-allocation -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install HashLoad/horse horse-zero-allocation --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HashLoad/horse.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/doc/skills/horse-zero-allocation .cursor/skills/horse-zero-allocation && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "horse-zero-allocation" agent skill from https://github.com/HashLoad/horse/tree/master/doc/skills/horse-zero-allocation into .cursor/skills/horse-zero-allocation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "horse-zero-allocation", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/HashLoad/horse.git --path doc/skills/horse-zero-allocation--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add HashLoad/horse --skill horse-zero-allocation -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install HashLoad/horse horse-zero-allocation --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HashLoad/horse.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/doc/skills/horse-zero-allocation .gemini/skills/horse-zero-allocation && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "horse-zero-allocation" agent skill from https://github.com/HashLoad/horse/tree/master/doc/skills/horse-zero-allocation into .gemini/skills/horse-zero-allocation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "horse-zero-allocation", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install HashLoad/horse horse-zero-allocationInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add HashLoad/horse --skill horse-zero-allocation -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/HashLoad/horse.git skills-src && mkdir -p .github/skills && cp -r skills-src/doc/skills/horse-zero-allocation .github/skills/horse-zero-allocation && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "horse-zero-allocation" agent skill from https://github.com/HashLoad/horse/tree/master/doc/skills/horse-zero-allocation into .github/skills/horse-zero-allocation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "horse-zero-allocation", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HashLoad/horse --skill horse-zero-allocation -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install HashLoad/horse horse-zero-allocation --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HashLoad/horse.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/doc/skills/horse-zero-allocation .opencode/skills/horse-zero-allocation && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "horse-zero-allocation" agent skill from https://github.com/HashLoad/horse/tree/master/doc/skills/horse-zero-allocation into .opencode/skills/horse-zero-allocation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "horse-zero-allocation", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
horse-zero-allocationGuide for programming with Zero-Allocation principles in Horse, focusing on stack allocations, string slicing, object pooling, and avoiding lock contention.
Horse Zero Allocation is an agent skill from HashLoad/horse. Guide for programming with Zero-Allocation principles in Horse, focusing on stack allocations, string slicing, object pooling, and avoiding lock contention.
Its SKILL.md is about 910 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: Fast, opinionated, minimalist web framework for Delphi. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit d4351a5. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are pascal).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Horse Zero Allocation loads about 912 tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 338 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from HashLoad/horse at commit d4351a5, republished under its MIT licence (© HashLoad). 338 words, ~912 tokens.
.claude/skills/horse-zero-allocation/SKILL.md (or your agent's skills folder).To write custom routers, high-performance middlewares, or request handlers that scale under extreme concurrency, you must minimize or eliminate memory allocations on the dynamic heap. Heap allocations require global memory manager locks, which cause lock contention and page faults across multi-threaded applications.
Using functions like Copy(MyString, Start, Length) or string concatenation (+) allocates new string segments on the heap. Under heavy concurrency, this degrades performance.
PChar) or specialized slice types to perform string matches and parsing.THorseBufferSlice in the Horse RouterTree) to match paths without generating new sub-strings.type
TZeroAllocSlice = record
Buffer: PChar;
Start: Integer;
Length: Integer;
function Compare(const AString: string): Boolean;
end;
function TZeroAllocSlice.Compare(const AString: string): Boolean;
var
I: Integer;
begin
if Length <> System.Length(AString) then
Exit(False);
for I := 0 to Length - 1 do
if (Buffer + Start + I)^ <> AString[I + 1] then
Exit(False);
Result := True;
end;Avoid creating temporary class instances or dynamic arrays (array of Byte) inside loop structures or high-frequency handler routines. These require heap overhead and reference-counting locks.
record rather than class. Records are allocated automatically on the fast thread stack and cleaned up instantly upon exit.// Correct (Stack allocation - fast, zero page faults)
procedure ProcessEvents;
var
LEvents: array[0..255] of epoll_event; // Allocated on the stack
begin
// Process up to 256 events directly
end;
// Incorrect (Heap allocation - slow thread lock contention)
procedure ProcessEventsBad;
var
LEvents: array of epoll_event;
begin
SetLength(LEvents, 256); // Hits the memory manager heap
end;Instead of instantiating helper objects (like database queries, parser buffers, or connection context blocks) for every HTTP request, utilize a thread-safe Object Pool (e.g. THorseContextPool).
finally block.Avoid redundant string transcoding (e.g. converting UTF-8 response buffers back and forth to standard UnicodeString).
© HashLoad, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in doc/skills/horse-zero-allocation of HashLoad/horse.
Open the folder on GitHubat commit d4351a5
Horse Zero Allocation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Horse Zero Allocation this skillHashLoad/horse | 1.4k | — | ~912 | Automated safety check: Pass | MIT | |
| Principle Redesign From First Principlescursor/plugins | 10k | 8 repos | ~211 | Automated safety check: Pass | None | |
| Daily Focus Boardgithub/awesome-copilot | 40k | — | ~3k | Automated safety check: Pass | MIT | |
| Agent Resource Allocatorruvnet/ruflo | 74k | 2 repos | ~4.9k | Automated safety check: Pass | MIT | |
| Focus Stylesthedaviddias/Front-End-Checklist | 74k | — | ~639 | Automated safety check: Pass | MIT | |
| Focus Orderthedaviddias/Front-End-Checklist | 74k | — | ~519 | Automated safety check: Pass | MIT |
cursor/plugins
Apply when integrating a new requirement into an existing design.
github/awesome-copilot
Builds a warm, browser-based daily focus board the user updates by talking to their agent, with Eisenhower priorities, a brain-dump box and kind not-today carryover.
ruvnet/ruflo
Agent skill for resource-allocator - invoke with $agent-resource-allocator
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Provide visible custom focus indicators.
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Ensure logical focus order.
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Manage focus during dynamic interactions.
HashLoad/horse
Guide for setting up Horse applications, bootstrap program (.dpr), basic console initialization, and registering modules.
HashLoad/horse
Guide for setting up thread-safe database connection pooling (FireDAC / UniDAC) in multithreaded Horse applications.
HashLoad/horse
Guide for managing request-scoped contextual services and IoC (dependency injection) in Delphi and Lazarus.
HashLoad/horse
Guide to handling file uploads (multipart), downloads, and stream lifetime management in the Horse framework.
HashLoad/horse
Guidelines and workflows for developing and maintaining gRPC services, HTTP/2 h2c transport, and Protobuf serialization within the Horse framework.
HashLoad/horse
Guide for writing automated integration tests for Horse endpoints using DUnit/DUnitX and THTTPClient.
Guide for programming with Zero-Allocation principles in Horse, focusing on stack allocations, string slicing, object pooling, and avoiding lock contention. Horse Zero Allocation is an agent skill from HashLoad/horse. Guide for programming with Zero-Allocation principles in Horse, focusing on stack allocations, string slicing, object pooling, and avoiding lock contention.
Run `npx skills add HashLoad/horse --skill horse-zero-allocation -a claude-code`. Or copy the skill folder (doc/skills/horse-zero-allocation in HashLoad/horse) into .claude/skills/horse-zero-allocation in your project. Claude Code loads it when a task matches its description.
Run `npx skills add HashLoad/horse --skill horse-zero-allocation -a codex`. Or copy the skill folder (doc/skills/horse-zero-allocation in HashLoad/horse) into .agents/skills/horse-zero-allocation in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HashLoad/horse --skill horse-zero-allocation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/horse-zero-allocation, .gemini/skills/horse-zero-allocation, .github/skills/horse-zero-allocation and .opencode/skills/horse-zero-allocation in your project.
SKILL.md names no scripts, command-line tools or credentials: Horse Zero Allocation is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Horse Zero Allocation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 912 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Horse Zero Allocation: Principle Redesign From First Principles (cursor/plugins, 10k stars), Daily Focus Board (github/awesome-copilot, 40k stars), Agent Resource Allocator (ruvnet/ruflo, 74k stars) and Focus Styles (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
HashLoad (a GitHub organization) maintains it in HashLoad/horse, which has 1,377 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on October 7, 2026.
Source: HashLoad/horse on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.