potpie
Operate Potpie's CLI, daemon, context graph, source bindings, auth integrations, and bundled agent skills.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- potpie
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Operate Potpie's CLI, daemon, context graph, source bindings, auth integrations, and bundled agent skills.
- disable-model-invocation
- true
02 资源文件 6
- 参考文档references/repo-provenance.md3.6 KB
- 参考文档references/repo-routing-metadata.json485 B
- 参考文档references/troubleshooting.md3.4 KB
- 脚本scripts/generate_agent_contract.py2.6 KB
- 脚本scripts/potpie_smoke.sh1.1 KB
- 脚本scripts/typecheck_public_context_api.py1.4 KB
03 SKILL.md 正文
Potpie
Use this repo skill when a task names Potpie or asks how to operate its CLI, daemon runtime, Context Graph memory, pot/source workspace boundaries, provider integrations, graph read/write surface, or bundled agent-skill installer.
Quick start
uv tool install potpie # or: python -m pip install potpie
potpie --version
potpie --help
potpie daemon status
If you are working inside a live Potpie source checkout, the repo also provides make cli-install and make cli-status; those are convenience paths, not requirements for using this generated skill.
Route by task
| Task surface | Read |
|---|---|
| Install, setup, status, doctor, daemon, backend, UI, telemetry | runtime |
| Pots, active workspace, repo defaults, registered sources | workspace-boundaries |
| Potpie login/logout, provider credentials, GitHub/GitLab/Linear/Jira/Confluence/GitBucket, ledger | auth-integrations |
| Resolve/search/read graph context, entity keys, neighborhoods, timeline, graph status, inspect/export | graph-read |
| Record/propose/commit/mutate graph state, import/repair, inbox, quality, bulk, nudge | graph-write |
| Install/update/status/remove Potpie's bundled agent skills | skills-management |
Operating rules
- Diagnose runtime availability before retrying graph or skills commands.
potpie daemon statusis the safe first probe; many higher-level commands are daemon-dependent. - Keep workspace identity explicit. Pot/source registration chooses the workspace boundary; it does not by itself scan or ingest data.
- Keep provider credentials separate from source bindings. A provider token does not automatically link a repo to a pot or populate the graph.
- Prefer read-before-write for graph tasks: resolve entity keys and scope, then use
graph proposefollowed bygraph commitfor durable changes. - Treat Event Ledger and managed/cloud command surfaces as limited unless the current runtime proves support.
- Do not use Potpie's own
potpie skills installcommand to import this generated DisCo repo skill; that command manages Potpie's packaged agent bundle.
Bundled helpers
scripts/potpie_smoke.sh— safe CLI help/version/daemon-status smoke check.scripts/typecheck_public_context_api.py— public API import smoke for context-core/context-engine.scripts/generate_agent_contract.py— installed-package graph/agent contract reference generator.sub-skills/skills-management/scripts/list_bundle_skills.py— offline bundled-agent-skill catalog listing.
Root references
references/troubleshooting.md— cross-cutting install, daemon, source, auth, graph, and skills triage.references/repo-provenance.md— source commit, versions, evidence paths, and staleness triggers.references/repo-routing-metadata.json— structured placement forrepo-skills-routerimport.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).