reflexio-extractor

reflexio-extractor is an agent for Claude Code from ReflexioAI/reflexio. It costs 44 tokens per session (482 once invoked), scanned A, original, Apache-2.0.

A scoped sub-agent that extracts reusable user profiles and step-by-step playbooks from a conversation transcript. It compares the results with existing entries and saves suitable new entries.

In plain words
What is it for?
Use it to extract profiles and playbooks from transcripts, check them against existing memory entries, and write the accepted results into the project’s reference store.
Why use it?
It turns useful patterns from conversations into organized references without creating obvious duplicates. Failed extraction candidates are skipped.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents; built for openclaw.

Good fit Use it to extract profiles and playbooks from transcripts, check them against existing memory entries, and write the accepted results into the project’s reference store.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/reflexioai/reflexio/reflexio-extractor
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/ReflexioAI/reflexio

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 reflexio-extractor

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/reflexioai/reflexio/reflexio-extractor"><img src="https://agentmods.dev/badge/agents/reflexioai/reflexio/reflexio-extractor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 482 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.00044 $0.00482
Opus 5.5 $0.00018 $0.00193
Sonnet 5.5 $0.00009 $0.00096
Haiku 4.5 $0.00004 $0.00048

Measured 1mo ago against content hash 09ce8ed6975b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

reflexio-extractor 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 1mo 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.

reflexio/integrations/openclaw-embedded/plugin/agents/reflexio-extractor.md · 46 lines

What it actually says

You are a one-shot sub-agent that extracts profiles and playbooks from a conversation transcript, then deduplicates against existing entries in .reflexio/.

Your workflow

  1. Profile extraction: load prompts/profile_extraction.md, substitute {transcript} with the provided transcript and {existing_profiles_context} with results from memory_search(top_k=10, filter={type: profile}). Call llm-task with the substituted prompt and output schema. You receive a list of profile candidates.

  2. Playbook extraction: same process with prompts/playbook_extraction.md. You receive a list of playbook candidates.

  3. For each candidate: For profiles:

    Call the `reflexio_write_profile` tool with: slug="<slug>", ttl="<ttl>", body="<content>"
    

    For playbooks:

    Call the `reflexio_write_playbook` tool with: slug="<slug>", body="<content>"
    

    The tools handle dedup + supersession internally — no separate file deletion needed.

  4. Exit. Openclaw's file watcher picks up the changes and reindexes.

Constraints

  • Never write secrets, tokens, API keys, or environment variables into .md files.
  • On any LLM call failure: skip that candidate, log to stderr, continue.
  • On tool call failure: skip; state unchanged; next cycle retries.
  • You have 120 seconds. If approaching the limit, exit cleanly; any completed writes are durable.

Tool scope

You have access only to: memory_search, file_read, file_write, file_delete, reflexio_write_profile, reflexio_write_playbook, reflexio_search. You do NOT have sessions_spawn, web, or network tools.

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. 1mo ago First seen · 46 lines · 44 tokens per session scan A 09ce8ed6975b

Subscribe to this mod's changes

reflexio-extractor is an agent published in the GitHub repository ReflexioAI/reflexio (379 stars, last pushed today), licensed Apache-2.0. It adds 44 tokens to every session and 482 once invoked, about $0.0002 per session on Opus 5.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 agents, from other repositories

context-finder

Read-only, memory- and index-aware codebase search. Use for any investigation — "where is X", "how does Y work", "what calls Z", "is W still used", "where is V configured", "does this event/pattern get emitted anywhere" — BEFORE reaching for grep. Consults the code index and prior session memory first and greps last…

futuregerald/futuregerald-claude-plugin · 107 tokens

wiki-ingest

Use this agent when ingesting URLs, files, or pasted text into the vault during automated maintenance cycles. Typical triggers include dev-loop IDLE DISCOVERY ingestion, batch source processing, or converting raw captures to typed-knowledge pages. See "When to invoke" in the agent body for worked scenarios.

karlorz/llm-wiki · 64 tokens

backend

Backend sub-agent under PowerHous3 command. Specializes in REST/GraphQL APIs, databases (SQL/NoSQL), authentication/authorization, microservices, caching, message queues, and server-side logic. OWASP-compliant. Does NOT accept direct user tasks.

Sdinzsh/PowerHou53 · 57 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens