Gpg Signing
Prorise-cool/Claude-Code-Multi-Agent
Comprehensive guide to GPG commit signing. An agent skill from Prorise-cool/Claude-Code-Multi-Agent.
Optimize or review performance for the Static Web Server (SWS) project — profiling, bottlenecks, resource usage, compression, and caching
$ npx skills add static-web-server/static-web-server --skill performance -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install static-web-server/static-web-server performance --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/static-web-server/static-web-server.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/performance .claude/skills/performance && 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 "performance" agent skill from https://github.com/static-web-server/static-web-server/tree/master/.agents/skills/performance into .claude/skills/performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance", 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/static-web-server/static-web-server/tree/master/.agents/skills/performanceType 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 static-web-server/static-web-server --skill performance -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install static-web-server/static-web-server performance --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/static-web-server/static-web-server.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/performance .agents/skills/performance && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "performance" agent skill from https://github.com/static-web-server/static-web-server/tree/master/.agents/skills/performance into .agents/skills/performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance", 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 static-web-server/static-web-server --skill performance -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install static-web-server/static-web-server performance --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/static-web-server/static-web-server.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/performance .cursor/skills/performance && 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 "performance" agent skill from https://github.com/static-web-server/static-web-server/tree/master/.agents/skills/performance into .cursor/skills/performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance", 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/static-web-server/static-web-server.git --path .agents/skills/performance--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 static-web-server/static-web-server --skill performance -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install static-web-server/static-web-server performance --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/static-web-server/static-web-server.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/performance .gemini/skills/performance && 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 "performance" agent skill from https://github.com/static-web-server/static-web-server/tree/master/.agents/skills/performance into .gemini/skills/performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance", 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 static-web-server/static-web-server performanceInstalls 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 static-web-server/static-web-server --skill performance -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/static-web-server/static-web-server.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/performance .github/skills/performance && 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 "performance" agent skill from https://github.com/static-web-server/static-web-server/tree/master/.agents/skills/performance into .github/skills/performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance", 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 static-web-server/static-web-server --skill performance -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install static-web-server/static-web-server performance --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/static-web-server/static-web-server.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/performance .opencode/skills/performance && 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 "performance" agent skill from https://github.com/static-web-server/static-web-server/tree/master/.agents/skills/performance into .opencode/skills/performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "performance", 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.
performanceOptimize or review performance for the Static Web Server (SWS) project — profiling, bottlenecks, resource usage, compression, and caching
Performance is an agent skill from static-web-server/static-web-server. Optimize or review performance for the Static Web Server (SWS) project — profiling, bottlenecks, resource usage, compression, and caching
Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Backend & APIs, covering Caching. It works with Rust and Linux. The repository describes itself as: A cross-platform, high-performance and asynchronous web server for static files-serving. ⚡. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 32ec4aa. 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.
Shell commands in SKILL.md call:
cargoFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
valgrind.orgcrates.ioFrom 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.
Performance loads about 3.1k tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 1,529 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 static-web-server/static-web-server at commit 32ec4aa, republished under its Apache-2.0 licence (© static-web-server). 1,529 words, ~3,110 tokens.
.claude/skills/performance/SKILL.md (or your agent's skills folder).Load this skill when profiling, optimizing, or reviewing code for performance — latency, throughput, memory, or CPU.
When to load: a change touches the request hot path (handler.rs, static_files/, compression.rs, fs/stream.rs), a benchmark is being added or interpreted, a regression in requests/sec or latency is suspected, or a new dependency may affect binary size or runtime cost.
perf and flamegraph: cargo flamegraph --bin static-web-server for CPU profiles. Profile under load (e.g., wrk or bombardier)&Path over &PathBuf, &[u8] over Vec<u8>, pass by reference where ownership is not neededVec::with_capacity, String::with_capacity when the size is knowntokio::fs::File + tokio::io::copy for file serving. Never buffer the full file in memory#[inline] on small functions called on every request (e.g., header name normalization, MIME lookups). Use #[cold] on error-path functions to guide branch prediction away from the hot pathfilter_map over filter().map(): Avoids an intermediate layer in hot iterator chainsiter().copied() for small types: When iterating over &u8, &u32, etc., .copied() lets LLVM generate better code than receiving referenceschunks_exact when chunk size evenly divides length: Faster than chunks because it eliminates a remainder check per iterationok_or_else over ok_or: ok_or(expensive()) always evaluates its argument. ok_or_else(|| expensive()) is lazy and only evaluates on None--http2 --tls. Multiple concurrent streams over a single TCP connectionnum_cpus * 1. Increase --threads-multiplier for workloads with mixed CPU and I/O blocking (e.g., many concurrent clients with dynamic compression enabled — compression per-request is CPU-bound but high concurrency adds I/O wait interleaving). For pure CPU-bound workloads with minimal I/O, increasing threads beyond CPU count rarely helps.--grace-period to allow in-flight requests to complete before shutdown.br/.gz/.zst files are served with zero CPU. Always prefer this for production--compression-level fastest for high-traffic sitesmax-age based on file extension:.css, .js, .png, .woff2, etc.).json, .xml, .rss, .atom)You can override these defaults per file or extension using the configuration file. The above values are defaults, not hardcoded limits.
If-Modified-Since and If-Unmodified-Since via ConditionalHeaders. Returns 304 when the file hasn't changedLast-Modified instead. For byte-level cache validation, put SWS behind a CDN or reverse proxyoptimal_buf_size() selects the best buffer size based on file metadata (uses std::fs::Metadata::blksize() when available)BufReader with take(): For byte-range requests, a BufReader wraps the file handle and limits bytes read to the requested rangeFileStream reads in chunks. The response body is a stream, not a byte bufferserver/opts.rs. Per-request path resolution reuses thistry_metadata() caches nothing: Each call (in src/fs/meta.rs) is a filesystem syscall. The experimental memory cache feature (mini-moka, in src/mem_cache/) caches file metadata and contentclone() in the hot path: static_files.rs avoids cloning file paths for non-directory requests.br/.gz/.zst variants via Accept-Encoding and serves them directly. No compression step runsbrotli -q 11, gzip -9, zstd -19. SWS serves them as-isVary: Accept-Encoding is appended so caches know to store multiple variantsArc). No per-connection buffersmini-moka (in src/mem_cache/) caches hot files in memory with LFU admission and LRU eviction. Configurable capacity (default 100 entries), ttl (default 1800s), tti, and max_file_size. Keys use CompactString to reduce allocationclone_from over reassign-and-clone: a.clone_from(&b) reuses a's existing heap allocation when possible, avoiding an extra alloc/free. Especially valuable for Vec and String in hot loops.clear() at the end of each iteration. Avoids repeated alloc/free while keeping the heap allocation aliveCow<'_, str> / Cow<'_, Path> for mixed borrowed/owned data: Avoids allocating a String/PathBuf when the data is already a static literal or an existing slice that won't be modifiedSmallVec<[T; N]> for short, stack-like sequences: When most allocations hold ≤ N elements (e.g., header value lists, index file candidates), smallvec avoids heap allocation entirely for the common caseVec to Box<[T]> with into_boxed_slice(): Drops the unused capacity word, shrinking the type from 3 words to 2. Good for config-time data that is built once and never grownimpl Iterator<Item=T> instead of Vec<T> from helpers: Avoids an allocation when the caller only needs to iterateformat! when a literal or write! suffices: Every format! call allocates a String. Write directly to a &mut String or use std::fmt::Write insteadmemcpy for values larger than 128 bytes. If a hot type exceeds this, check its layout with RUSTFLAGS=-Zprint-type-sizes cargo +nightly build --releaseu32 over usize for counts and offsets stored in frequently instantiated structs (e.g., header tables, path segments). Cast to usize at use sitesstatic_assertions::assert_eq_size!(HotType, [u8; N]); for performance-critical types so that accidental size regressions cause a compile errorThe default cargo build --release profile is a good starting point, but the following options can improve throughput for production SWS builds:
| Option | Effect | Cargo.toml |
|---|---|---|
lto = "thin" | Cross-crate inlining, 5–15% speedup, moderate compile cost | [profile.release] |
codegen-units = 1 | Single codegen unit, enables more optimizations, slower compile | [profile.release] |
panic = "abort" | Removes unwinding machinery, smaller binary, slight speedup | [profile.release] |
For a custom server build where broad CPU compatibility is not required:
RUSTFLAGS="-C target-cpu=native" cargo build --releaseThis emits AVX/SSE instructions optimal for the build machine, which can improve compression throughput.
Note:
target-cpu=nativeproduces a non-portable binary. Do not use for distributed release artifacts.
The benches/ directory is a standalone crate with Criterion benchmarks for hot-path
functions (path sanitization, header handling, redirects, basic auth). They run on every
pull request via the codspeed workflow and are tracked on
CodSpeed.
cd benches
# Plain Criterion run (local timings only)
cargo bench
# Same suite measured with CodSpeed CPU simulation (deterministic, flamegraphs)
cargo codspeed build
codspeed run --mode simulation -- cargo codspeed runAdd a bench when a change touches the request hot path so a future regression is caught by CI instead of by users.
wrk, bombardier, oha, heyperf record + flamegraph, cargo flamegraph, cargo instruments (macOS), samply (cross-platform)dhat-rs (all platforms), DHAT via Valgrind (Linux) — identifies hot allocation sites--metrics + /metrics endpointclone() calls on the hot path justified — or replaceable with clone_from, Cow, or a reference?memcpy)?#[inline] / #[cold] attributes applied where profiling shows they help?ok_or_else / lazy combinators used instead of eager alternatives in hot paths?© static-web-server, Apache-2.0. 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 .agents/skills/performance of static-web-server/static-web-server.
Open the folder on GitHubat commit 32ec4aa
Performance 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 |
|---|---|---|---|---|---|---|
| Performance this skillstatic-web-server/static-web-server | 2.4k | — | ~3.1k | Automated safety check: Pass | Apache-2.0 | |
| Gpg SigningProrise-cool/Claude-Code-Multi-Agent | 305 | — | ~3.9k | Automated safety check: Warn | None | |
| Golem Mark Read Only Rustgolemcloud/golem | 1.5k | — | ~1.6k | Automated safety check: Pass | Custom licence | |
| Caching Architecturemajiayu000/litellm-rs | 116 | — | ~2k | Automated safety check: Pass | MIT | |
| macOS Cleanerdaymade/claude-code-skills | 1.4k | — | ~8.7k | Automated safety check: Pass | MIT | |
| Apple Container Test RunnerRustPython/RustPython | 22k | — | ~467 | Automated safety check: Pass | MIT |
Prorise-cool/Claude-Code-Multi-Agent
Comprehensive guide to GPG commit signing. An agent skill from Prorise-cool/Claude-Code-Multi-Agent.
golemcloud/golem
Marking Rust agent methods as read-only for a side-effect-free guarantee and result caching.
majiayu000/litellm-rs
LiteLLM-RS response caching architecture. An agent skill from majiayu000/litellm-rs.
daymade/claude-code-skills
Diagnoses and safely reclaims macOS disk space: caches, logs, app remnants, large/duplicate files, Docker/OrbStack, Chromium code-sign clones, developer caches.
RustPython/RustPython
Runs RustPython tests inside a Linux container built with Apple's container CLI, so macOS users can compare Linux results with their local ones.
kajisho5/ffmpeg-skill
Generate GitHub Actions CI/CD pipeline configurations for automated building and testing of library and package projects.
static-web-server/static-web-server
Design or review software architecture, API contracts, data models, and module boundaries for the Static Web Server (SWS) project
static-web-server/static-web-server
Triage, debug, fix, and document issues for the Static Web Server (SWS) project — bug reports, root cause analysis, fix implementation, and regression prevention
static-web-server/static-web-server
Author or edit any prose for the Static Web Server (SWS) project — documentation, design docs, READMEs, PR descriptions, issue bodies, commit message bodies, or other human-readable text — following…
static-web-server/static-web-server
Write or review Rust backend code for the Static Web Server (SWS) project — crates, modules, functions, types, error handling, and async code
static-web-server/static-web-server
Serve static files and web assets with optimal headers, MIME types, compression, and caching for the Static Web Server (SWS) project
static-web-server/static-web-server
Write or review tests for the Static Web Server (SWS) project — unit tests, integration tests, test fixtures, and mocking strategies
Categories
Optimize or review performance for the Static Web Server (SWS) project — profiling, bottlenecks, resource usage, compression, and caching. Performance is an agent skill from static-web-server/static-web-server.
Performance fits situations like: tasks that involve Caching.
Run `npx skills add static-web-server/static-web-server --skill performance -a claude-code`. Or copy the skill folder (.agents/skills/performance in static-web-server/static-web-server) into .claude/skills/performance in your project. Claude Code loads it when a task matches its description.
Run `npx skills add static-web-server/static-web-server --skill performance -a codex`. Or copy the skill folder (.agents/skills/performance in static-web-server/static-web-server) into .agents/skills/performance 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 static-web-server/static-web-server --skill performance -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/performance, .gemini/skills/performance, .github/skills/performance and .opencode/skills/performance in your project.
Going by SKILL.md and its folder, Performance needs the command-line tools its instructions call (cargo).
SKILL.md names 2 domains. As links in the text: valgrind.org and crates.io. 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.
Performance is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.1k tokens (SKILL.md is roughly 12k 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 Performance: Gpg Signing (Prorise-cool/Claude-Code-Multi-Agent, 305 stars), Golem Mark Read Only Rust (golemcloud/golem, 1.5k stars), Caching Architecture (majiayu000/litellm-rs, 116 stars) and macOS Cleaner (daymade/claude-code-skills, 1.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
static-web-server (a GitHub organization) maintains it in static-web-server/static-web-server, which has 2,373 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 5, 2026.
Source: static-web-server/static-web-server on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.