Shell Skill logo

Shell Skill

Community
zeenie-ai
shell-skill

Execute short-lived shell commands inside the per-workflow workspace. Uses Nushell when installed and otherwise the host shell. External tools on PATH (npm, node, python, git, ...) are available.

Overview

Publisherzeenie-ai
RepositoryOpenCompany
Skill nameshell-skill
Stars
995
Forks
151
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by zeenie-ai on GitHub. Read the source before you install it.

Installation

Install the Shell Skill AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/zeenie-ai/OpenCompany/tree/main/server/skills/terminal/shell-skill
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zeenie-ai/OpenCompany.git /tmp/OpenCompany
mkdir -p .claude/skills
cp -r /tmp/OpenCompany/server/skills/terminal/shell-skill .claude/skills/shell-skill
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Shell Skill in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Shell Skill on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Shell Skill is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Shell Tool

Execute short-lived shell commands in the workflow workspace. The backend uses Nushell when nu is installed. Otherwise it passes the command to the host shell (cmd.exe on Windows or the platform /bin/sh-style shell on POSIX). Shell-specific syntax is therefore conditional on the installed runner.

External binaries on PATH (npm, node, python, git, etc.) are available to whichever runner is selected.

For portable calls, prefer one external command with ordinary arguments, such as git status or python -V. Use file_read, file_modify, or fs_search for filesystem work; they avoid runner-specific parsing.

Runner-dependent syntax

The node rejects space-delimited && and || before selecting a runner, so those operators are unsupported even when the host shell would normally accept them. Prefer separate tool calls. If the environment is known to have Nushell, its equivalents include:

nu
try { npm install } catch { print 'install failed'; exit 1 }
open README.md --raw | lines | first 20

Do not send Nushell pipelines, Bash substitutions, PowerShell cmdlets, or cmd.exe builtins unless the selected environment is known to support that syntax. GNU utilities such as sed, awk, and grep are not generally available on Windows.

shell_execute Tool

Schema

FieldTypeRequiredDescription
commandstringYesCommand interpreted by Nushell when installed, otherwise by the host shell
timeoutintNoSeconds (default 30, max 600)

Response

json
{
  "stdout": "command output",
  "exit_code": 0,
  "truncated": false,
  "command": "ls"
}
Exit codeMeaning
0Success
124Timed out
non-zeroFailure

Nushell reference (only when nu is installed)

Bash / cmd.exe formNushell form
cmd1 && cmd2 (and-then)cmd1; cmd2 (unconditional sequential — see below for short-circuit)
`cmd1
$VAR substitution$env.VAR
`cmd` or $(cmd)(cmd) (parens, no dollar)
cmd > file.txtcmd | save file.txt
cmd >> file.txtcmd | save --append file.txt
cmd 2>&1cmd | complete | get stdout (all output is captured anyway)
if [ -f x.txt ]; then ...if ('x.txt' | path exists) { ... }
for f in *.py; do ...glob '*.py' | each { |f| ... }
* glob in argv (auto-expand)wrap in quotes or use glob
~/path('~/path' | path expand)
sed -n '1,N p' fileopen file --raw | lines | first N (prefer file_read with limit)
head -n N fileopen file --raw | lines | first N
tail -n N fileopen file --raw | lines | last N
sed -i 's/a/b/' fileuse file_modify (edit op) — not the shell
grep 'pat' fileopen file --raw | find 'pat' (prefer fs_search)
grep -r 'pat' src/use fs_search (grep mode)
wc -l fileopen file --raw | lines | length
find . -name '*.py'glob '**/*.py'
xargs cmdeach { |x| cmd $x }

Short-circuit "and-then" when Nushell is active

The node explicitly rejects the usual space-delimited && form. With Nushell available, use:

nu
# Short-circuit using try/catch
try { npm install } catch { print 'install failed'; exit 1 }
ls -la

# Or inspect an external command's exit code
let r = (do { npm install } | complete)
if $r.exit_code == 0 { ls -la } else { print $r.stderr }

Common tasks when Nushell is active

TaskCommand
Show current dirpwd (nu builtin)
List filesls (returns a table — pipe further)
List recursivelyls **/*
Read fileopen README.md (text/json/csv auto-parsed) or cat README.md
Write to file'hello' | save -f output.txt
Append'more' | save --append output.txt
Find files by nameglob '**/*.py'
Search contentrg 'pattern' . (if ripgrep on PATH) or open file.txt | find 'pattern'
Copy / move / deletecp a b, mv a b, rm a
Make foldermkdir new
Run npm / node / pythonnpm install, node app.js, python -V (via PATH)
Capture command output into a varlet v = (npm -v | str trim)
Conditional on a binary existingif (which git | is-empty) { print 'no git' }

Workspace and paths

  • The cwd is the per-workflow workspace; relative paths resolve there.
  • Filesystem operations elsewhere on this tool (read/write/edit via file_*) are workspace-contained and reject ../~ traversal. Shell execute() itself retains historical host-shell behavior and is not path-restricted, so prefer file_read / file_modify / fs_search for actual filesystem work.

Use the right tool

NeedToolWhy
List / search / one-shot file opsshell_executeFast, in-workspace
Reading or editing a specific filefile_read / file_modifyPath-sandboxed, no shell parsing surprises
Long-running processes (dev servers, watchers, npm run dev)process_managerStreams output, restartable, doesn't tie up the agent
Recursive code searchfs_searchgrep mode, structured results

Guidelines

  1. Never use && or ||. The node pre-flight rejects their common space-delimited forms before invoking either runner, and their behavior is not portable even without surrounding spaces.
  2. Prefer one simple command per call. Chaining, variables, redirection, pipelines, and builtins depend on whether Nushell or the host shell was selected.
  3. Use dedicated filesystem tools. file_read, file_modify, and fs_search are workspace-contained and avoid shell parsing differences.
  4. Treat Nushell syntax as conditional. The reference above applies only when nu is installed.
  5. Short-lived only. shell_execute always awaits completion — a small timeout does not make it run in the background, it just kills the command after N seconds. If the command runs longer than ~30s, opens a port, watches files, or is described as "dev server / watcher / daemon" (npm run dev, vite, tsx watch, python -m http.server, ...), use process_manager instead. Trying to "fire and forget" with timeout=2 will kill the process the moment the port comes up.
  6. The timeout range is 1–600 seconds. Use process_manager instead of raising it for persistent processes.

Frequently asked questions

What does the Shell Skill AI skill do?

Execute short-lived shell commands inside the per-workflow workspace. Uses Nushell when installed and otherwise the host shell. External tools on PATH (npm, node, python, git, ...) are available.

Why use Shell Skill on TypingMind?

Because you install it once and use it with any model. Shell Skill is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Shell Skill in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/zeenie-ai/OpenCompany/tree/main/server/skills/terminal/shell-skill. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Shell Skill?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Shell Skill?

As many as you like. As long as a model supports skills, you can use Shell Skill with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Shell Skill AI skill free?

Yes. It is published on GitHub by zeenie-ai under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇