find-agent-data

find-agent-data is a skill for Codex from Mark-Libetter/ai-conversation-hub. It costs 145 tokens per session (1,653 once invoked), scanned A, original, MIT.

A local-data discovery skill for finding and inspecting conversation files created by various AI coding assistants.

In plain words
What is it for?
Use it to find where an assistant stores conversations, identify matching sessions, recover readable messages, and report whether the result is complete or partial.
Why use it?
Conversation data may be stored in different locations and formats, and some files may contain credentials or incomplete records. This skill helps locate usable transcripts while keeping those limits clear.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

Good fit Use it to find where an assistant stores conversations, identify matching sessions, recover readable messages, and report whether the result is complete or partial.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mark-libetter/ai-conversation-hub/find-agent-data
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 Mark-Libetter/ai-conversation-hub --skill find-agent-data
Clone the repo
git clone --depth 1 https://github.com/Mark-Libetter/ai-conversation-hub

Made for: 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 find-agent-data

README.md
[![agentmods](https://agentmods.dev/badge/skills/mark-libetter/ai-conversation-hub/find-agent-data/github.svg)](https://agentmods.dev/skills/mark-libetter/ai-conversation-hub/find-agent-data)
Your own site
<a href="https://agentmods.dev/skills/mark-libetter/ai-conversation-hub/find-agent-data"><img src="https://agentmods.dev/badge/skills/mark-libetter/ai-conversation-hub/find-agent-data/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 find-agent-data

Your own site · 80×15
<a href="https://agentmods.dev/skills/mark-libetter/ai-conversation-hub/find-agent-data"><img src="https://agentmods.dev/badge/skills/mark-libetter/ai-conversation-hub/find-agent-data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 145 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,653 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.00145 $0.01653
Opus 5 $0.00072 $0.00826
Sonnet 5 $0.00029 $0.00331
Haiku 4.5 $0.00015 $0.00165

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

Security

Grade A, and why

find-agent-data 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 9d ago.

The scan reads SKILL.md. This mod also ships 8 executable files (agent_recovery/__init__.py, agent_recovery/common.py, agent_recovery/grok.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/find-agent-data/SKILL.md · 134 lines

How it starts

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

Find Agent Data

把本 skill 当作“本地 AI 会话发现与恢复层”,不是单纯的路径清单。Qoder/QoderCN 与 Grok Build 的映射实现只放在 agent_recovery/,对话中心适配器复用同一份代码。目标是输出可验证的链路:

产品 → 索引 → 正文候选 → 覆盖率选择 → 来源证据 → 局限

不可违反的约束

  • 先查默认路径和官方环境变量;不要从磁盘根目录递归扫描。
  • 默认只读。SQLite 使用 mode=roPRAGMA query_only=ON
  • 不读取或导出 auth.jsonopenclaw.json、token、Cookie、API key 等凭据。
  • 不破解或解密厂商字段。加密正文只能标记为不可直接读取,再寻找明文 transcript。
  • “目录存在”不等于“已找到对话”。只有会话表、消息表或 transcript 才算对话证据。
  • 区分 verifiedpartial 与未知,不把推测写成事实。
  • 读正文时保存文件路径、行号、事件 ID(若有)和内容行哈希;摘要不能替代来源证据。

工作流

1. 先做发现

运行:

python scripts/find_agent_data.py --existing-only --probe --json

只查某个产品:

python scripts/find_agent_data.py qoder --probe --json
python scripts/find_agent_data.py grok --probe --json

发现结果使用 find-agent-data/v2 JSON。检查:

  • detected 是否由 conversation_evidence=true 的位置触发;
  • confidenceverified 还是 partial
  • SQLite 是否可只读打开、当前有哪些表;
  • warnings 是否提示凭据目录、加密字段或覆盖不完整。

若用户只问“数据在哪里”,到此即可。不要顺带读取对话正文。

2. 需要找具体对话时,先索引后正文

按以下顺序:

  1. 用标题、session ID、项目名和更新时间在索引层缩小范围。
  2. 把索引 ID 映射到所有已知正文候选,不能命中第一个就停止。
  3. 安全解析每个候选中的 user/assistant 消息。
  4. 以有效消息数为主、末条证据行和修改时间为辅,选覆盖最完整的候选。
  5. 报告未命中的索引会话为 metadata_only,不能说“完整回顾成功”。

通用证据模型和报告格式见 references/recovery-sop.md。产品路径与 schema 线索见 references/agent-storage.md

3. Qoder/QoderCN 使用专用映射探针

按标题查找且默认不显示正文:

python scripts/qoder_session_probe.py --product qoder --query "继续codex项目优化" --json

需要回顾卡片时,显式增加 --preview

python scripts/qoder_session_probe.py --product qoder --query "继续codex项目优化" --preview --json

探针只读 chat_session 的安全元数据,不读 chat_message.content。它会同时检查:

  • 完整会话 ID 对应的 full transcript;
  • 6–24 字符任务 ID 前缀对应的 compact transcript;
  • 所有候选的有效消息数、首末证据行、事件 ID 和行哈希。

chat_session 有标题但找不到明文候选,报告 metadata_only。若给出精确 session ID,即使索引已丢失,也可尝试从 transcript 根恢复。

4. Grok Build 使用专用映射探针

按标题查找且默认不显示正文:

python scripts/grok_session_probe.py --query "对话中心" --json

Read the full file on GitHub · 134 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. 9d ago First seen · 134 lines · 145 tokens per session scan A cf782734a0be

Subscribe to this mod's changes

find-agent-data is a skill published in the GitHub repository Mark-Libetter/ai-conversation-hub (3 stars, last pushed 19d ago), licensed MIT. It adds 145 tokens to every session and 1,653 once invoked, about $0.0007 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.

Related

Other skills, from other repositories

cao-learning

Report task outcomes and distill lessons so the team improves across runs — reportoutcome after each unit of work, retrospector handoffs at natural boundaries, and applying injected lessons. Use in workflows that run repeatedly over similar work items. Requires memory.learningenabled; degrade silently when the tools…

awslabs/cli-agent-orchestrator · 63 tokens

cao-memory

Store, recall, and forget durable facts with CAO memory — user preferences, project conventions, decisions, and corrections that should persist across sessions and agents. Use proactively to check memory before asking the user, and to save anything worth remembering. Distinct from any provider-native memory.

awslabs/cli-agent-orchestrator · 59 tokens

lore

SpecStory Lore - mine your SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more) into a persistent corpus, surface your reproducible workflows with corroborated evidence, and interactively forge the chosen ones into skills installed across all your agent harnesses. Use when the user…

specstoryai/getspecstory · 109 tokens

lov-auto-context

Manual or hook-triggered context operator. Evaluates the current session for pollution (long conversations, topic drift, stale noise), AND takes concrete context-shaping actions: writing project memory, updating global or project CLAUDE.md (with diff + confirm), and recommending harness commands like /fork, /compact…

lovstudio/skills · 112 tokens

lov-ataru-indexing

A maintenance tool for building, repairing, or checking a local searchable index of Ataru AI conversation history. An index is an organised lookup structure that makes searching stored records faster.

lovstudio/skills · 55 tokens

lov-search-chat

A local search tool for recalling relevant parts of earlier AI conversations from an indexed memory store. It returns matching sessions and identifiable excerpts from the original conversations.

lovstudio/skills · 53 tokens