mediapane-claude
A mediapane plugin for coding agents. It costs Claude almost no tokens: it shows you media instead of having Claude read it.
- A Claude Code hook. Images, GIFs and videos Claude writes, edits or reads appear in your
pane, and so do media files a Bash command just made (
python plot.py,ffmpeg … out.mp4). The hook prints nothing, so it adds nothing to Claude's context. - A skill. Tells Claude to show you files with
mprather than reading them (reading a typical plot costs about 1,800 tokens), and to look at images itself throughmediapane peek, a copy at most 768 px wide. Only its one-line description is always in context. - An MCP server,
mediapane mcp, with ashow_mediatool, for agents that can't runmp.
Install
uv tool install mediapane --with mediapane-claude
then either the Claude Code plugin (hook and skill, managed with /plugin):
/plugin install mediapane --marketplace hematteo/mediapane
or, without the plugin system:
mediapane claude install # hook in ~/.claude/settings.json, skill in ~/.claude/skills/
mediapane claude install --project . uses the project's .claude/ instead, --no-skill adds
only the hook, --dry-run shows the change without making it. Install is idempotent, keeps
everything else in the settings file (and follows a symlinked one), and leaves a timestamped
backup beside it. mediapane claude uninstall removes both again.
For agents without a shell: claude mcp add mediapane -- mediapane mcp (Claude Code), or the
equivalent in your MCP client.
Usage
Start a pane (mediapane open) and use Claude Code as usual. The hook does nothing when no pane
is running and always exits 0, so it can't get in Claude's way. For Bash it only shows media
files named in the command and modified in the last two minutes (at most 10), and skips
commands that run mp or mediapane themselves; the pane also folds the same file pushed twice
into one item. Set MEDIAPANE_DEBUG=1 to see what it does on stderr.
The show_media tool takes path, and optionally name, and tag + step to group images
into a series (one gallery entry, stepped with ←/→).
Metadata
Release files for mediapane-claude 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mediapane_claude-0.1.0.tar.gz | 22.1 kB | With provenance | Details for mediapane_claude-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mediapane_claude-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for mediapane_claude-0.1.0-py3-none-any.whl |
Total release size: 36.7 kB
Release files / mediapane_claude-0.1.0.tar.gz
| Download URL | mediapane_claude-0.1.0.tar.gz |
|---|---|
| Size | 22.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e270fbf8ef03a6a553eadea6cf14b6251ef42aab0b58514c4aa02d8ad59dd987
|
|
BLAKE2b-256 checksum How to use checksums |
0c2f69cce2c3501f102459a21d6e25180601ab96e0340de39984cc57f483ab18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.
Transparency logRelease files / mediapane_claude-0.1.0-py3-none-any.whl
| Download URL | mediapane_claude-0.1.0-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
93d7f1d4e18fbb1dd8620cbbcbe8f8e246fa66cdebb6c7c9bf22a155a6372bb2
|
|
BLAKE2b-256 checksum How to use checksums |
bb227839a8994b3089878bb6a9e482155880a74736377e99a15713380409d639
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.
Transparency logSecurity for mediapane-claude 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for mediapane_claude-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.