smithery.ai

Fork Bash Skill

Execute agentic coding tools directly via bash commands with output capture. Use this when the user requests to run AI agents (Gemini, Claude Code, etc.) and get their results directly.

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents claude-code codex gemini

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,180 B
  • docs SUMMARY.md 208 B

History

  1. First recorded snapshot · 1 installs

SKILL.md

Purpose

Execute agentic coding tools directly via bash commands and capture their output in real-time. This is a simpler and more reliable alternative to fork-terminal for one-off tasks.

Follow the Instructions, execute the Workflow, based on the Cookbook.

Variables

ENABLEGEMINICLI: true ENABLECLAUDECODE: true ENABLECODEXCLI: true AGENTICCODINGTOOLS: gemini, claude-code, codex

Instructions

  • Based on the user's request, follow the Cookbook to determine which tool to use.
  • Execute the command directly using bash and capture stdout/stderr
  • Return the output to the user immediately

Workflow

  1. Understand the user's request
  2. Follow the Cookbook to determine which tool to use
  3. Construct the appropriate bash command
  4. Execute using the Bash tool with appropriate timeout
  5. Return results to the user

Cookbook

Gemini CLI

  • IF: The user requests Gemini to execute a task AND ENABLEGEMINICLI is true
  • THEN: Read and execute: .claude/skills/fork-bash/cookbook/gemini-cli.md
  • EXAMPLES:

- "Use Gemini to scrape the latest news from CNN" - "Ask Gemini to analyze this webpage" - "Run Gemini with yolo mode to get information about X"

Claude Code

  • IF: The user requests Claude Code agent AND ENABLECLAUDECODE is true
  • THEN: Read and execute: .claude/skills/fork-bash/cookbook/claude-code.md
  • EXAMPLES:

- "Use Claude Code to refactor this file" - "Ask Claude Code to analyze the codebase"

Codex CLI

  • IF: The user requests Codex AND ENABLECODEXCLI is true
  • THEN: Read and execute: .claude/skills/fork-bash/cookbook/codex-cli.md
  • EXAMPLES:

- "Use Codex to generate code for X" - "Ask Codex to explain this function"

Notes

  • This skill executes commands synchronously and captures output
  • Use appropriate timeouts based on task complexity
  • Always use YOLO mode (-y flag) for automated execution
  • Output is captured directly from stdout/stderr