claude-code - 💡(How to fix) Fix [FEATURE] scope /insights command per project [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#47908Fetched 2026-04-15 06:38:56
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×2closed ×1commented ×1
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

(Same as #29844)

While helpful at a high-level, The /insights command currently aggregates data across all projects and sessions globally. For developers working across multiple projects — particularly those with different languages, frameworks, or domains — this produces noisy, low-signal output:

Suggestions and patterns from unrelated projects are mixed together, reducing relevance Project-specific recommendations (prompts, skills, hooks) lack the context needed to know where they apply or whether they'd transfer to another project Frequent context switching is required to mentally filter insights per project Recently inactive projects may be underrepresented or omitted entirely Stale suggestions from older sessions can surface even when the issue was resolved in a later session

Proposed Solution

Add an optional path argument to /insights as specified in #29844 or make the command project specific, it would also be helpful if claude code would maintain some files per project, instead of one global location, so its easier to access per project reports/context without post processing.

Alternative Solutions

No response

Priority

Medium - Would be very helpful

Feature Category

CLI commands and flags

Use Case Example

Defer to #29844

Additional Context

Defer to #29844

extent analysis

TL;DR

Add an optional path argument to the /insights command to allow project-specific insights.

Guidance

  • Review the proposed solution in #29844 for implementation details.
  • Consider maintaining project-specific files to improve accessibility of per-project reports and context.
  • Evaluate the impact of stale suggestions from older sessions on the usefulness of the /insights command.
  • Investigate the feasibility of making the /insights command project-specific to reduce noise and improve relevance.

Example

No code snippet is provided as the issue lacks specific implementation details.

Notes

The solution may require significant changes to the existing implementation of the /insights command and the data storage mechanism.

Recommendation

Apply workaround: Implement the proposed solution in #29844 to add project-specific insights, as it addresses the primary concern of noise and lack of relevance in the current implementation.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING