X-CMD is a POSIX-shell toolkit that provides reusable shell modules and on-demand command-line packages for bash, zsh, ash, and dash. It is designed for people and AI agents that need shell utilities, integrations, and agent-related workflows, and the catalogue contains a large collection of skills for using it.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add x-cmd/x-cmd --skill timegit clone --depth 1 https://github.com/x-cmd/x-cmdWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/x-cmd/x-cmd/time)<a href="https://agentmods.dev/skills/x-cmd/x-cmd/time"><img src="https://agentmods.dev/badge/skills/x-cmd/x-cmd/time/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/x-cmd/x-cmd/time"><img src="https://agentmods.dev/badge/skills/x-cmd/x-cmd/time.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00046 | $0.00428 |
| Opus 5.5 | $0.00018 | $0.00171 |
| Sonnet 5.5 | $0.00009 | $0.00086 |
| Haiku 4.5 | $0.00005 | $0.00043 |
Grade A, and why
time scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
time — skill0
Measure command execution time. From single-shot microsecond timing to multi-run statistical analysis.
Quick Start
# With x-cmd
x time <command> # Single microsecond timing
x time stress -c 100 <command> # 100-run statistics
x time cmp 'cmd1' 'cmd2' 'cmd3' # Compare commands
# Without x-cmd — use shell built-ins
time <command> # Basic timing
# For benchmarking, use a loop:
for i in $(seq 1 100); do
start=$(date +%s%N)
<command>
end=$(date +%s%N)
echo $(( end - start ))
done
What's Available
x time <cmd>— Single run, microsecond precisionx time getms <cmd>— Millisecond precisionx time stress -c N <cmd>— N runs with full statsx time stress -b N <cmd>— Auto-decide runs within budgetx time cmp 'c1' 'c2'— Compare multiple commands
Output Formats
--csvCSV for programmatic analysis--tsvTab-separated--ymlYAML
This skill0 grows
Starting with the essentials. Will add:
- Benchmarking patterns
- Statistical interpretation guide
- Common performance anti-patterns
Related
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 63 lines · 46 tokens per session scan A 56702d1ef24e
time is a skill published in the GitHub repository x-cmd/x-cmd (4,769 stars, last pushed 6d ago), licensed Apache-2.0. It adds 46 tokens to every session and 428 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
time compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| timex-cmd/x-cmd | Skill | 4.8k | 6d ago | Apache-2.0 | A | 46 | Claude Code, Codex |
| dnanexus-integrationsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 49 | Claude Code, Codex |
| latchbio-integrationsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 45 | Claude Code, Codex |
| lambda-gpu-cloudsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 32 | Claude Code, Codex |
| modal-serverless-gpusynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 54 | Claude Code, Codex |
| tensorpool-gpu-cloudsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 34 | Claude Code, Codex |
| runpod-gpu-cloudsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 32 | Claude Code, Codex |