cd
Installation
SKILL.md
cd - Enhanced Directory Navigation
The cd module is a powerful replacement for the standard cd command, implemented in shell and awk. It offers interactive history navigation, keyword-based jumping, and directory aliasing.
When to Activate
- When the user wants to jump to a directory based on a keyword in its path.
- When navigating back to a parent directory using a keyword match (
-b). - When performing a forward search for subdirectories (
-f). - When managing or using directory "realms" (aliases).
- When executing a command in another directory and returning immediately.
Core Principles & Rules
- Seamless Jump: Use
,for interactive history search or,keywordfor direct jumps. - Bi-directional Navigation: Use
-bto go "backwards" (up the tree) and-fto go "forwards" (down into subfolders). - Execution Wrappers: Support for executing commands in a target directory without permanently changing the session path.