mirror

mirror is a command for Claude Code from harrystamatoukos/ai-conversation-extractor. It costs 7 tokens per session (569 once invoked), scanned A, original, MIT.

A command for viewing or rebuilding a personal profile based on patterns in past conversations and notes. The profile is stored in an Obsidian vault, a folder of linked Markdown notes.

In plain words
What is it for?
Checking the current profile or regenerating it from existing conversation notes.
Why use it?
It provides one place to review the profile created from conversation history. Rebuilding lets it use existing daily and topic notes again.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the ai-conversation-extractor plugin — 2 skills, 3 commands, 1 hook shipped together

Good fit Checking the current profile or regenerating it from existing conversation notes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/harrystamatoukos/ai-conversation-extractor/mirror
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.

Clone the repo
git clone --depth 1 https://github.com/harrystamatoukos/ai-conversation-extractor

Made for: Claude Code.

Or install ai-conversation-extractor, the plugin that ships this one along with the rest of its 2 skills, 3 commands, 1 hook.

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 mirror

README.md
[![agentmods](https://agentmods.dev/badge/commands/harrystamatoukos/ai-conversation-extractor/mirror/github.svg)](https://agentmods.dev/commands/harrystamatoukos/ai-conversation-extractor/mirror)
Your own site
<a href="https://agentmods.dev/commands/harrystamatoukos/ai-conversation-extractor/mirror"><img src="https://agentmods.dev/badge/commands/harrystamatoukos/ai-conversation-extractor/mirror/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 mirror

Your own site · 80×15
<a href="https://agentmods.dev/commands/harrystamatoukos/ai-conversation-extractor/mirror"><img src="https://agentmods.dev/badge/commands/harrystamatoukos/ai-conversation-extractor/mirror.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 569 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.00007 $0.00569
Opus 5 $0.00003 $0.00284
Sonnet 5 $0.00001 $0.00114
Haiku 4.5 $0.00001 $0.00057

Measured 8d ago against content hash 76155718f667, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

mirror 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 8d 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.

commands/mirror.md · 58 lines

How it starts

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

Mirror Command

View or manage your "Who Am I Really" psychological mirror profile — a living document built from your conversation patterns.

Default: View Current Profile

Read and display the current mirror profile:

VAULT_PATH="${OBSIDIAN_VAULT_PATH:-$HOME/Documents/Obsidian Vault}"
MIRROR_PATH="$VAULT_PATH/Claude Sessions/Mirror/Who Am I Really.md"
  1. Check if the profile exists at the path above
  2. If it exists, read it and present it to the user
  3. If it doesn't exist, tell the user:

    No mirror profile found yet. Run /ai-conversation-extractor:analyze-loop to build one as conversations are processed, or run /ai-conversation-extractor:mirror --rebuild to generate one from existing daily notes.

--rebuild: Rebuild from Scratch

If the argument is --rebuild:

  1. Scan all existing daily notes in ${OBSIDIAN_VAULT_PATH:-$HOME/Documents/Obsidian Vault}/Claude Sessions/Daily Notes/ using Glob
  2. Read through them chronologically to understand conversation patterns
  3. Also scan atomic notes (Insights, Decisions, Patterns, Models, Questions) for additional signals
  4. Build a fresh profile following the who-am-i skill guidelines
  5. Write to Claude Sessions/Mirror/Who Am I Really.md

The rebuild reads existing extracted notes (not raw exports) — so it works even without the original conversation files.

Rebuild Process

  1. Glob for all daily notes: Claude Sessions/Daily Notes/*.md
  2. Read each chronologically (oldest first)
  3. For each note, look for personality signals:
    • What topics recur?
    • What decisions reveal values?
    • What questions reveal concerns?
    • What patterns reveal thinking style?
  4. Read atomic notes for deeper signals:
    • Claude Sessions/Insights/*.md
    • Claude Sessions/Decisions/*.md
    • Claude Sessions/Patterns/*.md
    • Claude Sessions/Models/*.md
    • Claude Sessions/Questions/*.md
  5. Synthesize into the profile structure from the who-am-i skill
  6. Write the profile with accurate metadata (dates analyzed, count)

Read the full file on GitHub · 58 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. 8d ago First seen · 58 lines · 7 tokens per session scan A 76155718f667

Subscribe to this mod's changes

mirror is a command published in the GitHub repository harrystamatoukos/ai-conversation-extractor (2 stars, last pushed 7mo ago), licensed MIT. It adds 7 tokens to every session and 569 once invoked, about $0.0000 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-31.