openclaw-history-ingest

openclaw-history-ingest is a skill for Claude Code from Ar9av/obsidian-wiki. It costs 51 tokens per session (2,538 once invoked), scanned A, original, MIT.

A workflow for importing OpenClaw agent history into an Obsidian wiki. OpenClaw is an agent system whose stored history can include long-term memory and session transcripts.

In plain words
What is it for?
Use it to process an OpenClaw folder, extract lasting information from previous sessions, and add that knowledge to an Obsidian wiki.
Why use it?
It turns past agent conversations and memory into knowledge that can be added to the user's notes for later use.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: built for openclaw.

Part of the obsidian-wiki plugin — 42 skills, 2 hooks, 1 MCP server shipped together

Good fit Use it to process an OpenClaw folder, extract lasting information from previous sessions, and add that knowledge to an Obsidian wiki.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ar9av/obsidian-wiki/openclaw-history-ingest
About the project

obsidian-wiki is a framework that helps AI agents build and maintain an interconnected knowledge base from text-based material in an Obsidian vault. It is for people who want their agents to remember discoveries, connect related information, and answer questions with wiki-link citations. Catalogue add-ons provide the agent skills, instructions, agents, and configuration used to create and maintain these wikis.

Ar9av/obsidian-wiki · 3,835 stars · on GitHub

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 Ar9av/obsidian-wiki --skill openclaw-history-ingest
Clone the repo
git clone --depth 1 https://github.com/Ar9av/obsidian-wiki

Made for: Claude Code.

Or install obsidian-wiki, the plugin that ships this one along with the rest of its 42 skills, 2 hooks, 1 MCP server.

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 openclaw-history-ingest

README.md
[![agentmods](https://agentmods.dev/badge/skills/ar9av/obsidian-wiki/openclaw-history-ingest/github.svg)](https://agentmods.dev/skills/ar9av/obsidian-wiki/openclaw-history-ingest)
Your own site
<a href="https://agentmods.dev/skills/ar9av/obsidian-wiki/openclaw-history-ingest"><img src="https://agentmods.dev/badge/skills/ar9av/obsidian-wiki/openclaw-history-ingest/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 openclaw-history-ingest

Your own site · 80×15
<a href="https://agentmods.dev/skills/ar9av/obsidian-wiki/openclaw-history-ingest"><img src="https://agentmods.dev/badge/skills/ar9av/obsidian-wiki/openclaw-history-ingest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,538 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. Third-party audits
  • Socket pass 14 Nov 2026
  • Snyk warn 24 Nov 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00051 $0.02538
Opus 5.5 $0.00020 $0.01015
Sonnet 5.5 $0.00010 $0.00508
Haiku 4.5 $0.00005 $0.00254

Measured 6d ago against content hash 7835e777e835, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

openclaw-history-ingest 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 6d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/openclaw-history-ingest/SKILL.md · 265 lines

How it starts

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

OpenClaw History Ingest — Session & Memory Mining

You are extracting knowledge from the user's OpenClaw agent history and distilling it into the Obsidian wiki. OpenClaw stores both a structured long-term MEMORY.md and per-session JSONL transcripts — focus on durable knowledge, not operational telemetry.

This skill can be invoked directly or via the wiki-history-ingest router (/wiki-history-ingest openclaw).

Before You Start

Writing profile: Before drafting or rewriting natural-language Markdown, read and apply the Writing Profile Resolution section in llm-wiki/SKILL.md. Framework schema, provenance, safety, and operation-specific requirements take precedence. WRITING.md preferences apply only to newly drafted or rewritten natural-language Markdown; preserve source content and structured records.

  1. Resolve config — follow the Config Resolution Protocol in llm-wiki/SKILL.md (inline @name override → walk up CWD for .env → global config → prompt setup). This gives OBSIDIAN_VAULT_PATH and OPENCLAW_HISTORY_PATH (defaults to ~/.openclaw)
  2. Read .manifest.json at the vault root to check what has already been ingested
  3. Read index.md at the vault root to understand what the wiki already contains

Ingest Modes

Append Mode (default)

Check .manifest.json for each source file. Only process:

  • Files not in the manifest (new session logs, updated MEMORY.md or daily notes)
  • Files whose modification time is newer than ingested_at in the manifest

Use this mode for regular syncs.

Full Mode

Process everything regardless of manifest. Use after wiki-rebuild or if the user explicitly asks for a full re-ingest.

OpenClaw Data Layout

OpenClaw stores all local artifacts under ~/.openclaw/.

~/.openclaw/
├── openclaw.json                          # Global config
├── credentials/                           # Auth tokens (skip entirely)
├── workspace/                             # Agent workspace
│   ├── MEMORY.md                          # Long-term memory (loaded every session)
│   ├── DREAMS.md                          # Optional dream diary / summaries
│   └── memory/
│       ├── YYYY-MM-DD.md                  # Daily notes (today + yesterday auto-loaded)
│       └── ...
└── agents/
    └── <agentId>/
        ├── agent/
        │   └── models.json                # Agent config (skip)
        └── sessions/
            ├── sessions.json              # Session index
            └── <sessionId>.jsonl          # Session transcript (JSONL, append-only)

Read the full file on GitHub · 265 lines

Files

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.

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. 6d ago Changed 7835e777e835
  2. 15d ago Changed · +2 lines cce3a8eb1935
  3. 19d ago Changed · +2 lines cc68240a7906
  4. 24d ago Changed a82d4f876999
  5. 1mo ago Changed 09330f7b24e8
  6. 1mo ago Changed · -4 lines · -74 tokens per session f79a8db1e9a7
  7. 2mo ago Changed · +7 lines 6cc2a807d8a4
  8. 3mo ago First seen · 258 lines · 125 tokens per session scan A 5f78644deb44

Subscribe to this mod's changes

openclaw-history-ingest is a skill published in the GitHub repository Ar9av/obsidian-wiki (3,835 stars, last pushed 3d ago), licensed MIT. It adds 51 tokens to every session and 2,538 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

openclaw-history-ingest compared with skills from other repositories

openclaw-history-ingest next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
openclaw-history-ingestAr9av/obsidian-wikiSkill3.8k3d agoMITA51Claude Code
llm-wikiTheSmuks/ai-project-templateSkill81mo agoMITA31Claude Code, Codex
llmwikiatomicstrata/llm-wiki-compilerSkill2.3k2d agoMITA66Claude Code, Codex
llm-wikizosmaai/pi-llm-wikiSkill6345d agoMITA52Claude Code
link-memorygowtham0992/linkSkill2252d agoMITA0Claude Code, Codex
link-retrievegowtham0992/linkSkill2252d agoMITA42Claude Code, Codex
link-ingestgowtham0992/linkSkill2252d agoMITA44Claude Code, Codex