{
  "schemaVersion": "1.0",
  "item": {
    "slug": "sysadmin",
    "name": "Sysadmin",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ivangdavila/sysadmin",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/sysadmin",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/sysadmin",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sysadmin",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/sysadmin"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/sysadmin",
    "agentPageUrl": "https://openagent3.xyz/skills/sysadmin/agent",
    "manifestUrl": "https://openagent3.xyz/skills/sysadmin/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/sysadmin/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "User Management",
        "body": "Create service accounts with --system flag — no home directory, no login shell\nsudo with specific commands, not blanket ALL — principle of least privilege\nLock accounts instead of deleting: usermod -L — preserves audit trail and file ownership\nSSH keys in ~/.ssh/authorized_keys with restrictive permissions — 600 for file, 700 for directory\nvisudo to edit sudoers — catches syntax errors before saving, prevents lockout"
      },
      {
        "title": "Process Management",
        "body": "systemctl for services, not service — systemd is standard on modern distros\njournalctl -u service -f for live logs — more powerful than tail on log files\nnice and ionice for background tasks — don't compete with production workloads\nKill signals: SIGTERM (15) first, SIGKILL (9) last resort — SIGKILL doesn't allow cleanup\nnohup or screen/tmux for long-running commands — SSH disconnect kills regular processes"
      },
      {
        "title": "File Systems and Storage",
        "body": "df -h for disk usage, du -sh * to find culprits — check before disk fills completely\nlsof +D /path finds processes using a directory — needed before unmounting\nncdu for interactive disk usage — faster than repeated du commands\nMount options matter: noexec, nosuid for security on data partitions\nResize filesystems with care: grow is safe, shrink risks data loss — always backup first"
      },
      {
        "title": "Logs and Monitoring",
        "body": "logrotate prevents disk fill — configure size limits and retention\nCentralize logs to external system — local logs lost if server dies\n/var/log/auth.log or /var/log/secure for login attempts — watch for brute force\ndmesg for kernel messages — hardware errors, OOM kills appear here\nMonitor inode usage, not just disk space — many small files exhaust inodes"
      },
      {
        "title": "Permissions and Security",
        "body": "chmod 600 for secrets, 640 for configs, 644 for public — world-writable is almost never correct\nSticky bit on shared directories (chmod +t) — users can only delete their own files\nsetfacl for complex permissions — when traditional owner/group/other isn't enough\nchattr +i makes files immutable — even root can't modify without removing flag\nSELinux/AppArmor in enforcing mode — permissive logs but doesn't protect"
      },
      {
        "title": "Package Management",
        "body": "apt update before apt upgrade — upgrade without update uses stale package lists\nUnattended security updates: unattended-upgrades — critical patches shouldn't wait\nPin package versions in production — unexpected upgrades cause unexpected outages\nRemove unused packages: apt autoremove — reduces attack surface and disk usage\nKnow your package manager: apt/yum/dnf/pacman — commands differ, concepts similar"
      },
      {
        "title": "Backups",
        "body": "Test restores regularly — backups that can't restore are worthless\nInclude package lists and configs, not just data — recreating environment is painful\nOffsite backups mandatory — local backups don't survive disk failure or ransomware\nBackup before any risky change — \"I'll just quickly edit\" famous last words\nDocument restore procedure — 3am disaster is wrong time to figure it out"
      },
      {
        "title": "Performance",
        "body": "top/htop for live view, vmstat for trends — understand baseline before diagnosing\niotop for disk I/O bottlenecks — slow disk often blamed on CPU\nLoad average: 1.0 per core is healthy — consistently higher means queuing\nSwap usage isn't inherently bad — but consistent swapping indicates memory shortage\nsar for historical data — retroactively diagnose what happened during incident"
      },
      {
        "title": "Networking Basics",
        "body": "ss -tulpn shows listening ports — netstat is deprecated\nip addr and ip route replace ifconfig and route — learn the new tools\nCheck both host firewall and cloud security groups — traffic blocked at either level fails\n/etc/hosts for local overrides — quick testing without DNS changes\ncurl -v shows full connection details — headers, timing, TLS handshake"
      },
      {
        "title": "Common Mistakes",
        "body": "Running services as root — one exploit owns the system\nNo monitoring until something breaks — reactive is expensive\nEditing config without backup — cp file file.bak takes two seconds\nRebooting to \"fix\" issues — masks the problem, it'll return\nIgnoring disk space warnings — 100% full causes cascading failures\nForgetting timezone configuration — logs from different servers don't correlate"
      }
    ],
    "body": "System Administration Rules\nUser Management\nCreate service accounts with --system flag — no home directory, no login shell\nsudo with specific commands, not blanket ALL — principle of least privilege\nLock accounts instead of deleting: usermod -L — preserves audit trail and file ownership\nSSH keys in ~/.ssh/authorized_keys with restrictive permissions — 600 for file, 700 for directory\nvisudo to edit sudoers — catches syntax errors before saving, prevents lockout\nProcess Management\nsystemctl for services, not service — systemd is standard on modern distros\njournalctl -u service -f for live logs — more powerful than tail on log files\nnice and ionice for background tasks — don't compete with production workloads\nKill signals: SIGTERM (15) first, SIGKILL (9) last resort — SIGKILL doesn't allow cleanup\nnohup or screen/tmux for long-running commands — SSH disconnect kills regular processes\nFile Systems and Storage\ndf -h for disk usage, du -sh * to find culprits — check before disk fills completely\nlsof +D /path finds processes using a directory — needed before unmounting\nncdu for interactive disk usage — faster than repeated du commands\nMount options matter: noexec, nosuid for security on data partitions\nResize filesystems with care: grow is safe, shrink risks data loss — always backup first\nLogs and Monitoring\nlogrotate prevents disk fill — configure size limits and retention\nCentralize logs to external system — local logs lost if server dies\n/var/log/auth.log or /var/log/secure for login attempts — watch for brute force\ndmesg for kernel messages — hardware errors, OOM kills appear here\nMonitor inode usage, not just disk space — many small files exhaust inodes\nPermissions and Security\nchmod 600 for secrets, 640 for configs, 644 for public — world-writable is almost never correct\nSticky bit on shared directories (chmod +t) — users can only delete their own files\nsetfacl for complex permissions — when traditional owner/group/other isn't enough\nchattr +i makes files immutable — even root can't modify without removing flag\nSELinux/AppArmor in enforcing mode — permissive logs but doesn't protect\nPackage Management\napt update before apt upgrade — upgrade without update uses stale package lists\nUnattended security updates: unattended-upgrades — critical patches shouldn't wait\nPin package versions in production — unexpected upgrades cause unexpected outages\nRemove unused packages: apt autoremove — reduces attack surface and disk usage\nKnow your package manager: apt/yum/dnf/pacman — commands differ, concepts similar\nBackups\nTest restores regularly — backups that can't restore are worthless\nInclude package lists and configs, not just data — recreating environment is painful\nOffsite backups mandatory — local backups don't survive disk failure or ransomware\nBackup before any risky change — \"I'll just quickly edit\" famous last words\nDocument restore procedure — 3am disaster is wrong time to figure it out\nPerformance\ntop/htop for live view, vmstat for trends — understand baseline before diagnosing\niotop for disk I/O bottlenecks — slow disk often blamed on CPU\nLoad average: 1.0 per core is healthy — consistently higher means queuing\nSwap usage isn't inherently bad — but consistent swapping indicates memory shortage\nsar for historical data — retroactively diagnose what happened during incident\nNetworking Basics\nss -tulpn shows listening ports — netstat is deprecated\nip addr and ip route replace ifconfig and route — learn the new tools\nCheck both host firewall and cloud security groups — traffic blocked at either level fails\n/etc/hosts for local overrides — quick testing without DNS changes\ncurl -v shows full connection details — headers, timing, TLS handshake\nCommon Mistakes\nRunning services as root — one exploit owns the system\nNo monitoring until something breaks — reactive is expensive\nEditing config without backup — cp file file.bak takes two seconds\nRebooting to \"fix\" issues — masks the problem, it'll return\nIgnoring disk space warnings — 100% full causes cascading failures\nForgetting timezone configuration — logs from different servers don't correlate"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ivangdavila/sysadmin",
    "publisherUrl": "https://clawhub.ai/ivangdavila/sysadmin",
    "owner": "ivangdavila",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/sysadmin",
    "downloadUrl": "https://openagent3.xyz/downloads/sysadmin",
    "agentUrl": "https://openagent3.xyz/skills/sysadmin/agent",
    "manifestUrl": "https://openagent3.xyz/skills/sysadmin/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/sysadmin/agent.md"
  }
}