Xpersona
O

omz

CLAWHUB · Unverified

Oh My Zsh management. plugin - Add/install plugins to .zshrc plugins=() array [plugin.md], custom - Write $ZSH_CUSTOM/*.zsh based on requirements [custom.md]. Use when "omz", "oh-my-zsh", "zsh plugin", "add plugin", "custom zsh", "zshrc", ".zshrc", "zsh config", "zsh function", "zsh alias" is mentioned. Skill: omz Owner: drumrobot Summary: Oh My Zsh management. plugin - Add/install plugins to .zshrc plugins=() array [plugin.md], custom - Write $ZSH_CUSTOM/*.zsh based on requirements [custom.md]. Use when "omz", "oh-my-zsh", "zsh plugin", "add plugin", "custom zsh", "zshrc", ".zshrc", "zsh config", "zsh function", "zsh alias" is mentioned. Tags: latest:0.3.4 Version history: v0.3.4 | 2026-09-18T15:54:18.135Z | auto -

62
Rank
84
Safety
1.4k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.4K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17ay1v6v88r2m102pvvc44gz183qcrm:omz
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-drumrobot-omz/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

67,582 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: omz
metadata:
  author: es6kr
  version: "0.1.0"
description: |
  Oh My Zsh management. plugin - Add/install plugins to .zshrc plugins=() array [plugin.md], custom - Write $ZSH_CUSTOM/*.zsh based on requirements [custom.md].
  Use when "omz", "oh-my-zsh", "zsh plugin", "add plugin", "custom zsh", "zshrc", ".zshrc", "zsh config", "zsh function", "zsh alias" is mentioned.
---

# Oh My Zsh

Oh My Zsh plugin management and custom configuration authoring.

## Topics

| Topic | Description | Guide |
|-------|-------------|-------|
| plugin | Add/install plugins to .zshrc plugins=() array | [plugin.md](./plugin.md) |
| custom | Write $ZSH_CUSTOM/*.zsh based on requirements | [custom.md](./custom.md) |

## Self-Improvement

After this skill invocation completes, **self-improve based on the conversation**:

1. Detect limitations, failures, or workaround patterns for this skill in the conversation
2. If improvement candidates are found, run `/skill-manager upgrade omz`

_meta.json

{
  "ownerId": "kn74k8yfvftx6f062qa8fzyd8h8373jd",
  "slug": "omz",
  "version": "0.3.4",
  "publishedAt": 1789746858135
}

CHANGELOG.md

# Changelog

## [0.3.4](https://github.com/es6kr/skills/compare/omz-v0.3.3...omz-v0.3.4) (2026-09-18)


### Bug Fixes

* **cleanup:** make the session-end report table self-sufficient ([#487](https://github.com/es6kr/skills/issues/487)) ([c4a0255](https://github.com/es6kr/skills/commit/c4a02557fb8de3b32cf337c549f62535dabf824b))

## [0.3.3](https://github.com/es6kr/skills/compare/omz-v0.3.2...omz-v0.3.3) (2026-08-29)


### Bug Fixes

* address CodeRabbit and Copilot review feedback on PR [#389](https://github.com/es6kr/skills/issues/389) ([db4dfff](https://github.com/es6kr/skills/commit/db4dfff2829632bf263d93e0bbfdd1244772a5b2))
* **omz:** correct broken chezmoi re-add/add guidance in plugin/custom topics ([#375](https://github.com/es6kr/skills/issues/375)) ([447161e](https://github.com/es6kr/skills/commit/447161eeb7b642c902edc2dec1809087745aac06))
* promote next-fix batch (task plugin split, claudify matcher, pr recheck, omz chezmoi fix) ([3e90fd5](https://github.com/es6kr/skills/commit/3e90fd56ade0522d6773eb03f38760a317dd5180))

## [0.3.2](https://github.com/es6kr/skills/compare/omz-v0.3.1...omz-v0.3.2) (2026-08-17)


### Bug Fixes

* **wip:** cross-ref PR-URL and TaskCreate subject repo-qualifier rules ([#186](https://github.com/es6kr/skills/issues/186)) ([4982364](https://github.com/es6kr/skills/commit/49823641a7b08123ebd0325273892bee41bc3280))

## [0.3.1](https://github.com/es6kr/skills/compare/omz-v0.3.0...omz-v0.3.1) (2026-08-05)


### Bug Fixes

* **wip:** cross-ref PR-URL and TaskCreate subject repo-qualifier rules ([#186](https://github.com/es6kr/skills/issues/186)) ([951c1e6](https://github.com/es6kr/skills/commit/951c1e6871e78e226757c6a7ae5ae53efeb7bfb0))

## [0.3.0](https://github.com/es6kr/skills/compare/omz-v0.2.0...omz-v0.3.0) (2026-06-03)


### Features

* add metadata block (author, version) to all skills ([a36d9a5](https://github.com/es6kr/skills/commit/a36d9a5f029b595847220c3cc867370c7ff30a21))
* **ci:** add lint jobs and untrack LICENSE ([#7](https://github.com/es6kr/skills/issues/7) Phase 1) ([03a8587](https://github.com/es6kr/skills/commit/03a85872c575c6ffdf72f5ca2bdb353fdc947a73))

## [0.2.0](https://github.com/es6kr/skills/compare/omz-v0.1.0...omz-v0.2.0) (2026-05-24)


### Features

* **ci:** add lint jobs and untrack LICENSE ([#7](https://github.com/es6kr/skills/issues/7) Phase 1) ([03a8587](https://github.com/es6kr/skills/commit/03a85872c575c6ffdf72f5ca2bdb353fdc947a73))

custom.md

# Oh My Zsh Custom Script Authoring

Write `$ZSH_CUSTOM/*.zsh` files based on requirements.

## $ZSH_CUSTOM Path

```bash
echo $ZSH_CUSTOM  # default: ~/.oh-my-zsh/custom
```

## File Structure

```
$ZSH_CUSTOM/
├── aliases.zsh       # custom aliases
├── functions.zsh     # custom functions
├── env.zsh           # environment variables
├── keybindings.zsh   # key bindings
└── plugins/          # external plugins (see plugin topic)
```

**Rule**: Files with `*.zsh` extension are auto-loaded on Oh My Zsh startup (alphabetical order)

## Authoring Procedure

### 1. Gather Requirements

Confirm the following with the user:
- What functionality is needed (alias, function, environment variable, key binding, etc.)
- Whether existing custom files already exist

### 2. Select or Create the Appropriate File

| Purpose | Filename | Example |
|---------|----------|---------|
| Shortcut commands | `aliases.zsh` | `alias k="kubectl"` |
| Reusable functions | `functions.zsh` | `mkcd() { mkdir -p "$1" && cd "$1" }` |
| Environment variables | `env.zsh` | `export EDITOR=vim` |
| Key bindings | `keybindings.zsh` | `bindkey '^[[A' history-search-backward` |
| Tool-specific config | `{tool}.zsh` | `docker.zsh`, `k8s.zsh` |

### 3. Write the File

```bash
# Create/modify file
# Write directly to the $ZSH_CUSTOM path
```

### 4. chezmoi Integration

`$ZSH_CUSTOM` is frequently synced by a mechanism other than chezmoi (e.g. a dedicated Syncthing folder covering `$ZSH_CUSTOM` directly) rather than being chezmoi-managed at all. Check ownership before running any chezmoi command on a file here — adding it to chezmoi on top of an existing sync mechanism creates two competing owners for the same file:

```bash
chezmoi managed | grep -qF "custom/{filename}.zsh" \
  && echo "chezmoi-managed — safe to: chezmoi re-add \$ZSH_CUSTOM/{filename}.zsh" \
  || echo "NOT chezmoi-managed — do not chezmoi add; another sync mechanism owns this file"
```

If the grep is empty, leave the file to whatever already syncs it (do not `chezmoi add`). Only run `chezmoi re-add` when the file is confirmed chezmoi-managed.

## Notes

- Only `.zsh` extensions are auto-loaded (`.sh` is ignored)
- Load order: alphabetical -- use prefixes if order matters (`01-env.zsh`, `02-aliases.zsh`)
- Separate into custom files instead of writing directly in `.zshrc` to avoid update conflicts
- Apply changes with `source ~/.zshrc` or by opening a new terminal

plugin.md

# Oh My Zsh Plugin Management

Add plugins to the `plugins=()` array in .zshrc and install external plugins as needed.

## Recommended Plugins (Default Setup)

| Plugin | Type | Description |
|--------|------|-------------|
| asdf | built-in | Runtime version management (Node, Python, etc.) |
| git | built-in | git aliases and completions |
| zoxide | built-in | Smart directory jump (`z`, `zi`) |

## Plugin Addition Procedure

### 1. Built-in Plugins (No Installation Required)

Plugins already included in `$ZSH/plugins/` only need their name added to `.zshrc`:

```bash
# Find the plugins=() array in .zshrc and add
plugins=(git docker kubectl ...)
```

**Key built-in plugins**: git, docker, kubectl, npm, node, python, pip, brew, macos, history, z, sudo, extract, web-search

### 2. External Plugins (Clone Required)

Clone to `$ZSH_CUSTOM/plugins/` then add to `.zshrc`:

```bash
# Clone
git clone https://github.com/{org}/{plugin}.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/{plugin}

# Add to .zshrc plugins array
plugins=(... {plugin})
```

**Commonly used external plugins**:

| Plugin | Repository | Description |
|--------|------------|-------------|
| zsh-autosuggestions | zsh-users/zsh-autosuggestions | History-based autosuggestions |
| zsh-syntax-highlighting | zsh-users/zsh-syntax-highlighting | Command syntax highlighting |
| zsh-completions | zsh-users/zsh-completions | Additional completions |
| you-should-use | MichaelAqworthy/zsh-you-should-use | Alias usage reminders |

### 3. chezmoi Integration

If dotfiles are managed with chezmoi, check how `.zshrc` is tracked before assuming an edit needs to be re-added:

```bash
chezmoi managed | grep -Fxq '.zshrc' && chezmoi source-path ~/.zshrc
```

If the source entry is a `modify_` script (e.g. `modify_dot_zshrc.sh.tmpl`), **`chezmoi re-add ~/.zshrc` is a no-op** — chezmoi's `re-add` command explicitly skips `modify_`-type source entries, so a live `.zshrc` edit (like adding a plugin to `plugins=()`) never reaches the source repo this way. **Never run `chezmoi add ~/.zshrc` either** — `add` replaces a `modify_` script with a static file, destroying whatever logic the script injects (e.g. wrapper function re-insertion).

To make a plugin change survive a fresh `chezmoi apply` on a new machine, edit the `modify_` script's own baseline content directly (e.g. its `REQUIRED` array) instead of trying to sync the live file back.

```bash
# Register external plugins in .chezmoiexternal.toml
# (see chezmoi skill)
```

## Verify Plugins

```bash
# Currently loaded plugins
echo $plugins

# List available built-in plugins
ls $ZSH/plugins/

# List installed custom plugins
ls ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/
```

## Notes

- The `plugins=()` array is **space-separated without commas**
- Plugin order: `zsh-syntax-highlighting` should be placed **last**
- Too many plugins degrade shell startup speed (20 or fewer recommended)

Sponsored

Ads related to omz and adjacent AI workflows.