agents-skills-feedback-loop

agents-skills-feedback-loop is a skill for Claude Code, Codex from vasilyu1983/AI-Agents-public. It costs 35 tokens per session (4,606 once invoked), scanned A, original, MIT.

A system for recording dated lessons, mistakes, and useful facts from repeated use of other skills. It keeps short-term notes separate from reviewed, longer-lasting guidance.

In plain words
What is it for?
Use it to add learning records, consolidate durable lessons, and review whether a skill’s guidance has drifted.
Why use it?
It helps a skill improve over time without automatically rewriting its main instructions from every individual correction.

Skill for Claude CodeCodex

Written for Claude Code and Codex: SessionEnd hook event, but also agents/openai.yaml present. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

Part of the ai-agents plugin — 144 skills shipped together

Good fit Use it to add learning records, consolidate durable lessons, and review whether a skill’s guidance has drifted.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vasilyu1983/ai-agents-public/agents-skills-feedback-loop
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vasilyu1983/AI-Agents-public --skill agents-skills-feedback-loop
Clone the repo
git clone --depth 1 https://github.com/vasilyu1983/AI-Agents-public

Made for: Claude Code, Codex.

Or install ai-agents, the plugin that ships this one along with the rest of its 144 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agents-skills-feedback-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/vasilyu1983/ai-agents-public/agents-skills-feedback-loop/github.svg)](https://agentmods.dev/skills/vasilyu1983/ai-agents-public/agents-skills-feedback-loop)
Your own site
<a href="https://agentmods.dev/skills/vasilyu1983/ai-agents-public/agents-skills-feedback-loop"><img src="https://agentmods.dev/badge/skills/vasilyu1983/ai-agents-public/agents-skills-feedback-loop/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agents-skills-feedback-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/vasilyu1983/ai-agents-public/agents-skills-feedback-loop"><img src="https://agentmods.dev/badge/skills/vasilyu1983/ai-agents-public/agents-skills-feedback-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,606 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Memory Poisoning · line 19
    Skill injects content designed to persist in agent memory or context across interactions. Persistent injection can alter agent behavior long after the initial interaction.
    Fix: Do not allow untrusted input to persist in agent memory or context. Validate all content before storing and implement memory isolation between sessions.
  • medium Rogue Agent · line 38
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.04606
Opus 5.5 $0.00014 $0.01842
Sonnet 5.5 $0.00007 $0.00921
Haiku 4.5 $0.00003 $0.00461

Measured 17d ago against content hash e49523996f8c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agents-skills-feedback-loop scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.

The scan reads SKILL.md. This mod also ships 10 executable files (assets/learnings_capture.py, scripts/append_learning.py, scripts/bulk_wire.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/universal/agents-skills-feedback-loop/SKILL.md · 241 lines

How it starts

The opening of the file, as written. The whole thing — 241 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent Skills — Feedback Loop

Use this skill to wire a learnings loop into another skill so it gets better with use, without rewriting SKILL.md automatically.

The loop has four moving parts:

  1. learnings.md — raw, append-only, committed. Shared working memory across machines; created on first append via append_learning.py, not seeded empty.
  2. learnings.consolidated.md — pruned, dated, committed. Portfolio-grade institutional memory; seeded at wiring time.
  3. learnings.local.md — machine-specific notes, gitignored. Use for one-operator-on-one-machine context that should not propagate.
  4. scripts/append_learning.py + scripts/consolidate.py — keep raw entries well-shaped and redacted, and surface recurring ones for human-reviewed consolidation.

Pattern provenance and the distinction between this reviewed loop and automatic skill rewriting are in references/evidence-base.md; load it before attributing the design to an external source.

Quick Reference

Task Read or Run Outcome
Wire a skill to use the loop references/wiring-protocol.md Adds a 4-line addendum to that skill's SKILL.md, seeds files
Format a new learning entry references/learnings-format.md Atomic, dated, 5-section schema that survives pruning
Promote raw → consolidated python3 scripts/consolidate.py <skill-dir> Dry run by default: proposes dedup, age-out and recurring patterns for human review; --apply only prints the edits to make, because promotion stays a human gate
Append a learning safely python3 scripts/append_learning.py <skill-dir> --section <name> --text "..." Validates shape, dates, refuses to grow past the 150-entry cap
Find routing lessons that need review python3 scripts/consolidate.py --queue [--days 14] Exit 1 for aged open lessons, failed results, or fixes awaiting verification; invalid dates exit 2
Audit drift across skills references/audit-checklist.md Find stale loops, missing consolidations, oversized files
Capture a cross-cutting behavior with no obvious skill home references/instinct-pattern.md Atomic, confidence-scored complement to the per-skill loop above

Read the full file on GitHub · 241 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 17d ago Changed e49523996f8c
  2. 24d ago Changed · -89 lines 423e5d603f73
  3. 1mo ago Changed · +2 lines b0d3504116d8
  4. 2mo ago First seen · 328 lines · 35 tokens per session scan A 7fa91f747985

Subscribe to this mod's changes

agents-skills-feedback-loop is a skill published in the GitHub repository vasilyu1983/AI-Agents-public (101 stars, last pushed 14d ago), licensed MIT. It adds 35 tokens to every session and 4,606 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

principle-guard-the-context-window

Apply when context is filling up: large outputs, long files, repeated reads, fan-out planning. Route bulk to subagents; keep summaries in the main thread, not raw payloads.

michael-denyer/pstack-claude · 46 tokens

continuum-memory

Configure and use Continuum's two-tier memory system — mem0+Qdrant/Milvus for long-term facts, Redis for short-term sessions, with multi-tenant scopes (USER / AGENT / SHARED / RUN / CONVERSATION). Invoke when the user asks about "remember", "user preferences", "long-term memory", "vector search over memories"…

shyftlabs/continuum · 107 tokens

dual-brain

Dual-brain review for ambiguous designs, risky refactors, and recurring project decisions. Combine macro-level design review with micro-level code verification and relevant project memory.

sleeplesshan/dual-brain · 36 tokens

session-handoff

Context transfer between AI sessions. Trigger when the user wants to save the context, resume a task, or hand off the work to another session.

christopherlouet/claude-base · 33 tokens

memory

How to save what you learn about people, promises and investigations, and what never to save.

barockok/slaude · 21 tokens

context

Context lifecycle as thin seams over native primitives (/foundry:context ). WRAP of the retired context-lifecycle skills — additive over native /compact, --resume, /rewind, and the context sensor; never reinvents transcript replay. Trigger to snapshot/resume a session's distilled arc-state or check context budget.

lukasrepublic/agentic-foundry · 74 tokens