# Dejavu Report

> Generate a weekly report of detected patterns and rule effectiveness. Use when user asks "dejavu report", "what did you learn this week", "dejavu weekly".

- **Type:** Skill
- **Install:** `agentstack add skill-cmg8431-claude-dejavu-weekly-report`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [cmg8431](https://agentstack.voostack.com/s/cmg8431)
- **Installs:** 0
- **Category:** [Databases](https://agentstack.voostack.com/c/databases)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [cmg8431](https://github.com/cmg8431)
- **Source:** https://github.com/cmg8431/claude-dejavu/tree/main/plugin/skills/weekly-report
- **Website:** https://www.npmjs.com/package/claude-dejavu

## Install

```sh
agentstack add skill-cmg8431-claude-dejavu-weekly-report
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# claude-dejavu: Weekly Report

You are generating a weekly effectiveness report for claude-dejavu.

## Steps

1. First, gather statistics:

```bash
claude-dejavu stats --path "$(pwd)"
```

2. Then list all rules with their grades:

```bash
claude-dejavu list --path "$(pwd)"
```

3. Format a report with the following sections:

### New Patterns This Week

List any rules created in the last 7 days. If stats show no new rules, say "No new patterns detected this week."

### Rules That Fired (Prevented Mistakes)

Highlight rules with fire_count > 0 that have fired recently. These are the rules that actively prevented Claude from repeating past mistakes. Show each rule's grade badge and fire count.

### Dead Rules to Consider Removing

List rules with status "dead" or rules that have not fired in 14+ days with low confidence (< 0.6). Suggest the user remove these to keep the rule set lean.

### Effectiveness Trend

Summarize overall health:
- Total active rules
- Average confidence across active rules
- Total fires this period
- Grade distribution (how many A/B/C/D rules)

Present the report in a clean, readable format:

```
=== claude-dejavu Weekly Report ===

New patterns:     2 discovered
Rules fired:      5 times (prevented 5 mistakes)
Dead rules:       1 candidate for removal
Overall health:   Good (avg confidence: 0.82)

Grade distribution: A:3  B:2  C:1  D:0
```

## Important

- Be concise but informative
- Highlight wins (rules that fired = mistakes prevented)
- If there are no rules yet, encourage the user to run more sessions so dejavu can learn
- If effectiveness is declining (many dead rules, low confidence), suggest running a fresh scan

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [cmg8431](https://github.com/cmg8431)
- **Source:** [cmg8431/claude-dejavu](https://github.com/cmg8431/claude-dejavu)
- **License:** MIT
- **Homepage:** https://www.npmjs.com/package/claude-dejavu

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-cmg8431-claude-dejavu-weekly-report
- Seller: https://agentstack.voostack.com/s/cmg8431
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
