Agent skill

Self Improve

by Ckokoski in Ckokoski/AuthorAgent

Continuous self-improvement loop — AuthorAgent learns from mistakes, successes, and user feedback to get better over time

MITAuto-check passed

Install Self Improve

skills CLI
$ npx skills add Ckokoski/AuthorAgent --skill self-improve -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Ckokoski/AuthorAgent self-improve --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Ckokoski/AuthorAgent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/core/self-improve .claude/skills/self-improve && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
self-improve
GitHub stars
123
Token cost
~1.7k tokens
SKILL.md length
510 words
Files
1
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

Continuous self-improvement loop — AuthorAgent learns from mistakes, successes, and user feedback to get better over time

  • Works in 6 steps: User Revision (highest signal) — User… → User Feedback — User explicitly says "I… → Acceptance Pattern — User accepted… → …
  • SKILL.md covers How It Works, Applying Lessons, Lesson Decay and Viewing the Improvement Log, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Self Improve is an agent skill from Ckokoski/AuthorAgent. Continuous self-improvement loop — AuthorAgent learns from mistakes, successes, and user feedback to get better over time

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: The Autonomous AI Writing Agent — a secure, author-focused AI for fiction and nonfiction authors (Planning, Revision, Promotion, and more). The licence is MIT.

Example prompts

  • “/self-improve”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. User Revision (highest signal) — User edited or rewrote AI output
  2. User Feedback — User explicitly says "I liked X" or "Don't do Y"
  3. Acceptance Pattern — User accepted output without changes
  4. Error Recovery — Something failed and was fixed
  5. Self-Critique — Agent reviews its own output and spots issues
  6. After-Action Review — Post-goal structured reflection

What it can do on your machine

Read from SKILL.md and the folder at commit 47e9570. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Self Improve loads about 1.7k tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 510 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~34
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Ckokoski/AuthorAgent at commit 47e9570, republished under its MIT licence (© Ckokoski). 510 words, ~1,704 tokens.

Download SKILL.mdSave it as .claude/skills/self-improve/SKILL.md (or your agent's skills folder).
name
self-improve
description
Continuous self-improvement loop — AuthorAgent learns from mistakes, successes, and user feedback to get better over time
author
AuthorAgent
version
1.0.0
triggers
self improve, improve yourself, learn from, what did you learn, improvement log, get better, lessons learned, self reflection, review performance
permissions
file:read, file:write

Self-Improvement Loop — Core Skill

AuthorAgent gets better every time it works. This skill creates a persistent learning loop where the agent tracks what works, what fails, and what the user prefers — then applies those lessons to future tasks.

How It Works

The Loop
  ┌─────────────────────────────┐
  │                             │
  │    1. DO THE WORK           │
  │    (goal step, writing,     │
  │     research, etc.)         │
  │                             │
  └──────────┬──────────────────┘
             │
             ▼
  ┌─────────────────────────────┐
  │                             │
  │    2. OBSERVE RESULT        │
  │    Did the user accept it?  │
  │    Did they revise it?      │
  │    Did it trigger an error? │
  │    How long did it take?    │
  │                             │
  └──────────┬──────────────────┘
             │
             ▼
  ┌─────────────────────────────┐
  │                             │
  │    3. EXTRACT LESSON        │
  │    What specifically        │
  │    went right or wrong?     │
  │    What pattern emerges?    │
  │                             │
  └──────────┬──────────────────┘
             │
             ▼
  ┌─────────────────────────────┐
  │                             │
  │    4. STORE LESSON          │
  │    Write to learning log    │
  │    (workspace/memory/       │
  │     improvement-log.jsonl)  │
  │                             │
  └──────────┬──────────────────┘
             │
             ▼
  ┌─────────────────────────────┐
  │                             │
  │    5. APPLY LESSONS         │
  │    Before each new task,    │
  │    check the log for        │
  │    relevant lessons and     │
  │    adjust behavior          │
  │                             │
  └──────────┬──────────────────┘
             │
             └──────── back to step 1
What Gets Tracked

Every lesson entry in improvement-log.jsonl contains:

json
{
  "id": "lesson-042",
  "timestamp": "2026-02-24T14:30:00Z",
  "category": "writing",
  "trigger": "user_revision",
  "context": "Chapter 3 of thriller project",
  "observation": "User rewrote all dialogue tags from creative tags to simple said/asked",
  "lesson": "This user strongly prefers invisible dialogue tags (said/asked). Do not use creative tags like 'exclaimed', 'muttered', 'hissed' unless the user specifically asks.",
  "confidence": 0.9,
  "applied_count": 0,
  "source": "user_feedback"
}
Categories of Learning
Writing Quality
  • Which prose styles the user accepts vs. revises
  • Preferred sentence length, paragraph structure
  • Dialogue conventions (tags, beats, subtext level)
  • Description density (sparse vs. lush)
  • Pacing preferences per genre/chapter type
Task Execution
  • Which AI providers give best results for which task types
  • Optimal temperature settings per task
  • How many steps different goal types actually need
  • Which skills produce the best outputs
  • Time estimates that were accurate vs. wildly off
Research Quality
  • Which sources the user found most useful
  • Research depth preferences (quick overview vs. deep dive)
  • Citation style preferences
  • How much context to include in research summaries
User Communication
  • Preferred response length (concise vs. detailed)
  • How the user likes to receive status updates
  • When to ask for clarification vs. make a decision
  • Vocabulary and terminology preferences
Error Patterns
  • Common failure modes and their fixes
  • API errors and successful workarounds
  • Prompt formulations that reliably fail
  • Context length issues and mitigation strategies
Lesson Sources
  1. User Revision (highest signal) — User edited or rewrote AI output

    • Compare original vs. user version
    • Extract the specific changes as preferences
    • Confidence: HIGH
  2. User Feedback — User explicitly says "I liked X" or "Don't do Y"

    • Direct instruction → immediate high-confidence lesson
    • Confidence: VERY HIGH
  3. Acceptance Pattern — User accepted output without changes

    • Reinforces that the approach worked
    • Confidence: MEDIUM (absence of feedback isn't always approval)
  4. Error Recovery — Something failed and was fixed

    • The fix becomes a lesson for next time
    • Confidence: HIGH
  5. Self-Critique — Agent reviews its own output and spots issues

    • Lower confidence but still valuable
    • Confidence: LOW-MEDIUM
  6. After-Action Review — Post-goal structured reflection

    • Comprehensive lessons from completed goals
    • Confidence: MEDIUM-HIGH
Show full SKILL.md (188 more words)Show less

Applying Lessons

Before each task, AuthorAgent should:

  1. Load relevant lessons from the improvement log
  2. Filter by category matching the current task type
  3. Sort by confidence and recency
  4. Inject top lessons into the system prompt as behavioral rules

Example injection:

## Lessons Learned (Apply These)
- This user prefers invisible dialogue tags (said/asked). Confidence: 0.9
- For thriller pacing, keep chapters under 3000 words. Confidence: 0.85
- When researching, include at least 3 specific sources. Confidence: 0.7
- Use Gemini for planning tasks (faster, good enough). Confidence: 0.8

Lesson Decay

Lessons aren't permanent:

  • Confidence increases each time a lesson is applied and the output is accepted
  • Confidence decreases if a lesson is applied and the user revises the output
  • Lessons below 0.3 confidence are archived (moved to improvement-archive.jsonl)
  • User can explicitly override any lesson ("Actually, I DO want creative dialogue tags now")

Viewing the Improvement Log

show improvement log

Displays a human-readable summary of all active lessons, grouped by category.

what did you learn from [project/goal]

Shows lessons extracted from a specific project or goal.

clear lesson [id]

Remove a specific lesson that's no longer relevant.

improvement stats

Shows: total lessons, lessons applied today, confidence distribution, top categories.

Commands

  • self improve — Run a self-reflection on recent interactions
  • show improvement log — View all active lessons
  • what did you learn — Summary of recent learnings
  • clear lesson [id] — Remove a specific lesson
  • improvement stats — Metrics on the learning system
  • apply lessons to [task] — Manually trigger lesson lookup for a task

© Ckokoski, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/core/self-improve of Ckokoski/AuthorAgent.

Open the folder on GitHubat commit 47e9570

Compare with similar skills

Self Improve next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Self Improve compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Self Improve this skillCkokoski/AuthorAgent123—~1.7kAutomated safety check: PassMIT
Continuous Learningaffaan-m/ECC276k—~1.1kAutomated safety check: PassMIT
Continuous Learningaffaan-m/ECC276k—~1.2kAutomated safety check: PassMIT
Continuous Learningaffaan-m/ECC276k3 repos~559Automated safety check: PassMIT
Continuous Learningaffaan-m/ECC276k2 repos~587Automated safety check: PassMIT
Continuous Learningaffaan-m/ECC276k2 repos~761Automated safety check: PassMIT

Similar skills

  • [DEPRECATED - use continuous-learning-v2] Legacy v1 stop-hook skill extractor.

    276k GitHub stars~1.1k tokensUpdated 4 days ago
    Auto-check passed
  • [OBSOLETO - usar continuous-learning-v2] Extractor de skill por hook Stop v1 heredado.

    276k GitHub stars~1.2k tokensUpdated 4 days ago
    Auto-check passed
  • 自动从Claude Code会话中提取可重复使用的模式,并将其保存为学习到的技能以供将来使用. An agent skill from affaan-m/ECC.

    276k GitHub starsUsed in 3 repos~559 tokens
    Auto-check passed
  • Claude Codeセッションから再利用可能なパターンを自動的に抽出し、将来の使用のために学習済みスキルとして保存します。

    276k GitHub starsUsed in 2 repos~587 tokens
    Auto-check passed
  • Claude Code 세션에서 재사용 가능한 패턴을 자동으로 추출하여 향후 사용을 위한 학습된 스킬로 저장합니다.

    276k GitHub starsUsed in 2 repos~761 tokens
    Auto-check passed
  • Claude Code oturumlarından yeniden kullanılabilir kalıpları otomatik olarak çıkarın ve gelecekte kullanmak üzere öğrenilmiş skill'ler olarak kaydedin.

    276k GitHub starsUsed in 1 repo~959 tokens
    Auto-check passed

More from Ckokoski/AuthorAgent

All 23 skills in this repo
  • After Action Review

    Ckokoski/AuthorAgent

    Structured post-goal reflection that extracts lessons, evaluates quality, and feeds the self-improvement loop

    123 GitHub stars~1.6k tokensUpdated 2 mo ago
    Auto-check passed
  • Comp Title Finder

    Ckokoski/AuthorAgent

    Find and analyze comparable titles for query letters, marketing, and positioning strategy

    123 GitHub stars~1.4k tokensUpdated 2 mo ago
    Auto-check passed
  • Continuity Check

    Ckokoski/AuthorAgent

    Scan manuscript for inconsistencies in characters, timeline, settings, and names

    123 GitHub stars~1.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Deep Voice Analysis

    Ckokoski/AuthorAgent

    Advanced 47-marker voice analysis engine — analyzes your writing to build a comprehensive Voice Profile for AuthorClaw

    123 GitHub stars~1.4k tokensUpdated 2 mo ago
    Auto-check passed
  • Dictation Cleanup

    Ckokoski/AuthorAgent

    Transform raw speech-to-text dictation into polished prose while preserving the author's natural voice

    123 GitHub stars~1.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Error Recovery

    Ckokoski/AuthorAgent

    Intelligent error diagnosis, automatic recovery strategies, and prevention of recurring failures

    123 GitHub stars~1.7k tokensUpdated 2 mo ago
    Auto-check passed

Questions about Self Improve

What does Self Improve do?

Continuous self-improvement loop — AuthorAgent learns from mistakes, successes, and user feedback to get better over time. Self Improve is an agent skill from Ckokoski/AuthorAgent.

How do I install Self Improve in Claude Code?

Run `npx skills add Ckokoski/AuthorAgent --skill self-improve -a claude-code`. Or copy the skill folder (skills/core/self-improve in Ckokoski/AuthorAgent) into .claude/skills/self-improve in your project. Claude Code loads it when a task matches its description.

How do I install Self Improve in Codex?

Run `npx skills add Ckokoski/AuthorAgent --skill self-improve -a codex`. Or copy the skill folder (skills/core/self-improve in Ckokoski/AuthorAgent) into .agents/skills/self-improve in your project. Codex loads it when a task matches its description.

Can I use Self Improve in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Ckokoski/AuthorAgent --skill self-improve -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/self-improve, .gemini/skills/self-improve, .github/skills/self-improve and .opencode/skills/self-improve in your project.

What does Self Improve need to run?

SKILL.md names no scripts, command-line tools or credentials: Self Improve is instructions for the agent only.

Does Self Improve access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Self Improve safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Self Improve use?

Self Improve is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Self Improve use?

About 1.7k tokens (SKILL.md is roughly 6.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Self Improve?

Skills that share tags, products or a category with Self Improve: Continuous Learning (affaan-m/ECC, 276k stars), Continuous Learning (affaan-m/ECC, 276k stars), Continuous Learning (affaan-m/ECC, 276k stars) and Continuous Learning (affaan-m/ECC, 276k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Self Improve?

Ckokoski (a GitHub user) maintains it in Ckokoski/AuthorAgent, which has 123 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on July 11, 2026.

Source: Ckokoski/AuthorAgent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.