Chalk Labs
Need help deploying os-capacity-patrol?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/haitaopanhq-os-capacity-patrol
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
os-capacity-patrol- Description
- None
- License
- Apache-2.0
- Instructions
- 88 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- missing YAML frontmatter
- name: missing
- description: missing
Files (1)
- SKILL.md
SKILL.md (first lines)
# Skill: os-capacity-patrol ## Purpose 标准化 Linux 节点磁盘容量巡检与安全清理流程,避免系统盘被日志/缓存持续占满导致服务不稳定。 ## Trigger 出现以下任一情况时立即执行: - `df -h /` 使用率 >= 80% - 系统告警提示磁盘空间不足 - 服务异常伴随大量日志写入(例如 journal/syslog 快速增长) ## Scope 适用于 Cloud-Neutral Toolkit 维护的 Linux 节点(如 `hk-xhttp`, `jp-xhttp`, `us-xhttp`)。 ## Inspection Commands ```bash df -h du -xhd1 / | sort -hr | head -n 20 du -xhd2 /var | sort -hr | head -n 30 du -xhd2 /root | sort -hr | head -n 40 find /root /var -xdev -type f -size +100M -printf "%s %p\n" | sort -nr | head -n 40 ``` ## Safe Cleanup Baseline ```bash journalctl --vacuum-size=200M apt-get clean rm -rf /root/go/pkg/mod /root/go/pkg/sumdb /root/.cache/go-build logrotate -f /etc/logrotate.conf rm -f /var/log/syslog.1 ``` > 禁止清理:数据库数据目录、应用持久化目录、未知业务文件。 ## Persistent Protection (Mandatory) 配置 journald 上限,防止再次打满: 文件:`/etc/systemd/journald.conf.d/99-disk-cap.conf` ```ini [Journal] SystemMaxUse=200M RuntimeMaxUse=50M SystemKeepFree=1G ``` 生效命令: ```bash systemctl restart systemd-journald journalctl --vacuum-size=200M journalctl --disk-usage ``` ## Verification Gate 执行后必须确认: 1. `/` 使用率降至 < 70% 2. `journalctl --disk-usage` <= 200M(接近即可) 3. 关键服务仍在运行(如 `agent-svc-plus`, `xray`, `nginx`) 4. 保留清理前后 `df -h /` 记录 ## Multi-Host Rolling Procedure 多机执行时遵循顺序: 1. 单台试运行(确认无副作用) 2. 逐台执行(hk -> jp -> us) 3. 每台完成后立即做 `df -h /` 和服务状态检查 ## Rollback / Recovery 若清理后异常: - 先恢复服务:`systemctl restart <service>` - 若涉及日志策略误配,移除 drop-in 并重启 journald: - `rm -f /etc/systemd/journald.conf.d/99-disk-cap.conf` - `systemctl restart systemd-journald` - 必要时从备份恢复误删文件
From haitaopanhq/.github, Apache-2.0.
More from haitaopanhq/.github
- 0.437score
codex-multi-cli-orchestrator
haitaopanhq
Use when Codex App with GPT 5.4 should act as the chief engineer and dispatch low-cost or isolated sub-tasks to ollama, opencode, or gemini CLIs instead of…
SkillDFreshness: D★ 1Claude Code +9 - 0.433score
orchestration-run-task
haitaopanhq
Use when Codex or another manager needs to hand off a concrete subtask to opencode, ollama, or gemini through scripts/orchestration/run_worker.sh.
SkillDFreshness: D★ 1Claude Code +9 - 0.428score
unified-setup-sh
haitaopanhq
Standardize a single scripts/setup.sh across Cloud-Neutral Toolkit repos (curl | bash), with safe cloning, dependency install, and next-step printing.
SkillDFreshness: D★ 1Claude Code +9 - 0.425score
docker-compose-lite-migration
haitaopanhq
Execute and verify the lightweight single-VPS migration path for accounts + rag-server + APISIX standalone + shared stunnel-client.
SkillDFreshness: D★ 1Claude Code +9 - 0.423score
Security Audit
haitaopanhq
Automated security audit skill for detecting secrets, tokens, and security vulnerabilities in code
SkillDFreshness: D★ 1Claude Code +9 - 0.418score
Project Management
haitaopanhq
Comprehensive guide for managing the Cloud Neutral Toolkit, including environments, deployment, and security standards.
SkillDFreshness: D★ 1Claude Code +9 - 0.412score
git-history-secret-remediation
haitaopanhq
Use when a user asks to detect secrets in git commit history, clean tracked sensitive data, rewrite history with git-filter-repo, or verify cleanup with…
SkillDFreshness: D★ 1Claude Code +9 - 0.228score
release-branch-policy
haitaopanhq
No description from the publisher yet.
SkillDFreshness: D★ 1Claude Code +9 - 0.225score
cross-repo-upstream-submodule-sync
haitaopanhq
No description from the publisher yet.
SkillDFreshness: D★ 1Claude Code +9 - 0.225score
env-secrets-governance
haitaopanhq
No description from the publisher yet.
SkillDFreshness: D★ 1Claude Code +9 - 0.225score
github-actions-yaml-governance
haitaopanhq
No description from the publisher yet.
SkillDFreshness: D★ 1Claude Code +9 - 0.225score
readme-root-standard
haitaopanhq
No description from the publisher yet.
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Feb 5, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/haitaopanhq/.github
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from haitaopanhq
- 0.437score
codex-multi-cli-orchestrator
haitaopanhq
Use when Codex App with GPT 5.4 should act as the chief engineer and dispatch low-cost or isolated sub-tasks to ollama, opencode, or gemini CLIs instead of…
SkillDFreshness: D★ 1Claude Code +9 - 0.433score
orchestration-run-task
haitaopanhq
Use when Codex or another manager needs to hand off a concrete subtask to opencode, ollama, or gemini through scripts/orchestration/run_worker.sh.
SkillDFreshness: D★ 1Claude Code +9 - 0.428score
unified-setup-sh
haitaopanhq
Standardize a single scripts/setup.sh across Cloud-Neutral Toolkit repos (curl | bash), with safe cloning, dependency install, and next-step printing.
SkillDFreshness: D★ 1Claude Code +9 - 0.425score
docker-compose-lite-migration
haitaopanhq
Execute and verify the lightweight single-VPS migration path for accounts + rag-server + APISIX standalone + shared stunnel-client.
SkillDFreshness: D★ 1Claude Code +9 - 0.423score
Security Audit
haitaopanhq
Automated security audit skill for detecting secrets, tokens, and security vulnerabilities in code
SkillDFreshness: D★ 1Claude Code +9 - 0.418score
Project Management
haitaopanhq
Comprehensive guide for managing the Cloud Neutral Toolkit, including environments, deployment, and security standards.
SkillDFreshness: D★ 1Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get os-capacity-patrol running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
os-capacity-patrol skill. Agent Mart. https://agentmart.dev/skills/haitaopanhq-os-capacity-patrol (last updated 2026-10-24)