potpie-source-ingestion

potpie-source-ingestion is a skill for Claude Code, Codex from potpie-ai/potpie. It costs 82 tokens per session (3,368 once invoked), scanned A, original, Apache-2.0.

A workflow for ingesting repositories, pull requests, issues, tickets, runbooks, incident reports, documents, or links into Potpie, a system that stores searchable knowledge about source material.

In plain words
What is it for?
Use it when explicitly importing or refreshing source material in Potpie, including resolving identities, collecting evidence, proposing updates, and committing validated changes.
Why use it?
It requires evidence-based discovery and review before writing information, reducing unsupported or misleading facts in the stored knowledge graph.

Skill for Claude CodeCodex

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

Good fit Use it when explicitly importing or refreshing source material in Potpie, including resolving identities, collecting evidence, proposing updates, and committing validated changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/potpie-ai/potpie/potpie-source-ingestion
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,743 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-source-ingestion
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-source-ingestion

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/potpie-ai/potpie/potpie-source-ingestion"><img src="https://agentmods.dev/badge/skills/potpie-ai/potpie/potpie-source-ingestion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,368 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.00082 $0.03368
Opus 5.5 $0.00033 $0.01347
Sonnet 5.5 $0.00016 $0.00674
Haiku 4.5 $0.00008 $0.00337

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

Security

Grade A, and why

potpie-source-ingestion 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 3d 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-source-ingestion/SKILL.md · 302 lines

How it starts

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

Potpie Source Ingestion

Use this skill for explicit ingestion requests. The harness is the intelligence: it gathers source data, reads it, decides what is durable, resolves identity, and writes semantic graph mutations with evidence. Potpie validates and stores; it does not decide what source material means.

Non-Negotiables

  • Use a todo/checklist for every repository or multi-source ingestion. Do not jump directly from a README to graph writes.
  • Local inspection is required for repo understanding. Scanner-driven graph updates are forbidden. Inspect files with rg, rg --files, git, and structured tooling; do not run legacy or deterministic ingestion/scanner commands that walk the tree and write graph facts.
  • Use subagents only for read-only discovery slices. The main agent owns source selection, identity resolution, mutation proposals, commits, and final synthesis.
  • Do not write until each required discovery lane is complete, explicitly unavailable, or intentionally scoped out by the user.
  • Every write needs source refs, source authority, truth class, confidence, compact summary, and retrieval-grade description.

Phase 0: Scope And Preflight

  1. Define source kind, pot/project, repo/path/URL, time window, and target memory shape: baseline, history, docs, infra, debug memory, preferences, or all.
  2. Verify Potpie scope and graph availability with one call:
potpie status

It reports the daemon, the active pot, backend readiness and claim counts; every later read names the pot it used in its header, so do not pre-read pot info, source list or graph status. Pass --pot <name-or-id> on later calls once the pot is known.

  1. If the repo is not registered, register metadata only. Use explicit --pot when pot scope is ambiguous:
potpie source add repo . --pot <pot-id-or-name>
  1. Inspect the full destination ontology before selecting mutation shapes:
potpie --json graph catalog --profile full --pot <pot>

Read the full file on GitHub · 302 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. 3d ago Changed · +53 lines 29bf24a42326
  2. 1mo ago First seen · 249 lines · 82 tokens per session scan A acf24c5e5449

Subscribe to this mod's changes

potpie-source-ingestion is a skill published in the GitHub repository potpie-ai/potpie (5,743 stars, last pushed yesterday), licensed Apache-2.0. It adds 82 tokens to every session and 3,368 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.

Related

Other skills, from other repositories

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

llamaindex

Data framework for building LLM applications with RAG. Specializes in document ingestion (300+ connectors), indexing, and querying. Features vector indices, query engines, agents, and multi-modal support. Use for document Q&A, chatbots, knowledge retrieval, or building RAG pipelines. Best for data-centric LLM…

davila7/claude-code-templates · 70 tokens

gog-workspace

Use the gog CLI for Google Workspace tasks across Gmail, Calendar, Drive, Docs, Sheets, Contacts, and related services. Use when the user asks to check email, search Gmail, inspect calendar events, find Drive files, read Docs or Sheets, or manage Google Workspace data through gog.

AtomicBot-ai/atomic-agent · 68 tokens

ima-skill

A unified IMA skill for managing personal notes and knowledge bases through the platform's APIs.

UnicomAI/wanwu · 137 tokens

notes

A note-management skill for searching, reading, creating, and adding content to personal notes in IMA, a note and knowledge platform.

UnicomAI/wanwu · 0 tokens