copy-transcript-path
Pass
Audited by Gen Agent Trust Hub on Aug 10, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes a local shell script (
scripts/copy-transcript-path.sh) to automate the retrieval of transcript paths. - It uses the
findutility to search for.jsonltranscript files within application-specific directories in the user's home folder (~/.claude/projectsor~/.codex/sessions). - It interacts with the macOS clipboard using the
/usr/bin/pbcopybinary. - It validates that session identifiers (provided via environment variables
CLAUDE_CODE_SESSION_IDorCODEX_THREAD_ID) are valid UUIDs using a regular expression before using them in file search patterns. - It allows for flexibility in environments via optional variables like
COPY_TRANSCRIPT_PATH_PBCOPYandCLAUDE_CONFIG_DIR.
Audit Metadata