Skip to content
Agentmart
Submit a tool

shell-env

Edit the Stow-managed shell and terminal environment in ~/.dotfiles/home, including zsh, aliases, tmux/sesh, Starship, Ghostty, yabai, Git, and link structure.

Skill by kriscard

IndexedMIT★ 14
Write a review

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/kriscard-shell-env

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.

We use your email only for this newsletter. Privacy

About

Edit the Stow-managed shell and terminal environment in ~/.dotfiles/home, including zsh, aliases, tmux/sesh, Starship, Ghostty, yabai, Git, and link structure. Use for focused terminal configuration changes. Route Neovim work to neovim and whole-system health checks to audit.

Use cases: security, writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/shell-env

What's inside

Skill name
shell-env
Description
Edit the Stow-managed shell and terminal environment in ~/.dotfiles/home, including zsh, aliases, tmux/sesh, Starship, Ghostty, yabai, Git, and link structure. Use for focused terminal configuration changes. Route Neovim work to neovim and whole-system health checks to audit.
License
MIT
Instructions
102 lines in SKILL.md · view on GitHub

Before installing

  • Instructions read files in your home folder (~/.ssh, ~/.aws…)

Agent Skills spec issues

  • body: contains an absolute path from the author's machine

Files (4)

  • SKILL.md
  • git-config.md · references/
  • modern-cli-tools.md · references/
  • terminal-config.md · references/

SKILL.md (first lines)

# Shell and terminal environment

The repository uses one GNU Stow package at `~/.dotfiles/home/`. Edit sources under that directory; `~/.dotfiles/README.md`, `dotfiles --help`, and the current symlink targets are authoritative when layout differs from this document.

## Current source locations

| Tool | Source |
|---|---|
| Zsh | `~/.dotfiles/home/.zshrc` and `~/.dotfiles/home/zsh/zsh.d/` |
| Ghostty | `~/.dotfiles/home/.config/ghostty/config` |
| Tmux | `~/.dotfiles/home/.config/tmux/tmux.conf` |
| Starship | `~/.dotfiles/home/.config/starship.toml` |
| yabai | `~/.dotfiles/home/.config/yabai/yabairc` |
| Git | `~/.dotfiles/home/.gitconfig*` |

Confirm a target with `readlink` or `ls -ld` before structural work.

## Stow-first edit loop

1. Locate and inspect the source under `~/.dotfiles/home/`.
2. Edit the source rather than the home-directory link.
3. Run the narrowest syntax or behavior check for the changed tool.
4. If link structure changed, run `dotfiles sync --dry-run`, inspect every proposed operation, then run `dotfiles sync`.
5. Reload the smallest affected component.
6. Report the source path, verification result, and reload or remaining manual step.

Done when the source owns the intended home path, syntax and behavior checks pass, and the live configuration is reloaded or the remaining manual action is explicit.

## Link workflow

Use the repository CLI rather than inventing per-tool Stow packages:

```sh
cd ~/.dotfiles
dotfiles sync --dry-run
dotfiles sync
```

For conflicts or unclear behavior, inspect `dotfiles --help`, `README.md`, and the `home/` tree before changing links. The current layout has one `home` package, so link work goes through `dotfiles sync` rather than per-tool Stow commands.

## Tool verification

### Zsh

Validate the edited module and then the complete startup path:

```sh
zsh -n ~/.dotfiles/home/.zshrc
zsh -n ~/.dotfiles/home/zsh/zsh.d/<module>.zsh
zsh -i -c exit
```

Preserve the numeric module order and inspect dependencies before moving code between files.

### Ghostty

Inspect the current config for accepted syntax, theme, and font before editing. Reload through the installed Ghostty version or restart the app, then verify the changed setting visually or through available diagnostics.

### Tmux and sesh

```sh
tmux source-file ~/.config/tmux/tmux.conf
sesh list
```

Capture reload errors. Preserve the configured TPM directory and ensure the plugin manager initializes once.

### Starship

```sh
starship explain
starship timings
```

Use the current prompt to verify the affected module.

### yabai

```sh
yabai --restart-service
```

Verify the changed rule or behavior after restart rather than treating service restart as sufficient.

## References

| Priority | Load when | Reference |
|---|---|---|
| High | Adding aliases or evaluating modern CLI alternatives | `references/modern-cli-tools.md` |
| High | Changing Ghostty, tmux/sesh, Starship, yabai, or cross-tool theme configuration | `references/terminal-config.md` |
| High | Changing Git identity, signing, conditional includes, pager, or aliases | `references/git-config.md` |

## Quick checks

```sh
readlink ~/.zshrc
readlink ~/.config/ghostty/config
cd ~/.dotfiles && dotfiles sync --dry-run
find ~ -maxdepth 3 -type l ! -e 2>/dev/null
```

From kriscard/Skills, MIT.

More from kriscard/Skills

Signals

Stars
14
Forks
0
Open issues
0
Last commit (this folder)
Oct 7, 2026 (21 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from kriscard

Cite this page

shell-env skill. Agent Mart. https://agentmart.dev/skills/kriscard-shell-env (last updated 2026-10-24)