runtime-self-improvement

runtime-self-improvement is a skill for Claude Code from oyi77/1ai-skills. It costs 45 tokens per session (1,994 once invoked), scanned A, original, MIT.

A guide for improving OpenClaw and related AI skills while they are running by checking performance, finding gaps, and refining their behavior.

In plain words
What is it for?
Use it to review runtime performance, detect missing capabilities, and update skills during operation.
Why use it?
It provides a repeatable way to find weaknesses in an agent setup and improve it based on evidence.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions AGENTS.md; built for openclaw.

Part of the 1ai-skills plugin — 187 skills, 4 commands shipped together

Good fit Use it to review runtime performance, detect missing capabilities, and update skills during operation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oyi77/1ai-skills/runtime-self-improvement
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 oyi77/1ai-skills --skill runtime-self-improvement
Clone the repo
git clone --depth 1 https://github.com/oyi77/1ai-skills

Made for: Claude Code.

Or install 1ai-skills, the plugin that ships this one along with the rest of its 187 skills, 4 commands.

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 runtime-self-improvement

README.md
[![agentmods](https://agentmods.dev/badge/skills/oyi77/1ai-skills/runtime-self-improvement/github.svg)](https://agentmods.dev/skills/oyi77/1ai-skills/runtime-self-improvement)
Your own site
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/runtime-self-improvement"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/runtime-self-improvement/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 runtime-self-improvement

Your own site · 80×15
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/runtime-self-improvement"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/runtime-self-improvement.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,994 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: 3 findings, up to high

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 →

  • high Rogue Agent · line 93
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
  • high Rogue Agent · line 160
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
  • medium Memory Poisoning · line 306
    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.
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.00045 $0.01994
Opus 5 $0.00023 $0.00997
Sonnet 5 $0.00009 $0.00399
Haiku 4.5 $0.00005 $0.00199

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

Security

Grade A, and why

runtime-self-improvement 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 6d ago.

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.

core/runtime-self-improvement/SKILL.md · 358 lines

How it starts

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

persona: name: "Domain Expert" title: "Master of Runtime Self Improvement" expertise: ['Specialized Knowledge', 'Best Practices', 'Industry Standards'] philosophy: "Excellence through expertise." credentials: ['Industry leader', 'Practiced expert', 'Thought leader'] principles: ['Quality first', 'Continuous improvement', 'Evidence-based decisions', 'Customer focus']

Runtime Self-Improvement Skill

Anti-Rationalization Table

Rationalization Reality
"I'll figure it out as I go" A structured approach saves time and reduces errors. Follow the workflow in this skill rather than improvising.
"I already know this topic" Familiarity breeds shortcuts. Use the checklist to verify you haven't missed critical steps.
"This doesn't apply to my situation" The patterns here generalize across contexts. Adapt, don't skip — the underlying principles hold.
"One more tool will fix it" Adding complexity rarely solves process gaps. Master the core workflow first.

When to Use

Trigger phrases:

  • "runtime self improvement"
  • "Help me with runtime self improvement"

Use cases:

  • When the task matches this skill's domain expertise

When NOT to use:

  • For tasks outside this skill's scope

Overview

Enable OpenClaw to continuously improve itself at runtime. Monitor performance, detect skill gaps, enhance existing skills, and optimize workflows automatically during operation.

Purpose: Autonomous self-improvement for OpenClaw
Target: 1ai-skills, workflows, prompts, and configurations
Frequency: Continuous during operation


Core Functions

  • Primary operation execution with input validation
  • Error detection and automatic recovery
  • Output formatting and quality assurance
  • Integration hooks for downstream consumers

1. Performance Monitoring

During Operation:
- Track skill usage frequency
- Measure success/failure rates
- Monitor response quality
- Log user feedback

2. Gap Detection

Automatic:
- Identify unused skills
- Find skill overlaps
- Detect missing capabilities
- Analyze failure patterns

Read the full file on GitHub · 358 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. 6d ago First seen · 358 lines · 45 tokens per session scan A 44b2481759ca

Subscribe to this mod's changes

runtime-self-improvement is a skill published in the GitHub repository oyi77/1ai-skills (12 stars, last pushed yesterday), licensed MIT. It adds 45 tokens to every session and 1,994 once invoked, about $0.0002 per session on Opus 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-09-03.

Related

Other skills, from other repositories

letter-hooker

Erweitert automation-self-care um Letter Hooks, Preflight-Bootloader, Dokument-Traversierungsregeln und selbstheilende Prompt-Kontext- Anreicherung für KI-Agenten und CLIs ohne native, ereignisgetriebene JSON-Lifecycle-Hooks (wie Antigravity / Gemini CLI). Nutzen, wenn ein Agent Preflight-Regeln injizieren, vor…

ellmos-ai/skills · 129 tokens

persistent-notes

Save notes locally to /mnt/workspace/notes.json file. Use when user wants to "save a note" or "remember something".

awslabs/agentcore-samples · 32 tokens

hive.context-preservation

Proactively extract critical values from tool results into working notes before automatic context pruning destroys them.

aden-hive/hive · 24 tokens

hive.note-taking

Maintain a free-form scratchpad of decisions, extracted values, and open questions so context pruning doesn't lose anything you still need.

aden-hive/hive · 30 tokens

capability-evolver

Self-evolution workflow for the agent. Before substantive work, recall past outcomes from evolution memory; while editing, detect improvement signals; at task end, record the outcome; when reusable, distill or search the EvoMap network for proven genes/capsules. Use when the user starts non-trivial work (a feature, a…

Dianel555/DSkills · 98 tokens

obsidian

Use the official Obsidian CLI (v1.12+) to manage vaults, notes, daily notes, search, tasks, tags, properties, links, templates, sync, publish, and workspaces. Use when the user mentions Obsidian, vaults, notes, or wants to automate note-taking and knowledge base workflows.

lvndry/jazz · 71 tokens