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.
npx skills add TreyDong/banana-skills --skill banana-claude-codex-importgit clone --depth 1 https://github.com/TreyDong/banana-skillsWrote 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.
[](https://agentmods.dev/skills/treydong/banana-skills/banana-claude-codex-import)<a href="https://agentmods.dev/skills/treydong/banana-skills/banana-claude-codex-import"><img src="https://agentmods.dev/badge/skills/treydong/banana-skills/banana-claude-codex-import/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.
<a href="https://agentmods.dev/skills/treydong/banana-skills/banana-claude-codex-import"><img src="https://agentmods.dev/badge/skills/treydong/banana-skills/banana-claude-codex-import.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00120 | $0.00956 |
| Opus 5 | $0.00060 | $0.00478 |
| Sonnet 5 | $0.00024 | $0.00191 |
| Haiku 4.5 | $0.00012 | $0.00096 |
Grade A, and why
banana-claude-codex-import 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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.
banana-claude-codex-import
Import local Claude Code (~/.claude/) and Codex (~/.codex/) conversation history into OpenClaw's memory system, making past coding work queryable and part of long-term memory.
When to use this skill
Use this skill when the user:
- Wants to import, migrate, or consolidate Claude Code or Codex sessions
- Asks to "导入" or "migrate" past coding agent conversations
- Wants to make past Claude Code / Codex work searchable in memory
- Needs to rebuild memory from previous coding agent sessions
- Mentions
~/.claude/or~/.codex/session files - Is reviewing past work and wants to extract key decisions/patterns into memory
What this skill does
- Detect whether Claude Code and/or Codex data exists locally
- Preview with
--dry-runto show session count, date range, and sample content - Import all sessions to
logs/message-archive-raw/ - Generate memory candidates for distillation into
MEMORY.md
Workflow
Step 1: Dry-run first
Always run with --dry-run first to verify data coverage:
python3 ~/.openclaw/skills/banana-claude-codex-import/scripts/import_conversations.py --dry-run
Check:
- Session count (aim for 50+ for Claude Code, 50+ for Codex)
- Date range
- Whether content looks real (not just noise/environment context)
If results look good, proceed.
Step 2: Full import
python3 ~/.openclaw/skills/banana-claude-codex-import/scripts/import_conversations.py
This writes:
- Session archives →
logs/message-archive-raw/{claude_code,codex}/ - Memory draft →
memory/YYYY-MM-DD_import_candidates.md
Step 3: Distill into MEMORY.md
Read memory/YYYY-MM-DD_import_candidates.md and extract high-value content into MEMORY.md:
## Claude Code / Codex 导入记忆(YYYY-MM)
> N sessions imported from `logs/message-archive-raw/`
### 技术决策
- [key decision 1]
- [key decision 2]
### 项目 / 主题
- [project 1]: [what was done]
- [project 2]: [what was done]
### 工具 & 工作流
- [tool/workflow pattern observed across sessions]
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 12d ago First seen · 109 lines · 120 tokens per session scan A 744cb79269b4
banana-claude-codex-import is a skill published in the GitHub repository TreyDong/banana-skills (16 stars, last pushed 5mo ago), licensed MIT. It adds 120 tokens to every session and 956 once invoked, about $0.0006 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.
Other skills, from other repositories
media-ingest
Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.
mem0-oss-to-platform
Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…
Cortex
Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…
memory
Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.
ha-data-stores
Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…
establishing-project-context
Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.