mit einem Klick
potpie-pot-scope
// Use when the task is about pot resolution: pot use, env maps, git origin parsing, repo-to-pot mapping, or search/ingest scope inference.
// Use when the task is about pot resolution: pot use, env maps, git origin parsing, repo-to-pot mapping, or search/ingest scope inference.
Use when an agent needs project context from the context engine through MCP tools. Covers context_resolve recipes for feature, debugging, review, operations, docs, and onboarding without adding separate context tools.
Use when the task involves running, explaining, or troubleshooting the Potpie CLI. Covers doctor, login, pot management, search, and ingest commands.
Use when the Potpie CLI is failing — especially around API key, URL config, 401, 404, pot scope, or search/ingest HTTP errors.
| name | potpie-pot-scope |
| description | Use when the task is about pot resolution: pot use, env maps, git origin parsing, repo-to-pot mapping, or search/ingest scope inference. |
Use this skill when the hard part of the task is choosing or debugging the pot ID.
For inferred pot scope, the CLI follows this order:
potpie pot use <uuid> — stored active pot (highest priority).CONTEXT_ENGINE_REPO_TO_POT env map — matched on owner/repo.CONTEXT_ENGINE_POTS env map — inverse map lookup.origin remote parsed from --cwd — matched against env maps.potpie pot list # show active pot, env maps, local aliases
context-engine add . # show parsed git remote + active pot for cwd
potpie pot pots # list server-side pots you have access to
# Explicit UUID
potpie pot use aeaa1c74-2a0e-4b7c-ab03-1da1390d32b6
# With a local alias (easier to type)
potpie pot alias myproject aeaa1c74-2a0e-4b7c-ab03-1da1390d32b6
potpie pot use myproject
# Via env (for CI or multi-repo setups)
export CONTEXT_ENGINE_REPO_TO_POT='{"owner/repo":"pot-uuid"}'
potpie add . reads git remote get-url origin and normalizes both SSH and HTTPS remotes to owner/repo. Use it to check what the CLI sees for the current directory.
search and ingest accept an optional first-argument pot UUID:
# Inferred pot (from pot use / env / git)
potpie search "query"
potpie ingest "episode body"
# Explicit pot UUID
potpie search <pot-uuid> "query"
potpie ingest <pot-uuid> "episode body"