# script: list-transcripts-here **Location:** `claude-foundations/scripts/list-transcripts-here.sh` **Symlinked to:** `~/.claude/scripts/list-transcripts-here.sh` ## Purpose Thin wrapper around `extract-transcripts.py --list "$(pwd)"`. Exists because SKILL.md bang commands (`!`command``) cannot use `$()` substitution — the Claude Code permission checker rejects it. The wrapper runs the substitution internally (in bash, where it's fine) and outputs the result. ## Usage ```bash # From within a project directory bash ~/.claude/scripts/list-transcripts-here.sh # → JSON array of unprocessed transcript backups for the current cwd ``` ## How it works Single line: `python3 "$HOME/.claude/scripts/extract-transcripts.py" --list "$(pwd)"` ## Gotchas - Must be called with `bash list-transcripts-here.sh` (not `python3`) — it's a shell wrapper, not a Python script - Output is the same as `extract-transcripts.py --list`, so check that script's docs for the JSON format - The `$()` substitution is the entire reason this wrapper exists; if that restriction is ever lifted from SKILL.md bang commands, this wrapper can be removed