execute_shell_command
Execute standard Bash shell commands in a non-interactive environment.
Skill by zzatpku
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/zzatpku-execute-shell-command
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.
About
Reviews
Write a reviewNo 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. 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/execute-shell-command
What's inside
- Skill name
execute_shell_command- Description
- Execute standard Bash shell commands in a non-interactive environment. Supports file system navigation, reading, pip installation and so on. The current work_dir for shell command executing will be a temp dir.
- License
- MIT
- Instructions
- 55 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- name: "execute_shell_command" does not match folder "shell_command"
Files (1)
- SKILL.md
SKILL.md (first lines)
# Shell Command Tool
⚠️ **IMPORTANT RESTRICTION**: You CANNOT use this tool directly! To execute shell commands, you MUST first create a subagent (using `create_subagent` skill) and then run it (using `run_subagent` skill). Direct execution of shell commands is not allowed.
execute_shell_command: A bridge to the local operating system shell. Allows execution of standard Bash commands.
## Usage
```python
from tools import execute_shell_command
# List files
output = execute_shell_command("ls -la")
# Read a file
content = execute_shell_command("cat -n README.md")
```
## Parameters
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| command | str | required | The Bash command to execute |
## Returns
Returns a single string containing the command's standard output (stdout) and standard error (stderr) combined.
**Note**: 1. Safety Interception: Commands like `rm`, `rmdir`, `shred` are strictly forbidden and will return an error string. 2. Output Truncation: If the output exceeds 5000 characters, it will be truncated. Use `head`, `tail`, or `grep` for large files.
## Example
```python
from tools import execute_shell_command
# 1. Inspect current directory
print(execute_shell_command("ls -F"))
# 2. Install a package (if network is available)
print(execute_shell_command("pip install pandas"))
# 3. Read a specific part of a file (safe for large files)
print(execute_shell_command("head -n 20 data.csv"))
```
## Tips
- Non-Interactive: Do NOT use interactive tools like `vim`, `nano`, or `python` (without `-c`). The process will hang.
- Reading Files: Prefer `cat -n filename` to see line numbers, which is helpful for editing later.
- Large Files: Avoid `cat` on large files. Use `head -n 50 filename` to peek, or `grep` to search.
- Environment: You are in a standard Bash environment. You can use pipes: `ls -la | grep .py`.
- State: The working directory is persistent. `cd folder` works for subsequent commands.
- Environment Setup: Use this tool to install Python packages and other dependencies needed by your subagent. For example: `pip install playwright && playwright install chromium`, `pip install pandas`, etc.From zzatpku/AgentFactory, MIT.
More from zzatpku/AgentFactory
- 0.513score
finish
zzatpku
Complete the task with a final answer and save reusable subagents as skills.
SkillDFreshness: D★ 66Claude Code +9 - 0.510score
playwright
zzatpku
Browser automation via Playwright.
SkillDFreshness: D★ 66Claude Code +9 - 0.509score
view_subagent_code
zzatpku
View the source code of a saved subagent skill.
SkillDFreshness: D★ 66Claude Code +9 - 0.509score
list_saved_subagents
zzatpku
List all previously saved subagent skills.
SkillDFreshness: D★ 66Claude Code +9 - 0.506score
open_page
zzatpku
Retrieve the full content of a document by its ID.
SkillDFreshness: D★ 66Claude Code +9 - 0.506score
google_search
zzatpku
Search the internet via Google (Serper API).
SkillDFreshness: D★ 66Claude Code +9 - 0.506score
local_search
zzatpku
Search for relevant documents in the local knowledge base.
SkillDFreshness: D★ 66Claude Code +9 - 0.503score
run_subagent
zzatpku
Run a subagent - either a newly created one from workspace or a saved subagent from previous sessions.
SkillDFreshness: D★ 66Claude Code +9 - 0.503score
modify_subagent
zzatpku
Edit an existing subagent file by replacing specific code snippets.
SkillDFreshness: D★ 66Claude Code +9 - 0.502score
create_subagent
zzatpku
Create a new Python subagent file in the workspace.
SkillDFreshness: D★ 66Claude Code +9 - 0.502score
read_url_jina
zzatpku
Retrieve the full content of a web page by its URL.
SkillDFreshness: D★ 66Claude Code +9 - 0.273score
tencent_docs_final
zzatpku
No description from the publisher yet.
SkillDFreshness: D★ 66Claude Code +9
Signals
- Stars
- 66
- Forks
- 8
- Open issues
- 0
- Last commit (this folder)
- Feb 28, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/zzatpku/AgentFactory
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from zzatpku
- 0.513score
finish
zzatpku
Complete the task with a final answer and save reusable subagents as skills.
SkillDFreshness: D★ 66Claude Code +9 - 0.510score
playwright
zzatpku
Browser automation via Playwright.
SkillDFreshness: D★ 66Claude Code +9 - 0.509score
view_subagent_code
zzatpku
View the source code of a saved subagent skill.
SkillDFreshness: D★ 66Claude Code +9 - 0.509score
list_saved_subagents
zzatpku
List all previously saved subagent skills.
SkillDFreshness: D★ 66Claude Code +9 - 0.506score
open_page
zzatpku
Retrieve the full content of a document by its ID.
SkillDFreshness: D★ 66Claude Code +9 - 0.506score
google_search
zzatpku
Search the internet via Google (Serper API).
SkillDFreshness: D★ 66Claude Code +9
Cite this page
execute_shell_command skill. Agent Mart. https://agentmart.dev/skills/zzatpku-execute-shell-command (last updated 2026-10-24)