Skip to content
Back to skills

Gradus Learn

ASecurity

Capture session corrections and repeated mistakes as redacted local lessons via gradusctl lessons and propose rule promotions only with explicit user approval.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 27, 2026
ai-agentsrailsapi

Works with

  • api

Security analysis

A100/100

Scanned November 27, 2026

npx -y skills add Milosauro/gradus-ai --skill gradus-learn --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gradus Learn?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gradus Learn
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/milosauro-gradus-learn/badge)](https://www.skillsdirectory.com/skills/milosauro-gradus-learn)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gradus-learn
description: "Capture session corrections and repeated mistakes as redacted local lessons via gradusctl lessons and propose rule promotions only with explicit user approval."
---

# Gradus Learn Skill

## Inputs
- Current session signals (user corrections, repeated mistakes, explicit preferences) or user-supplied conversation excerpts.
- Existing lessons from `gradusctl lessons list --json`.

## Workflow
1. Watch for session learning signals: explicit user corrections ("don't do X", "use Y instead"), repeated mistakes across turns, or explicit workflow/style preferences.
2. Redact any secrets, API tokens, credentials, passwords, IBANs, phone numbers, or emails before passing text to `gradusctl`.
3. Persist or update the lesson locally via `gradusctl lessons add --kind <kind> --statement "<redacted>" --level <suggested> --enforcement <suggested>` (or `gradusctl lessons update --increment` when seen again).
4. Once a lesson reaches `occurrences >= 2` (or on explicit user request), present a rule promotion proposal (suggested level, enforcement, and draft rule) to the user.
5. Only after explicit human approval, hand off to `gradus-author` to create the rule and mark the lesson `promoted` via `gradusctl lessons update --status promoted`.

## Outputs
- Redacted local lesson record under `~/.gradus/lessons/<project-key>/` and optional promotion proposal.

## Guardrails & Prohibitions
- **NEVER** promote a lesson into a project, team, or user rule without explicit user approval.
- **NEVER** store unredacted secrets, tokens, or PII in lesson statements or evidence.
- **NEVER** record personal user-activity metrics (P16).

## Rejected Rationalizations
- "The user corrected me twice, so I'll automatically add a rule to `.gradus/levels/project/rules/`." -> Always record the lesson first and wait for explicit approval before promoting.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.