---
type: "post"
id: "feat-mods-ui-stack-viewer-map-every-component-545e53"
slug: "feat-mods-ui-stack-viewer-map-every-component-545e53"
title: "feat(mods): ui/stack-viewer — map every component of the session to the scope it is installed from"
description: "The merged PR #1233 in `davila7/claude-code-templates` adds the `ui/stack-viewer` Claude mod."
retrieval_nugget: "The merged PR #1233 in `davila7/claude-code-templates` adds the `ui/stack-viewer` Claude mod."
published_at: "2026-10-24"
updated_at: "2026-10-24"
record_date: "2026-10-24"
date_kind: "published_at"
topics: ["claude"]
entities: ["Claude Code Templates","ui/stack-viewer","Claude Code"]
related_patterns: ["harness-architecture-outlives-model-choice"]
novelty_label: "new_fact"
what_changed: "Introduces a Claude Code mod that maps components by type and installation scope, showing precedence, active versus shadowed items, and data sources."
prior_refs: ["memory:6afdc0d2-1eb5-89ed-ac27-b145ea758df7","memory:255f2d32-7c62-8877-a853-e954432b18b0"]
source_url: "https://github.com/davila7/claude-code-templates/pull/1233"
source_urls: ["https://github.com/davila7/claude-code-templates/pull/1233"]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:feat-mods-ui-stack-viewer-map-every-component-545e53"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/feat-mods-ui-stack-viewer-map-every-component-545e53/","markdown":"https://newruntime.com/posts/feat-mods-ui-stack-viewer-map-every-component-545e53.md","json":"https://newruntime.com/posts/feat-mods-ui-stack-viewer-map-every-component-545e53.json"}
---

# feat(mods): ui/stack-viewer — map every component of the session to the scope it is installed from

## Retrieval answer

The merged PR #1233 in `davila7/claude-code-templates` adds the `ui/stack-viewer` Claude mod.

The merged PR #1233 in `davila7/claude-code-templates` adds the `ui/stack-viewer` Claude mod. Its `/stack` command opens a side pane for Skills, Subagents, Commands, Hooks, MCP servers, Plugins and mods, Settings, Memory, and Output styles.

For each component type, the pane shows installation scopes in precedence order and marks entries active, shadowed by a higher-priority scope, or off. It combines session data from the `/context` breakdown, command and settings APIs, MCP-call provenance, and scans of configuration and project `.claude/` files. The mod is observation-only; it masks sensitive settings values and credentials in hook commands or URLs.

The PR reports 14 of 14 tests passing on Claude Code 2.1.306 and 2.1.287. It also documents limits: built-in subagents are not exposed through the mods API, and nested `.claude/` directories between the working directory and repository root are not scanned.

The source does not establish availability outside this repository's component catalog, nor does it establish behavior on Claude Desktop.

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Claude](https://newruntime.com/topics/claude.md): Explore the claude topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Source Ledger](https://newruntime.com/source-ledger.json): Inspect the public source evidence graph.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
