shell
Skill4 starsChanged 7 months agoMITView on GitHub
Efficient shell command handling. You MUST load this skill when handling shell commands with performance monitoring or timeouts.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- JameMy0001/antigravity-skills-hubtheir own version, first seen Oct 2, 2026
- leishifu666/skillstheir own version, first seen Sep 29, 2026
- pale-knight/redteam-skilltheir own version, first seen Aug 20, 2026
- posidoni/shell-skilltheir own version, first seen Jul 19, 2026
- nimadorostkar/Claude-Skills-collectiontheir own version, first seen Jul 14, 2026
- last9/mithaitheir own version, first seen Jun 25, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- pale-knight/redteam-skill★ 48same name
- nimadorostkar/Claude-Skills-collection★ 28same name
- last9/mithai★ 18same name
- ffsshhttiikk/opencode-agents-skills★ 2same name
- JameMy0001/antigravity-skills-hub★ 1same name
- leishifu666/skills★ 1same name
- PandelisZ/skills★ 1same name
- posidoni/shell-skill★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository124 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- .github/workflows/AGENTS.mdAGENTS.md
- .vscode/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- agent-log-analysisSkill
- agent-mdSkill
- agent-md-writerSkill
- agent-skill-md-writerSkill
- agentskillsSkill
- agents-md-writerSkill
- ai-prompt-writerSkill
- ansibleSkill
- apache-airflow-apiSkill
- apache-airflow-dagsSkill
- astro-cliSkill
- astronomer-docsSkill
- awesome-copilotSkill
- brainstorm-agent-runsSkill
- brainstorm-github-prSkill
- brainstormSkill
- catSkill
- chrome-devtoolsSkill
- claude-docsSkill
- codeqlSkill
- code-reviewSkill
- code-tourSkill
- coding-standard-writerSkill
- context-aware-opsSkill
- copilot-cliSkill
- copilot-docsSkill
- critical-thinkingSkill
- datadog-agentSkill
- datadog-apiSkill
- datadog-mcpSkill
- datadog-monitorsSkill
- datadog-pulumiSkill
- devcontainerSkill
- dictationSkill
- direnvSkill
- dockerfileSkill
- dockerSkill
- docs-reviewSkill
- docs-writerSkill
- dot-claudeSkill
- dotfilesSkill
- dot-githubSkill
- editorconfigSkill
- fact-writerSkill
- gdpr-compliantSkill
- gh-agent-taskSkill
- gh-apiSkill
- gh-aw-compileSkill
- gh-aw-firewall-debugSkill
- gh-aw-firewallSkill
- gh-aw-newSkill
- gh-awSkill
- gh-aw-troubleshootingSkill
- gh-codespaceSkill
- gh-issueSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 44
Use timeout to prevent indefinite hangs:
- Very specific: line 61
Use time for all long operations to track performance
- Distinctive: line 63
If command results are unexpected, briefly explain what happened and why.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Shell Handling Skill
Execute shell commands with performance monitoring and timeout protection.
When to Use
- Commands that might hang indefinitely
- Long-running commands (builds, tests, deployments)
- Performance optimization and debugging
When Not to Use
- Quick, reliable commands that execute in milliseconds
- Interactive terminal sessions requiring human input
- Operations better handled by specialized built-in agents or native APIs
Common Pitfalls
- Ignoring Exit Codes: Piping with
timeortimeoutcan mask the exit code of the underlying command. Useset -o pipefailor check$?carefully. - Overly Aggressive Timeouts: Setting a timeout too close to the expected duration can cause false failures on slower environments (like CI/CD). Add a healthy buffer.
- Runaway Child Processes:
timeoutmight not kill child processes spawned by the target command unless used with--kill-afteror running in a new process group.
Core Patterns
Measure Execution Time
Prefix commands with time for duration visibility:
time command
time npm run buildLimit Execution Time
Use timeout to prevent indefinite hangs:
timeout 30s command
timeout 60s npm test || echo "Failed or timed out"Combined Usage
time timeout 300s build_script.shKey Points
- Combine with
||for error handling fallbacks - Set
timeoutbased on expected runtime plus buffer - Use
timefor all long operations to track performance timeout --kill-after=5s 30sfor forceful termination if needed- If command results are unexpected, briefly explain what happened and why.
Related Skills
- robust-commands: You MUST load this skill when executing commands requiring resilient error recovery or fallbacks.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

