self-improving-agent

self-improving-agent is a skill for Claude Code, Codex from OpenMinis/MinisSkills. It costs 83 tokens per session (3,450 once invoked), scanned A, original, MIT.

A logging system that records command failures, corrections, outdated information, API errors, and reusable solutions for later review.

In plain words
What is it for?
It is for reviewing earlier learnings, recording new errors or corrections, and promoting broadly useful lessons into shared guidance.
Why use it?
It creates a history of mistakes and fixes, helping future work avoid repeating known problems.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/openminis/minisskills/self-improving-agent
Any agent
npx skills add OpenMinis/MinisSkills --skill self-improving-agent
Clone the repo
git clone --depth 1 https://github.com/OpenMinis/MinisSkills

Made for: Claude Code, Codex.

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 self-improving-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/openminis/minisskills/self-improving-agent.svg)](https://agentmods.dev/skills/openminis/minisskills/self-improving-agent)
Your own site
<a href="https://agentmods.dev/skills/openminis/minisskills/self-improving-agent"><img src="https://agentmods.dev/badge/skills/openminis/minisskills/self-improving-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,450 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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.00083 $0.03450
Opus 5 $0.00042 $0.01725
Sonnet 5 $0.00017 $0.00690
Haiku 4.5 $0.00008 $0.00345

Measured 6d ago against content hash 25ff48212c45, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

self-improving-agent scanned grade A with 1 finding 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 6d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/minis_auto_log.sh), 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

sh /var/minis/skills/self-improving-agent/scripts/minis_auto_log.sh --project /var/minis/workspace/my-project error "curl request failed" "HTTP 429"
self-improving-agent/SKILL.md · 347 lines

How it starts

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

Self-Improvement Skill (Minis Edition)

This skill is used in the Minis environment to record errors, corrections, and reusable best practices, creating a traceable learning loop.

Minis Directory Conventions

  • Working directory: /var/minis/workspace/
  • Default learning log directory for this skill: /var/minis/skills/self-improving-agent/data/
  • Public learning log directory within this skill (after promotion): /var/minis/skills/self-improving-agent/data/public/
  • Project-level learning log directory (optional): <project>/.learnings/
  • Learning log files:
    • LEARNINGS.md (corrections, knowledge gaps, best practices)
    • ERRORS.md (command failures, exception output)
    • FEATURE_REQUESTS.md (new capabilities requested by users)

By default, log entries go first to the skill's own data directory. When you explicitly specify a project, write to the project-level log. When an issue has been abstracted into a cross-project rule, promote it to the skill's public area or the Minis memory system.

Current Final Rules

  • Default logging location: /var/minis/skills/self-improving-agent/data/
  • Public area within the skill: /var/minis/skills/self-improving-agent/data/public/
  • Project-level logging: Use <project>/.learnings/ only when --project <path> is passed explicitly
  • Recommended public parameter: --public
  • Compatibility alias: --workspace is still available, but only for compatibility and is no longer recommended
  • Promotion behavior: promote <entryID> copies the entry to the public area within the skill, automatically marks the source entry as promoted, and writes back **Promoted to** and ### Resolution Record
  • Duplicate protection: If the entry already exists in the skill's public area, running promote again will not append a duplicate

Quick Reference

Scenario Action
Command or operation fails Log to the skill directory by default: data/ERRORS.md
The user corrects you Log to the skill directory by default: data/LEARNINGS.md, category correction
The user needs a missing capability Log to the skill directory by default: data/FEATURE_REQUESTS.md
Project context is explicitly specified Log to <project>/.learnings/
External API or tool fails Log to ERRORS.md in the current scope, including integration details
Knowledge is outdated Log to LEARNINGS.md in the current scope, category knowledge_gap
A better solution is found First log it to the current scope, then promote it after confirming it is generally applicable
Similar issues recur across multiple projects Promote to the public area within the skill: data/public/
Similar to an existing entry Link with **See Also** and consider raising the priority
Widely applicable experience Promote to the public area within the skill or to Minis memory. See "Promoting to Minis Memory" below

Read the full file on GitHub · 347 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 347 lines · 83 tokens per session scan A 25ff48212c45

Subscribe to this mod's changes

self-improving-agent is a skill published in the GitHub repository OpenMinis/MinisSkills (397 stars, last pushed yesterday), licensed MIT. It adds 83 tokens to every session and 3,450 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

agent-memory

../../../engineering/agent-memory/skills/agent-memory/SKILL.md.

alirezarezvani/claude-skills · 0 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens