Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.
Coding
deployment-kit
Try itDeploy and maintain services on a VPS with 1 command: build → restart → verify → monitor with heartbeat + Telegram alerts. Complete DevOps package: systemd units, nginx reverse proxy, cron @reboot, watchdog restarts, deploy scripts. WARNING: runs systemd restarts, sudo, nohup/setsid and changes runtime state — only use on services you own, test on staging first.
What it does
Get your service deployed and running 24/7 — with automatic restart on failure.
The skill document
Deployment Kit 🚀🖥️
Get your service deployed and running 24/7 — with automatic restart on failure.
What you get
- Deploy script — 1 command: copy code → restart → verify
- Systemd unit — auto-start on boot + auto-restart on crash
- Nginx reverse proxy — port → domain
- Cron @reboot — services that run without systemd
- Watchdog — heartbeat check + restart + Telegram alert
Quick start
# Preview first (no changes) — recommended
bash scripts/deploy.sh --dry-run myapp
# Deploy (asks for confirmation before restart)
bash scripts/deploy.sh myapp
# Watchdog (cron every 2 min)
*/2 * * * * bash /opt/myapp/watchdog.sh myapp
# Telegram alert on failure (scripts/notify.sh)
bash scripts/notify.sh "⚠️ myapp down — restarted"
What the scripts actually do (transparency)
- deploy.sh — builds, then restarts the service:
sudo systemctl restartfor systemd services, orpkill -f+nohuprelaunch for plain processes. Always asks for confirmation (or use--dry-runto preview). Can cause downtime. - watchdog.sh — checks the heartbeat file age; restarts the service + sends a Telegram alert if stale.
- notify.sh — sends a Telegram message using a bot token read from
~/.config/tg-alert.env(or env vars).
Templates
deployment-kit/
├── SKILL.md
└── scripts/
├── deploy.sh # build → restart → verify
├── watchdog.sh # heartbeat + auto-restart + alert
├── notify.sh # Telegram message (bot token + chat id)
└── myapp.service # systemd unit template
Best practices (learned on 8 services)
- Heartbeat file is written by the app every 30-60s → watchdog checks mtime
- Never
pkill -f "pattern"that matches itself — use"pa[t]tern"or lsof - Slow processes:
setsid bash -c '...' /dev/null 2>&1 &— intentional daemonization (process keeps running after shell exit) - ALWAYS verify after deploy (curl /health, log line, MD5)
🔒 Security & responsibility (important — read before use)
- Destructive: deploy restarts services, replaces running code and can cause downtime. Test on staging first, and have a rollback plan.
- sudo: deploy.sh uses
sudo systemctl restart— requires sudo rights and affects the whole system. Only run commands you understand. - Secrets: Telegram token (TG_BOT_TOKEN) and chat id are credentials. Store them in
~/.config/tg-alert.envwithchmod 600, never in scripts, logs, shell history or git. - nohup/setsid: used intentionally to run services in the background outside the terminal — normal daemon practice, not hidden behavior.
- Always review scripts before running them on a production server.
Related skills
Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.
Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.
Run Git operations — commits, branches, merges, rebases, conflict resolution, and recovery — with safety rules enforced.
Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.
Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.
More from northcap-group
Browse all skillsDealing Range Theory (DRT) — complete ICT structure: Type 1 (continuation), Type 2 (reversal), Type 3 (consolidation), quadrant levels (25/50/75), entry models, SMT confirmation and news filter. For market analysis and trade setups.
Crypto DRT scalping strategy + backtest reference on 12 crypto pairs (TRX, BNB, BTC, LINK, AVAX, DOGE, SOL, NEAR, XRP, LDO, ADA, ETH), all 7 days. Backtested 2 years (~400+ trades). 100% lokal backtest-reference — ingen netværkskald, ingen API-nøgle. Backtest results are historical and not a guarantee of future performance.
How to build wealth from zero — bootstrapping, scaling strategies, resource allocation, and wealth mindset. Strategic advisory for Mohamed.
Provides pay-per-call crypto trading signals with entry, stop-loss and take-profit via the x402 standard (USDC on Ethereum). Live DRT/ICT signals for agents and traders.
How the world's best entrepreneurs network, negotiate, and create partnerships. Relationships that build millions.
Crypto DRT scalping — Dealing Range Theory on 12 crypto pairs (TRX, BNB, BTC, LINK, AVAX, DOGE, SOL, NEAR, XRP, LDO, ADA, ETH), all 7 days. Backtested 2 years (~400+ trades). Backtest results are historical and not a guarantee of future performance. Separate play-money account rules.