The working directory persists between commands, but shell state does not. The shell environment is initialized from the user's profile (bash or zsh).
Tool Description: Bash (working directory)
Bash tool note about working directory persistence and shell state
Tool Description: Bash (working directory) by Lord1Egypt · 7e27901
npx skillmds@latest add lord1egypt/tool-description-bash-working-directory File contents
---name: tool-description-bash-working-directorydescription: Bash tool note about working directory persistence and shell statelicense: BSD-3-Clause license---The working directory persists between commands, but shell state does not. The shell environment is initialized from the user's profile (bash or zsh).
Lord1Egypt/ai-skillforge/tree/main/js/skills/gemini/tool-description-bash-working-directory commit 7e2790140d
Frequently asked questions
Run npx skillmds@latest add lord1egypt/tool-description-bash-working-directory in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Bash tool note about working directory persistence and shell state It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free. This skill is licensed under BSD-3-Clause license.
Lord1Egypt (@lord1egypt) published this skill. Their other Agent Skills are listed on their SkillMD profile.