Dtvm Perf Profile
DTVMStack/DTVM
Profile DTVM execution using Linux perf and generate categorized analysis reports.
Serve static files and web assets with optimal headers, MIME types, compression, and caching for the Static Web Server (SWS) project
$ npx skills add static-web-server/static-web-server --skill static-file-serving -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install static-web-server/static-web-server static-file-serving --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/static-file-serving .claude/skills/static-file-serving && 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 "static-file-serving" agent skill from https://github.com/static-web-server/static-web-server/tree/master/.agents/skills/static-file-serving into .claude/skills/static-file-serving/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "static-file-serving", 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/static-file-servingType 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 static-file-serving -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install static-web-server/static-web-server static-file-serving --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/static-file-serving .agents/skills/static-file-serving && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "static-file-serving" agent skill from https://github.com/static-web-server/static-web-server/tree/master/.agents/skills/static-file-serving into .agents/skills/static-file-serving/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "static-file-serving", 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 static-file-serving -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install static-web-server/static-web-server static-file-serving --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/static-file-serving .cursor/skills/static-file-serving && 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 "static-file-serving" agent skill from https://github.com/static-web-server/static-web-server/tree/master/.agents/skills/static-file-serving into .cursor/skills/static-file-serving/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "static-file-serving", 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/static-file-serving--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 static-file-serving -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install static-web-server/static-web-server static-file-serving --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/static-file-serving .gemini/skills/static-file-serving && 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 "static-file-serving" agent skill from https://github.com/static-web-server/static-web-server/tree/master/.agents/skills/static-file-serving into .gemini/skills/static-file-serving/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "static-file-serving", 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 static-file-servingInstalls 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 static-file-serving -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/static-file-serving .github/skills/static-file-serving && 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 "static-file-serving" agent skill from https://github.com/static-web-server/static-web-server/tree/master/.agents/skills/static-file-serving into .github/skills/static-file-serving/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "static-file-serving", 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 static-file-serving -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 static-file-serving --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/static-file-serving .opencode/skills/static-file-serving && 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 "static-file-serving" agent skill from https://github.com/static-web-server/static-web-server/tree/master/.agents/skills/static-file-serving into .opencode/skills/static-file-serving/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "static-file-serving", 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.
static-file-servingServe static files and web assets with optimal headers, MIME types, compression, and caching for the Static Web Server (SWS) project
Static File Serving is an agent skill from 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
Its SKILL.md is about 1.8k 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 and Static sites and blogs. It works with WebAssembly 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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are bash and toml).
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.
Static File Serving loads about 1.8k tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 614 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). 614 words, ~1,819 tokens.
.claude/skills/static-file-serving/SKILL.md (or your agent's skills folder).Load this skill when configuring MIME types, selecting compression formats, setting cache headers, organizing static file directories, or optimizing file delivery with SWS.
When to load: documenting or reviewing compression setup, cache-control strategy, MIME-type overrides, SPA vs. multi-page file layout, directory listing, or pre-compression build steps.
mime_guess to determine MIME types from file extensions. If the wrong type is served, rename the file or add a custom header ruleapp.a1b2c3d.js) with Cache-Control: max-age=31536000 (1 year)SWS determines Content-Type from file extension. Ensure files have correct extensions:
| Extension | MIME Type | Category |
|---|---|---|
.html, .htm | text/html | Document |
.css | text/css | Stylesheet |
.js, .mjs | text/javascript (or application/javascript) | Script |
.json | application/json | Data |
.xml | application/xml | Data |
.svg | image/svg+xml | Vector image |
.png | image/png | Raster image |
.jpg, .jpeg | image/jpeg | Raster image |
.webp | image/webp | Raster image |
.avif | image/avif | Raster image |
.gif | image/gif | Raster image |
.ico | image/x-icon | Icon |
.woff2 | font/woff2 | Web font |
.woff | font/woff | Web font |
.pdf | application/pdf | Document |
.wasm | application/wasm | WebAssembly |
.txt | text/plain | Text |
.md | text/markdown | Markdown |
.zip | application/zip | Archive |
.tar | application/x-tar | Archive |
.gz | application/gzip | Compressed |
.br | application/brotli | Compressed |
.zst | application/zstd | Compressed |
Use the TOML config file to override or add MIME types for specific paths:
[advanced.headers]
source = "**/*.yaml"
headers = { Content-Type = "application/yaml" }Pre-compress files at build time. SWS serves .br, .gz, or .zst variants automatically based on the client's Accept-Encoding header:
| Variant | Extension | Encoding Header | Build Command |
|---|---|---|---|
| Brotli | .br | br | brotli -q 11 -f file |
| Gzip | .gz | gzip | gzip -9 -k file |
| Zstandard | .zst | zstd | zstd -19 -k file |
Compression ratios (typical for text files):
| Format | Level | Ratio | Speed |
|---|---|---|---|
| Brotli | 11 | ~75% | Slowest |
| Zstandard | 19 | ~72% | Medium |
| Gzip | 9 | ~68% | Fastest |
SWS compresses responses in real-time when the client sends Accept-Encoding and no pre-compressed variant exists:
fastest, default, best# Serve with Brotli pre-compressed variants only (no on-the-fly compression)
static-web-server --root ./dist --compression-static --compression=false
# Serve with both pre-compressed variants and on-the-fly gzip fallback
static-web-server --root ./dist --compression-static --compression
# Serve with only on-the-fly compression at fastest level
static-web-server --root ./dist --compression --compression-level fastestSWS sets Cache-Control based on file extension. Enable with --cache-control-headers (default: enabled):
| Category | Extensions | max-age |
|---|---|---|
| Static assets | .css, .js, .png, .woff2, .avif, .webp, .pdf, .ico, .gz, .bz2, .zip, .tar | 1 year (31536000) |
| Data/feeds | .json, .xml, .rss, .atom | 1 hour (3600) |
| Everything else | unknown extensions | 1 hour (3600) |
Override Cache-Control for specific paths via TOML:
[advanced.headers]
source = "**/*.html"
headers = { Cache-Control = "no-cache" }For production deployments, use content-hash filenames and cache aggressively:
dist/
index.html ← short cache (or no-cache)
assets/
app.a1b2c3d.js ← 1-year cache (fingerprinted)
style.e4f5g6h.css ← 1-year cache (fingerprinted)
logo.h7i8j9k.png ← 1-year cache (fingerprinted)This way, when app.a1b2c3d.js changes, the new filename app.x9y0z1.js triggers a fresh download. The HTML entry point changes to reference the new filename.
Enable --security-headers (auto-enabled with --tls) for production static sites:
static-web-server \
--root ./dist \
--tls --tls-cert cert.pem --tls-key key.pem \
--security-headers \
--cache-control-headersHeaders sent: Strict-Transport-Security, X-Frame-Options: DENY, X-Content-Type-Options: nosniff, Content-Security-Policy: frame-ancestors 'self', Referrer-Policy: strict-origin-when-cross-origin.
dist/
index.html ← entry point (served for all routes)
assets/
app.js
style.css
favicon.ico
robots.txtSWS configuration:
static-web-server --root ./dist --page-fallback ./index.htmlThe --page-fallback option serves index.html for any 404, enabling client-side routing.
dist/
index.html
about.html
blog/
index.html
post-1.html
assets/
main.css
main.js
images/
hero.pngSWS configuration:
static-web-server --root ./dist --index-files "index.html,index.htm"For development or internal tools, enable directory listing:
static-web-server --root ./public --directory-listingOptions: --directory-listing-order (0–6), --directory-listing-format html|json, --directory-listing-download targz.
.br/.gz/.zst) generated at build time?Cache-Control appropriate for the content type?© 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/static-file-serving of static-web-server/static-web-server.
Open the folder on GitHubat commit 32ec4aa
Static File Serving 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 |
|---|---|---|---|---|---|---|
| Static File Serving this skillstatic-web-server/static-web-server | 2.4k | — | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| Dtvm Perf ProfileDTVMStack/DTVM | 157 | — | ~1.1k | Automated safety check: Pass | Custom licence | |
| Gpg SigningProrise-cool/Claude-Code-Multi-Agent | 305 | — | ~3.9k | Automated safety check: Warn | None | |
| macOS Cleanerdaymade/claude-code-skills | 1.4k | — | ~10k | Automated safety check: Notes | MIT | |
| Mintlify APImacro-inc/macro | 4.6k | 2 repos | ~333 | Automated safety check: Pass | MIT | |
| Tanstack Query Best PracticesDeckardGer/tanstack-agent-skills | 222 | 1 repos | ~1.2k | Automated safety check: Pass | MIT |
DTVMStack/DTVM
Profile DTVM execution using Linux perf and generate categorized analysis reports.
Prorise-cool/Claude-Code-Multi-Agent
Comprehensive guide to GPG commit signing. An agent skill from Prorise-cool/Claude-Code-Multi-Agent.
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.
macro-inc/macro
Interact with the Mintlify REST API to manage deployments, trigger builds, and query documentation site metadata programmatically.
DeckardGer/tanstack-agent-skills
TanStack Query (React Query) best practices for data fetching, caching, mutations, and server state management.
reatom/reatom
Masters Reatom v1001 async flows. An agent skill from reatom/reatom.
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
Optimize or review performance for the Static Web Server (SWS) project — profiling, bottlenecks, resource usage, compression, and caching
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
Write or review tests for the Static Web Server (SWS) project — unit tests, integration tests, test fixtures, and mocking strategies
Works with
Categories
Serve static files and web assets with optimal headers, MIME types, compression, and caching for the Static Web Server (SWS) project. Static File Serving is an agent skill from static-web-server/static-web-server.
Static File Serving fits situations like: tasks that involve Caching; tasks that involve Static sites and blogs.
Run `npx skills add static-web-server/static-web-server --skill static-file-serving -a claude-code`. Or copy the skill folder (.agents/skills/static-file-serving in static-web-server/static-web-server) into .claude/skills/static-file-serving in your project. Claude Code loads it when a task matches its description.
Run `npx skills add static-web-server/static-web-server --skill static-file-serving -a codex`. Or copy the skill folder (.agents/skills/static-file-serving in static-web-server/static-web-server) into .agents/skills/static-file-serving 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 static-file-serving -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/static-file-serving, .gemini/skills/static-file-serving, .github/skills/static-file-serving and .opencode/skills/static-file-serving in your project.
SKILL.md names no scripts, command-line tools or credentials: Static File Serving 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.
Static File Serving 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 1.8k tokens (SKILL.md is roughly 7.3k 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 Static File Serving: Dtvm Perf Profile (DTVMStack/DTVM, 157 stars), Gpg Signing (Prorise-cool/Claude-Code-Multi-Agent, 305 stars), macOS Cleaner (daymade/claude-code-skills, 1.4k stars) and Mintlify API (macro-inc/macro, 4.6k 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,372 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 7, 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.