Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
x-df - Skill - OpenSmartRoute
Skillv1.0.0
x-df
Enhanced `df` combining disk usage and mount info. Supports CSV, TSV, and TUI with filesystem type detection. **Dependency**: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installa
Imported from x-cmd/x-cmd (mod/df/SKILL.md). Install upstream with npx skills add x-cmd/x-cmd --skill df. Copyright stays with the author (Apache-2.0).
x df - Disk Free Space Viewer
Enhanced df command combining df and mount output with multiple formats.
Quick Start
# Interactive disk usage viewer (default in TTY)x df# TSV format output (default when piped)x df | cat
Features
Joint output: Combines df and mount command information
Multi-format: TSV, CSV, TUI application, raw
Cross-platform: Linux, macOS, Windows support
Auto-detection: Interactive mode in TTY, TSV when piped
# Find large filesystems (>100GB)x df --tsv | awk -F'\t' 'NR>1 && $3 > 100'# Check specific mount pointx df --tsv | grep "/home"# Get usage percentages onlyx df --tsv | awk -F'\t' '{print $1, $6}'
Data Processing
# Convert to JSON via csvx df --csv | x csv tojson# SQL-like query on disk usagex df --csv | x csv sql "SELECT * WHERE Use% > 80"
Platform Notes
Linux
Uses df and /proc/mounts or mount command
Full feature support
macOS
Uses df and mount command
Additional inode information (iused, ifree, %iused)
Windows
Uses wmic or PowerShell Get-Volume for disk info
Full feature support
Comparison with Native df
Command
Output
df -h
Basic disk usage
mount
Mount information
x df
Combined view with filesystem type and mount attributes
# Native df$ df -hFilesystem Size Used Avail Use% Mounted on/dev/sda1 500G 200G 300G 40% /# x df (combined with mount info)$ x df --tsvFilesystem Type Size Used Avail Use% Mounted_path Mounted_attr/dev/sda1 ext4 500G 200G 300G 40% / rw,relatime
Related
Native df(1) manual page
Native mount(8) manual page
Installed into a catalogue, chosen by a router
Install x-df and it becomes one more candidate the router can pick - when it fits.
A listing is a routing target with a manifest: what it does, which domains it covers, what it costs and who publishes it. Once installed it sits beside your own models and tools, is scored like any other candidate for each request, and shows up in the trace when it wins. Ratings come from workspaces that installed it, one per account.
When a provider is down or over quota the request moves on; the trace says it did.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slotcurl-s-X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
x-cmd-x-cmd-df.ocm.jsonjson
{
"ocm": "1",
"id": "x-cmd-x-cmd-df",
"kind": "skill",
"name": "x-df",
"description": "Enhanced `df` combining disk usage and mount info. Supports CSV, TSV, and TUI with filesystem type detection. **Dependency**: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options).",
"publisher": "x-cmd",
"version": "1.0.0",
"capabilities": {
"domains": [
"data_analysis"
],
"tags": [
"skill-md",
"x-cmd",
"system",
"df",
"disk",
"storage",
"github"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Enhanced `df` combining disk usage and mount info. Supports CSV, TSV, and TUI with filesystem type detection. **Dependency**: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options)."
],
"primary": false,
"metadata": {
"source": {
"provider": "github",
"repository": "https://github.com/x-cmd/x-cmd",
"path": "mod/df/SKILL.md",
"ref": "e18c1ef8b4695c7556c4e847b2eb7eaac13b9230",
"url": "https://github.com/x-cmd/x-cmd/blob/e18c1ef8b4695c7556c4e847b2eb7eaac13b9230/mod/df/SKILL.md",
"key": "x-cmd/x-cmd/mod/df/SKILL.md"
},
"compatibility": "POSIX Shell",
"license": "Apache-2.0"
},
"instructions": "# x df - Disk Free Space Viewer\n\n> Enhanced `df` command combining `df` and `mount` output with multiple formats.\n\n---\n\n## Quick Start\n\n```bash\n# Interactive disk usage viewer (default in TTY)\nx df\n\n# TSV format output (default when piped)\nx df | cat\n```\n\n---\n\n## Features\n\n- **Joint output**: Combines `df` and `mount` command information\n- **Multi-format**: TSV, CSV, TUI application, raw\n- **Cross-platform**: Linux, macOS, Windows support\n- **Auto-detection**: Interactive mode in TTY, TSV when piped\n\n---\n\n## Output Fields\n\n### Linux / Windows\n\n| Field | Description | Example |\n|-------|-------",
"cost": {
"context_tokens": 751
}
}
Fetch it by URL: GET /api/v1/registry/x-cmd-x-cmd-df/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.