simba-codex-lifecycle

simba-codex-lifecycle is a skill for Claude Code, Codex from mahmoudimus/simba. It costs 70 tokens per session (487 once invoked), scanned A, original, MIT.

A start-and-finish routine for coding work in repositories that use Simba, a tool for storing and recalling project knowledge. It recalls relevant notes, checks the session state, and performs final processing before handoff.

In plain words
What is it for?
Starting implementation tasks, checking unfinished transcript extraction, and finalizing changes in a Simba-enabled repository.
Why use it?
It reduces missed setup or cleanup steps and helps the agent use pending session information correctly. It also provides a final check before work is handed over.

Skill for Claude CodeCodex

Part of the simba plugin — 10 skills shipped together

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.

agentmods
npx agentmods add skills/mahmoudimus/simba/simba-codex-lifecycle
Any agent
npx skills add mahmoudimus/simba --skill simba-codex-lifecycle
Clone the repo
git clone --depth 1 https://github.com/mahmoudimus/simba

Made for: Claude Code, Codex.

Or install simba, the plugin that ships this one along with the rest of its 10 skills.

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 simba-codex-lifecycle

README.md
[![agentmods](https://agentmods.dev/badge/skills/mahmoudimus/simba/simba-codex-lifecycle.svg)](https://agentmods.dev/skills/mahmoudimus/simba/simba-codex-lifecycle)
Your own site
<a href="https://agentmods.dev/skills/mahmoudimus/simba/simba-codex-lifecycle"><img src="https://agentmods.dev/badge/skills/mahmoudimus/simba/simba-codex-lifecycle.svg" alt="Measured on agentmods" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 487 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00070 $0.00487
Opus 5 $0.00035 $0.00244
Sonnet 5 $0.00014 $0.00097
Haiku 4.5 $0.00007 $0.00049

Measured 3d ago against content hash 33dead9b6876, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

simba-codex-lifecycle 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 3d 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.

src/simba/codex_skills/simba-codex-lifecycle/SKILL.md · 72 lines

What it actually says

Simba Codex Lifecycle

Run this routine for implementation tasks in Simba-enabled repositories.

Required Sequence

  1. Recall relevant memory first (use the user request as query text):
simba codex-recall "<user request>"
  1. Run status once per session:
simba codex-status

Do not run this on every prompt. Re-run only if:

  • there was a long pause or major context shift,
  • memory actions fail unexpectedly,
  • you are about to finalize and want a fresh check.
  1. Codex PreCompact is the primary automatic session-analysis path. If codex-status still reports a raw JSONL transcript as pending_extraction and you need to analyze it now, run the explicit storage path:
simba codex-extract --run

If that reports no candidates or fails, run the manual prompt path:

simba codex-extract
  1. Before final handoff, run finalize:
simba codex-finalize

Finalize Inputs

Prefer to include both response text and transcript path when available:

simba codex-finalize --response-file /path/to/response.txt --transcript /path/to/transcript.jsonl

If those files are not available, still run simba codex-finalize as a best-effort check.

If simba is not in PATH, use:

uvx --from /Users/mahmoud/src/ai/simba simba codex-status

Output Discipline

  • Mention whether codex-recall returned relevant memories and how they informed your approach.
  • Mention in your final update that lifecycle checks were run.
  • If you run codex-extract --run, mention the stored / duplicate / error counts. If extraction remains pending, run codex-extract and report that action.
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. 3d ago First seen · 72 lines · 70 tokens per session scan A 33dead9b6876

Subscribe to this mod's changes

simba-codex-lifecycle is a skill published in the GitHub repository mahmoudimus/simba (6 stars, last pushed 1mo ago), licensed MIT. It adds 70 tokens to every session and 487 once invoked, about $0.0003 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

weekly-digests

Generate a serial week-by-week narrative digest of a project's full claude-mem timeline. Splits the timeline into per-ISO-week files, then runs one consecutive subagent per week — each receiving the prior week's carry-forward block — to produce one chapter per ISO week of data. Use when asked for "weekly digests"…

thedotmack/claude-mem · 93 tokens

version-bump

Automated semantic versioning and release workflow for Claude Code plugins. Handles version increments across package.json, marketplace.json, plugin.json manifests, build verification, git tagging, GitHub releases, and changelog generation. NPM publishing is the final human-required handoff because the maintainer…

thedotmack/claude-mem · 64 tokens

cloud-sync

Set up or check claude-mem cloud sync with cmem.ai Pro. Use when the user says "set up cloud sync", "sync my memories", "cmem pro", "cloud backup", "sync status", or wants their memory database backed up or synced to their cmem.ai account.

thedotmack/claude-mem · 64 tokens

ix

This skill should be used when answering structural questions about a codebase: understanding what a symbol is, tracing flows, measuring change impact, finding callers/callees/imports, or detecting code smells. It drives the Ix CLI (ix map/explain/trace/impact/search/rank/smells) against a persistent code graph stored…

ix-infrastructure/Ix · 103 tokens

services-audit-cron

Use when scheduling the canonical biweekly services-audit cron loop for Empirica's AI service scanner (Phase 3). The auditor body is empirica services-audit — captures a fresh scan, diffs against the previous, and emits a notification when novel running services appear. This skill provides the prompt template that…

EmpiricaAI/empirica · 126 tokens

message-cleanup

Daily housekeeping body for the canonical message-cleanup loop. Prunes expired git-notes mesh messages so the inbox stays focused on un-read ones. Loaded by the loop scheduler when the cron entry fires (default 03:17 daily) — never invoked directly by a user. Triggers: from the message-cleanup loop, "message…

EmpiricaAI/empirica · 89 tokens