init

An installation and setup command for Corivo, a local memory system for coding-agent conversations. It checks for the Corivo command-line tool, installs it with npm if needed, initializes its database, and verifies the result.

In plain words
What is it for?
Use it during first-time setup, then use Corivo to save information, search previous memories, or view database status.
Why use it?
It turns a new Corivo installation into a ready-to-use local database with a clear status check.

Command

Part of the corivo plugin — 2 commands, 3 hooks 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 commands/principle-labs/corivo/init
Clone the repo
git clone --depth 1 https://github.com/Principle-Labs/Corivo

Or install corivo, the plugin that ships this one along with the rest of its 2 commands, 3 hooks.

Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 233 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.00010 $0.00233
Opus 5 $0.00005 $0.00117
Sonnet 5 $0.00002 $0.00047
Haiku 4.5 $0.00001 $0.00023

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

Security

Grade A, and why

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

packages/plugins/claude-code/commands/init.md · 47 lines

What it actually says

Corivo Init

首次使用 Corivo 的安装向导。

步骤 1: 检查 CLI

command -v corivo && corivo --version || echo "NOT_INSTALLED"

如果未安装:

npm install -g corivo

步骤 2: 初始化数据库

corivo init

创建 ~/.corivo/ 目录并设置本地数据库。

步骤 3: 验证

corivo status

预期输出:

[corivo] 0块 | 🟢0%

完成

安装完成。现在可以:

  1. 说 "保存这个" 或 "记住" → 保存记忆
  2. 说 "我之前说过..." 或 "记得吗" → 查询记忆
  3. 运行 /corivo:info → 查看数据库状态
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 · 47 lines · 10 tokens per session scan A ceef6e777b36

Subscribe to this mod's changes

init is a command published in the GitHub repository Principle-Labs/Corivo (5 stars, last pushed 4mo ago), licensed MIT. It adds 10 tokens to every session and 233 once invoked, about $0.0001 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.