potpie-infra-architecture

potpie-infra-architecture is a skill for Claude Code, Codex from potpie-ai/potpie. It costs 43 tokens per session (1,356 once invoked), scanned A, original, Apache-2.0.

A guide for understanding a project's infrastructure: its environments, services, deployments, data stores, connections, and ownership.

In plain words
What is it for?
Tracing service dependencies, checking runtime configuration, planning architecture changes, and investigating deployment or production problems.
Why use it?
It helps identify where a system change or incident may have effects, while keeping development, testing, and production dependencies separate.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Tracing service dependencies, checking runtime configuration, planning architecture changes, and investigating deployment or production problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/potpie-ai/potpie/potpie-infra-architecture
About the project

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.

potpie-ai/potpie · 5,768 stars · on GitHub · potpie.ai

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.

Any agent
npx skills add potpie-ai/potpie --skill potpie-infra-architecture
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-infra-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/potpie-ai/potpie/potpie-infra-architecture/github.svg)](https://agentmods.dev/skills/potpie-ai/potpie/potpie-infra-architecture)
Your own site
<a href="https://agentmods.dev/skills/potpie-ai/potpie/potpie-infra-architecture"><img src="https://agentmods.dev/badge/skills/potpie-ai/potpie/potpie-infra-architecture/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 potpie-infra-architecture

Your own site · 80×15
<a href="https://agentmods.dev/skills/potpie-ai/potpie/potpie-infra-architecture"><img src="https://agentmods.dev/badge/skills/potpie-ai/potpie/potpie-infra-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,356 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00043 $0.01356
Opus 5.5 $0.00017 $0.00542
Sonnet 5.5 $0.00009 $0.00271
Haiku 4.5 $0.00004 $0.00136

Measured 9d ago against content hash def7584652dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

potpie-infra-architecture 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 9d 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-infra-architecture/SKILL.md · 138 lines

How it starts

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

Potpie Infra Architecture

Use this skill when the task touches environments, adapters, deployment behavior, runtime config, service dependencies, production incidents, or architecture changes.

Fast Path

Share one discovery pass with other skills; reuse current reads and hook context for the same task, pot, and scope. Run broad resolve and an untyped entity lookup concurrently when the task names a service, environment, adapter, or dependency whose canonical key is unknown. Skip the lookup when a key is already known. For code changes, scoped preferences can run alongside both. Use a known explicit pot selector; resolve ambiguous routing before scoped retrieval and check returned pot IDs before combining results.

Broad context and conditional identity lookup:

potpie resolve "<the task, naming the service>"
potpie graph search-entities "<named service env adapter dependency>" --limit 10

Use the returned canonical service key for a neighborhood when the task needs relationships or resolve leaves a gap; do not guess an anchor. For a direct entity question, identity lookup then neighborhood can suffice without resolve. The service:<service-name> below stands for that returned key. Start with no --environment:

potpie graph read --subgraph infra_topology --view service_neighborhood --scope service:<service-name> --depth 2 --direction both --limit 20

The environment filter defaults to qualified_only: --environment prod alone drops every unqualified edge — USES, DEFINED_IN, OWNED_BY — and answers "talks to nothing". To exclude other environments, keep them explicitly:

potpie graph read --subgraph infra_topology --view service_neighborhood --scope service:<service-name>,include_unqualified_environment:true --environment <env> --depth 2 --direction both --limit 20

An empty neighborhood can mean missing relations, not a wrong key. Start with --depth 2 --direction both; --direction accepts out, in or both, and any other spelling is refused. A --depth past the view's maximum runs at the maximum and says so. Alternatively, for everything the graph holds about one service — decisions, preferences, timeline and features beside the topology — use one flat list:

Read the full file on GitHub · 138 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. 9d ago Changed · +16 lines def7584652dc
  2. 13d ago Changed · +51 lines dcfc723d710a
  3. 1mo ago First seen · 71 lines · 43 tokens per session scan A 26c8abf56d91

Subscribe to this mod's changes

potpie-infra-architecture is a skill published in the GitHub repository potpie-ai/potpie (5,768 stars, last pushed 4d ago), licensed Apache-2.0. It adds 43 tokens to every session and 1,356 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

oracle-mcp-server-helper

Wire the oracle-database-mcp-server into a Python project so an LLM agent can call listtables / describetable / runsql / vectorsearch at inference time. Handles install, stdio launch, and LangChain tool conversion via langchain-mcp-adapters. Use whenever a project needs a Grok 4 / GPT-class agent that talks to a live…

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

langchain_patterns

Implement Retrieval-Augmented Generation (RAG) systems with LangChain4j. Build document ingestion pipelines, embedding stores, vector search strategies, and knowledge-enhanced AI applications. Use when creating question-answering systems over document collections or AI assistants with external knowledge bases.

vuralserhat86/antigravity-agentic-skills · 57 tokens

langchain_patterns

Implement Retrieval-Augmented Generation (RAG) systems with LangChain4j. Build document ingestion pipelines, embedding stores, vector search strategies, and knowledge-enhanced AI applications. Use when creating question-answering systems over document collections or AI assistants with external knowledge bases.

DonggangChen/antigravity-agentic-skills · 57 tokens

scope-creep-detector

Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad pull requests, changes that grew beyond a fix, dependency additions, public API renames, config or CI edits, oversized hunks, and formatting-only files. Use when the user asks whether a change grew beyond the fix, a PR is too…

Shubhamsaboo/awesome-llm-apps · 98 tokens

azure-search-documents-dotnet

Azure AI Search SDK for .NET (Azure.Search.Documents). Use for building search applications with full-text, vector, semantic, and hybrid search. Covers SearchClient (queries, document CRUD), SearchIndexClient (index management), and SearchIndexerClient (indexers, skillsets). Triggers: "Azure Search .NET"…

microsoft/skills · 102 tokens

azure-search-documents-ts

Build search applications using Azure AI Search SDK for JavaScript (@azure/search-documents). Use when creating/managing indexes, implementing vector/hybrid search, semantic ranking, or building agentic retrieval with knowledge bases.

microsoft/skills · 48 tokens