Agent skill

Reflection Deep Dive

by jianzhichun in jianzhichun/emerge

A skill your agent uses when connector flywheel history is large/noisy and lightweight reflection is insufficient.

MITAuto-check passed

Install Reflection Deep Dive

skills CLI
$ npx skills add jianzhichun/emerge --skill reflection-deep-dive -a claude-code

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

GitHub CLI
$ gh skill install jianzhichun/emerge reflection-deep-dive --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/jianzhichun/emerge.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/reflection-deep-dive .claude/skills/reflection-deep-dive && 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
reflection-deep-dive
GitHub stars
106
Token cost
~325 tokens
SKILL.md length
112 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when connector flywheel history is large/noisy and lightweight reflection is insufficient.

  • Connector flywheel history is large/noisy and lightweight reflection is insufficient
  • SKILL.md covers Overview, When to Use, Command and Output, plus 1 more section
  • Calls python3

What it does

Reflection Deep Dive is an agent skill from jianzhichun/emerge. Use when connector flywheel history is large/noisy and lightweight reflection is insufficient. Builds a deep reflection cache consumed by hooks.

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

The licence is MIT.

When your agent uses it

  • Connector flywheel history is large/noisy and lightweight reflection is insufficient

Example prompts

  • “/reflection-deep-dive”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 035db30. 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

    Shell commands in SKILL.md call:

    • python3

    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

Reflection Deep Dive loads about 325 tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 112 words of instructions outside code blocks.

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

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 jianzhichun/emerge at commit 035db30, republished under its MIT licence (© jianzhichun). 112 words, ~325 tokens.

Download SKILL.mdSave it as .claude/skills/reflection-deep-dive/SKILL.md (or your agent's skills folder).
name
reflection-deep-dive
description
Use when connector flywheel history is large/noisy and lightweight reflection is insufficient. Builds a deep reflection cache consumed by hooks.

Reflection Deep Dive

Overview

Use this skill to generate a deeper, cached muscle-memory summary for long-running or noisy connectors. The cache is consumed by PreCompact, PostCompact, and UserPromptSubmit hooks when fresh, with automatic fallback to lightweight reflection when stale.

When to Use

  • Connector intent volume is high (for example, 200+ intents).
  • Recent failures or rollbacks are increasing.
  • The user asks for a full reflection/review of existing flywheel memory.

Command

Run:

bash
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/build_reflection_cache.py"

Optional:

bash
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/build_reflection_cache.py" --max-items 12

Output

The command writes:

  • ~/.emerge/state/reflection-cache/global.json (or EMERGE_STATE_ROOT/reflection-cache/global.json)

with:

  • generated_at_ms
  • summary_text
  • meta

Notes

  • Hooks prefer this cache while it is fresh (TTL-based).
  • If missing/stale, hooks fall back to local lightweight reflection.
  • The cache path and TTL policy are implementation details in SpanTracker.

© jianzhichun, 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/reflection-deep-dive of jianzhichun/emerge.

Open the folder on GitHubat commit 035db30

Compare with similar skills

Reflection Deep Dive 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.

Reflection Deep Dive compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Reflection Deep Dive this skilljianzhichun/emerge106—~325Automated safety check: PassMIT
Reflectalirezarezvani/claude-skills28k1 repos~2.4kAutomated safety check: PassMIT
Reflection Coachpaperclipai/paperclip99k—~3kAutomated safety check: PassMIT
API Connector Builderaffaan-m/ECC276k2 repos~666Automated safety check: PassMIT
Memory Reflectvectorize-io/hindsight47k—~233Automated safety check: PassMIT
ReflectNeoLabHQ/context-engineering-kit1.7k—~5.6kAutomated safety check: PassGPL-3.0

Similar skills

  • Reflect

    alirezarezvani/claude-skills

    Mid-conversation reflection skill that pauses execution and zooms out from detail-mode to honestly reassess direction, assumptions, and bias.

    28k GitHub starsUsed in 1 repo~2.4k tokens
    Agent WorkflowsAuto-check passed
  • Reflection Coach

    paperclipai/paperclip

    Reflect on another agent's recent execution record and propose the smallest durable instruction, skill, or tool-description change.

    99k GitHub stars~3k tokensUpdated today
    Sales & SupportAuto-check passed
  • Build a new API connector or provider by matching the target repo's existing integration pattern exactly.

    276k GitHub starsUsed in 2 repos~666 tokens
    Backend & APIsAuto-check passed
  • Memory Reflect

    vectorize-io/hindsight

    Answer questions about history, habits and past decisions by reasoning over Hindsight memory.

    47k GitHub stars~233 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Reflect

    NeoLabHQ/context-engineering-kit

    Reflect on previus response and output, based on Self-refinement framework for iterative improvement with complexity triage and verification

    1.7k GitHub stars~5.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Chat Connectors

    garrytan/gbrain

    Connect a ChatGPT or Claude account and sync its conversation history into the brain automatically.

    31k GitHub stars~2.8k tokensUpdated today
    Productivity & AutomationAuto-check passed

More from jianzhichun/emerge

All 14 skills in this repo
  • Distilling Operator Flows

    jianzhichun/emerge

    A skill your agent uses when wiring a generic connector to capture remote operator actions and convert repeated event facts into pending pipeline work through Claude Code skills.

    106 GitHub stars~432 tokensUpdated 5 mo ago
    Auto-check passed
  • Emerge Forward Synthesis

    jianzhichun/emerge

    Distill Emerge forward flywheel WAL samples into a parameterized pipeline result.

    106 GitHub stars~585 tokensUpdated 5 mo ago
    Auto-check passed
  • Emerge Reverse Synthesis

    jianzhichun/emerge

    Distill Emerge reverse flywheel raw operator events into a structured synthesis result.

    106 GitHub stars~451 tokensUpdated 5 mo ago
    Auto-check passed
  • A skill your agent uses when a user asks to initialize a domain flywheel from natural language context, especially when environment details are incomplete or mixed with execution assumptions.

    106 GitHub stars~2.2k tokensUpdated 5 mo ago
    Auto-check passed
  • Operator Monitor Debug

    jianzhichun/emerge

    A skill your agent uses when the operator monitoring pipeline appears broken: EventBus has no events, PatternDetector is not firing, elicitation dialog never appears, or OperatorMonitor is silent.

    106 GitHub stars~1k tokensUpdated 5 mo ago
    Auto-check passed
  • Policy Optimization

    jianzhichun/emerge

    A skill your agent uses when policy health needs tuning: too many explore pipelines, repeated failures, stalled promotions, or noisy rollback behavior.

    106 GitHub stars~916 tokensUpdated 5 mo ago
    Auto-check passed

Questions about Reflection Deep Dive

What does Reflection Deep Dive do?

A skill your agent uses when connector flywheel history is large/noisy and lightweight reflection is insufficient. Reflection Deep Dive is an agent skill from jianzhichun/emerge. Use when connector flywheel history is large/noisy and lightweight reflection is insufficient.

When should I use Reflection Deep Dive?

Reflection Deep Dive fits situations like: connector flywheel history is large/noisy and lightweight reflection is insufficient.

How do I install Reflection Deep Dive in Claude Code?

Run `npx skills add jianzhichun/emerge --skill reflection-deep-dive -a claude-code`. Or copy the skill folder (skills/reflection-deep-dive in jianzhichun/emerge) into .claude/skills/reflection-deep-dive in your project. Claude Code loads it when a task matches its description.

How do I install Reflection Deep Dive in Codex?

Run `npx skills add jianzhichun/emerge --skill reflection-deep-dive -a codex`. Or copy the skill folder (skills/reflection-deep-dive in jianzhichun/emerge) into .agents/skills/reflection-deep-dive in your project. Codex loads it when a task matches its description.

Can I use Reflection Deep Dive 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 jianzhichun/emerge --skill reflection-deep-dive -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/reflection-deep-dive, .gemini/skills/reflection-deep-dive, .github/skills/reflection-deep-dive and .opencode/skills/reflection-deep-dive in your project.

What does Reflection Deep Dive need to run?

Going by SKILL.md and its folder, Reflection Deep Dive needs the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Reflection Deep Dive 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 Reflection Deep Dive 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 Reflection Deep Dive use?

Reflection Deep Dive 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 Reflection Deep Dive use?

About 325 tokens (SKILL.md is roughly 1.3k 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 Reflection Deep Dive?

Skills that share tags, products or a category with Reflection Deep Dive: Reflect (alirezarezvani/claude-skills, 28k stars), Reflection Coach (paperclipai/paperclip, 99k stars), API Connector Builder (affaan-m/ECC, 276k stars) and Memory Reflect (vectorize-io/hindsight, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Reflection Deep Dive?

jianzhichun (a GitHub user) maintains it in jianzhichun/emerge, which has 106 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on April 26, 2026.

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