Skip to content

v1.3.7: show the invoking skill of each subagent in the conversation view - #33

Merged
loadchange merged 2 commits into
mainfrom
claude/skill-invocation-source-z3qv8p
Jul 23, 2026
Merged

v1.3.7: show the invoking skill of each subagent in the conversation view#33
loadchange merged 2 commits into
mainfrom
claude/skill-invocation-source-z3qv8p

Conversation

@loadchange

@loadchange loadchange commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Attribute each subagent to the skill that spawned it (parent thread's Skill tool_use input, falling back to the transcript's "Base directory for this skill:" sentinel) and show it as type:skill in the subagent dropdown/inline blocks plus an "Invoked skill" row in the right stats panel, mirrored across the JS/Tauri backends and the HTML export; bumps the version to 1.3.7 so merging ships the release.

Attribute each subagent to its invoking skill — primarily from the parent
thread's `Skill` tool_use input, with the transcript's "Base directory for
this skill:" sentinel line as fallback — and surface it as `type:skill` in
the subagent dropdown / inline blocks and as an "Invoked skill" row in the
right stats panel (hidden for plain agents). Mirrored across the JS and
Tauri backends and the HTML export.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ev7HGAZmHZccXPggTnusjA

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds end-to-end “invoked skill” attribution for subagents in the conversation UI and exports, so users can see which Skill call (or transcript sentinel fallback) produced a given subagent.

Changes:

  • Attribute subagents to the spawning Skill tool_use’s input.skill, with a fallback derived from the subagent transcript’s “Base directory for this skill:” sentinel.
  • Display this attribution as type:skill in the subagent dropdown and inline subagent blocks, and add an “Invoked skill” row in the right-side stats panel.
  • Mirror the behavior across the JS main process, the Tauri backend, and the HTML export runtime, with tests covering precedence and fallback behavior.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
test/history.test.js Adds tests for skill attribution precedence (tool_use over sentinel) and sentinel-only fallback, including HTML export parity.
src/shared/i18n-dict.js Adds the conv.stat.skill i18n key across all supported locales.
src/renderer/conversations.js Renders type:skill labels for subagents and shows “Invoked skill” in the stats panel (filtered when absent).
src/main/history.js Implements skillFromRecs (sentinel parsing) and applySkillNames (Skill tool_use override) and wires them into session/subagent shaping.
src/main/exportHtml.js Applies the same skill attribution logic when building HTML export data.
src/main/export-assets/runtime.js Updates HTML export runtime rendering to show type:skill for subagents.
src-tauri/src/history.rs Ports sentinel parsing + Skill tool_use override attribution logic to the Rust backend and includes it in session/subagent output.
src-tauri/src/exporthtml.rs Applies Rust-side skill attribution when building HTML export data.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ev7HGAZmHZccXPggTnusjA
@loadchange loadchange changed the title Show the invoking skill of each subagent in the conversation view v1.3.7: show the invoking skill of each subagent in the conversation view Jul 23, 2026
@loadchange
loadchange merged commit 4d9a29f into main Jul 23, 2026
3 checks passed
@loadchange
loadchange deleted the claude/skill-invocation-source-z3qv8p branch July 23, 2026 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants