agentleFS
IvanLi-CNIvanLi-CN/agent-toolkit/skills/dst-dedicated-server/SKILL.md

dst-dedicated-server

Skill0 starsChanged 17 days agoMITView on GitHub

Operate and troubleshoot a configured Don't Starve Together dedicated server.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this Skill for a configured server whose SSH alias, user and local client directory are supplied by environment or command arguments.

    line 8
  2. Distinctive:

    Run the following commands from this Skill directory:

    line 14
  3. Distinctive:

    Treat cluster tokens, server tokens, passwords and provider credentials as secrets.

    line 34
  4. Very specific:

    Run bun scripts/dst_snapshot.ts --host "$DST_HOST" --user "$DST_USER" --local-dir "$DST_LOCAL_DIR" from this Skill.

    line 38
  5. Distinctive:

    Read the remote runbook and log paths discovered by the snapshot.

    line 40

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

DST dedicated server

Use this Skill for a configured server whose SSH alias, user and local client directory are supplied by environment or command arguments. The workflow is snapshot, diagnosis, minimal change and verification. The public Skill contains no deployment inventory.

Prerequisites and smallest examples

Local entrypoints require installed Bun on Linux/macOS. Remote collection additionally requires OpenSSH locally, an already trusted host key and non-interactive key access, and POSIX sh, dd, find, wc, tr and head on the server, plus ordinary filesystem utilities. The mod byte cap uses POSIX dd; snapshot line caps and direct-child metadata enumeration use POSIX head -n and find. No Bun or Lua interpreter is required remotely. Generation and tests do not install or update server software. The scripts work directly from a checkout or a directory symlink without package installation.

Run the following commands from this Skill directory:

bun scripts/dst_snapshot.ts --no-remote --local-dir /path/to/client-data --out /path/to/fresh-output/snapshot.md
bun scripts/dst_mods_from_modoverrides.ts --cluster-dir /path/to/Cluster_1

The snapshot writes one Markdown report and prints its path; choose a fresh output path to preserve an earlier report. Mod summary prints Workshop IDs, state counts and Master/Caves differences to stdout and writes no files. The helper contract defines the supported Lua syntax, collection limits, partial failures, remote invocation and focused tests.

Configuration

  • DST_HOST is the SSH host or alias.
  • DST_USER is the remote operator account.
  • DST_LOCAL_DIR is the optional local client data directory.
  • DST_CLUSTER selects the cluster on the remote host.

Set these values outside tracked files or pass them to the scripts. Missing host configuration fails closed; do not guess an address or path.

Safety

Treat cluster tokens, server tokens, passwords and provider credentials as secrets. Prefer read-only investigation. Ask before restarting services, updating the server, rolling back saves or changing mods. Never choose a different host or hardware target because it happens to respond.

Workflow

  1. Run bun scripts/dst_snapshot.ts --host "$DST_HOST" --user "$DST_USER" --local-dir "$DST_LOCAL_DIR" from this Skill.
  2. Classify the failure as master, caves, shared configuration, binary/runtime or mod related.
  3. Read the remote runbook and log paths discovered by the snapshot; redact before sharing.
  4. Make one minimal authorized change and verify that the affected shard stays ready for several minutes.

bun scripts/dst_mods_from_modoverrides.ts --host "$DST_HOST" --user "$DST_USER" --cluster "$DST_CLUSTER" reads only shard modoverrides.lua and prints Workshop IDs plus enabled state; it does not read cluster secrets or execute configuration. Remote Shell only collects native metadata or framed mod bytes; Bun owns interpretation and reports.

References

  • references/environment.md: required external configuration and secret boundary.
  • references/dst-paths.md: layout checklist with placeholders.
  • scripts/dst_snapshot.ts: bounded metadata baseline report.
  • scripts/dst_mods_from_modoverrides.ts: safe mod summary.
  • scripts/dst_collect_remote.sh: remote native collection, invoked over SSH by the Bun entrypoints.

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.