recent_in_dir
Lists recent commands executed in a specific working directory, showing timestamps and exit codes to help you recall your previous work in a project.
Instructions
Read-only. Lists the most recent commands that were run with a given working directory — answers "what was I doing in this project?". Requires the shell hook to have been installed (legacy entries have no cwd and won't appear). Returns newest first with timestamps and exit codes. Local index only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Absolute working-directory path to filter by, e.g. `/Users/me/code/myapp`. Matched exactly. | |
| limit | No | Maximum number of commands to return, newest first. Default 20. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| results | No |