beeweave: Skill for Codex

.skills/wiki/beeweave-codex-ingest/SKILL.md

beeweave-codex-ingest is a skill for Codex from ptonlix/beeweave. It costs 111 tokens per session (2,043 once invoked), scanned A, a copy of codex-history-ingest, MIT.

A tool for turning past Codex CLI conversations into organized notes in an Obsidian wiki. It reads session files and extracts lasting knowledge.

In plain words
What is it for?
Use it to import new or changed Codex sessions, rebuild the imported collection, and mine earlier coding work for reusable knowledge.
Why use it?
Past coding discussions are easy to lose in noisy logs. This helps you keep useful decisions, lessons, and discoveries in one searchable place.

Skill for Codex

Written for Codex: reads ~/.codex or $CODEX_HOME. Also seen: mentions Codex.

This is ptonlix/beeweave's own configuration. It tells Codex how to work on beeweave 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 beeweave configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ptonlix/beeweave. 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/ptonlix/beeweave/main/.skills/wiki/beeweave-codex-ingest/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ptonlix/beeweave

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 beeweave-codex-ingest

README.md
[![agentmods](https://agentmods.dev/badge/skills/ptonlix/beeweave/beeweave-codex-ingest.svg)](https://agentmods.dev/skills/ptonlix/beeweave/beeweave-codex-ingest)
Your own site
<a href="https://agentmods.dev/skills/ptonlix/beeweave/beeweave-codex-ingest"><img src="https://agentmods.dev/badge/skills/ptonlix/beeweave/beeweave-codex-ingest.svg" alt="Measured on agentmods" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,043 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 84% copy Near-identical to another mod 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.00111 $0.02043
Opus 5 $0.00056 $0.01022
Sonnet 5 $0.00022 $0.00409
Haiku 4.5 $0.00011 $0.00204

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

Security

Grade A, and why

beeweave-codex-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 8d 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

This is a copy

84% identical to codex-history-ingest — 13 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.skills/wiki/beeweave-codex-ingest/SKILL.md · 246 lines

How it starts

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

Codex History Ingest — Conversation Mining

You are extracting knowledge from the user's past Codex sessions and distilling it into the Obsidian wiki. Session logs are rich but noisy: focus on durable knowledge, not operational telemetry.

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

Before You Start

  1. Resolve config — follow the Config Resolution Protocol in beeweave-core/SKILL.md (inline @name override → walk up CWD for .env~/.beeweave/config → prompt setup). This gives BEEWEAVE_VAULT_PATH and CODEX_HISTORY_PATH (defaults to ~/.codex)
  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 rollouts, new index files)
  • 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 beeweave-rebuild or if the user explicitly asks for a full re-ingest.

Codex Data Layout

Codex stores local artifacts under ~/.codex/.

~/.codex/
├── sessions/                          # Session rollout logs by date
│   └── YYYY/MM/DD/
│       └── rollout-<timestamp>-<id>.jsonl
├── archived_sessions/                 # Archived rollout logs
├── session_index.jsonl                # Lightweight index of thread id/name/updated_at
├── history.jsonl                      # Local transcript history (if persistence enabled)
├── config.toml                        # User config (contains history settings)
└── state_*.sqlite / logs_*.sqlite     # Runtime DBs (usually skip)

Key data sources ranked by value

  1. session_index.jsonl — best inventory source for IDs, titles, and freshness
  2. sessions/**/rollout-*.jsonl — rich structured transcript events
  3. history.jsonl — useful fallback/timeline aid if enabled

Read the full file on GitHub · 246 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. 8d ago First seen · 246 lines · 111 tokens per session scan A c789404e25bb

Subscribe to this mod's changes

beeweave-codex-ingest is a skill published in the GitHub repository ptonlix/beeweave (6 stars, last pushed 1mo ago), licensed MIT. It adds 111 tokens to every session and 2,043 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. It is 84% identical to codex-history-ingest, differing in 13 lines, and is treated as a copy.

Related

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.

garrytan/gbrain · 52 tokens

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.…

mem0ai/mem0 · 273 tokens

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…

danielmiessler/LifeOS · 196 tokens

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.

opensquilla/opensquilla · 44 tokens

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…

shiwenwen/hope-agent · 115 tokens

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.

GanyuanRan/Aegis · 45 tokens