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 rexleimo/aios --skill contextdb-autopilotgit clone --depth 1 https://github.com/rexleimo/aiosWrote 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/rexleimo/aios/contextdb-autopilot)<a href="https://agentmods.dev/skills/rexleimo/aios/contextdb-autopilot"><img src="https://agentmods.dev/badge/skills/rexleimo/aios/contextdb-autopilot/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/rexleimo/aios/contextdb-autopilot"><img src="https://agentmods.dev/badge/skills/rexleimo/aios/contextdb-autopilot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00060 | $0.01688 |
| Opus 5.5 | $0.00024 | $0.00675 |
| Sonnet 5.5 | $0.00012 | $0.00338 |
| Haiku 4.5 | $0.00006 | $0.00169 |
Grade A, and why
contextdb-autopilot 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 1mo 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 — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ContextDB Autopilot
Working directory: project root. Commands assume repo root; npm run contextdb runs from mcp-server/.
Overview
Use this skill only to persist and retrieve ContextDB state. ContextDB is no longer a prompt-injection layer.
Runtime rules:
- Do not auto-inject ContextDB packets, continuity summaries, persona overlays, user overlays, route guides, or handoff prompts into model prompts.
- Interactive startup may show a short local unfinished-task summary to the user; it must not pass that summary as model input.
- One-shot mode sends only the explicit
--prompttext to the selected client. - Durable workflow constraints belong in checked-in instruction files (
AGENTS.md,CLAUDE.md,GEMINI.md) and repo-local skills.
Deprecated prompt-loading flags are intentionally unsupported:
--startup-mode inject--context-mode--limitCTXDB_AUTO_PROMPT
If old docs, scripts, or user requests mention these as ways to preload memory, treat them as removed behavior. Use explicit search/timeline retrieval instead.
Script path: scripts/ctx-agent.sh
When to Use
- You want cross-CLI memory continuity (
codex,claude,gemini,opencode) in the same project. - You need automatic session creation, event logging, checkpoints, and continuity/handoff artifact writes.
- You want to retrieve prior facts explicitly before continuing work.
Do not use this skill just to execute a normal coding task. Let the current Rex Capability Command select the task Provider.
Required Pattern
Use one-shot mode (--prompt) when you want automatic logging around a single explicit request. The prompt is not augmented with ContextDB state.
scripts/ctx-agent.sh --agent codex-cli --project rex-cli --prompt "继续上次任务,先列出你会读取哪些 handoff 文件"
scripts/ctx-agent.sh --agent claude-code --project rex-cli --prompt "记录这个检查点并总结下一步"
scripts/ctx-agent.sh --agent gemini-cli --project rex-cli --prompt "基于我明确给出的文件继续分析"
scripts/ctx-agent.sh --agent opencode-cli --project rex-cli --prompt "执行这个明确请求,不自动加载历史"
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.
- 1mo ago Changed 0e2f9a60683a
- 1mo ago Changed 6e31fcd3c642
- 1mo ago Changed 8ded3763c581
- 1mo ago Changed · +23 lines 5a999699925a
- 1mo ago First seen · 129 lines · 60 tokens per session scan A b8b5f0abf46d
contextdb-autopilot is a skill published in the GitHub repository rexleimo/aios (56 stars, last pushed today), licensed MIT. It adds 60 tokens to every session and 1,688 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.
Other skills, from other repositories
memory
Neural memory operations: search stored lessons, store new lessons, inspect memory stats, consolidate episodic patterns, and run decay/pruning.
ai-history
Search and browse AI coding assistant chat history across providers (Claude Code, Codex CLI, Cursor). Find past conversations, inject historical context into the current session, and search across all chat records. Powered by the ai-history CLI tool.
ai-history
Search and browse AI coding assistant chat history across providers (Claude Code, Codex CLI, Cursor). Find past conversations, inject historical context into the current session, and search across all chat records. Use when asked to find past conversations, load context from previous sessions, or search chat history.
opencli-usage
Discover and invoke OpenCLI capabilities for websites and Chrome. Find commands, inspect schemas, interpret results and choose browser or adapter tools.
wttr-weather
Weather via wttr.in GET (no key). Use for weather/forecast; prefer os.http.request.
mnemon
Persistent memory CLI for LLM agents. Store facts, recall past knowledge, link related memories, manage lifecycle.