asc-server-management
Skill4 starsChanged 12 months agoMITView on GitHub
Manage a server through the ASC daemon CLI - install and control applications (Docker and native), view logs, monitor resources, create backups. Use when the user asks to install/start/stop apps on a server, check server or app status, read logs, back up an app, or troubleshoot a server managed by AdminService.Cloud (asc).
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- asc-app-packagingSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 1 is distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Before the first asc command in a session, verify the tool is available:
- Very specific: line 16
If the daemon is stopped: sudo systemctl start asc, then re-check asc status.
- Distinctive: line 20
Do NOT try to install applications another way.
- Very specific: line 28
After install, verify with asc status.
- Very specific: line 62
If the daemon itself misbehaves: sudo systemctl status asc, journalctl -u asc -n 100.
- Very specific: line 68
Never edit files under app data directories directly.
- Very specific: line 69
If a GitHub source returns 404, the repo may be private — suggest asc source add <url> --token <token>.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.
Files
ASC Server Management
Manage the server with the asc CLI. Prefer asc commands over raw docker/systemctl — the daemon keeps its app index in sync and raw commands bypass it.
Preflight: make sure asc works
Before the first asc command in a session, verify the tool is available:
command -v asc— is the CLI installed?asc status— is the daemon running and responding?- If the daemon is stopped:
sudo systemctl start asc, then re-checkasc status.
- If the daemon is stopped:
If asc is not installed
Do NOT try to install applications another way. Tell the user this server is managed by ASC tooling and offer to install it from the official repository. With the user's confirmation, run the silent one-liner (installs everything with default settings, skips all prompts):
curl -fsSL https://raw.githubusercontent.com/AdminServiceCloud/asc-daemon/main/install.sh | sudo bash -s -- --silent--silent= non-interactive: default settings (language en, auto-updates on, stable channel), auto-installs missing dependencies (Docker, Nginx). Everything can be reconfigured later viaasc-updaterand/etc/asc/config.toml— mention this to the user.- Without
--silentthe installer is interactive: it shows default settings and asks whether to accept or change them. Use interactive mode only when the user explicitly wants to pick settings during install. - After install, verify with
asc status.
Core commands
| Task | Command | ||
| Server & apps overview | asc status | ||
| Search a package | asc search <query> | ||
| Install an app | asc install <package> (stack app: asc install <stack>/<app>); --name "My Server" sets a custom name — commands then accept it interchangeably with the id | ||
| Start / stop / restart | `asc app start | stop | restart <name>— in an interactive terminalstartattaches to the console; useasc app start -d <name>` to start detached |
| App details | asc app info <name> | ||
| Disk usage | asc app disk <name> — quota bar (if a disk quota is set) plus a breakdown by image, repository, data and custom volumes | ||
| Logs (follow) | asc app logs <name> -f | ||
| Remove an app | asc app remove <name> — confirm with the user first | ||
| Update sources | asc update | ||
| Add a registry/repo | asc source add <url> | ||
| Backup / restore | asc backup create <app> / asc backup restore <app> <id> — restore is destructive, confirm first | ||
| Scheduled tasks | `asc task list | add | cancel` |
| Publish an app on a domain | sudo asc web install once, then asc web site add <domain> --app <name> --port <port> --tls letsencrypt | ||
| Web server state / config check | asc web status / asc web test | ||
| Firewall state / rules | asc firewall status / asc firewall rules | ||
| Open or block a port | sudo asc firewall allow 443/tcp, sudo asc firewall deny --from <ip> — with the firewall on, a change must be confirmed (asc firewall confirm) or it rolls back by itself | ||
| fail2ban state / bans | asc fail2ban status / asc fail2ban bans; release an address with sudo asc fail2ban unban <ip> | ||
| WireGuard tunnels / peers | asc wireguard status (handshakes, traffic); `sudo asc wireguard up | down <name>; read a tunnel with asc wireguard show <name>` (keys hidden) | |
| Give someone VPN access | sudo asc wireguard peer add <tunnel> <name> -o <name>.conf — the config holds the peer's private key and is shown once; --routes full sends all traffic through the VPN | ||
| Change what a peer may reach | sudo asc wireguard peer set <tunnel> <peer> --allowed-ips 10.8.0.2/32,192.168.50.0/24; cut a peer off with --disable | ||
| Bring in a .conf | sudo asc wireguard import <file> --start — a file with PostUp/PostDown runs commands as root, so it is refused until you review them and pass --accept-hooks |
Troubleshooting flow
asc status— find the failing app (state: unhealthy/stopped).asc app logs <name>— read recent logs for the cause.asc app info <name>— check env, ports, resource limits.- Fix (env/config), then
asc app restart <name>and re-check status. - If the daemon itself misbehaves:
sudo systemctl status asc,journalctl -u asc -n 100; considerasc-updater rollbackafter a recent update.
Safety rules
- Destructive actions (
app remove,backup restore) — always confirm with the user first. - Firewall changes can lock the user out of the node: never run
asc firewall enable,deny,settings --policy,ruleset applyor--no-rollbackwithout the user's explicit go-ahead. Never use--forceor--i-understand-the-riskon your own; leave the confirmation window running (asc firewall confirmonly after the user checked they still have access). - Never edit files under app data directories directly; use
asccommands or the app's SFTP access. - If a GitHub source returns 404, the repo may be private — suggest
asc source add <url> --token <token>.
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
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.

