qwwiwi/agentos-skills-public/learnings

Claude Code and agent skill by qwwiwi/agentos-skills-public

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Learnings System v2 — self-improvement через scoring ошибок. 3 слоя: Episodes (сырой лог) → Learnings (scored) → Rules (promoted). Используй когда: (1) пользователь поправил действие, (2) обнаружена ошибка, (3) нужен отчёт по learnings, (4) lint/audit накопленных уроков.

Install

npx vskill@latest install qwwiwi/agentos-skills-public/learnings

SKILL.md

Архитектура

Layer 1: Episodes — core/learnings/episodes.jsonl (append-only)
Layer 2: Learnings — core/LEARNINGS.md (scored, max 30)
Layer 3: Rules — rules.md / CLAUDE.md (promoted, owner only)

CLI

Engine: ~/.claude/scripts/learnings-engine.mjs

bash
ENGINE="node ~/.claude/scripts/learnings-engine.mjs"
# Record new episode
echo '{"context":"...","error":"...","rule":"...","impact":"high","tags":["workflow"]}' | $ENGINE capture
# View scored learnings
$ENGINE score
# Lint: find HOT (freq 3+), STALE (score < 0.15), PROMOTE (score > 0.8)
$ENGINE lint
# Promote learning to rules
$ENGINE promote EP-20260411-007
# Archive stale learning
$ENGINE archive EP-20260411-009
# Bump frequency (repeat violation)
$ENGINE bump EP-20260411-001
# Generate markdown report
$ENGINE report

Scoring

Composite score: Recency (40%) + Frequency (30%) + Impact (30%)

  • Recency: max(0, 1 - ageDays / 30) — decay to 0 over 30 days
  • Frequency: min(1, freq / 3) — 3+ violations = max score
  • Impact: critical=1.0, high=0.7, medium=0.4, low=0.1

Thresholds

ConditionAction
Score > 0.8Propose promotion to rules (via owner)
Score < 0.15Propose archival
Freq 3+ in 30 daysALERT: rule not working, change system

When to record

Record ONLY when:

  • Owner explicitly corrected ("no, do it this way", "wrong")
  • Expensive error (access, security, infrastructure, data)
  • Repeated pattern (same mistake twice)
  • Owner sets new standard/rule

Do NOT record:

  • Normal clarifications
  • Choice between options
  • Minor style tweaks without pattern

Episode format

json
{
"id": "EP-YYYYMMDD-NNN",
"ts": "ISO8601",
"type": "correction|insight|knowledge_gap",
"agent": "{{AGENT_ID}}",
"source": "owner|experience|review",
"context": "situation",
"error": "what went wrong",
"rule": "rule for the future",
"impact": "critical|high|medium|low",
"tags": ["tag1"],
"freq": 1,
"status": "active|promoted|archived"
}

Access zones for auto-fix

ZoneFilesWho edits
GREENSKILL.md, TOOLS.md, LEARNINGS.mdAgent autonomously
YELLOWAGENTS.md, decisions.mdAgent with justification
REDrules.md, CLAUDE.mdOwner only

What to do at freq 3+

Error typeAction
Forgot a stepAdd hook (PreToolUse/PostToolUse)
Wrong response styleUpdate CLAUDE.md or rules.md (via owner)
Used wrong toolUpdate TOOLS.md
Asked unnecessary questionAdd rule to CLAUDE.md (via owner)
Code errorAdd test or lint rule

Hooks integration

  • SessionStart: inject scored top-5 from $ENGINE score
  • Stop: analyze session corrections, auto-capture episodes
  • Weekly cron: $ENGINE lint + report to owner

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/qwwiwi/agentos-skills-public/learnings/badge)](https://verified-skill.com/skills/qwwiwi/agentos-skills-public/learnings)

Something wrong with this skill or its page? Tell us.