self_reflect

self_reflect is a skill for Claude Code, Codex from IceWhaleTech/ZimaOS-Blue. It costs 36 tokens per session (916 once invoked), scanned A, original, MIT.

A post-task reflection tool that summarizes completed work and extracts reusable lessons for the coding agent’s memory.

In plain words
What is it for?
Use it after a completed task when you need structured lessons or memory entries. It depends on a connected reflection backend.
Why use it?
It helps preserve useful lessons from finished tasks instead of losing them when the task ends.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is blue self_reflect goal="Refactor scheduler docs" final_status=completed result_summary="Updated docs and tests" verification_output="go test ./internal/skillman.

Good fit Use it after a completed task when you need structured lessons or memory entries. It depends on a connected reflection backend.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/IceWhaleTech/ZimaOS-Blue
agentmods
npx agentmods add skills/icewhaletech/zimaos-blue/self_reflect

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_reflect

README.md
[![agentmods](https://agentmods.dev/badge/skills/icewhaletech/zimaos-blue/self_reflect/github.svg)](https://agentmods.dev/skills/icewhaletech/zimaos-blue/self_reflect)
Your own site
<a href="https://agentmods.dev/skills/icewhaletech/zimaos-blue/self_reflect"><img src="https://agentmods.dev/badge/skills/icewhaletech/zimaos-blue/self_reflect/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 self_reflect

Your own site · 80×15
<a href="https://agentmods.dev/skills/icewhaletech/zimaos-blue/self_reflect"><img src="https://agentmods.dev/badge/skills/icewhaletech/zimaos-blue/self_reflect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 916 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.
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.00036 $0.00916
Opus 5 $0.00018 $0.00458
Sonnet 5 $0.00007 $0.00183
Haiku 4.5 $0.00004 $0.00092

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

Security

Grade A, and why

self_reflect 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 10d 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.

assets/skills/self_reflect/SKILL.md · 118 lines

How it starts

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

Self Reflect

Summarize a finished task, extract grounded reusable lessons, and persist them into memory when that backend is available.

This skill is mostly for runtime-driven post-task reflection. It is not usually the first choice for ordinary end-user requests.

Setup

No external dependencies required. This skill needs the runtime self-reflection backend to be wired; otherwise execution returns a backend-unavailable error.


Task Routing

User Intent Action
Agent/runtime wants an automatic post-task reflection pass blue self_reflect ...
User explicitly asks to review lessons learned from a completed task blue self_reflect ...
Need reusable memory-worthy lessons rather than a normal prose recap blue self_reflect ...
User only wants a plain summary or retrospective in chat Prefer a normal answer unless structured reflection output is needed

Command Usage

Basic successful reflection:

blue self_reflect goal="Fix parser regression" final_status=completed result_summary="Patched parser and passed focused verification" --json

Failure reflection:

blue self_reflect goal="Investigate flaky test" final_status=failed failure_reason="Timeout in CI" --json

With plan and verification context:

blue self_reflect goal="Refactor scheduler docs" final_status=completed result_summary="Updated docs and tests" verification_output="go test ./internal/skillmanifest passed" --json

Advanced proposal/review mode is also supported through additional fields such as source_kind, source_id, evaluation_summary, proposal_candidates, and proposal_mode.


Parameters

  • goal: Required for normal reflection flows.
  • task_id: Optional task identifier for memory tagging.
  • plan: Optional step list with description, status, and output.
  • step_outputs: Optional step outputs merged into plan by index.
  • verification_output: Optional verification stage output.
  • final_status: Required for normal reflection flows; must be completed, failed, or partial.
  • result_summary: Optional short outcome summary.
  • failure_reason: Optional failure reason.
  • source_kind, source_id, evaluation_summary, proposal_candidates, proposal_mode: Optional advanced proposal inputs used by internal review workflows.

Read the full file on GitHub · 118 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. 10d ago First seen · 118 lines · 36 tokens per session scan A 5875358b40d3

Subscribe to this mod's changes

self_reflect is a skill published in the GitHub repository IceWhaleTech/ZimaOS-Blue (25 stars, last pushed 4mo ago), licensed MIT. It adds 36 tokens to every session and 916 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-08-30.

Related

Other skills, from other repositories

data-sync

Sync and archive data from messaging platforms (WhatsApp, Discord, Slack, Twitter/X, Google) into Moltis memory as daily digest summaries. Orchestrates crawl tools and writes structured markdown to the memory system.

moltis-org/moltis · 46 tokens

credential-recipe-research

Lookup procedure for Simplified Custom Auth recipe fields — sources the auth template, the key-issuing docsUrl and an auth-rejecting testUrl from the provider's real documentation instead of memory. Load before composing credentialHints for a service without a dedicated credential type (the post-build-flow setup…

n8n-io/n8n · 85 tokens

commonly

You are a member of a Commonly workspace — a shared space where humans and AI agents from any origin collaborate in pods (chat rooms with memory). Use this whenever you are connected to Commonly via the commonly MCP tools: to read what's happening, post, remember things across sessions, react, DM other agents, and…

Team-Commonly/commonly · 0 tokens

compaction-skill

Manage memory compaction by summarizing conversation history when approaching token limits.

zeenie-ai/OpenCompany · 18 tokens

memory-skill

Manage conversation memory. Use when user asks to remember something, recall information, view/edit conversation history, or manage short/long-term memory.

zeenie-ai/OpenCompany · 32 tokens

weknora-shared

Use when driving a WeKnora RAG server through the weknora CLI as an agent — authenticating, managing knowledge bases / documents / sessions / agents, running search or chat, or interpreting the CLI's JSON envelopes and exit codes. Read this before any other weknora- skill.

Tencent/WeKnora · 68 tokens