index

index is a command for coding agents from px0-ai/px0. It costs 0 tokens per session (1,394 once invoked), scanned A, original, MIT.

A command-line reference for px0, a tool that organizes commands into a group naming the thing being managed and a verb describing the action.

In plain words
What is it for?
Use it to find commands for building and running workflows, searching material, managing conventions and tools, or initializing, checking, updating, and removing px0.
Why use it?
It makes the command structure predictable and explains which commands manage workflows, stored material, guidelines, tools, or the installation itself.

Command

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/px0-ai/px0/index
Clone the repo
git clone --depth 1 https://github.com/px0-ai/px0

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 index

README.md
[![agentmods](https://agentmods.dev/badge/commands/px0-ai/px0/index.svg)](https://agentmods.dev/commands/px0-ai/px0/index)
Your own site
<a href="https://agentmods.dev/commands/px0-ai/px0/index"><img src="https://agentmods.dev/badge/commands/px0-ai/px0/index.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,394 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.00000 $0.01394
Opus 5 $0.00000 $0.00697
Sonnet 5 $0.00000 $0.00279
Haiku 4.5 $0.00000 $0.00139

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

Security

Grade A, and why

index 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 4d 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.

docs/commands/index.md · 111 lines

How it starts

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

Command reference

Every command follows the same shape: a group naming the entity, then a verb acting on it.

px0 <group> <verb> [arguments] [options]

px0 brain add, px0 workflows run, px0 guidelines list. The only flat commands — no verb — are the ones that act on the install rather than on anything in the store: init, update, version, doctor, status, completion, and uninstall — plus ask, which routes a question to whichever of them can answer it and so has no single entity to name.

Groups

Group What it manages Module
init Scaffolding a new store px0/store.py
ask One question, routed to whoever can answer it px0/route.py
workflows Building, running, editing, improving, and templatizing workflows px0/workflow.py, px0/builder.py, px0/runner.py, px0/analysis.py, px0/improve.py, px0/templates.py
brain Ingesting, searching, and asking over your material px0/brain.py, px0/retrieval.py, px0/ask.py
guidelines The conventions px0 follows when it works px0/authoring.py, px0/claims.py
tools What workflows can call, and what is authorized px0/tools.py, px0/connect.py
runs Inspecting, judging, and replaying past executions px0/runs.py, px0/runs_tui.py
approvals Write calls waiting for you to send or discard px0/approvals.py
inbox What your scheduled workflows produced px0/inbox.py
memory What px0 knows about you px0/memory.py
daemon Running workflows on a schedule px0/daemon.py
changes The store's change log, across files px0/versioning.py
store The store as a whole px0/store.py
config Reading and writing config.toml px0/config.py
update Upgrading px0 and migrating the store px0/update.py
status Whether anything needs attention px0/status.py
completion Shell completion scripts px0/completion.py
mcp Serving the brain and workflows over MCP px0/mcp.py
doctor Checking that everything is wired up px0/doctor.py
version The installed version px0/__init__.py
uninstall Removing px0 and its store entirely px0/cli.py

Read the full file on GitHub · 111 lines

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. 4d ago First seen · 111 lines · 0 tokens per session scan A be4fa269df84

Subscribe to this mod's changes

index is a command published in the GitHub repository px0-ai/px0 (241 stars, last pushed 7d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,394 tokens. 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.