Compile Project Insights
compile_project_insightsExtract structured insights from archived chats: action items, topic indexes, chat comparisons, or Markdown briefs. Get digests instead of raw text.
Instructions
Derive structured insight from archived chats: action items, a topic index, a two-chat comparison, or a Markdown project brief. Use it when you need a digest rather than raw text; to find chats use search_history and to read them use get_chat_logs. insight_type 'action_items': TODOs, checkboxes and 'next' tasks from file_name (or the first of target_chats), returned as a list of strings. 'knowledge_index': chats grouped by topic, returned as {topic: [files], built_at}, or file counts when summary_only=true (use that on large archives); rebuild=true rescans every file. 'compare_chats': shared and unique topics of file_name_a and file_name_b (or the first two target_chats) as Markdown. 'project_brief': merges summaries and action items of target_chats (or file_name) into exports/<brief_title>.md and returns its path. Side effects: 'project_brief' writes or overwrites an export file; 'knowledge_index' rewrites the cached index file. Chat files are never modified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client | No | Archive namespace (a subfolder of the chats directory). Built-in: 'default', 'cursor', 'chatgpt', 'claude'; any other name creates its own subfolder. Omit to use 'default'. | default |
| rebuild | No | For 'knowledge_index': rescan all chats instead of returning the cached index. | |
| file_name | No | Single chat file for 'action_items' (or a one-chat 'project_brief'), such as 'my-chat.json'. | |
| brief_title | No | Heading and export file name for 'project_brief' (an existing brief with this title is overwritten). | Project Brief |
| file_name_a | No | First chat file for 'compare_chats'. | |
| file_name_b | No | Second chat file for 'compare_chats'. | |
| insight_type | Yes | Which insight to produce (see the tool description). | |
| summary_only | No | For 'knowledge_index': return file counts per topic instead of full file lists. | |
| target_chats | No | Chat file names: all of them for 'project_brief', the first two for 'compare_chats', the first for 'action_items'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |