agentleFS
FAIRY123456789FAIRY123456789/human-edge-agent-skills/skills/small-server-fit/SKILL.md

small-server-fit

Skill99 starsChanged 3 months agoMITView on GitHub

Assess whether a web application and its build and runtime plan fit a low-cost Linux VPS or Alibaba Cloud ECS before purchase, implementation, or deployment. Use when choosing an OS image, Python, Node.js, or Java versions, build location, worker count, swap strategy, or minimum CPU, RAM, and disk for a repository. Produce evidence-backed FIT, FIT WITH CHANGES, NOT FIT, or NOT MEASURED decisions; do not recommend purchasing from guessed capacity.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If the host does not exist yet, mark runtime measurements NOT MEASURED and separate image compatibility from capacity claims.

    line 29
  2. Very specific:

    Run scripts/evaluate_fit.py --profile <profile.json> when numeric evidence is available.

    line 42
  3. Distinctive:

    Add swap only as a bounded resilience measure, not as a substitute for required RAM.

    line 50
  4. Distinctive:

    Never recommend downgrading security, removing backups, disabling verification, or co-locating incompatible state merely to claim fit.

    line 53

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Small Server Fit

Prevent avoidable deployment rework by checking application requirements against a measured server budget before committing to an image, runtime, or instance size.

Establish the two sides of the fit

Inspect the repository for:

  • frontend build tool and whether static assets can be built locally or in CI;
  • backend runtime and exact version constraints;
  • lockfiles, native extensions, browser binaries, machine-learning model artifacts, and serializer versions;
  • steady processes, intended worker count, background jobs, databases, uploads, logs, and temporary build space;
  • representative validation flow and concurrency expectation.

Obtain a current or candidate server profile containing OS image, architecture, vCPU, RAM, swap, disk and free space, available runtime versions, and platform services. Use references/profile-schema.md for the evidence contract.

If the host does not exist yet, mark runtime measurements NOT MEASURED and separate image compatibility from capacity claims. Do not treat a purchase date or marketing label as proof of installed runtime versions.

Make the fit decisions

Evaluate these independently:

  1. Operating-system and architecture fit: application binaries and native packages support the image and architecture.
  2. Runtime fit: an application-specific Python, Node.js, or Java runtime can be installed without replacing a system-owned runtime.
  3. Build fit: peak dependency installation and build memory and disk fit, or the build can move to a local machine or CI.
  4. Runtime memory fit: measured or bounded steady processes leave headroom for the OS, Nginx, SSH, logs, and short spikes.
  5. Persistence fit: state is outside immutable release directories and backups fit the disk or an external store.
  6. Operations fit: the service can restart, recover after reboot, expose only intended ports, and produce bounded logs.

Run scripts/evaluate_fit.py --profile <profile.json> when numeric evidence is available. The script calculates margins; it does not invent missing workload measurements.

Prefer changes in this order

  1. Build the SPA or Java artifact outside the small server.
  2. Isolate the application runtime instead of upgrading system binaries.
  3. Reduce the process or worker count when the workload and state model permit it.
  4. Move databases, object storage, or heavy build jobs to a managed or external service when justified.
  5. Add swap only as a bounded resilience measure, not as a substitute for required RAM.
  6. Increase the instance size when measured steady-state plus safety margin still does not fit.

Never recommend downgrading security, removing backups, disabling verification, or co-locating incompatible state merely to claim fit.

Output

Report each dimension as FIT, FIT WITH CHANGES, NOT FIT, or NOT MEASURED. Include:

  • the recommended OS image and runtime isolation method;
  • local or CI versus server build split;
  • process and worker budget;
  • RAM and disk arithmetic with source measurements;
  • model and native dependency compatibility risks;
  • the smallest safe next measurement or experiment;
  • a purchase recommendation only when evidence supports it.

Distinguish a confirmed fact, calculation, assumption, and recommendation. A useful result can be NOT MEASURED; false precision cannot.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.