Potpie is a tool that turns a software repository and its development history into a context graph for AI coding agents. Agents use that graph to answer codebase questions, plan changes, debug problems, and write code with project-specific information. The catalogue includes skills, hooks, commands, and a plugin for integrating Potpie into coding-agent workflows.
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 potpie-ai/potpie --skill potpie-project-preferencesgit clone --depth 1 https://github.com/potpie-ai/potpieWrote 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/potpie-ai/potpie/potpie-project-preferences)<a href="https://agentmods.dev/skills/potpie-ai/potpie/potpie-project-preferences"><img src="https://agentmods.dev/badge/skills/potpie-ai/potpie/potpie-project-preferences/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/potpie-ai/potpie/potpie-project-preferences"><img src="https://agentmods.dev/badge/skills/potpie-ai/potpie/potpie-project-preferences.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.00063 | $0.01306 |
| Opus 5.5 | $0.00025 | $0.00522 |
| Sonnet 5.5 | $0.00013 | $0.00261 |
| Haiku 4.5 | $0.00006 | $0.00131 |
Grade A, and why
potpie-project-preferences 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 — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Potpie Project Preferences
Use this skill before implementation or review so local conventions shape the work instead of being rediscovered from code.
Fast Path
Run the two independent reads below concurrently as part of one shared discovery pass. Reuse current results from another skill or hook for the same task, pot, and scope; loading this skill does not repeat resolve. Use a known explicit pot selector on all calls and check returned pot IDs before combining results. Resolve ambiguous routing first.
- One bounded context call — for a feature task, preferences, features, infra,
decisions, owners and docs as
subject PREDICATE objecttriples:
potpie resolve "<the task in the user's words>"
- Preferences by scope, with no
--query. Preferences are constraints, not search hits: this view applies an absolute 0.7 similarity floor to a query, which a task sentence rarely clears, andresolveapplies the same floor to the task text, so it lists a preference only on a near-verbatim match. Scoped preferences are required; skip the call only when equivalent current scoped results are already available.
potpie graph read --subgraph decisions --view preferences_for_scope --repo current --limit 12
potpie graph read --subgraph decisions --view preferences_for_scope --scope service:<service>,path:<path-or-dir> --limit 12
Use the repo read immediately; the service/path command is an alternative when
those scopes are known, or a refinement when repo results leave a gap. If the
task names an entity whose key is unknown, run untyped search-entities alongside
the initial reads; use its returned key for dependent scope refinements.
--repo current takes the repo key from the working tree; spelled by hand it
is repo:<host>/<org>/<name> (repo:github.com/acme-corp/acme-shop). A scope
hides only preferences bound to a different value of the same dimension: a
service key hides other services' rules, a repo key hides nothing bound by
service, and items=0 means nothing is bound to that value. Each row comes
with its anchor entity, so items=2 is one preference. Add
--query "<terms>" --query-threshold 0.4 only when the scope returns more
than a dozen rows. Search only for a key no read has shown:
potpie graph search-entities "<repo service package>" --limit 10. Do not
pre-read pot info, source list, or graph status.
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 · +8 lines 2c827eea566a
- 1mo ago Changed · +43 lines be5000c54923
- 3mo ago First seen · 67 lines · 63 tokens per session scan A a7aee2c8feda
potpie-project-preferences is a skill published in the GitHub repository potpie-ai/potpie (5,806 stars, last pushed 5d ago), licensed Apache-2.0. It adds 63 tokens to every session and 1,306 once invoked, about $0.0003 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.
potpie-project-preferences compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| potpie-project-preferencespotpie-ai/potpie | Skill | 5.8k | 5d ago | Apache-2.0 | A | 63 | Claude Code, Codex |
| oracle-mcp-server-helperoracle-devrel/oracle-ai-developer-hub | Skill | 4.5k | 2d ago | none | A | 0 | Claude Code, Codex |
| soccer-workshop-setuporacle-devrel/oracle-ai-developer-hub | Skill | 4.5k | 2d ago | none | A | 72 | Claude Code |
| design-taste-frontendoracle-devrel/oracle-ai-developer-hub | Skill | 4.5k | 2d ago | none | A | 40 | Claude Code |
| skill-creatororacle-devrel/oracle-ai-developer-hub | Skill | 4.5k | 2d ago | none | A | 28 | Claude Code, Codex |
| build-paths-advancedoracle-devrel/oracle-ai-developer-hub | Skill | 4.5k | 2d ago | none | A | 110 | Claude Code, Codex |
| build-paths-intermediateoracle-devrel/oracle-ai-developer-hub | Skill | 4.5k | 2d ago | none | A | 78 | Claude Code, Codex |