- Home
- Skills
- DevOps & Cloud
- nex-systemd-service-template
Works with the AI tools you already use
Nex Systemd Service Template
Generate hardened, production-ready systemd service units with auto-restart, sandboxing, and install scripts.
Free
nex-systemd-service-template
Example session with this skill installed
Create a systemd service for my Python scraper located at /opt/scraper. It uses a venv and needs to write results to /opt/scraper/data. Run it as the 'scraper-bot' user.
- Read your context and instructions
- Compiled the nex-systemd-service-template
I've generated the scraper-service/ package. The unit includes ProtectSystem=strict with an allowlist for /opt/scraper/data.
To deploy, run:
sudo bash scraper-service/install.sh
Logs are available via
journalctl -u scraper -f
Connects securely to your tools. The creator never sees your data.
About this skill
Production-Grade systemd Unit Generation
Deploying long-running applications on Linux often leads to "it works until it crashes" scenarios. This skill automates the creation of hardened, production-ready systemd service units that ensure your Python, Node.js, Go, or Rust applications stay running, restart on failure, and operate within a secure sandbox environment.
What it does
The skill generates a specialized {{APP_NAME}}-service/ package containing:
- A Hardened Unit File: Implements
Restart=always,ProtectSystem=strict, and over 20 sandbox directives (NoNewPrivileges, PrivateTmp, syscall filters) to limit the blast radius of a compromised process. - Idempotent Install Script: Automatically handles unit placement in
/etc/systemd/system/, daemon-reloads, enables on boot, and starts the service. - Management Documentation: A focused README with the exact commands needed for logs, status checks, and restarts.
Why use this skill
Prompting an AI for a "systemd file" usually results in a bare-bones template. This skill follows DevSecOps best practices by enforcing non-root execution, journald logging (no more manual log rotation), and strict filesystem allowlisting. It handles the nuances of Python virtual environments and network-restricted binaries out of the box, ensuring your VPS or Raspberry Pi remains stable and secure.
Supported Environments
Supports any Linux distribution using systemd (Ubuntu, Debian, Fedora, Raspberry Pi OS). Ideal for standalone binaries, Python venvs, Node.js apps, and uvicorn/gunicorn workers.
Built by Nex AI. More skills and info at nex-ai.be and slopsome.com.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
1 install
Downloaded by developers to date
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean 28 days ago
- Free to download with an account