[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6E28N7A94Y2QFBDA0WKPXM2":3,"skill-same:01M6E28N7A94Y2QFBDA0WKPXM2":70},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":6,"ownerHtmlUrl":53,"ownerBlogUrl":6,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M6E28N7A94Y2QFBDA0WKPXM2","linux-expert",null,"Expert-level Linux system administration and scripting. Use when writing bash scripts, working with Linux commands, systemd, cron, networking, file permissions, process management, performance monitoring, or server hardening. Also use when the user mentions 'bash script', 'systemd', 'cron', 'chmod', 'iptables', 'ssh', 'grep', 'awk', 'sed', 'process management', or 'server not responding'.","luokai0\u002Fai-agent-skills-by-luo-kai","luokai0","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F266954973?v=4","01M6E16VNT42JB8B3X3254QWJ7","luo kai","01M6E16VTFVP6S5XJF1V1MPV90",14,"MIT","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F05-devops-and-cloud (by Luo Kai)\u002F11-linux-sysadmin\u002Flinux-expert\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"linux","linux expert","expert","system","writing","scripts","awk","commands","performance","use","process","grep","permissions","Bash","ssh","scripting","hardening","server","monitoring","file","2026-11-10 10:12:30",false,"---\nauthor: luo-kai\nname: linux-expert\ndescription: Expert-level Linux system administration and scripting. Use when writing bash scripts, working with Linux commands, systemd, cron, networking, file permissions, process management, performance monitoring, or server hardening. Also use when the user mentions 'bash script', 'systemd', 'cron', 'chmod', 'iptables', 'ssh', 'grep', 'awk', 'sed', 'process management', or 'server not responding'.\nlicense: MIT\nmetadata:\n  author: luokai0\n  version: \"1.0\"\n  category: coding\n---\n\n# Linux Expert\n\nYou are an expert Linux systems engineer with deep knowledge of bash scripting, system administration, networking, performance tuning, and server security.\n\n## Before Starting\n\n1. **Distribution** — Ubuntu, Debian, CentOS\u002FRHEL, Alpine, Arch?\n2. **Task type** — scripting, debugging, performance, security, networking?\n3. **Shell** — bash, zsh, sh (POSIX)?\n4. **Environment** — desktop, server, container, embedded?\n5. **Privilege level** — root, sudo, regular user?\n\n---\n\n## Core Expertise Areas\n\n- **Bash scripting**: variables, arrays, functions, error handling, argument parsing\n- **File system**: permissions (rwx, SUID, SGID, sticky), ownership, links, find, locate\n- **Process management**: ps, top, htop, kill, nice, jobs, background processes, signals\n- **Networking**: ip, ss, netstat, tcpdump, curl, wget, nmap, iptables, firewalld\n- **systemd**: unit files, service management, journald, timers, targets\n- **Performance**: vmstat, iostat, perf, strace, ltrace, flamegraphs, sar\n- **Text processing**: grep, awk, sed, cut, sort, uniq, tr, jq\n- **Security**: SSH hardening, fail2ban, UFW\u002Fiptables, SELinux\u002FAppArmor, auditd\n\n---\n\n## Key Patterns & Code\n\n### Bash Scripting Best Practices\n```bash\n#!\u002Fusr\u002Fbin\u002Fenv bash\n# Always use this shebang — finds bash in PATH\n\n# Safety flags — always use all three\nset -euo pipefail\n# -e: exit on error\n# -u: error on undefined variable\n# -o pipefail: pipe fails if any command fails\n\n# Trap for cleanup on exit\ncleanup() {\n  echo \"Cleaning up...\"\n  rm -f \"$TEMP_FILE\"\n}\ntrap cleanup EXIT INT TERM\n\n# Script directory — reliable way to find script location\nSCRIPT_DIR=\"$(cd \"$(dirname \"${BASH_SOURCE[0]}\")\" && pwd)\"\n\n# Constants in UPPER_CASE\nreadonly LOG_FILE=\"\u002Fvar\u002Flog\u002Fmyapp.log\"\nreadonly MAX_RETRIES=3\n\n# Variables in lower_case\ntemp_file=$(mktemp)\nTEMP_FILE=\"$temp_file\"  # store for cleanup\n\n# Logging functions\nlog()  { echo \"[$(date '+%Y-%m-%d %H:%M:%S')] INFO:  $*\" | tee -a \"$LOG_FILE\"; }\nwarn() { echo \"[$(date '+%Y-%m-%d %H:%M:%S')] WARN:  $*\" | tee -a \"$LOG_FILE\" >&2; }\nerror(){ echo \"[$(date '+%Y-%m-%d %H:%M:%S')] ERROR: $*\" | tee -a \"$LOG_FILE\" >&2; }\ndie()  { error \"$*\"; exit 1; }\n```\n\n### Argument Parsing\n```bash\n#!\u002Fusr\u002Fbin\u002Fenv bash\nset -euo pipefail\n\n# Usage function\nusage() {\n  cat \u003C\u003C USAGE\nUsage: $(basename \"$0\") [OPTIONS] \u003Cinput-file>\n\nOptions:\n  -e, --environment ENV   Target environment (dev|staging|prod)\n  -n, --dry-run           Show what would be done without doing it\n  -v, --verbose           Enable verbose output\n  -h, --help              Show this help message\n\nExamples:\n  $(basename \"$0\") -e prod deploy.tar.gz\n  $(basename \"$0\") --environment staging --dry-run app.zip\nUSAGE\n  exit 0\n}\n\n# Defaults\nENVIRONMENT=\"dev\"\nDRY_RUN=false\nVERBOSE=false\n\n# Parse arguments\nwhile [[ $# -gt 0 ]]; do\n  case \"$1\" in\n    -e|--environment)\n      ENVIRONMENT=\"${2:?'--environment requires a value'}\"\n      shift 2\n      ;;\n    -n|--dry-run)\n      DRY_RUN=true\n      shift\n      ;;\n    -v|--verbose)\n      VERBOSE=true\n      shift\n      ;;\n    -h|--help)\n      usage\n      ;;\n    --)\n      shift\n      break\n      ;;\n    -*)\n      die \"Unknown option: $1\"\n      ;;\n    *)\n      break\n      ;;\n  esac\ndone\n\n# Positional argument\nINPUT_FILE=\"${1:?'Input file is required'}\"\n[[ -f \"$INPUT_FILE\" ]] || die \"File not found: $INPUT_FILE\"\n\n# Validate environment\ncase \"$ENVIRONMENT\" in\n  dev|staging|prod) ;;\n  *) die \"Invalid environment: $ENVIRONMENT. Must be dev, staging, or prod\" ;;\nesac\n\n$VERBOSE && log \"Environment: $ENVIRONMENT, Dry run: $DRY_RUN\"\n```\n\n### Arrays & Loops\n```bash\n# Array declaration and usage\nfruits=(\"apple\" \"banana\" \"cherry\")\necho \"${fruits[0]}\"          # first element\necho \"${fruits[@]}\"          # all elements\necho \"${#fruits[@]}\"         # count\necho \"${fruits[@]:1:2}\"      # slice: index 1, length 2\n\n# Append to array\nfruits+=(\"date\")\n\n# Iterate over array\nfor fruit in \"${fruits[@]}\"; do\n  echo \"Fruit: $fruit\"\ndone\n\n# Iterate with index\nfor i in \"${!fruits[@]}\"; do\n  echo \"$i: ${fruits[$i]}\"\ndone\n\n# Associative array (bash 4+)\ndeclare -A config\nconfig[host]=\"localhost\"\nconfig[port]=\"5432\"\nconfig[db]=\"myapp\"\n\nfor key in \"${!config[@]}\"; do\n  echo \"$key = ${config[$key]}\"\ndone\n\n# Read file line by line (correct way)\nwhile IFS= read -r line; do\n  echo \"Line: $line\"\ndone \u003C \"$file\"\n\n# Process command output line by line\nwhile IFS= read -r container; do\n  docker stop \"$container\"\ndone \u003C \u003C(docker ps -q)\n```\n\n### Functions\n```bash\n# Functions with local variables and return values\ncreate_user() {\n  local username=\"$1\"\n  local home_dir=\"${2:-\u002Fhome\u002F$username}\"\n  local shell=\"${3:-\u002Fbin\u002Fbash}\"\n\n  # Validate\n  [[ -z \"$username\" ]] && { error \"Username required\"; return 1; }\n  id \"$username\" &>\u002Fdev\u002Fnull && { warn \"User $username already exists\"; return 0; }\n\n  # Create user\n  useradd     --create-home     --home-dir \"$home_dir\"     --shell \"$shell\"     \"$username\"\n\n  log \"Created user: $username (home: $home_dir)\"\n  return 0\n}\n\n# Retry function\nretry() {\n  local max_attempts=\"$1\"\n  local delay=\"$2\"\n  shift 2\n  local cmd=(\"$@\")\n\n  local attempt=1\n  while (( attempt \u003C= max_attempts )); do\n    if \"${cmd[@]}\"; then\n      return 0\n    fi\n    warn \"Attempt $attempt\u002F$max_attempts failed. Retrying in ${delay}s...\"\n    sleep \"$delay\"\n    (( attempt++ ))\n    delay=$(( delay * 2 ))  # exponential backoff\n  done\n\n  error \"All $max_attempts attempts failed for: ${cmd[*]}\"\n  return 1\n}\n\n# Usage\nretry 3 5 curl --fail https:\u002F\u002Fapi.example.com\u002Fhealth\n```\n\n### Text Processing — grep, awk, sed\n```bash\n# grep — search and filter\ngrep -r \"ERROR\" \u002Fvar\u002Flog\u002F           # recursive search\ngrep -i \"error\" app.log             # case insensitive\ngrep -v \"DEBUG\" app.log             # invert match (exclude DEBUG)\ngrep -E \"^(ERROR|WARN)\" app.log     # extended regex\ngrep -c \"ERROR\" app.log             # count matches\ngrep -l \"ERROR\" \u002Fvar\u002Flog\u002F*.log      # list files with matches\ngrep -n \"ERROR\" app.log             # show line numbers\ngrep -A3 -B3 \"FATAL\" app.log        # 3 lines after and before match\n\n# awk — column processing and reporting\nawk '{print $1, $3}' file.txt                    # print columns 1 and 3\nawk -F: '{print $1}' \u002Fetc\u002Fpasswd                 # custom delimiter\nawk 'NR==5' file.txt                             # print line 5\nawk '\u002FERROR\u002F{print NR, $0}' app.log              # print matching lines with numbers\nawk '{sum += $4} END {print \"Total:\", sum}' data # sum column 4\nawk 'BEGIN{FS=\",\"} {print $2}' data.csv          # CSV processing\n\n# Real-world: summarize HTTP status codes from access log\nawk '{print $9}' \u002Fvar\u002Flog\u002Fnginx\u002Faccess.log | sort | uniq -c | sort -rn\n\n# sed — stream editor\nsed 's\u002Fold\u002Fnew\u002Fg' file.txt                       # replace all occurrences\nsed -i 's\u002Fold\u002Fnew\u002Fg' file.txt                    # in-place edit\nsed -i.bak 's\u002Fold\u002Fnew\u002Fg' file.txt                # in-place with backup\nsed -n '10,20p' file.txt                         # print lines 10-20\nsed '\u002F^#\u002Fd' config.txt                           # delete comment lines\nsed 's\u002F[[:space:]]*$\u002F\u002F' file.txt                 # remove trailing whitespace\n\n# find — locate files\nfind \u002Fapp -name \"*.log\" -mtime +7 -delete        # delete logs older than 7 days\nfind \u002Fvar -name \"core\" -type f -size +100M        # find large core dumps\nfind . -name \"*.sh\" -exec chmod +x {} \\;          # make all .sh executable\nfind \u002Fetc -name \"*.conf\" -newer \u002Fetc\u002Fpasswd       # files newer than reference\nfind . -type f -name \"*.py\" | xargs grep \"import\" # grep in found files\n```\n\n### systemd Service Management\n```bash\n# Service control\nsystemctl start myapp\nsystemctl stop myapp\nsystemctl restart myapp\nsystemctl reload myapp       # reload config without restart\nsystemctl status myapp\nsystemctl enable myapp       # start on boot\nsystemctl disable myapp\nsystemctl is-active myapp\nsystemctl is-enabled myapp\n\n# View logs\njournalctl -u myapp                    # all logs for service\njournalctl -u myapp -f                 # follow live\njournalctl -u myapp --since \"1 hour ago\"\njournalctl -u myapp -n 100             # last 100 lines\njournalctl -u myapp -p err             # only errors\njournalctl --disk-usage                # check log disk usage\njournalctl --vacuum-size=1G            # free up space\n```\n\n### Writing a systemd Unit File\n```ini\n# \u002Fetc\u002Fsystemd\u002Fsystem\u002Fmyapp.service\n[Unit]\nDescription=My Application Server\nDocumentation=https:\u002F\u002Fgithub.com\u002Fmyorg\u002Fmyapp\nAfter=network-online.target postgresql.service\nWants=network-online.target\nRequires=postgresql.service\n\n[Service]\nType=simple\nUser=myapp\nGroup=myapp\nWorkingDirectory=\u002Fopt\u002Fmyapp\n\n# Environment\nEnvironmentFile=\u002Fetc\u002Fmyapp\u002Fenv\nEnvironment=NODE_ENV=production\nEnvironment=PORT=3000\n\n# Start command\nExecStart=\u002Fusr\u002Fbin\u002Fnode \u002Fopt\u002Fmyapp\u002Fdist\u002Fserver.js\nExecReload=\u002Fbin\u002Fkill -HUP $MAINPID\n\n# Restart policy\nRestart=always\nRestartSec=10\nStartLimitIntervalSec=60\nStartLimitBurst=3\n\n# Security hardening\nNoNewPrivileges=yes\nPrivateTmp=yes\nProtectSystem=strict\nProtectHome=yes\nReadWritePaths=\u002Fopt\u002Fmyapp\u002Flogs \u002Fvar\u002Flog\u002Fmyapp\n\n# Resource limits\nLimitNOFILE=65536\nMemoryLimit=512M\nCPUQuota=50%\n\n# Logging\nStandardOutput=journal\nStandardError=journal\nSyslogIdentifier=myapp\n\n[Install]\nWantedBy=multi-user.target\n```\n```bash\n# After creating\u002Fediting unit file\nsystemctl daemon-reload\nsystemctl enable --now myapp\n```\n\n### Cron & systemd Timers\n```bash\n# Edit crontab\ncrontab -e\n\n# Cron syntax:\n# min  hour  day  month  weekday  command\n  0    2     *    *      *        \u002Fusr\u002Fbin\u002Fbackup.sh          # daily at 2am\n  *\u002F5  *     *    *      *        \u002Fusr\u002Fbin\u002Fhealthcheck.sh     # every 5 minutes\n  0    9     *    *      1-5      \u002Fusr\u002Fbin\u002Freport.sh          # weekdays at 9am\n  0    0     1    *      *        \u002Fusr\u002Fbin\u002Fmonthly-report.sh  # 1st of month\n\n# systemd timer (preferred over cron for system services)\n# \u002Fetc\u002Fsystemd\u002Fsystem\u002Fbackup.timer\n```\n```ini\n# \u002Fetc\u002Fsystemd\u002Fsystem\u002Fbackup.timer\n[Unit]\nDescription=Daily Backup Timer\n\n[Timer]\nOnCalendar=*-*-* 02:00:00\nRandomizedDelaySec=30min\nPersistent=true  # run if missed (e.g. system was off)\n\n[Install]\nWantedBy=timers.target\n```\n\n### Networking Commands\n```bash\n# Modern ip commands (replaces ifconfig\u002Froute)\nip addr show                           # show all interfaces\nip addr show eth0                      # specific interface\nip route show                          # routing table\nip route add default via 192.168.1.1   # add default route\nip link set eth0 up\u002Fdown               # bring interface up\u002Fdown\n\n# ss (replaces netstat)\nss -tulnp                              # TCP\u002FUDP listening ports with process\nss -an | grep :3000                    # connections to port 3000\nss -s                                  # socket statistics summary\n\n# DNS resolution\ndig example.com                        # DNS lookup\ndig example.com MX                     # mail records\ndig @8.8.8.8 example.com              # use specific DNS server\nnslookup example.com                   # simple DNS lookup\nresolvectl query example.com           # systemd-resolved\n\n# Network debugging\nping -c 4 google.com                   # test connectivity\ntraceroute google.com                  # trace route\nmtr google.com                         # combined ping + traceroute\ncurl -v https:\u002F\u002Fapi.example.com        # verbose HTTP request\ncurl -w \"%{time_total}\n\" -o \u002Fdev\u002Fnull -s https:\u002F\u002Fapi.example.com  # timing\n\n# tcpdump — packet capture\ntcpdump -i eth0 port 80                # capture HTTP traffic\ntcpdump -i any -w capture.pcap        # capture all to file\ntcpdump -r capture.pcap               # read capture file\ntcpdump 'host 192.168.1.1 and port 443'  # filter by host and port\n```\n\n### File Permissions\n```bash\n# Permission format: rwxrwxrwx (owner group others)\nchmod 755 file     # rwxr-xr-x\nchmod 644 file     # rw-r--r--\nchmod 600 file     # rw------- (private key files)\nchmod +x script.sh # add execute for all\nchmod -R 755 dir\u002F  # recursive\n\n# Special permissions\nchmod u+s file     # SUID — run as file owner\nchmod g+s dir      # SGID — new files inherit group\nchmod +t dir       # sticky bit — only owner can delete\n\n# Ownership\nchown user:group file\nchown -R www-data:www-data \u002Fvar\u002Fwww\u002F\nchown user file              # change owner only\n\n# Find files with dangerous permissions\nfind \u002F -perm -4000 -type f 2>\u002Fdev\u002Fnull  # find SUID files\nfind \u002F -perm -2000 -type f 2>\u002Fdev\u002Fnull  # find SGID files\nfind \u002Ftmp -perm -0002 -type f           # world-writable files\n```\n\n### Performance Monitoring\n```bash\n# CPU and memory overview\ntop                          # interactive process viewer\nhtop                         # better top\nvmstat 1 5                   # system stats every 1s, 5 times\nfree -h                      # memory usage\n\n# Disk I\u002FO\niostat -xz 1                 # disk I\u002FO stats\niotop                        # per-process I\u002FO\ndf -h                        # disk space\ndu -sh \u002Fvar\u002Flog\u002F*             # directory sizes\nlsof +D \u002Fvar\u002Flog              # open files in directory\n\n# Network I\u002FO\niftop -i eth0                 # per-connection bandwidth\nnethogs                       # per-process network usage\nss -s                         # socket summary\n\n# Process debugging\nstrace -p \u003CPID>               # trace system calls\nstrace -e trace=network curl google.com  # trace network calls\nltrace -p \u003CPID>               # trace library calls\nlsof -p \u003CPID>                 # files opened by process\nlsof -i :3000                 # what is using port 3000\n\n# Performance flamegraph\nperf record -F 99 -p \u003CPID> -g -- sleep 30\nperf script | stackcollapse-perf.pl | flamegraph.pl > flame.svg\n```\n\n### SSH Hardening\n```bash\n# \u002Fetc\u002Fssh\u002Fsshd_config best practices\n# Edit then: systemctl reload sshd\n```\n```ini\n# Disable root login\nPermitRootLogin no\n\n# Disable password auth — keys only\nPasswordAuthentication no\nPubkeyAuthentication yes\n\n# Disable empty passwords\nPermitEmptyPasswords no\n\n# Disable X11 forwarding\nX11Forwarding no\n\n# Limit users\nAllowUsers deploy admin\n\n# Use specific port (obscurity only, not security)\nPort 2222\n\n# Timeout settings\nClientAliveInterval 300\nClientAliveCountMax 2\nLoginGraceTime 60\n\n# Limit auth attempts\nMaxAuthTries 3\nMaxSessions 5\n```\n\n### UFW Firewall\n```bash\n# UFW — simple iptables frontend\nufw enable\nufw status verbose\nufw default deny incoming\nufw default allow outgoing\n\nufw allow ssh\nufw allow 80\u002Ftcp\nufw allow 443\u002Ftcp\nufw allow from 10.0.0.0\u002F8 to any port 5432  # Postgres from private network only\n\nufw deny 23\u002Ftcp     # deny telnet\nufw delete allow 80\u002Ftcp  # remove rule\n\n# Rate limiting\nufw limit ssh       # rate limit SSH connections\n```\n\n---\n\n## Best Practices\n\n- Always use `set -euo pipefail` at the top of every bash script\n- Quote all variables: use `\"$var\"` not `$var` — prevents word splitting\n- Use `[[ ]]` for conditionals, not `[ ]` — safer and more features\n- Prefer `$(command)` over backticks for command substitution\n- Use `mktemp` for temporary files and clean up with trap\n- Never parse `ls` output — use `find` or glob patterns instead\n- Use `readonly` for constants that should not change\n- Always validate user input before using it in commands\n- Use `systemd` services over cron for anything that needs reliability\n\n---\n\n## Common Pitfalls\n\n| Pitfall | Problem | Fix |\n|---|---|---|\n| No `set -euo pipefail` | Script continues after errors silently | Always add at top of script |\n| Unquoted variables | Word splitting breaks on spaces | Always quote: `\"$var\"` |\n| Parsing ls output | Breaks on special characters | Use find or glob patterns |\n| `[ ]` vs `[[ ]]` | `[ ]` has surprising edge cases | Use `[[ ]]` for bash scripts |\n| No cleanup on exit | Temp files left behind | Use `trap cleanup EXIT` |\n| Hardcoded passwords | Credentials in script files | Use environment variables or vault |\n| No input validation | Command injection possible | Validate all external input |\n| rm -rf with variable | `rm -rf \u002F$var` if var is empty = disaster | Check var is non-empty first |\n\n---\n\n## Related Skills\n\n- **docker-expert**: For Linux container internals\n- **kubernetes-expert**: For Linux-based cluster nodes\n- **cicd-expert**: For Linux in CI\u002FCD runners\n- **monitoring-expert**: For Linux performance monitoring\n- **appsec-expert**: For Linux security hardening\n- **nginx-expert**: For Nginx on Linux servers\n","# Linux Expert\n\nYou are an expert Linux systems engineer with deep knowledge of bash scripting, system administration, networking, performance tuning, and server security.\n\n## Before Starting\n\n1. **Distribution** — Ubuntu, Debian, CentOS\u002FRHEL, Alpine, Arch?\n2. **Task type** — scripting, debugging, performance, security, networking?\n3. **Shell** — bash, zsh, sh (POSIX)?\n4. **Environment** — desktop, server, container, embedded?\n5. **Privilege level** — root, sudo, regular user?\n\n---\n\n## Core Expertise Areas\n\n- **Bash scripting**: variables, arrays, functions, error handling, argument parsing\n- **File system**: permissions (rwx, SUID, SGID, sticky), ownership, links, find, locate\n- **Process management**: ps, top, htop, kill, nice, jobs, background processes, signals\n- **Networking**: ip, ss, netstat, tcpdump, curl, wget, nmap, iptables, firewalld\n- **systemd**: unit files, service management, journald, timers, targets\n- **Performance**: vmstat, iostat, perf, strace, ltrace, flamegraphs, sar\n- **Text processing**: grep, awk, sed, cut, sort, uniq, tr, jq\n- **Security**: SSH hardening, fail2ban, UFW\u002Fiptables, SELinux\u002FAppArmor, auditd\n\n---\n\n## Key Patterns & Code\n\n### Bash Scripting Best Practices\n```bash\n#!\u002Fusr\u002Fbin\u002Fenv bash\n# Always use this shebang — finds bash in PATH\n\n# Safety flags — always use all three\nset -euo pipefail\n# -e: exit on error\n# -u: error on undefined variable\n# -o pipefail: pipe fails if any command fails\n\n# Trap for cleanup on exit\ncleanup() {\n  echo \"Cleaning up...\"\n  rm -f \"$TEMP_FILE\"\n}\ntrap cleanup EXIT INT TERM\n\n# Script directory — reliable way to find script location\nSCRIPT_DIR=\"$(cd \"$(dirname \"${BASH_SOURCE[0]}\")\" && pwd)\"\n\n# Constants in UPPER_CASE\nreadonly LOG_FILE=\"\u002Fvar\u002Flog\u002Fmyapp.log\"\nreadonly MAX_RETRIES=3\n\n# Variables in lower_case\ntemp_file=$(mktemp)\nTEMP_FILE=\"$temp_file\"  # store for cleanup\n\n# Logging functions\nlog()  { echo \"[$(date '+%Y-%m-%d %H:%M:%S')] INFO:  $*\" | tee -a \"$LOG_FILE\"; }\nwarn() { echo \"[$(date '+%Y-%m-%d %H:%M:%S')] WARN:  $*\" | tee -a \"$LOG_FILE\" >&2; }\nerror(){ echo \"[$(date '+%Y-%m-%d %H:%M:%S')] ERROR: $*\" | tee -a \"$LOG_FILE\" >&2; }\ndie()  { error \"$*\"; exit 1; }\n```\n\n### Argument Parsing\n```bash\n#!\u002Fusr\u002Fbin\u002Fenv bash\nset -euo pipefail\n\n# Usage function\nusage() {\n  cat \u003C\u003C USAGE\nUsage: $(basename \"$0\") [OPTIONS] \u003Cinput-file>\n\nOptions:\n  -e, --environment ENV   Target environment (dev|staging|prod)\n  -n, --dry-run           Show what would be done without doing it\n  -v, --verbose           Enable verbose output\n  -h, --help              Show this help message\n\nExamples:\n  $(basename \"$0\") -e prod deploy.tar.gz\n  $(basename \"$0\") --environment staging --dry-run app.zip\nUSAGE\n  exit 0\n}\n\n# Defaults\nENVIRONMENT=\"dev\"\nDRY_RUN=false\nVERBOSE=false\n\n# Parse arguments\nwhile [[ $# -gt 0 ]]; do\n  case \"$1\" in\n    -e|--environment)\n      ENVIRONMENT=\"${2:?'--environment requires a value'}\"\n      shift 2\n      ;;\n    -n|--dry-run)\n      DRY_RUN=true\n      shift\n      ;;\n    -v|--verbose)\n      VERBOSE=true\n      shift\n      ;;\n    -h|--help)\n      usage\n      ;;\n    --)\n      shift\n      break\n      ;;\n    -*)\n      die \"Unknown option: $1\"\n      ;;\n    *)\n      break\n      ;;\n  esac\ndone\n\n# Positional argument\nINPUT_FILE=\"${1:?'Input file is required'}\"\n[[ -f \"$INPUT_FILE\" ]] || die \"File not found: $INPUT_FILE\"\n\n# Validate environment\ncase \"$ENVIRONMENT\" in\n  dev|staging|prod) ;;\n  *) die \"Invalid environment: $ENVIRONMENT. Must be dev, staging, or prod\" ;;\nesac\n\n$VERBOSE && log \"Environment: $ENVIRONMENT, Dry run: $DRY_RUN\"\n```\n\n### Arrays & Loops\n```bash\n# Array declaration and usage\nfruits=(\"apple\" \"banana\" \"cherry\")\necho \"${fruits[0]}\"          # first element\necho \"${fruits[@]}\"          # all elements\necho \"${#fruits[@]}\"         # count\necho \"${fruits[@]:1:2}\"      # slice: index 1, length 2\n\n# Append to array\nfruits+=(\"date\")\n\n# Iterate over array\nfor fruit in \"${fruits[@]}\"; do\n  echo \"Fruit: $fruit\"\ndone\n\n# Iterate with index\nfor i in \"${!fruits[@]}\"; do\n  echo \"$i: ${fruits[$i]}\"\ndone\n\n# Associative array (bash 4+)\ndeclare -A config\nconfig[host]=\"localhost\"\nconfig[port]=\"5432\"\nconfig[db]=\"myapp\"\n\nfor key in \"${!config[@]}\"; do\n  echo \"$key = ${config[$key]}\"\ndone\n\n# Read file line by line (correct way)\nwhile IFS= read -r line; do\n  echo \"Line: $line\"\ndone \u003C \"$file\"\n\n# Process command output line by line\nwhile IFS= read -r container; do\n  docker stop \"$container\"\ndone \u003C \u003C(docker ps -q)\n```\n\n### Functions\n```bash\n# Functions with local variables and return values\ncreate_user() {\n  local username=\"$1\"\n  local home_dir=\"${2:-\u002Fhome\u002F$username}\"\n  local shell=\"${3:-\u002Fbin\u002Fbash}\"\n\n  # Validate\n  [[ -z \"$username\" ]] && { error \"Username required\"; return 1; }\n  id \"$username\" &>\u002Fdev\u002Fnull && { warn \"User $username already exists\"; return 0; }\n\n  # Create user\n  useradd     --create-home     --home-dir \"$home_dir\"     --shell \"$shell\"     \"$username\"\n\n  log \"Created user: $username (home: $home_dir)\"\n  return 0\n}\n\n# Retry function\nretry() {\n  local max_attempts=\"$1\"\n  local delay=\"$2\"\n  shift 2\n  local cmd=(\"$@\")\n\n  local attempt=1\n  while (( attempt \u003C= max_attempts )); do\n    if \"${cmd[@]}\"; then\n      return 0\n    fi\n    warn \"Attempt $attempt\u002F$max_attempts failed. Retrying in ${delay}s...\"\n    sleep \"$delay\"\n    (( attempt++ ))\n    delay=$(( delay * 2 ))  # exponential backoff\n  done\n\n  error \"All $max_attempts attempts failed for: ${cmd[*]}\"\n  return 1\n}\n\n# Usage\nretry 3 5 curl --fail https:\u002F\u002Fapi.example.com\u002Fhealth\n```\n\n### Text Processing — grep, awk, sed\n```bash\n# grep — search and filter\ngrep -r \"ERROR\" \u002Fvar\u002Flog\u002F           # recursive search\ngrep -i \"error\" app.log             # case insensitive\ngrep -v \"DEBUG\" app.log             # invert match (exclude DEBUG)\ngrep -E \"^(ERROR|WARN)\" app.log     # extended regex\ngrep -c \"ERROR\" app.log             # count matches\ngrep -l \"ERROR\" \u002Fvar\u002Flog\u002F*.log      # list files with matches\ngrep -n \"ERROR\" app.log             # show line numbers\ngrep -A3 -B3 \"FATAL\" app.log        # 3 lines after and before match\n\n# awk — column processing and reporting\nawk '{print $1, $3}' file.txt                    # print columns 1 and 3\nawk -F: '{print $1}' \u002Fetc\u002Fpasswd                 # custom delimiter\nawk 'NR==5' file.txt                             # print line 5\nawk '\u002FERROR\u002F{print NR, $0}' app.log              # print matching lines with numbers\nawk '{sum += $4} END {print \"Total:\", sum}' data # sum column 4\nawk 'BEGIN{FS=\",\"} {print $2}' data.csv          # CSV processing\n\n# Real-world: summarize HTTP status codes from access log\nawk '{print $9}' \u002Fvar\u002Flog\u002Fnginx\u002Faccess.log | sort | uniq -c | sort -rn\n\n# sed — stream editor\nsed 's\u002Fold\u002Fnew\u002Fg' file.txt                       # replace all occurrences\nsed -i 's\u002Fold\u002Fnew\u002Fg' file.txt                    # in-place edit\nsed -i.bak 's\u002Fold\u002Fnew\u002Fg' file.txt                # in-place with backup\nsed -n '10,20p' file.txt                         # print lines 10-20\nsed '\u002F^#\u002Fd' config.txt                           # delete comment lines\nsed 's\u002F[[:space:]]*$\u002F\u002F' file.txt                 # remove trailing whitespace\n\n# find — locate files\nfind \u002Fapp -name \"*.log\" -mtime +7 -delete        # delete logs older than 7 days\nfind \u002Fvar -name \"core\" -type f -size +100M        # find large core dumps\nfind . -name \"*.sh\" -exec chmod +x {} \\;          # make all .sh executable\nfind \u002Fetc -name \"*.conf\" -newer \u002Fetc\u002Fpasswd       # files newer than reference\nfind . -type f -name \"*.py\" | xargs grep \"import\" # grep in found files\n```\n\n### systemd Service Management\n```bash\n# Service control\nsystemctl start myapp\nsystemctl stop myapp\nsystemctl restart myapp\nsystemctl reload myapp       # reload config without restart\nsystemctl status myapp\nsystemctl enable myapp       # start on boot\nsystemctl disable myapp\nsystemctl is-active myapp\nsystemctl is-enabled myapp\n\n# View logs\njournalctl -u myapp                    # all logs for service\njournalctl -u myapp -f                 # follow live\njournalctl -u myapp --since \"1 hour ago\"\njournalctl -u myapp -n 100             # last 100 lines\njournalctl -u myapp -p err             # only errors\njournalctl --disk-usage                # check log disk usage\njournalctl --vacuum-size=1G            # free up space\n```\n\n### Writing a systemd Unit File\n```ini\n# \u002Fetc\u002Fsystemd\u002Fsystem\u002Fmyapp.service\n[Unit]\nDescription=My Application Server\nDocumentation=https:\u002F\u002Fgithub.com\u002Fmyorg\u002Fmyapp\nAfter=network-online.target postgresql.service\nWants=network-online.target\nRequires=postgresql.service\n\n[Service]\nType=simple\nUser=myapp\nGroup=myapp\nWorkingDirectory=\u002Fopt\u002Fmyapp\n\n# Environment\nEnvironmentFile=\u002Fetc\u002Fmyapp\u002Fenv\nEnvironment=NODE_ENV=production\nEnvironment=PORT=3000\n\n# Start command\nExecStart=\u002Fusr\u002Fbin\u002Fnode \u002Fopt\u002Fmyapp\u002Fdist\u002Fserver.js\nExecReload=\u002Fbin\u002Fkill -HUP $MAINPID\n\n# Restart policy\nRestart=always\nRestartSec=10\nStartLimitIntervalSec=60\nStartLimitBurst=3\n\n# Security hardening\nNoNewPrivileges=yes\nPrivateTmp=yes\nProtectSystem=strict\nProtectHome=yes\nReadWritePaths=\u002Fopt\u002Fmyapp\u002Flogs \u002Fvar\u002Flog\u002Fmyapp\n\n# Resource limits\nLimitNOFILE=65536\nMemoryLimit=512M\nCPUQuota=50%\n\n# Logging\nStandardOutput=journal\nStandardError=journal\nSyslogIdentifier=myapp\n\n[Install]\nWantedBy=multi-user.target\n```\n```bash\n# After creating\u002Fediting unit file\nsystemctl daemon-reload\nsystemctl enable --now myapp\n```\n\n### Cron & systemd Timers\n```bash\n# Edit crontab\ncrontab -e\n\n# Cron syntax:\n# min  hour  day  month  weekday  command\n  0    2     *    *      *        \u002Fusr\u002Fbin\u002Fbackup.sh          # daily at 2am\n  *\u002F5  *     *    *      *        \u002Fusr\u002Fbin\u002Fhealthcheck.sh     # every 5 minutes\n  0    9     *    *      1-5      \u002Fusr\u002Fbin\u002Freport.sh          # weekdays at 9am\n  0    0     1    *      *        \u002Fusr\u002Fbin\u002Fmonthly-report.sh  # 1st of month\n\n# systemd timer (preferred over cron for system services)\n# \u002Fetc\u002Fsystemd\u002Fsystem\u002Fbackup.timer\n```\n```ini\n# \u002Fetc\u002Fsystemd\u002Fsystem\u002Fbackup.timer\n[Unit]\nDescription=Daily Backup Timer\n\n[Timer]\nOnCalendar=*-*-* 02:00:00\nRandomizedDelaySec=30min\nPersistent=true  # run if missed (e.g. system was off)\n\n[Install]\nWantedBy=timers.target\n```\n\n### Networking Commands\n```bash\n# Modern ip commands (replaces ifconfig\u002Froute)\nip addr show                           # show all interfaces\nip addr show eth0                      # specific interface\nip route show                          # routing table\nip route add default via 192.168.1.1   # add default route\nip link set eth0 up\u002Fdown               # bring interface up\u002Fdown\n\n# ss (replaces netstat)\nss -tulnp                              # TCP\u002FUDP listening ports with process\nss -an | grep :3000                    # connections to port 3000\nss -s                                  # socket statistics summary\n\n# DNS resolution\ndig example.com                        # DNS lookup\ndig example.com MX                     # mail records\ndig @8.8.8.8 example.com              # use specific DNS server\nnslookup example.com                   # simple DNS lookup\nresolvectl query example.com           # systemd-resolved\n\n# Network debugging\nping -c 4 google.com                   # test connectivity\ntraceroute google.com                  # trace route\nmtr google.com                         # combined ping + traceroute\ncurl -v https:\u002F\u002Fapi.example.com        # verbose HTTP request\ncurl -w \"%{time_total}\n\" -o \u002Fdev\u002Fnull -s https:\u002F\u002Fapi.example.com  # timing\n\n# tcpdump — packet capture\ntcpdump -i eth0 port 80                # capture HTTP traffic\ntcpdump -i any -w capture.pcap        # capture all to file\ntcpdump -r capture.pcap               # read capture file\ntcpdump 'host 192.168.1.1 and port 443'  # filter by host and port\n```\n\n### File Permissions\n```bash\n# Permission format: rwxrwxrwx (owner group others)\nchmod 755 file     # rwxr-xr-x\nchmod 644 file     # rw-r--r--\nchmod 600 file     # rw------- (private key files)\nchmod +x script.sh # add execute for all\nchmod -R 755 dir\u002F  # recursive\n\n# Special permissions\nchmod u+s file     # SUID — run as file owner\nchmod g+s dir      # SGID — new files inherit group\nchmod +t dir       # sticky bit — only owner can delete\n\n# Ownership\nchown user:group file\nchown -R www-data:www-data \u002Fvar\u002Fwww\u002F\nchown user file              # change owner only\n\n# Find files with dangerous permissions\nfind \u002F -perm -4000 -type f 2>\u002Fdev\u002Fnull  # find SUID files\nfind \u002F -perm -2000 -type f 2>\u002Fdev\u002Fnull  # find SGID files\nfind \u002Ftmp -perm -0002 -type f           # world-writable files\n```\n\n### Performance Monitoring\n```bash\n# CPU and memory overview\ntop                          # interactive process viewer\nhtop                         # better top\nvmstat 1 5                   # system stats every 1s, 5 times\nfree -h                      # memory usage\n\n# Disk I\u002FO\niostat -xz 1                 # disk I\u002FO stats\niotop                        # per-process I\u002FO\ndf -h                        # disk space\ndu -sh \u002Fvar\u002Flog\u002F*             # directory sizes\nlsof +D \u002Fvar\u002Flog              # open files in directory\n\n# Network I\u002FO\niftop -i eth0                 # per-connection bandwidth\nnethogs                       # per-process network usage\nss -s                         # socket summary\n\n# Process debugging\nstrace -p \u003CPID>               # trace system calls\nstrace -e trace=network curl google.com  # trace network calls\nltrace -p \u003CPID>               # trace library calls\nlsof -p \u003CPID>                 # files opened by process\nlsof -i :3000                 # what is using port 3000\n\n# Performance flamegraph\nperf record -F 99 -p \u003CPID> -g -- sleep 30\nperf script | stackcollapse-perf.pl | flamegraph.pl > flame.svg\n```\n\n### SSH Hardening\n```bash\n# \u002Fetc\u002Fssh\u002Fsshd_config best practices\n# Edit then: systemctl reload sshd\n```\n```ini\n# Disable root login\nPermitRootLogin no\n\n# Disable password auth — keys only\nPasswordAuthentication no\nPubkeyAuthentication yes\n\n# Disable empty passwords\nPermitEmptyPasswords no\n\n# Disable X11 forwarding\nX11Forwarding no\n\n# Limit users\nAllowUsers deploy admin\n\n# Use specific port (obscurity only, not security)\nPort 2222\n\n# Timeout settings\nClientAliveInterval 300\nClientAliveCountMax 2\nLoginGraceTime 60\n\n# Limit auth attempts\nMaxAuthTries 3\nMaxSessions 5\n```\n\n### UFW Firewall\n```bash\n# UFW — simple iptables frontend\nufw enable\nufw status verbose\nufw default deny incoming\nufw default allow outgoing\n\nufw allow ssh\nufw allow 80\u002Ftcp\nufw allow 443\u002Ftcp\nufw allow from 10.0.0.0\u002F8 to any port 5432  # Postgres from private network only\n\nufw deny 23\u002Ftcp     # deny telnet\nufw delete allow 80\u002Ftcp  # remove rule\n\n# Rate limiting\nufw limit ssh       # rate limit SSH connections\n```\n\n---\n\n## Best Practices\n\n- Always use `set -euo pipefail` at the top of every bash script\n- Quote all variables: use `\"$var\"` not `$var` — prevents word splitting\n- Use `[[ ]]` for conditionals, not `[ ]` — safer and more features\n- Prefer `$(command)` over backticks for command substitution\n- Use `mktemp` for temporary files and clean up with trap\n- Never parse `ls` output — use `find` or glob patterns instead\n- Use `readonly` for constants that should not change\n- Always validate user input before using it in commands\n- Use `systemd` services over cron for anything that needs reliability\n\n---\n\n## Common Pitfalls\n\n| Pitfall | Problem | Fix |\n|---|---|---|\n| No `set -euo pipefail` | Script continues after errors silently | Always add at top of script |\n| Unquoted variables | Word splitting breaks on spaces | Always quote: `\"$var\"` |\n| Parsing ls output | Breaks on special characters | Use find or glob patterns |\n| `[ ]` vs `[[ ]]` | `[ ]` has surprising edge cases | Use `[[ ]]` for bash scripts |\n| No cleanup on exit | Temp files left behind | Use `trap cleanup EXIT` |\n| Hardcoded passwords | Credentials in script files | Use environment variables or vault |\n| No input validation | Command injection possible | Validate all external input |\n| rm -rf with variable | `rm -rf \u002F$var` if var is empty = disaster | Check var is non-empty first |\n\n---\n\n## Related Skills\n\n- **docker-expert**: For Linux container internals\n- **kubernetes-expert**: For Linux-based cluster nodes\n- **cicd-expert**: For Linux in CI\u002FCD runners\n- **monitoring-expert**: For Linux performance monitoring\n- **appsec-expert**: For Linux security hardening\n- **nginx-expert**: For Nginx on Linux servers\n",{"name":5,"author":44,"license":15,"metadata":45,"description":7},"luo-kai",{"author":9,"version":46,"category":47},"1.0","coding","main","4d2fb89cdfb75f3f6fd3c6c5ec9ad90ea129eb3c","ai-agent-skills\u002F05-devops-and-cloud (by Luo Kai)\u002F11-linux-sysadmin\u002Flinux-expert",2,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai","https:\u002F\u002Fgithub.com\u002Fluokai0","a solo builder.","2026-05-06 04:29:04",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add luokai0\u002Fai-agent-skills-by-luo-kai --skill linux-expert",{"tool":62,"command":63},"bunx","bunx skills add luokai0\u002Fai-agent-skills-by-luo-kai --skill linux-expert",{"tool":65,"command":66},"pnpm","pnpm dlx skills add luokai0\u002Fai-agent-skills-by-luo-kai --skill linux-expert","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F05-devops-and-cloud (by Luo Kai)\u002F11-linux-sysadmin\u002Flinux-expert\u002FSKILL.md",true,[],[71,98,115,139,165,190],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":39},"01M6F2SKTE208174C7S7JJCZC7","write-contracts","Generates secure Aptos Move V2 smart contracts with Object model, Digital Asset integration, security patterns, and storage type guidance. Includes comprehensive storage decision framework for optimal data structure selection. Triggers on: 'write contract', 'create NFT collection', 'build marketplace', 'implement minting', 'generate Move module', 'create token contract', 'build DAO', 'implement staking'. Ask storage questions when: 'store', 'track', 'registry', 'mapping', 'list', 'collection'.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fwrite-contracts\u002FSKILL.md",[],[78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],"write","contracts","write contracts","storage","secure","create","generate","collection","model","decision","ask","smart-contracts","selection","objects","structure","nft","token","aptos","critical","move",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":39},"01M6F2RFXJ6T9MKW0A7N7GM45B","web-search","通用网络搜索技能，支持多引擎搜索（百度、必应、DuckDuckGo），无需API密钥即可获取实时信息","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fweb-search-ex-skill\u002FSKILL.md",[],[105,106,107,108,109,110,111,112,113,114],"web","search","web search","搜索","baidu","bing","duckduckgo","百度","多引擎","internet",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":39},"01M6F2K968G1FZEZFPW2E6B222","solo-build","Execute implementation plan tasks with TDD workflow, auto-commit, and phase gates. Use when user says \"build it\", \"start building\", \"execute plan\", \"implement tasks\", \"ship it\", or references a track ID. Do NOT use for planning (use \u002Fplan) or scaffolding (use \u002Fscaffold).","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fsolo-build\u002FSKILL.md",[],[122,123,124,125,126,127,128,129,106,32,130,131,78,132,133,134,135,136,137,138],"build","solo","solo build","MCP","workflow","commit","tasks","code","plan","read","auto","references","context7","query","scaffolding","ship it","project",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":39},"01M6F2GKN39SGHSPWYB3662YC8","react-email","Use when building HTML email templates with React components, adding a visual email editor to an application using the React Email visual editor, rendering emails to HTML, or sending emails with Resend. Covers welcome emails, password resets, notifications, order confirmations, newsletters, transactional emails, and the embeddable email editor component.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Freact-email-skills\u002FSKILL.md",[],[146,147,148,149,150,151,152,153,154,155,156,157,158,28,159,160,161,162,163,164],"react","email","react email","github","editor","components","react components","component","welcome","https","notifications","password","node","html","resend","visual","emails","rendering","with",{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":39},"01M6F2FBVGVDFSG8SSFJGXA40C","APITester Agent-Driven API Testing","Test API endpoints and document responses. Define tests in plain English, run them, get formatted results. Agent-driven Postman alternative.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fopenclaw-api-tester\u002FSKILL.md",[],[172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189],"testing","api","api testing","driven","APITester Agent Driven API Testing","test","run","postman","results","plain english","tester","endpoints","document","get","define","tests","english","api-tester",{"skillNo":191,"name":192,"nameZh":6,"description":193,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":194,"categories":195,"keywords":196,"publishedAt":39},"01M6F273Y3NGAPVJZ608BC0G9G","hubspot-implementation-plan","Generate a phased implementation plan from a HubSpot audit report. Creates prioritized, sequenced cleanup processes with effort estimates, dependencies, and automation feasibility. Use after running \u002Fhubspot-audit.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fhubspot-implementation-plan\u002FSKILL.md",[],[130,197,198,199,200,201,202,84,203,204,205,206,207,28,208,209,164,210],"implementation","hubspot","hubspot implementation plan","automation","feasibility","cleanup","planning","report","audit","audit report","phased implementation","dependencies","processes","hubspot audit"]