logseq-wiki: Skill for Claude Code

.skills/wiki-history-ingest/SKILL.md

wiki-history-ingest is a skill for Claude Code, Codex from ystreibel/logseq-wiki. It costs 62 tokens per session (549 once invoked), scanned A, original, MIT.

A routing guide for importing conversation history from several coding and assistant tools into a Logseq wiki, a linked note-taking system.

In plain words
What is it for?
Use it to ingest Claude, Codex, Hermes, OpenClaw, Copilot, or Pi session history, or to choose the correct importer from a source path.
Why use it?
It directs each history source to the matching importer instead of treating different storage formats the same way.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: reads .claude/ paths; reads ~/.codex paths; mentions Codex.

This is ystreibel/logseq-wiki's own configuration. It tells Claude Code and Codex how to work on logseq-wiki itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything logseq-wiki configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ystreibel/logseq-wiki. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ystreibel/logseq-wiki/main/.skills/wiki-history-ingest/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ystreibel/logseq-wiki

Made for: Claude Code, 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 wiki-history-ingest

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ystreibel/logseq-wiki/wiki-history-ingest"><img src="https://agentmods.dev/badge/skills/ystreibel/logseq-wiki/wiki-history-ingest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 549 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.00062 $0.00549
Opus 5.5 $0.00025 $0.00220
Sonnet 5.5 $0.00012 $0.00110
Haiku 4.5 $0.00006 $0.00055

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

Security

Grade A, and why

wiki-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 2mo 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.

.skills/wiki-history-ingest/SKILL.md · 57 lines

What it actually says

Logseq History Ingest — Router

This is a thin router for history sources only. It does not replace wiki-ingest for documents.

Subcommands

If the user invokes /wiki-history-ingest <target> (or equivalent text command), dispatch directly:

Subcommand Route To
claude claude-history-ingest
codex codex-history-ingest
hermes hermes-history-ingest
openclaw openclaw-history-ingest
copilot copilot-history-ingest
pi pi-history-ingest
auto infer from context using rules below

Routing Rules

  1. If the user explicitly names an agent, route directly.
  2. If the user provides a path/source:
    • ~/.claude ou artefacts JSONL Claude → claude-history-ingest
    • ~/.codex ou fichiers rollout Codex → codex-history-ingest
    • ~/.hermes ou fichiers mémoire Hermes → hermes-history-ingest
    • ~/.openclaw ou MEMORY.md OpenClaw → openclaw-history-ingest
    • ~/.copilot ou session-store.db → copilot-history-ingest
    • ~/.pi/agent/sessions ou fichiers JSONL Pi → pi-history-ingest
  3. Si ambigu, poser une courte question de clarification :
    • "Quel historique agent ? claude, codex, hermes, openclaw, copilot, ou pi ?"

Execution Contract

  • After routing, execute the destination skill's workflow exactly.
  • Do not duplicate destination logic in this file.
  • Leave manifest/index/log update semantics to the destination skill.

UX Convention

  • Use wiki-ingest for documents/content sources
  • Use wiki-history-ingest for agent history sources

Examples:

  • /wiki-history-ingest claude
  • /wiki-history-ingest codex
  • /wiki-history-ingest copilot
  • /wiki-history-ingest pi
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. 2mo ago First seen · 57 lines · 62 tokens per session scan A a31fefd0e8cc

Subscribe to this mod's changes

wiki-history-ingest is a skill published in the GitHub repository ystreibel/logseq-wiki (5 stars, last pushed 11d ago), licensed MIT. It adds 62 tokens to every session and 549 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-31.

Related

wiki-history-ingest compared with skills from other repositories

wiki-history-ingest next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wiki-history-ingestystreibel/logseq-wikiSkill511d agoMITA62Claude Code, Codex
knowledge-ingestopenclaw/openclawSkill394kyesterdayMITA80Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill68k2d agoApache-2.0A217Claude Code, Codex
forgetasgeirtj/system_prompts_leaksSkill71k2d agoCC0-1.0A74Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill20kyesterdayMITA184Claude Code
memoryopensquilla/opensquillaSkill7.1k6d agoApache-2.0A44Claude Code, Codex
ha-data-storesshiwenwen/hope-agentSkill1.9kyesterdayMITA115Claude Code, Codex