[FEATURE] Allow to interpret the stdout of hooks

Resolved 💬 4 comments Opened Oct 1, 2025 by yansfil Closed Jan 7, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

Currently, apart from UserPromptSubmit, hooks do not read stdout as context.

However, I believe that supporting this in other events as well could greatly enhance extensibility.

For example, before reading a specific file, the system could also load additional context, enabling more context-rich operations.

Proposed Solution

Add a flag to control whether Claude Code uses the hook’s stdout as context.

Alternative Solutions

I can't find alternatives

Priority

Medium - Would be very helpful

Feature Category

Configuration and settings

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗