Adonis0123/adonis-skills / skills/local-web-surface
local-web-surface
UnverifiedBuild or extend a persistent macOS local web surface when the request includes a stable *.localhost URL, an existing loopback daemon/gateway, login startup, or a thin .app launcher that opens or wakes a persistent local HTTP surface. Once triggered, it can add file-backed CRUD or local/public content projections without changing public publishing. Covers domain ownership, exact Host routing, explicit access/threat boundaries, safe mutations, launchd lifecycle, TDD, curl checks, and proportional browser QA. Do not use for public or remote URL launchers, public hosting, production deployment, ordinary frontend/CRUD work on an existing dev server, merely opening or interacting with an existing URL, website audits, or native apps with no local HTTP surface.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 19.5 KB |
| agents/openai.yaml | config | 425 B |
| evals/evals.json | config | 15.2 KB |
| evals/fixtures/minimal-loopback-gateway/package.json | manifest | 176 B |
| evals/fixtures/minimal-loopback-gateway/server.mjs | script | 871 B |
| evals/fixtures/minimal-loopback-gateway/server.test.mjs | script | 1.2 KB |
| evals/trigger-eval.json | config | 3.6 KB |
evals/fixtures/minimal-loopback-gateway/server.test.mjs
View on GitHubimport assert from "node:assert/strict";
import http from "node:http";
import test from "node:test";
import { createGateway } from "./server.mjs";
function request(server, { host, path }) {
const address = server.address();
return new Promise((resolve, reject) => {
const clientRequest = http.request(
{
host: "127.0.0.1",
port: address.port,
path,
headers: { host },
},
(response) => {
let body = "";
response.setEncoding("utf8");
response.on("data", (chunk) => {
body += chunk;
});
response.on("end", () => {
resolve({ body, statusCode: response.statusCode });
});
},
);
clientRequest.on("error", reject);
clientRequest.end();
});
}
test("serves the existing skills surface", async (context) => {
const server = createGateway();
server.listen(0, "127.0.0.1");
await new Promise((resolve) => server.once("listening", resolve));
context.after(() => server.close());
const response = await request(server, {
host: "skills.localhost:17333",
path: "/",
});
assert.equal(response.statusCode, 200);
assert.equal(response.body, "skills home");
});
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |