Introduction¶
The system disk on FnOS NAS is mounted on the root partition /, and its capacity is often limited. Log accumulation, leftover old kernels, and various caches filling up can cause OTA updates to report “insufficient disk space,” even though the data drive may still have plenty of free space. If you SSH in and delete files yourself, touching a critical system directory could at best cause service anomalies and at worst make the system unbootable. Unlike generic “disk slimming” tutorials, the Skill introduced below categorizes cleanup targets into three risk tiers, provides copy-paste-ready commands and pitfall warnings in the documentation, and is designed to be executed step by step by an Agent.
What Is This¶
“FnOS System Disk Cleanup” is a community Skill on SkillHub, with the coordinate @user_c0993409/fnos-disk-cleanup, version 1.0.3, category it-ops-security, publisher user_c0993409, source community, tag requires_api_key=false (no API Key required).
It is a safe cleanup guide for the FnOS NAS system disk: when / runs out of space or OTA fails due to insufficient disk space, it distinguishes three categories of operations—“Safe to Clean” (logs, old kernels, caches), “Optional,” and “Absolutely Do Not Touch” (deleting these will corrupt the system)—and explains measured results and common pitfalls. The official description states that after following the guide, system disk usage typically drops from over 90% to below 70%; actual results vary by machine and workload.
SkillHub page statistics: rating 100000, 1017 downloads (subject to real-time SkillHub data).
Core Features¶
Based on the publicly available description on SkillHub, the verifiable capabilities are as follows.
- Three-tier risk partitioning: Clearly identifies which paths are safe to clean, which are situational, and which must never be touched.
- Copy-paste-ready commands: The Skill package includes complete shell commands with pitfall notes, making it easy to execute step by step in a terminal or Agent conversation.
- OTA-focused: Targets update failures caused by insufficient space on the system disk
/, rather than data drive or application data migration planning. - Agent collaboration: Once installed in environments that support Skills (Cursor, Claude Code, Codex, etc.), you can describe the issue in natural language—“system disk is full” or “update says insufficient disk space”—and the Agent will proceed according to the Skill’s tiers and steps.
Installation & Activation¶
The skill page requires following the SkillHub Installation & Priority Source Configuration to install @user_c0993409/fnos-disk-cleanup. Start with a CLI check:
command -v skillhub && skillhub --version
If not installed, run the full installation (recommended):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
CLI only:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
When installing the Skill, you must use --dir to point to the current Agent’s skills directory; otherwise it defaults to ./skills/ and the Agent may fail to load it. Common directories are:
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Under Cursor, you can install by coordinate:
skillhub install @user_c0993409/fnos-disk-cleanup --dir ~/.cursor/skills/
The skillhub search results also provide an equivalent form (slug + namespace):
skillhub install fnos-disk-cleanup --namespace user_c0993409 --dir ~/.cursor/skills/
For Claude Code or Codex, simply replace --dir with the corresponding path. After installation, if it doesn’t take effect immediately, restart or refresh the Skills directory per the product’s documentation.
Typical Usage¶
Specific cleanup commands are documented in the SKILL.md file inside the Skill package. Public materials do not list every command individually; when executing, refer to the installed documentation and do not copy unverified scripts from third-party reprints.
Recommended workflow:
- Ensure you can SSH into the FnOS system disk environment, then enable this Skill in your Agent.
- Describe the current situation, e.g.:
df -h /shows usage above 90%, OTA reports insufficient disk space, and you only want to clean logs and caches. - Have the Agent produce steps organized by the three tiers: handle “Safe to Clean” items first, then discuss “Optional” items based on available space, and list the paths under “Absolutely Do Not Touch.”
- After each batch of operations, run
df -h /again to confirm remaining space on the root partition before deciding whether to continue.
If you prefer reading the documentation first and then operating manually, complete the installation from the previous section, open the Skill’s SKILL.md in the corresponding skills directory, and copy the official commands from there to execute.
Applicable Scenarios & Cautions¶
Who it’s for
- FnOS NAS administrators whose system disk frequently triggers alerts or where OTA fails due to insufficient space on
/. - Ops personnel who want an integrated “tiered partition + commands + pitfall notes” guide within an Agent conversation to reduce the risk of accidentally deleting system files.
Limitations & Cautions
- Targets the system disk
/only; it does not replace data drive expansion, storage pool planning, or business data migration. - The “drop from 90%+ to below 70%” figure comes from the typical case in the SkillHub description and is not a guarantee for every device; confirm your backup or snapshot strategy before critical operations.
- Community Skill update cadence depends on the publisher; after a major FnOS version upgrade, cross-reference the current 1.0.3 with the official release notes.
- Strictly follow the “Absolutely Do Not Touch” section; if the Agent suggests deleting a system path not listed in the Skill, stop and verify against
SKILL.md.
Conclusion¶
When the system disk is full and OTA fails, the key is to free up logs, old kernels, and caches within safe boundaries. “FnOS System Disk Cleanup” codifies this workflow into an Agent-executable Skill, using three-tier risk classification to reduce the cost of misoperation. For installation and details, refer to SkillHub:
- Skill page: https://www.skillhub.cn/skills/user_c0993409/fnos-disk-cleanup
- API coordinate page: https://api.skillhub.cn/user_c0993409/fnos-disk-cleanup