prime

prime is a command for Claude Code from AgentBR-ia/agentbr-livia. It costs 15 tokens per session (214 once invoked), scanned A, original, MIT.

A session-start command that gathers codebase, project-structure, agent-catalogue, and prior conversation context, then summarizes it in Brazilian Portuguese.

In plain words
What is it for?
Use it at the beginning of a coding session to inspect files, documentation, feature specifications, available logs, and the project’s implementation conventions.
Why use it?
It reduces the time spent reconstructing how a project is organized and what work is already underway. It also helps resume features using their existing specifications and conversation logs.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the agentbr-livia plugin — 5 commands, 8 agents shipped together

Good fit Use it at the beginning of a coding session to inspect files, documentation, feature specifications, available logs, and the project’s implementation conventions.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add AgentBR-ia/agentbr-livia
Claude Code
/plugin install agentbr-livia

Made for: Claude Code.

Or install agentbr-livia, the plugin that ships this one along with the rest of its 5 commands, 8 agents.

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 prime

README.md
[![agentmods](https://agentmods.dev/badge/commands/agentbr-ia/agentbr-livia/prime/github.svg)](https://agentmods.dev/commands/agentbr-ia/agentbr-livia/prime)
Your own site
<a href="https://agentmods.dev/commands/agentbr-ia/agentbr-livia/prime"><img src="https://agentmods.dev/badge/commands/agentbr-ia/agentbr-livia/prime/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 prime

Your own site · 80×15
<a href="https://agentmods.dev/commands/agentbr-ia/agentbr-livia/prime"><img src="https://agentmods.dev/badge/commands/agentbr-ia/agentbr-livia/prime.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 214 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.00015 $0.00214
Opus 5 $0.00008 $0.00107
Sonnet 5 $0.00003 $0.00043
Haiku 4.5 $0.00002 $0.00021

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

Security

Grade A, and why

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

agentbr-livia/commands/prime.md · 26 lines

What it actually says

Prime

Execute the following sections to understand the codebase, then summarize your understanding in PT-BR.

Run

git ls-files

Read

  • README.md of the project
  • ${CLAUDE_PLUGIN_ROOT}/AGENTES.md — the agent catalog and orchestration conventions of this plugin

List

  • Run tree docs (if it exists) to know which docs are available; read as needed during the session.
  • List specs/*/ folders: for each feature, note which artifacts exist (spec/architecture/plan) and check specs/*/conversas/ — if conversation logs exist, mention them in your summary; they are the memory of how each feature was investigated and built. Read them when resuming work on that feature.

Report

Summarize in PT-BR: project purpose, stack, structure, features in progress (from specs/) and available conversation history.

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 · 26 lines · 15 tokens per session scan A 3b52e5c93e86

Subscribe to this mod's changes

prime is a command published in the GitHub repository AgentBR-ia/agentbr-livia (9 stars, last pushed 2mo ago), licensed MIT. It adds 15 tokens to every session and 214 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.