@claude-view/plugin 0.27.0 → 0.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/.claude-plugin/plugin.json +2 -2
  2. package/README.md +65 -14
  3. package/dist/client.d.ts +5 -0
  4. package/dist/client.d.ts.map +1 -1
  5. package/dist/client.js +30 -0
  6. package/dist/client.js.map +1 -1
  7. package/dist/server.d.ts.map +1 -1
  8. package/dist/server.js +10 -2
  9. package/dist/server.js.map +1 -1
  10. package/dist/tools/generated/classify.d.ts +3 -0
  11. package/dist/tools/generated/classify.d.ts.map +1 -0
  12. package/dist/tools/generated/classify.js +48 -0
  13. package/dist/tools/generated/classify.js.map +1 -0
  14. package/dist/tools/generated/coaching.d.ts +3 -0
  15. package/dist/tools/generated/coaching.d.ts.map +1 -0
  16. package/dist/tools/generated/coaching.js +45 -0
  17. package/dist/tools/generated/coaching.js.map +1 -0
  18. package/dist/tools/generated/contributions.d.ts +3 -0
  19. package/dist/tools/generated/contributions.d.ts.map +1 -0
  20. package/dist/tools/generated/contributions.js +56 -0
  21. package/dist/tools/generated/contributions.js.map +1 -0
  22. package/dist/tools/generated/export.d.ts +3 -0
  23. package/dist/tools/generated/export.d.ts.map +1 -0
  24. package/dist/tools/generated/export.js +18 -0
  25. package/dist/tools/generated/export.js.map +1 -0
  26. package/dist/tools/generated/facets.d.ts +3 -0
  27. package/dist/tools/generated/facets.d.ts.map +1 -0
  28. package/dist/tools/generated/facets.js +48 -0
  29. package/dist/tools/generated/facets.js.map +1 -0
  30. package/dist/tools/generated/health.d.ts +3 -0
  31. package/dist/tools/generated/health.d.ts.map +1 -0
  32. package/dist/tools/generated/health.js +36 -0
  33. package/dist/tools/generated/health.js.map +1 -0
  34. package/dist/tools/generated/ide.d.ts +3 -0
  35. package/dist/tools/generated/ide.d.ts.map +1 -0
  36. package/dist/tools/generated/ide.js +30 -0
  37. package/dist/tools/generated/ide.js.map +1 -0
  38. package/dist/tools/generated/index.d.ts +3 -0
  39. package/dist/tools/generated/index.d.ts.map +1 -0
  40. package/dist/tools/generated/index.js +57 -0
  41. package/dist/tools/generated/index.js.map +1 -0
  42. package/dist/tools/generated/insights.d.ts +3 -0
  43. package/dist/tools/generated/insights.d.ts.map +1 -0
  44. package/dist/tools/generated/insights.js +73 -0
  45. package/dist/tools/generated/insights.js.map +1 -0
  46. package/dist/tools/generated/jobs.d.ts +3 -0
  47. package/dist/tools/generated/jobs.d.ts.map +1 -0
  48. package/dist/tools/generated/jobs.js +16 -0
  49. package/dist/tools/generated/jobs.js.map +1 -0
  50. package/dist/tools/generated/monitor.d.ts +3 -0
  51. package/dist/tools/generated/monitor.d.ts.map +1 -0
  52. package/dist/tools/generated/monitor.js +16 -0
  53. package/dist/tools/generated/monitor.js.map +1 -0
  54. package/dist/tools/generated/oauth.d.ts +3 -0
  55. package/dist/tools/generated/oauth.d.ts.map +1 -0
  56. package/dist/tools/generated/oauth.js +36 -0
  57. package/dist/tools/generated/oauth.js.map +1 -0
  58. package/dist/tools/generated/pairing.d.ts +3 -0
  59. package/dist/tools/generated/pairing.d.ts.map +1 -0
  60. package/dist/tools/generated/pairing.js +38 -0
  61. package/dist/tools/generated/pairing.js.map +1 -0
  62. package/dist/tools/generated/plans.d.ts +3 -0
  63. package/dist/tools/generated/plans.d.ts.map +1 -0
  64. package/dist/tools/generated/plans.js +18 -0
  65. package/dist/tools/generated/plans.js.map +1 -0
  66. package/dist/tools/generated/plugins.d.ts +3 -0
  67. package/dist/tools/generated/plugins.d.ts.map +1 -0
  68. package/dist/tools/generated/plugins.js +73 -0
  69. package/dist/tools/generated/plugins.js.map +1 -0
  70. package/dist/tools/generated/processes.d.ts +3 -0
  71. package/dist/tools/generated/processes.d.ts.map +1 -0
  72. package/dist/tools/generated/processes.js +32 -0
  73. package/dist/tools/generated/processes.js.map +1 -0
  74. package/dist/tools/generated/projects.d.ts +3 -0
  75. package/dist/tools/generated/projects.d.ts.map +1 -0
  76. package/dist/tools/generated/projects.js +45 -0
  77. package/dist/tools/generated/projects.js.map +1 -0
  78. package/dist/tools/generated/prompts.d.ts +3 -0
  79. package/dist/tools/generated/prompts.d.ts.map +1 -0
  80. package/dist/tools/generated/prompts.js +48 -0
  81. package/dist/tools/generated/prompts.js.map +1 -0
  82. package/dist/tools/generated/reports.d.ts +3 -0
  83. package/dist/tools/generated/reports.d.ts.map +1 -0
  84. package/dist/tools/generated/reports.js +53 -0
  85. package/dist/tools/generated/reports.js.map +1 -0
  86. package/dist/tools/generated/settings.d.ts +3 -0
  87. package/dist/tools/generated/settings.d.ts.map +1 -0
  88. package/dist/tools/generated/settings.js +41 -0
  89. package/dist/tools/generated/settings.js.map +1 -0
  90. package/dist/tools/generated/share.d.ts +3 -0
  91. package/dist/tools/generated/share.d.ts.map +1 -0
  92. package/dist/tools/generated/share.js +40 -0
  93. package/dist/tools/generated/share.js.map +1 -0
  94. package/dist/tools/generated/sync.d.ts +3 -0
  95. package/dist/tools/generated/sync.d.ts.map +1 -0
  96. package/dist/tools/generated/sync.js +36 -0
  97. package/dist/tools/generated/sync.js.map +1 -0
  98. package/dist/tools/generated/system.d.ts +3 -0
  99. package/dist/tools/generated/system.d.ts.map +1 -0
  100. package/dist/tools/generated/system.js +68 -0
  101. package/dist/tools/generated/system.js.map +1 -0
  102. package/dist/tools/generated/teams.d.ts +3 -0
  103. package/dist/tools/generated/teams.d.ts.map +1 -0
  104. package/dist/tools/generated/teams.js +40 -0
  105. package/dist/tools/generated/teams.js.map +1 -0
  106. package/dist/tools/generated/telemetry.d.ts +3 -0
  107. package/dist/tools/generated/telemetry.d.ts.map +1 -0
  108. package/dist/tools/generated/telemetry.js +18 -0
  109. package/dist/tools/generated/telemetry.js.map +1 -0
  110. package/dist/tools/generated/turns.d.ts +3 -0
  111. package/dist/tools/generated/turns.d.ts.map +1 -0
  112. package/dist/tools/generated/turns.js +18 -0
  113. package/dist/tools/generated/turns.js.map +1 -0
  114. package/dist/tools/generated/workflows.d.ts +3 -0
  115. package/dist/tools/generated/workflows.d.ts.map +1 -0
  116. package/dist/tools/generated/workflows.js +64 -0
  117. package/dist/tools/generated/workflows.js.map +1 -0
  118. package/dist/tools/live.d.ts +1 -10
  119. package/dist/tools/live.d.ts.map +1 -1
  120. package/dist/tools/live.js.map +1 -1
  121. package/dist/tools/sessions.d.ts +1 -10
  122. package/dist/tools/sessions.d.ts.map +1 -1
  123. package/dist/tools/sessions.js.map +1 -1
  124. package/dist/tools/stats.d.ts +1 -10
  125. package/dist/tools/stats.d.ts.map +1 -1
  126. package/dist/tools/stats.js.map +1 -1
  127. package/dist/tools/types.d.ts +10 -0
  128. package/dist/tools/types.d.ts.map +1 -0
  129. package/dist/tools/types.js +2 -0
  130. package/dist/tools/types.js.map +1 -0
  131. package/package.json +19 -7
  132. package/skills/coaching/SKILL.md +176 -0
  133. package/skills/coaching/SKILL.md.tmpl +52 -0
  134. package/skills/daily-cost/SKILL.md +132 -0
  135. package/skills/daily-cost/SKILL.md.tmpl +45 -0
  136. package/skills/export-data/SKILL.md +169 -0
  137. package/skills/export-data/SKILL.md.tmpl +45 -0
  138. package/skills/insights/SKILL.md +174 -0
  139. package/skills/insights/SKILL.md.tmpl +50 -0
  140. package/skills/project-overview/SKILL.md +181 -0
  141. package/skills/project-overview/SKILL.md.tmpl +57 -0
  142. package/skills/search/SKILL.md +167 -0
  143. package/skills/search/SKILL.md.tmpl +43 -0
  144. package/skills/session-recap/SKILL.md +131 -0
  145. package/skills/session-recap/SKILL.md.tmpl +42 -0
  146. package/skills/standup/SKILL.md +132 -0
  147. package/skills/standup/SKILL.md.tmpl +48 -0
  148. package/skills/team-status/SKILL.md +173 -0
  149. package/skills/team-status/SKILL.md.tmpl +49 -0
@@ -0,0 +1,167 @@
1
+ ---
2
+ name: search
3
+ description: "Use when the user wants to find something across their Claude Code history — e.g. 'find where I discussed X', 'search for Y', 'when did I work on Z'"
4
+ allowed-tools:
5
+ - mcp__claude-view__search_sessions
6
+ - mcp__claude-view__list_sessions
7
+ - mcp__claude-view__get_session
8
+ ---
9
+
10
+ You have access to the claude-view MCP server which provides tools for monitoring, analyzing, and managing Claude Code sessions. The claude-view server must be running on localhost (it auto-starts via the plugin hook).
11
+
12
+ **Important:** All tool names are prefixed with `mcp__claude-view__`. When calling a tool, always use the full prefixed name.
13
+
14
+ **Error handling:** If a tool returns an error about the server not being detected, tell the user to start it with `npx claude-view`.
15
+
16
+ # Session Search
17
+
18
+ Find sessions across the user's Claude Code history using full-text search.
19
+
20
+ ## Steps
21
+
22
+ 1. **Search sessions.** Call `mcp__claude-view__search_sessions` with the user's query as the `q` parameter.
23
+
24
+ 2. **If results are sparse**, try `mcp__claude-view__list_sessions` with the `q` filter parameter and `limit: 20` to catch sessions matched by metadata (project name, branch, model).
25
+
26
+ 3. **For the most relevant results** (top 3-5), call `mcp__claude-view__get_session` to get full details including commits and summary.
27
+
28
+ 4. **Present results:**
29
+
30
+ ```
31
+ ## Search Results — "[query]"
32
+
33
+ **Found:** N sessions
34
+
35
+ ### Top Matches
36
+ 1. **[project] / [branch]** — [date]
37
+ [summary or relevant snippet]
38
+ Session: [session_id] | Duration: Xm | Commits: N
39
+
40
+ 2. **[project] / [branch]** — [date]
41
+ [summary or relevant snippet]
42
+ Session: [session_id] | Duration: Xm | Commits: N
43
+ ```
44
+
45
+ 5. **If no results found**, suggest alternative search terms or broader filters. Mention that search covers session summaries, commit messages, and project/branch names.
46
+
47
+ ## Available Tools
48
+
49
+ | Tool | Description |
50
+ |------|-------------|
51
+ | **Session Tools** | |
52
+ | `list_sessions` | List sessions with filters |
53
+ | `get_session` | Get session details |
54
+ | `search_sessions` | Full-text search across sessions |
55
+ | **Stats Tools** | |
56
+ | `get_stats` | Dashboard statistics |
57
+ | `get_fluency_score` | AI Fluency Score (0-100) |
58
+ | `get_token_stats` | Token usage statistics |
59
+ | **Live Tools** | |
60
+ | `list_live_sessions` | Currently running sessions |
61
+ | `get_live_summary` | Aggregate live session summary |
62
+ | **Classify Tools** | |
63
+ | `classify_start_classification` | Trigger a classification job. |
64
+ | `classify_cancel_classification` | Cancel a running classification job. |
65
+ | `classify_single_session` | Classify a single session synchronously. |
66
+ | `classify_get_classification_status` | Get classification status. |
67
+ | **Coaching Tools** | |
68
+ | `coaching_list_rules` | List all coaching rules from the rules directory. |
69
+ | `coaching_apply_rule` | Create a new coaching rule file. |
70
+ | `coaching_remove_rule` | Remove a coaching rule file. |
71
+ | **Contributions Tools** | |
72
+ | `contributions_get_contributions` | Main contributions page data. |
73
+ | `contributions_get_branch_sessions` | Sessions for a branch. |
74
+ | `contributions_get_session_contribution` | Session contribution detail. |
75
+ | **Export Tools** | |
76
+ | `export_sessions` | Export all sessions. |
77
+ | **Facets Tools** | |
78
+ | `facets_facet_badges` | Quality badges (outcome + satisfaction) for the requested session IDs |
79
+ | `facets_trigger_facet_ingest` | Start facet ingest from the Claude Code insights cache |
80
+ | `facets_pattern_alert` | Check the most recent sessions for a negative satisfaction pattern |
81
+ | `facets_facet_stats` | Aggregate statistics across all session facets. |
82
+ | **Health Tools** | |
83
+ | `health_config` | config |
84
+ | `health_check` | Health check endpoint. |
85
+ | `health_get_status` | Get index metadata and data freshness info. |
86
+ | **Ide Tools** | |
87
+ | `ide_get_detect` | `GET /api/ide/detect` — return cached list of installed IDEs. |
88
+ | `ide_post_open` | `POST /api/ide/open` — open a file in the requested IDE. |
89
+ | **Insights Tools** | |
90
+ | `insights_get_insights` | Compute and return behavioral insights. |
91
+ | `insights_get_benchmarks` | Compute personal progress benchmarks. |
92
+ | `insights_get_categories` | Returns hierarchical category data. |
93
+ | `insights_get_insights_trends` | Get time-series trend data for charts. |
94
+ | `insights_list_invocables` | List all invocables with their usage counts. |
95
+ | `insights_get_fluency_score` | Get the current AI Fluency Score. |
96
+ | **Jobs Tools** | |
97
+ | `jobs_list_jobs` | List all active jobs. |
98
+ | **Monitor Tools** | |
99
+ | `monitor_snapshot` | - One-shot JSON snapshot of current resources. |
100
+ | **Oauth Tools** | |
101
+ | `oauth_get_auth_identity` | oauth identity |
102
+ | `oauth_get_oauth_usage` | oauth usage |
103
+ | `oauth_post_oauth_usage_refresh` | oauth usage refresh |
104
+ | **Pairing Tools** | |
105
+ | `pairing_list_devices` | GET /pairing/devices — List paired devices. |
106
+ | `pairing_unpair_device` | DELETE /pairing/devices/:id — Unpair a device. |
107
+ | `pairing_generate_qr` | GET /pairing/qr — Generate QR payload for mobile pairing. |
108
+ | **Plans Tools** | |
109
+ | `plans_get_session_plans` | - returns plan documents for the session's slug. |
110
+ | **Plugins Tools** | |
111
+ | `plugins_list_plugins` | Unified view of installed + available plugins. |
112
+ | `plugins_list_marketplaces` | plugins marketplaces |
113
+ | `plugins_refresh_all` | all |
114
+ | `plugins_refresh_status` | status |
115
+ | `plugins_list_ops_handler` | List all queued/running/completed ops. |
116
+ | `plugins_enqueue_op` | Enqueue a plugin mutation, return immediately. |
117
+ | **Processes Tools** | |
118
+ | `processes_cleanup_processes` | processes cleanup |
119
+ | `processes_kill_process` | processes {pid} kill |
120
+ | **Projects Tools** | |
121
+ | `projects_list_projects` | List all projects as lightweight summaries. |
122
+ | `projects_list_project_branches` | List distinct branches with session counts. |
123
+ | `projects_list_project_sessions` | Paginated sessions for a project. |
124
+ | **Prompts Tools** | |
125
+ | `prompts_list_prompts` | List prompt history with optional search/filter. |
126
+ | `prompts_get_prompt_stats` | Aggregate prompt statistics. |
127
+ | `prompts_get_prompt_templates` | Detected prompt templates. |
128
+ | **Reports Tools** | |
129
+ | `reports_list_reports` | List all saved reports. |
130
+ | `reports_get_preview` | Aggregate preview stats for a date range. |
131
+ | `reports_get_report` | Get a single report. |
132
+ | `reports_delete_report` | Delete a report. |
133
+ | **Search Tools** | |
134
+ | `search_handler` | Full-text search across sessions. |
135
+ | **Settings Tools** | |
136
+ | `settings_get_settings` | Read current app settings. |
137
+ | `settings_update_settings` | Update app settings (partial). |
138
+ | `settings_update_git_sync_interval` | Update the git sync interval. |
139
+ | **Share Tools** | |
140
+ | `share_create_share` | sessions {session_id} share |
141
+ | `share_revoke_share` | sessions {session_id} share |
142
+ | `share_list_shares` | shares |
143
+ | **Sync Tools** | |
144
+ | `sync_indexing_status` | lightweight JSON snapshot of indexing progress. |
145
+ | `sync_trigger_deep_index` | Trigger a full deep index rebuild. |
146
+ | `sync_trigger_git_sync` | Trigger git commit scanning (A8.5). |
147
+ | **System Tools** | |
148
+ | `system_check_path` | Check whether a filesystem path still exists. |
149
+ | `system_get_system_status` | Get comprehensive system status. |
150
+ | `system_clear_cache` | Clear search index and cached data. |
151
+ | `system_trigger_git_resync` | Trigger full git re-sync. |
152
+ | `system_trigger_reindex` | Trigger a full re-index. |
153
+ | `system_reset_all` | Factory reset all data. |
154
+ | **Teams Tools** | |
155
+ | `teams_list_teams` | List all teams. |
156
+ | `teams_get_team` | Get team detail. |
157
+ | `teams_get_team_inbox` | Get team inbox messages. |
158
+ | **Telemetry Tools** | |
159
+ | `telemetry_set_consent` | Set telemetry consent preference. |
160
+ | **Turns Tools** | |
161
+ | `turns_get_session_turns` | Per-turn breakdown for a historical session. |
162
+ | **Workflows Tools** | |
163
+ | `workflows_list_workflows` | workflows |
164
+ | `workflows_create_workflow` | workflows |
165
+ | `workflows_control_run` | workflows run {run_id} control |
166
+ | `workflows_get_workflow` | workflows {id} |
167
+ | `workflows_delete_workflow` | workflows {id} |
@@ -0,0 +1,43 @@
1
+ ---
2
+ name: search
3
+ description: "Use when the user wants to find something across their Claude Code history — e.g. 'find where I discussed X', 'search for Y', 'when did I work on Z'"
4
+ allowed-tools:
5
+ - mcp__claude-view__search_sessions
6
+ - mcp__claude-view__list_sessions
7
+ - mcp__claude-view__get_session
8
+ ---
9
+
10
+ {{PREAMBLE}}
11
+
12
+ # Session Search
13
+
14
+ Find sessions across the user's Claude Code history using full-text search.
15
+
16
+ ## Steps
17
+
18
+ 1. **Search sessions.** Call `mcp__claude-view__search_sessions` with the user's query as the `q` parameter.
19
+
20
+ 2. **If results are sparse**, try `mcp__claude-view__list_sessions` with the `q` filter parameter and `limit: 20` to catch sessions matched by metadata (project name, branch, model).
21
+
22
+ 3. **For the most relevant results** (top 3-5), call `mcp__claude-view__get_session` to get full details including commits and summary.
23
+
24
+ 4. **Present results:**
25
+
26
+ ```
27
+ ## Search Results — "[query]"
28
+
29
+ **Found:** N sessions
30
+
31
+ ### Top Matches
32
+ 1. **[project] / [branch]** — [date]
33
+ [summary or relevant snippet]
34
+ Session: [session_id] | Duration: Xm | Commits: N
35
+
36
+ 2. **[project] / [branch]** — [date]
37
+ [summary or relevant snippet]
38
+ Session: [session_id] | Duration: Xm | Commits: N
39
+ ```
40
+
41
+ 5. **If no results found**, suggest alternative search terms or broader filters. Mention that search covers session summaries, commit messages, and project/branch names.
42
+
43
+ {{AVAILABLE_TOOLS}}
@@ -1,8 +1,17 @@
1
1
  ---
2
2
  name: session-recap
3
3
  description: "Use when the user asks to recap, summarize, or review a Claude Code session — e.g. 'recap my last session', 'what happened in that session', 'session summary'"
4
+ allowed-tools:
5
+ - mcp__claude-view__list_sessions
6
+ - mcp__claude-view__get_session
4
7
  ---
5
8
 
9
+ You have access to the claude-view MCP server which provides tools for monitoring, analyzing, and managing Claude Code sessions. The claude-view server must be running on localhost (it auto-starts via the plugin hook).
10
+
11
+ **Important:** All tool names are prefixed with `mcp__claude-view__`. When calling a tool, always use the full prefixed name.
12
+
13
+ **Error handling:** If a tool returns an error about the server not being detected, tell the user to start it with `npx claude-view`.
14
+
6
15
  # Session Recap
7
16
 
8
17
  Summarize a Claude Code session using the claude-view MCP tools.
@@ -33,3 +42,125 @@ Summarize a Claude Code session using the claude-view MCP tools.
33
42
  ```
34
43
 
35
44
  4. **Keep it concise.** The recap should fit in one screen. If there are more than 5 commits, show the top 5 and note "and N more".
45
+
46
+ ## Available Tools
47
+
48
+ | Tool | Description |
49
+ |------|-------------|
50
+ | **Session Tools** | |
51
+ | `list_sessions` | List sessions with filters |
52
+ | `get_session` | Get session details |
53
+ | `search_sessions` | Full-text search across sessions |
54
+ | **Stats Tools** | |
55
+ | `get_stats` | Dashboard statistics |
56
+ | `get_fluency_score` | AI Fluency Score (0-100) |
57
+ | `get_token_stats` | Token usage statistics |
58
+ | **Live Tools** | |
59
+ | `list_live_sessions` | Currently running sessions |
60
+ | `get_live_summary` | Aggregate live session summary |
61
+ | **Classify Tools** | |
62
+ | `classify_start_classification` | Trigger a classification job. |
63
+ | `classify_cancel_classification` | Cancel a running classification job. |
64
+ | `classify_single_session` | Classify a single session synchronously. |
65
+ | `classify_get_classification_status` | Get classification status. |
66
+ | **Coaching Tools** | |
67
+ | `coaching_list_rules` | List all coaching rules from the rules directory. |
68
+ | `coaching_apply_rule` | Create a new coaching rule file. |
69
+ | `coaching_remove_rule` | Remove a coaching rule file. |
70
+ | **Contributions Tools** | |
71
+ | `contributions_get_contributions` | Main contributions page data. |
72
+ | `contributions_get_branch_sessions` | Sessions for a branch. |
73
+ | `contributions_get_session_contribution` | Session contribution detail. |
74
+ | **Export Tools** | |
75
+ | `export_sessions` | Export all sessions. |
76
+ | **Facets Tools** | |
77
+ | `facets_facet_badges` | Quality badges (outcome + satisfaction) for the requested session IDs |
78
+ | `facets_trigger_facet_ingest` | Start facet ingest from the Claude Code insights cache |
79
+ | `facets_pattern_alert` | Check the most recent sessions for a negative satisfaction pattern |
80
+ | `facets_facet_stats` | Aggregate statistics across all session facets. |
81
+ | **Health Tools** | |
82
+ | `health_config` | config |
83
+ | `health_check` | Health check endpoint. |
84
+ | `health_get_status` | Get index metadata and data freshness info. |
85
+ | **Ide Tools** | |
86
+ | `ide_get_detect` | `GET /api/ide/detect` — return cached list of installed IDEs. |
87
+ | `ide_post_open` | `POST /api/ide/open` — open a file in the requested IDE. |
88
+ | **Insights Tools** | |
89
+ | `insights_get_insights` | Compute and return behavioral insights. |
90
+ | `insights_get_benchmarks` | Compute personal progress benchmarks. |
91
+ | `insights_get_categories` | Returns hierarchical category data. |
92
+ | `insights_get_insights_trends` | Get time-series trend data for charts. |
93
+ | `insights_list_invocables` | List all invocables with their usage counts. |
94
+ | `insights_get_fluency_score` | Get the current AI Fluency Score. |
95
+ | **Jobs Tools** | |
96
+ | `jobs_list_jobs` | List all active jobs. |
97
+ | **Monitor Tools** | |
98
+ | `monitor_snapshot` | - One-shot JSON snapshot of current resources. |
99
+ | **Oauth Tools** | |
100
+ | `oauth_get_auth_identity` | oauth identity |
101
+ | `oauth_get_oauth_usage` | oauth usage |
102
+ | `oauth_post_oauth_usage_refresh` | oauth usage refresh |
103
+ | **Pairing Tools** | |
104
+ | `pairing_list_devices` | GET /pairing/devices — List paired devices. |
105
+ | `pairing_unpair_device` | DELETE /pairing/devices/:id — Unpair a device. |
106
+ | `pairing_generate_qr` | GET /pairing/qr — Generate QR payload for mobile pairing. |
107
+ | **Plans Tools** | |
108
+ | `plans_get_session_plans` | - returns plan documents for the session's slug. |
109
+ | **Plugins Tools** | |
110
+ | `plugins_list_plugins` | Unified view of installed + available plugins. |
111
+ | `plugins_list_marketplaces` | plugins marketplaces |
112
+ | `plugins_refresh_all` | all |
113
+ | `plugins_refresh_status` | status |
114
+ | `plugins_list_ops_handler` | List all queued/running/completed ops. |
115
+ | `plugins_enqueue_op` | Enqueue a plugin mutation, return immediately. |
116
+ | **Processes Tools** | |
117
+ | `processes_cleanup_processes` | processes cleanup |
118
+ | `processes_kill_process` | processes {pid} kill |
119
+ | **Projects Tools** | |
120
+ | `projects_list_projects` | List all projects as lightweight summaries. |
121
+ | `projects_list_project_branches` | List distinct branches with session counts. |
122
+ | `projects_list_project_sessions` | Paginated sessions for a project. |
123
+ | **Prompts Tools** | |
124
+ | `prompts_list_prompts` | List prompt history with optional search/filter. |
125
+ | `prompts_get_prompt_stats` | Aggregate prompt statistics. |
126
+ | `prompts_get_prompt_templates` | Detected prompt templates. |
127
+ | **Reports Tools** | |
128
+ | `reports_list_reports` | List all saved reports. |
129
+ | `reports_get_preview` | Aggregate preview stats for a date range. |
130
+ | `reports_get_report` | Get a single report. |
131
+ | `reports_delete_report` | Delete a report. |
132
+ | **Search Tools** | |
133
+ | `search_handler` | Full-text search across sessions. |
134
+ | **Settings Tools** | |
135
+ | `settings_get_settings` | Read current app settings. |
136
+ | `settings_update_settings` | Update app settings (partial). |
137
+ | `settings_update_git_sync_interval` | Update the git sync interval. |
138
+ | **Share Tools** | |
139
+ | `share_create_share` | sessions {session_id} share |
140
+ | `share_revoke_share` | sessions {session_id} share |
141
+ | `share_list_shares` | shares |
142
+ | **Sync Tools** | |
143
+ | `sync_indexing_status` | lightweight JSON snapshot of indexing progress. |
144
+ | `sync_trigger_deep_index` | Trigger a full deep index rebuild. |
145
+ | `sync_trigger_git_sync` | Trigger git commit scanning (A8.5). |
146
+ | **System Tools** | |
147
+ | `system_check_path` | Check whether a filesystem path still exists. |
148
+ | `system_get_system_status` | Get comprehensive system status. |
149
+ | `system_clear_cache` | Clear search index and cached data. |
150
+ | `system_trigger_git_resync` | Trigger full git re-sync. |
151
+ | `system_trigger_reindex` | Trigger a full re-index. |
152
+ | `system_reset_all` | Factory reset all data. |
153
+ | **Teams Tools** | |
154
+ | `teams_list_teams` | List all teams. |
155
+ | `teams_get_team` | Get team detail. |
156
+ | `teams_get_team_inbox` | Get team inbox messages. |
157
+ | **Telemetry Tools** | |
158
+ | `telemetry_set_consent` | Set telemetry consent preference. |
159
+ | **Turns Tools** | |
160
+ | `turns_get_session_turns` | Per-turn breakdown for a historical session. |
161
+ | **Workflows Tools** | |
162
+ | `workflows_list_workflows` | workflows |
163
+ | `workflows_create_workflow` | workflows |
164
+ | `workflows_control_run` | workflows run {run_id} control |
165
+ | `workflows_get_workflow` | workflows {id} |
166
+ | `workflows_delete_workflow` | workflows {id} |
@@ -0,0 +1,42 @@
1
+ ---
2
+ name: session-recap
3
+ description: "Use when the user asks to recap, summarize, or review a Claude Code session — e.g. 'recap my last session', 'what happened in that session', 'session summary'"
4
+ allowed-tools:
5
+ - mcp__claude-view__list_sessions
6
+ - mcp__claude-view__get_session
7
+ ---
8
+
9
+ {{PREAMBLE}}
10
+
11
+ # Session Recap
12
+
13
+ Summarize a Claude Code session using the claude-view MCP tools.
14
+
15
+ ## Steps
16
+
17
+ 1. **Identify the session.** If the user specified a session ID, use it. Otherwise, call the `mcp__claude-view__list_sessions` tool with `limit: 5` to show recent sessions and ask which one to recap. If the user says "last session" or "most recent", use the first result.
18
+
19
+ 2. **Fetch session details.** Call the `mcp__claude-view__get_session` tool with the session ID.
20
+
21
+ 3. **Present the recap** in this format:
22
+
23
+ ```
24
+ ## Session Recap: [project] — [branch]
25
+
26
+ **Duration:** X minutes | **Model:** [model] | **Turns:** [turns]
27
+
28
+ ### What was done
29
+ [2-3 sentence summary based on recent_commits and summary field]
30
+
31
+ ### Commits
32
+ - `abc1234` — commit message
33
+ - `def5678` — commit message
34
+
35
+ ### Metrics
36
+ - Input tokens: [input_tokens] | Output tokens: [output_tokens] | Cache hits: [cache_read_tokens]
37
+ - Cost efficiency: [from derived_metrics if available]
38
+ ```
39
+
40
+ 4. **Keep it concise.** The recap should fit in one screen. If there are more than 5 commits, show the top 5 and note "and N more".
41
+
42
+ {{AVAILABLE_TOOLS}}
@@ -1,8 +1,18 @@
1
1
  ---
2
2
  name: standup
3
3
  description: "Use when the user asks for a standup update, work log, or activity summary — e.g. 'standup update', 'what did I work on today', 'work log', 'daily summary'"
4
+ allowed-tools:
5
+ - mcp__claude-view__list_sessions
6
+ - mcp__claude-view__get_session
7
+ - mcp__claude-view__list_live_sessions
4
8
  ---
5
9
 
10
+ You have access to the claude-view MCP server which provides tools for monitoring, analyzing, and managing Claude Code sessions. The claude-view server must be running on localhost (it auto-starts via the plugin hook).
11
+
12
+ **Important:** All tool names are prefixed with `mcp__claude-view__`. When calling a tool, always use the full prefixed name.
13
+
14
+ **Error handling:** If a tool returns an error about the server not being detected, tell the user to start it with `npx claude-view`.
15
+
6
16
  # Standup Update
7
17
 
8
18
  Generate a standup-style work summary from recent Claude Code sessions.
@@ -38,3 +48,125 @@ Generate a standup-style work summary from recent Claude Code sessions.
38
48
  5. **Keep each item to one line.** The standup should be copy-pasteable into Slack or a standup bot.
39
49
 
40
50
  6. **If no sessions found in the time range**, say "No Claude Code sessions found in the last 24 hours."
51
+
52
+ ## Available Tools
53
+
54
+ | Tool | Description |
55
+ |------|-------------|
56
+ | **Session Tools** | |
57
+ | `list_sessions` | List sessions with filters |
58
+ | `get_session` | Get session details |
59
+ | `search_sessions` | Full-text search across sessions |
60
+ | **Stats Tools** | |
61
+ | `get_stats` | Dashboard statistics |
62
+ | `get_fluency_score` | AI Fluency Score (0-100) |
63
+ | `get_token_stats` | Token usage statistics |
64
+ | **Live Tools** | |
65
+ | `list_live_sessions` | Currently running sessions |
66
+ | `get_live_summary` | Aggregate live session summary |
67
+ | **Classify Tools** | |
68
+ | `classify_start_classification` | Trigger a classification job. |
69
+ | `classify_cancel_classification` | Cancel a running classification job. |
70
+ | `classify_single_session` | Classify a single session synchronously. |
71
+ | `classify_get_classification_status` | Get classification status. |
72
+ | **Coaching Tools** | |
73
+ | `coaching_list_rules` | List all coaching rules from the rules directory. |
74
+ | `coaching_apply_rule` | Create a new coaching rule file. |
75
+ | `coaching_remove_rule` | Remove a coaching rule file. |
76
+ | **Contributions Tools** | |
77
+ | `contributions_get_contributions` | Main contributions page data. |
78
+ | `contributions_get_branch_sessions` | Sessions for a branch. |
79
+ | `contributions_get_session_contribution` | Session contribution detail. |
80
+ | **Export Tools** | |
81
+ | `export_sessions` | Export all sessions. |
82
+ | **Facets Tools** | |
83
+ | `facets_facet_badges` | Quality badges (outcome + satisfaction) for the requested session IDs |
84
+ | `facets_trigger_facet_ingest` | Start facet ingest from the Claude Code insights cache |
85
+ | `facets_pattern_alert` | Check the most recent sessions for a negative satisfaction pattern |
86
+ | `facets_facet_stats` | Aggregate statistics across all session facets. |
87
+ | **Health Tools** | |
88
+ | `health_config` | config |
89
+ | `health_check` | Health check endpoint. |
90
+ | `health_get_status` | Get index metadata and data freshness info. |
91
+ | **Ide Tools** | |
92
+ | `ide_get_detect` | `GET /api/ide/detect` — return cached list of installed IDEs. |
93
+ | `ide_post_open` | `POST /api/ide/open` — open a file in the requested IDE. |
94
+ | **Insights Tools** | |
95
+ | `insights_get_insights` | Compute and return behavioral insights. |
96
+ | `insights_get_benchmarks` | Compute personal progress benchmarks. |
97
+ | `insights_get_categories` | Returns hierarchical category data. |
98
+ | `insights_get_insights_trends` | Get time-series trend data for charts. |
99
+ | `insights_list_invocables` | List all invocables with their usage counts. |
100
+ | `insights_get_fluency_score` | Get the current AI Fluency Score. |
101
+ | **Jobs Tools** | |
102
+ | `jobs_list_jobs` | List all active jobs. |
103
+ | **Monitor Tools** | |
104
+ | `monitor_snapshot` | - One-shot JSON snapshot of current resources. |
105
+ | **Oauth Tools** | |
106
+ | `oauth_get_auth_identity` | oauth identity |
107
+ | `oauth_get_oauth_usage` | oauth usage |
108
+ | `oauth_post_oauth_usage_refresh` | oauth usage refresh |
109
+ | **Pairing Tools** | |
110
+ | `pairing_list_devices` | GET /pairing/devices — List paired devices. |
111
+ | `pairing_unpair_device` | DELETE /pairing/devices/:id — Unpair a device. |
112
+ | `pairing_generate_qr` | GET /pairing/qr — Generate QR payload for mobile pairing. |
113
+ | **Plans Tools** | |
114
+ | `plans_get_session_plans` | - returns plan documents for the session's slug. |
115
+ | **Plugins Tools** | |
116
+ | `plugins_list_plugins` | Unified view of installed + available plugins. |
117
+ | `plugins_list_marketplaces` | plugins marketplaces |
118
+ | `plugins_refresh_all` | all |
119
+ | `plugins_refresh_status` | status |
120
+ | `plugins_list_ops_handler` | List all queued/running/completed ops. |
121
+ | `plugins_enqueue_op` | Enqueue a plugin mutation, return immediately. |
122
+ | **Processes Tools** | |
123
+ | `processes_cleanup_processes` | processes cleanup |
124
+ | `processes_kill_process` | processes {pid} kill |
125
+ | **Projects Tools** | |
126
+ | `projects_list_projects` | List all projects as lightweight summaries. |
127
+ | `projects_list_project_branches` | List distinct branches with session counts. |
128
+ | `projects_list_project_sessions` | Paginated sessions for a project. |
129
+ | **Prompts Tools** | |
130
+ | `prompts_list_prompts` | List prompt history with optional search/filter. |
131
+ | `prompts_get_prompt_stats` | Aggregate prompt statistics. |
132
+ | `prompts_get_prompt_templates` | Detected prompt templates. |
133
+ | **Reports Tools** | |
134
+ | `reports_list_reports` | List all saved reports. |
135
+ | `reports_get_preview` | Aggregate preview stats for a date range. |
136
+ | `reports_get_report` | Get a single report. |
137
+ | `reports_delete_report` | Delete a report. |
138
+ | **Search Tools** | |
139
+ | `search_handler` | Full-text search across sessions. |
140
+ | **Settings Tools** | |
141
+ | `settings_get_settings` | Read current app settings. |
142
+ | `settings_update_settings` | Update app settings (partial). |
143
+ | `settings_update_git_sync_interval` | Update the git sync interval. |
144
+ | **Share Tools** | |
145
+ | `share_create_share` | sessions {session_id} share |
146
+ | `share_revoke_share` | sessions {session_id} share |
147
+ | `share_list_shares` | shares |
148
+ | **Sync Tools** | |
149
+ | `sync_indexing_status` | lightweight JSON snapshot of indexing progress. |
150
+ | `sync_trigger_deep_index` | Trigger a full deep index rebuild. |
151
+ | `sync_trigger_git_sync` | Trigger git commit scanning (A8.5). |
152
+ | **System Tools** | |
153
+ | `system_check_path` | Check whether a filesystem path still exists. |
154
+ | `system_get_system_status` | Get comprehensive system status. |
155
+ | `system_clear_cache` | Clear search index and cached data. |
156
+ | `system_trigger_git_resync` | Trigger full git re-sync. |
157
+ | `system_trigger_reindex` | Trigger a full re-index. |
158
+ | `system_reset_all` | Factory reset all data. |
159
+ | **Teams Tools** | |
160
+ | `teams_list_teams` | List all teams. |
161
+ | `teams_get_team` | Get team detail. |
162
+ | `teams_get_team_inbox` | Get team inbox messages. |
163
+ | **Telemetry Tools** | |
164
+ | `telemetry_set_consent` | Set telemetry consent preference. |
165
+ | **Turns Tools** | |
166
+ | `turns_get_session_turns` | Per-turn breakdown for a historical session. |
167
+ | **Workflows Tools** | |
168
+ | `workflows_list_workflows` | workflows |
169
+ | `workflows_create_workflow` | workflows |
170
+ | `workflows_control_run` | workflows run {run_id} control |
171
+ | `workflows_get_workflow` | workflows {id} |
172
+ | `workflows_delete_workflow` | workflows {id} |
@@ -0,0 +1,48 @@
1
+ ---
2
+ name: standup
3
+ description: "Use when the user asks for a standup update, work log, or activity summary — e.g. 'standup update', 'what did I work on today', 'work log', 'daily summary'"
4
+ allowed-tools:
5
+ - mcp__claude-view__list_sessions
6
+ - mcp__claude-view__get_session
7
+ - mcp__claude-view__list_live_sessions
8
+ ---
9
+
10
+ {{PREAMBLE}}
11
+
12
+ # Standup Update
13
+
14
+ Generate a standup-style work summary from recent Claude Code sessions.
15
+
16
+ ## Steps
17
+
18
+ 1. **Fetch recent sessions.** Call `mcp__claude-view__list_sessions` with:
19
+ - `sort: "recent"`
20
+ - `limit: 20`
21
+
22
+ From the results, filter to sessions whose `modified` field (ISO 8601 string) is within the last 24 hours. If the user asks about a different period (e.g. "this week"), adjust the filter accordingly.
23
+
24
+ 2. **For the top 3-5 sessions by duration**, call `mcp__claude-view__get_session` on each to get commit details.
25
+
26
+ 3. **Check for running sessions.** Call `mcp__claude-view__list_live_sessions` to find any currently active sessions for the "In Progress" section.
27
+
28
+ 4. **Present the standup** in this format:
29
+
30
+ ```
31
+ ## Standup — [today's date]
32
+
33
+ ### Done
34
+ - **[project] ([branch])** — [1-line summary from recent_commits/summary] (Xm)
35
+ - **[project] ([branch])** — [1-line summary] (Xm)
36
+
37
+ ### In Progress
38
+ - [project] — [model] — [agent_state] (from list_live_sessions)
39
+
40
+ ### Metrics
41
+ - Sessions: N | Total time: Xh Ym | Commits: Z
42
+ ```
43
+
44
+ 5. **Keep each item to one line.** The standup should be copy-pasteable into Slack or a standup bot.
45
+
46
+ 6. **If no sessions found in the time range**, say "No Claude Code sessions found in the last 24 hours."
47
+
48
+ {{AVAILABLE_TOOLS}}