potpie-cli

potpie-cli is a skill for Claude Code, Codex from potpie-ai/potpie. It costs 50 tokens per session (837 once invoked), scanned A, original, Apache-2.0.

A skill for the potpie command-line tool, which manages project knowledge sources and graph-based project data. It covers setup, login, project selection, source registration, searching, and reading or writing in the graph workbench.

In plain words
What is it for?
Used to check potpie, log in, select a project, register repositories, search project data, inspect graph information, and configure project scope.
Why use it?
It provides the correct commands and explains which project context a command uses. This helps avoid working in the wrong project or installing the local tool incorrectly.

Skill for Claude CodeCodex

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/potpie-ai/potpie/potpie-cli
Any agent
npx skills add potpie-ai/potpie --skill potpie-cli
Clone the repo
git clone --depth 1 https://github.com/potpie-ai/potpie

Made for: Claude Code, Codex.

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 potpie-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/potpie-ai/potpie/potpie-cli.svg)](https://agentmods.dev/skills/potpie-ai/potpie/potpie-cli)
Your own site
<a href="https://agentmods.dev/skills/potpie-ai/potpie/potpie-cli"><img src="https://agentmods.dev/badge/skills/potpie-ai/potpie/potpie-cli.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 837 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.00050 $0.00837
Opus 5 $0.00025 $0.00418
Sonnet 5 $0.00010 $0.00167
Haiku 4.5 $0.00005 $0.00084

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

Security

Grade A, and why

potpie-cli 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.

potpie/cli/templates/agent_bundle/.agents/skills/potpie-cli/SKILL.md · 99 lines

How it starts

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

Potpie CLI

Use this skill when the user is asking about the potpie command itself. For ordinary project-memory context, prefer the relevant use-case skill first.

Setup And Scope

For repo-local CLI install/reinstall from this checkout, use:

make cli-install    # UI build + stop old daemon + editable install
make cli-status
potpie doctor

Do not use raw uv tool install --editable … or pip install for day-to-day local reinstalls. Reserve uv tool install potpie / pip install potpie for the published package.

potpie doctor
potpie --json doctor
make cli-status
uv tool list
which -a potpie
potpie login <api-key> --url <host>
potpie pot list
potpie pot use <pot-id-or-alias>
potpie --json pot info
potpie pot linked --repo current
potpie pot default set --repo current <pot-id-or-alias>
potpie --json source list
potpie source add repo .
potpie source add repo <owner/repo> --pot <pot>

Pot scope resolves in this order:

  1. Explicit --pot.
  2. Repo-local default set by source add repo or pot default set.
  3. Registered repo source matching the current working tree path or remote.origin.url.
  4. Active pot from potpie pot use.
  5. Clear failure asking for setup, source registration, default selection, or explicit --pot.

A pot is a project boundary and may span multiple repos. Do not automatically narrow timeline reads to the current repo.

source add repo sets the repo-local default by default. Use --no-default only when deliberately registering a repo to a non-default pot. If graph output warns that the selected pot is empty but another linked pot has claims, run the suggested pot default set --repo current <pot> command before continuing.

potpie search "query"
potpie --json search "query"
potpie search "query" --include decisions,features
potpie search "query" --pot <pot-id-or-alias>

Graph Workbench

potpie --json graph status
potpie --json graph catalog --task "<task>"
potpie --json graph describe <subgraph> --view <view> --examples
potpie graph read --subgraph <subgraph> --view <view> --limit 20
potpie graph search-entities "<name>" --type Service --limit 10
potpie --json graph propose --file mutation.json
potpie --json graph commit <plan_id> --verify
potpie --json graph history --plan <plan_id>
potpie --json graph quality summary

Read the full file on GitHub · 99 lines

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. 4d ago First seen · 99 lines · 50 tokens per session scan A b4cd69cfe512

Subscribe to this mod's changes

potpie-cli is a skill published in the GitHub repository potpie-ai/potpie (5,710 stars, last pushed today), licensed Apache-2.0. It adds 50 tokens to every session and 837 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-30.

Related

Other skills, from other repositories

build-paths-beginner

Scaffold a small RAG chatbot on Oracle 26ai Free + langchain-oracledb + OCI Generative AI Grok 4 + sentence-transformers MiniLM-L6-v2 (Python-side embeddings, same model intermediate/advanced register inside Oracle) + Open WebUI. Three flavors that share one skeleton — PDF / Markdown / Web. For users new to Oracle who…

oracle-devrel/oracle-ai-developer-hub · 93 tokens

langchain-oracledb-helper

Scaffold a langchain-oracledb store layer — multi-collection OracleVS wrapper, metadata-as-string monkeypatch, embedder-dim assertion, OracleChatHistory subclass (langchain-oracledb does not ship one). Use when a project needs Oracle as its LangChain vector store and chat-history backend.

oracle-devrel/oracle-ai-developer-hub · 72 tokens

create-atomic-context-provider

Build a BaseDynamicContextProvider that injects a named, titled block into an agent's system prompt at every run() — current time, user identity, retrieved RAG docs, session state, cached DB schema. Use when the user asks to "add a context provider", "inject X into the prompt", "give the agent dynamic context", "wire…

Eigenwise/atomic-agents · 106 tokens

doc-traceability-validator

Validate documentation traceability between code annotations (@implements), feature registry, business rules, and use cases. Detect ID collisions, undocumented features, broken cross-references, and namespace violations.

raphaelmansuy/edgequake · 42 tokens

langfuse

Interact with Langfuse and access its documentation. Use when needing to (1) query or modify Langfuse data programmatically via the CLI — traces, prompts, datasets, scores, sessions, and any other API resource, (2) look up Langfuse documentation, concepts, integration guides, or SDK usage, or (3) understand how any…

raphaelmansuy/edgequake · 100 tokens

makefile-dev-workflow

Unified development workflow for EdgeQuake using Makefile commands. Use when starting services, running tests, or managing the full development stack (database, backend, frontend). Provides simplified alternatives to raw cargo/npm commands.

raphaelmansuy/edgequake · 48 tokens