Skip to content

Read shared files in code channels, not just their names #111

Backlog

Description

@zimeg

Summary

The coding agent should read the files people share in a code channel, not just respond to them.

Since #110, a file shared into a code channel starts a turn and the agent sees its name, like (attachment: trace.png). It can't open the file, so a screenshot of an error or a log file doesn't help the agent much yet.

Suggestion

  • Add the files:read bot scope to each app's manifest.json. Installed apps would need a reinstall.
  • Download each file from url_private with the bot token, sending the token only to a Slack file host, as downloading files describes.
  • Pass the file to the model in each SDK's own way: images as image input, and text files as text or into the workspace. That differs across the Claude Agent SDK, OpenAI Agents SDK and Pydantic AI apps.
  • Decide limits for large or unsupported files, and how the agent says it skipped one.

Context

Thanks to @thatsamguy for reporting the dropped file shares that #110 fixed.

Activity

  1. added
    enhancement
    on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions