Preview a cited source or summary in place, as a Claude Code mod

Open
#18,928 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active

Research direction

Start from the two comments on the issue and the repo's built-in plugin-authoring skill, since the acceptance criteria require an agreed design with the owner before any build. Read the /planning:interview skill to see the current vscode://file/<path>:<line> stopgap that must remain the fallback. Done means an agreed design for trigger, placement in terminal and desktop, multi-line and multi-file citations, and degradation, plus a proof of concept previewing one file line and one web page section in place.

Written by the indexing model from the issue text.

Description

needs-human needs-owner-decision needs-triage

User story

As a person reading agent output in Claude Code (terminal or desktop app), I want to see the exact source behind a claim, or a short curated summary of it, in place: a side pane or pop-up showing the cited line, section or snippet. Today a citation either sends me to a file to hunt for the spot, or names a source I must open and wade through. The goal is to see only the information I need when I need it, within what a person can hold at once.

Surfaced while redesigning /planning:interview rounds: a source link that opens a whole file "adds no value or little value" unless it lands on the exact line. A vscode://file/<path>:<line> link now does that as a stopgap. This mod is the fuller answer, and it is not limited to links: any skill could use it to surface content and summaries.

Acceptance criteria

  • A design is agreed with the owner before any build (human in the loop): what triggers a preview (click, hover, a command), where it shows (pane, pop-up) in the terminal and in the desktop app, and what it shows (exact line, a section, several lines across files, or an agent-curated summary).
  • A proof of concept shows one cited source (a file line and a web page section) previewed in place without leaving the session.
  • The design covers a citation that spans several lines or several files.
  • The design states how it degrades where the mod cannot run (the vscode:// line link stays the fallback).

Affected area / component

A new Claude Code mod (built with the built-in plugin-authoring skill); consumers: /planning:interview first, then any skill that cites sources.

Dominant language
Shell
Stars
22
Forks
2
Avg merge
2h
Merged PRs (30d)
960

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from melodic-software/claude-code-plugins

All issues in melodic-software/claude-code-plugins

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.