w-reflection

w-reflection is a skill for Claude Code from TserenTserenov/FMT-exocortex-template. It costs 77 tokens per session (1,012 once invoked), scanned A, original, MIT.

A recording step for storing a scored worldview reflection in a learning database. A worldview reflection is a structured review of assumptions, causes, consequences, and a person's role in a situation.

In plain words
What is it for?
Use it after a reflective session to save a quality score from 1 to 5, optionally record depth from 1 to 3, and update the learning record used for progression decisions.
Why use it?
It keeps deeper reflective work separate from routine mood notes and supplies a score used by a later progression rule. The reflection is rated for quality and may include a depth level.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument.

Good fit Use it after a reflective session to save a quality score from 1 to 5, optionally record depth from 1 to 3, and update the learning record used for progression decisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tserentserenov/fmt-exocortex-template/w-reflection
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 TserenTserenov/FMT-exocortex-template --skill w-reflection
Clone the repo
git clone --depth 1 https://github.com/TserenTserenov/FMT-exocortex-template

Made for: Claude Code.

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 w-reflection

README.md
[![agentmods](https://agentmods.dev/badge/skills/tserentserenov/fmt-exocortex-template/w-reflection/github.svg)](https://agentmods.dev/skills/tserentserenov/fmt-exocortex-template/w-reflection)
Your own site
<a href="https://agentmods.dev/skills/tserentserenov/fmt-exocortex-template/w-reflection"><img src="https://agentmods.dev/badge/skills/tserentserenov/fmt-exocortex-template/w-reflection/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 w-reflection

Your own site · 80×15
<a href="https://agentmods.dev/skills/tserentserenov/fmt-exocortex-template/w-reflection"><img src="https://agentmods.dev/badge/skills/tserentserenov/fmt-exocortex-template/w-reflection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,012 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: 1 finding, 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 analysis-evasion · line 1
    Suspicious Unicode normalization or mixed-script content
    Fix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
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.00077 $0.01012
Opus 5 $0.00039 $0.00506
Sonnet 5 $0.00015 $0.00202
Haiku 4.5 $0.00008 $0.00101

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

Security

Grade A, and why

w-reflection 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 4d 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.

.claude/skills/w-reflection/SKILL.md · 87 lines

How it starts

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

W-Reflection — запись мировоззренческого индикатора

Назначение: populate learning.w_reflections для расчёта W.idx в SR-алгоритме (FORM.089 §5). Когда вызывать: после рефлексивной сессии (диалог с Диагностом R28, индивидуальный самоанализ, разбор мировоззренческой ошибки). Не для рутинной фиксации настроения — это калибровка. Влияние: W ≥ 4 обязательно для перехода Дисциплинированный → Проактивный (gate Д→П).

When to use

Записать W-рефлексию (мировоззренческий слот RCS) в learning.w_reflections. Используется Диагностом R28 (MIM.R.009) или вызывается пользователем после рефлексивной сессии. Влияет на gate Д→П (FORM.089 §5.2).

Аргументы

  • $1 = quality_score — 1..5 по рубрике:
    • 1 — поверхностная (констатация без причин)
    • 2 — описательная (есть «что было», нет «почему»)
    • 3 — анализирующая (причины, последствия)
    • 4 — системная (видение себя как системы, agency)
    • 5 — мета-системная (видение себя как роли в надсистеме)
  • $2 = depth_level (опционально, default 2) — 1..3:
    • 1 — поверхностная
    • 2 — средняя (стандарт)
    • 3 — глубокая (>30 мин разбора)

Algorithm

Шаг 1. Вызвать скрипт маршрутизации

bash "$IWE_SCRIPTS/route-task.sh" --skill w-reflection --args "$ARGUMENTS"

Скрипт читает IWE_OWNER_ORY_UUID из окружения (account_id) и пишет в learning.w_reflections через роль w_reflection_writer (миграция 112). При отсутствии writer-URL — fallback на DATABASE_URL_LEARNING_DIRECT.

Шаг 2. Проверить exit code

Exit codes и их значения — в разделе Выход ниже.

Шаг 3. Вернуть ответ пилоту

При exit 0 — вывести OK-строку из stdout. При ненулевом exit — вывести ошибку.

Выход

  • exit 0 + [w-reflection] OK: account=... quality=N depth=M — успех
  • exit 1 — невалидные аргументы
  • exit 2 — отсутствует IWE_OWNER_ORY_UUID или DB URL
  • exit 3 — ошибка БД (constraint violation, network)

Пример

/w-reflection 3        # quality=3, depth=2 (default)
/w-reflection 4 3      # quality=4, глубокая

Read the full file on GitHub · 87 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. 4d ago Changed · +1 lines 9f4128ce42f0
  2. 9d ago First seen · 86 lines · 77 tokens per session scan A 63656d44602a

Subscribe to this mod's changes

w-reflection is a skill published in the GitHub repository TserenTserenov/FMT-exocortex-template (50 stars, last pushed today), licensed MIT. It adds 77 tokens to every session and 1,012 once invoked, about $0.0004 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

agent-memory-mcp

A hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).

davila7/claude-code-templates · 26 tokens

remember

Stores decisions, patterns, and outcomes in the MCP memory knowledge graph as entities with typed observations and relations. Supports recording architectural decisions, anti-patterns, tool preferences, workflow outcomes, and project conventions that persist across sessions. Use when saving patterns, remembering…

yonatangross/orchestkit · 62 tokens

obsidian-memory

Cross-project long-term memory over an Obsidian brain vault: recall relevant notes before a task, and persist distilled conclusions (decisions, pitfalls, solutions, progress) back after a task. The vault is an optional aggregation/projection layer — repo-local artifacts stay the per-project source of truth, and sync…

Ancienttwo/repo-harness · 212 tokens

neo4j-agent-memory-skill

Authoritative reference for the neo4j-agent-memory Python package — a graph-native memory system for AI agents built on Neo4j — and for the hosted service (NAMS) at memory.neo4jlabs.com. Use this skill whenever the user mentions neo4j-agent-memory, agent memory with Neo4j, context graphs, the POLE+O model…

neo4j-contrib/neo4j-skills · 223 tokens

context-engineering

Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks, or when you need to configure rules files and context for a project.

jcarlosrodicio/opencode-agent-orchestration-kit · 43 tokens

compact-memory-implementation

Developer implementation guide for adding compact memory to an Agent — covers fork agent pattern for compaction, trigger strategy, summary format design, and memory restoration in subsequent sessions. Use when a developer asks how to implement compact memory, context compression, or memory persistence in their agent…

simbajigege/book2skills · 68 tokens