[FEATURE] Support for Profile and/or Project filtering on /insights command
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
I have my personal Claude code account and I also have a company account.
I use only the Claude Code desktop APP for my daily work. I don't use its console directly but rather use Cowork in the APP.
I usually log into my personal account when I want to do my private work, then log out and log into company account while doing company work.
Recently the company asked us to export the insights and share with them for assessment of how Claude is helping the team improve productivity.
When I ran the /insights command, it exported mostly from my personal profile and very few from the company profile where I actually do more work with.
I tried interact with the console to see if I could find a way of filtering out my personal insights but failed and Clause itself suggested I raise it as an issue.
Regards to the Claude Code Team for the good work you are doing.
Yoakim
Proposed Solution
I am writing to suggest that there be support to filter out by accounts which profiles to consider when exporting insights.
Alternative Solutions
_No response_
Priority
Medium - Would be very helpful
Feature Category
CLI commands and flags
Use Case Example
This could be through command options such as --profile=[ACCOUNT_EMAIL_OF_PROFILE_TO_CONSIDER] or --exclude-profile=[ACCOUNT_EMAIL_OF_PROFILE_TO_EXLUDE]. Same would apply for project filter.
Even better could be to use comma separated list of projects or profiles to include or exclude such as --project=proi1,proj2,... or --exclude-project=proi1,proj2,... .
Additional Context
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗