Agent skill

learn-stats

Stars 211
Forks 54

Install this agent skill to your Project

npx add-skill https://github.com/EvolutionAPI/evo-nexus/tree/main/.claude/skills/learn-stats

SKILL.md

Learn Stats

Reads workspace/learning/facts/ and workspace/learning/.state/review-log.jsonl to produce a markdown stats report.

Trigger

User wants a snapshot of their learning loop health.

Workflow

Step 1 — Read facts

  1. Read all .md files in workspace/learning/facts/
  2. Parse frontmatter of each file
  3. Get today's date (YYYY-MM-DD)
  4. Compute:
    • total = count of all fact files
    • overdue = count where next_review <= today
    • active_decks = count of unique deck values across all facts
    • added_this_week = count where created >= today - 7 days

If workspace/learning/facts/ does not exist or is empty:

"Nenhum fato encontrado. Use /learn-capture para adicionar fatos primeiro." Stop here.

Step 2 — Read review log

  1. Read workspace/learning/.state/review-log.jsonl line by line (each line is a JSON object)
  2. If the file does not exist or is empty: total_reviews = 0, retention_rate = "N/A"
  3. If it exists:
    • total_reviews = count of all log entries
    • good_easy_count = count where grade == "good" OR grade == "easy"
    • retention_rate = round(good_easy_count / total_reviews * 100)%

Step 3 — Output report

Print in markdown, in pt-BR:

markdown
## 📊 Learning Loop — Stats

| Métrica             | Valor        |
|---------------------|--------------|
| Total de fatos      | {total}      |
| Vencidos hoje       | {overdue}    |
| Taxa de retenção    | {retention_rate} ({good_easy_count}/{total_reviews} revisões) |
| Decks ativos        | {active_decks} |
| Adicionados (7 dias)| {added_this_week} |

**Data:** {today YYYY-MM-DD}

If overdue > 0:

💡 Use /learn-review para revisar os fatos vencidos.

If total < 10:

💡 Use /learn-capture para adicionar mais fatos (meta v0: 20 fatos em 2 semanas).

Step 4 (optional) — List overdue facts

If overdue > 0 and overdue <= 10, list them:

### Fatos vencidos
- `{filename}` (deck: {deck}, venceu: {next_review})
  > {Retrieval Q — first 80 chars}

Constraints

  • Read-only. Do NOT modify any file.
  • Do NOT write to review-log.jsonl.
  • If log is missing (user hasn't reviewed yet), show N/A for retention — do not error.
  • Round retention_rate to nearest integer (no decimal places).

Expand your agent's capabilities with these related and highly-rated skills.

EvolutionAPI/evo-nexus

data-create-viz

Cria visualizações de dados de qualidade profissional com Python no tema Evolution (fundo escuro, acento

211 54
Explore
EvolutionAPI/evo-nexus

cs-customer-escalation

Empacota uma escalação para Devs, Produto ou Davidson com contexto completo. Use quando um bug precisa de atenção além do suporte normal, vários clientes reportam o mesmo problema, um cliente está ameaçando cancelar, ou um problema ficou sem resolução além do SLA. / Package an escalation for engineering, product, or leadership with full context. Use when a bug needs engineering attention beyond normal support, multiple customers report the same issue, a customer is threatening to churn, or an issue has sat unresolved past its SLA.

211 54
Explore
EvolutionAPI/evo-nexus

mkt-draft-content

Draft blog posts, social media, email newsletters, landing pages, press releases, and case studies with channel-specific formatting and SEO recommendations. Use when writing any marketing content, when you need headline or subject line options, or when adapting a message for a specific platform, audience, and brand voice.

211 54
Explore
EvolutionAPI/evo-nexus

gog-tasks

Create, manage, and prioritize tasks and todo items. Convert emails to tasks, set priorities (P0-P3) and categories (Work/Personal/Errands/Admin), review daily priorities, track blocked and overdue tasks. Use when user mentions tasks, todos, action items, or wants to convert emails to tasks. Requires confirmation before creating or deleting tasks.

211 54
Explore
EvolutionAPI/evo-nexus

discord-get-messages

Retrieve messages from Discord channels via the Discord API. Use this skill when the user wants to read, search, or analyze messages from a Discord channel.

211 54
Explore
EvolutionAPI/evo-nexus

cs-customer-research

Pesquisa multi-fonte sobre pergunta ou tópico de cliente com atribuição de fontes. Use quando um cliente pergunta algo que precisa ser verificado, investigando se um bug foi reportado antes, verificando o que foi dito anteriormente a uma conta específica, ou coletando contexto antes de redigir uma resposta. / Multi-source research on a customer question or topic with source attribution. Use when a customer asks something you need to look up, investigating whether a bug has been reported before, checking what was previously told to a specific account, or gathering background before drafting a response.

211 54
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results