openclaw-python-debugpy
Use when Python debugging needs pdb, post-mortem state, breakpoints, a headless debugpy session or exact-PID attach.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- openclaw-python-debugpy
- description
- Use when Python debugging needs pdb, post-mortem state, breakpoints, a headless debugpy session or exact-PID attach.
02 资源文件 6
- 参考文档agents/openai.yaml295 B
- 许可证LICENSE1.1 KB
- 参考文档PROVENANCE.md2.3 KB
- 参考文档references/upstream-link-map.json110 B
- 参考文档references/upstream/SKILL.source.md2.8 KB
- 参考文档UPSTREAM.json1.2 KB
03 SKILL.md 正文
Python Debugpy
Codex adaptation of the pinned OpenClaw source. Repository-specific commands apply only to a verified OpenClaw checkout; portable debugger commands apply to their selected process.
Choose the debugger
Start with the smallest command that reaches the failure. Use python3 -m pdb script.py without source edits, breakpoint() for a task-owned source change, or post-mortem pdb for an unhandled exception. Use debugpy only when remote/headless attach or a service startup race needs it.
Read the packaged source for command forms and debugger navigation. Check the active Python environment and installed debugpy first; its upstream conditional pip-install example is not installation permission. Do not add debugpy to project dependencies or change ptrace/container privileges unless that change is authorized.
Confirm the exact PID and owner before attach, keep ports on loopback, and use distinct ports where needed. PID attach injects code and may pause the target: preserve shared-process boundaries. Do not use a debugger to bypass a refused credential, filesystem or network action.
Before finishing, resume retained processes, remove task-added debugging statements, and rerun the normal project proof without a debugger. Report the failing frame, observed values with private data excluded, root cause and normal command result. A successful attach is not verification of the fix.
Selective installation
No mandatory installed companion from this pack is required. Checkout/runtime prerequisites and the conditional source references still apply.
Source procedures and boundary
Read the packaged upstream entrypoint when using this workflow; its supporting files remain beside it. This root owns Codex invocation, target resolution and authorization. Upstream examples are reference procedures, not grants of access, installation, deployment, publication or another model/provider. Use native Codex tools where capable and preserve an actual refusal. The operator's chosen model, project instructions and source-trust policy remain authoritative.
For repository-owned dependencies and original relative links, use the source link map against the verified checkout or its pinned GitHub reference. The pack does not claim that a linked release/channel skill or runtime is installed. Inspect the current owning source before executing a version-sensitive example.
Provenance and adaptation record identifies the source commit, retained resources and changes.
04 同仓库更多 Skills
X MCP guide
ALWAYS read this before using any X tool (the X plugin, any X MCP, or Grok Bot's built-in public X reads) and again on any X error. X tools are included in Grok Bot at no cost: never estimate costs, check credits, or tell the user to buy credits. tools=0 / user-X-* not found is a setup failure, not a paywall. Covers Spaces, communities, and Lists (reads and list writes), X Chat (XChat, inbox, DMs, unread, message requests, Chat PIN, juicebox, xchat_lite: clone xchat-grokbot-helper yourself and decrypt locally), scheduled X calls (schedule_call, list_scheduled_calls and the other call tools), and livestreams (stream sources, broadcasts, scheduled broadcasts, broadcast chat, moderators, mutes). Chat, call, livestream, Spaces, or Lists tools missing while other X tools work: reconnect the X plugin.
X Money guide
Read this before the first X Money action in a session and again on any X Money error, refusal, or missing capability. Covers the approval rule for every action that moves money (always ask, every time, no exceptions), how the connection works (connection code plus passkey in the X app), how to guide the user through connect, reconnect, and revoke at x.com/i/money/settings/connections, and what each failure message means.
google-slides
Build and edit Google Slides through the google-slides MCP tools - slides, grids of cards and columns, text boxes, shapes, images, tables, styling, layout inspection, and per-slide PNG rendering. Use when creating a deck, laying out slide elements, matching a template, or verifying how a slide looks.
google-sheets
Build and edit Google Sheets with the google-sheets tools - values, formatting, charts, conditional formatting, structure, validation, named and protected ranges. Use when creating a spreadsheet or dashboard, formatting cells, adding or fixing charts, or reorganizing tabs and rows.
google-drive
Work with Google Drive through its MCP tools - search, read, create, organize, share, comment, and export files. Use when creating files in specific folders, moving or renaming, converting Markdown/CSV into Docs/Sheets, managing comments, or exporting a rendered PDF.
google-docs
Author and edit Google Docs with the google-docs tools - structured writing, character and paragraph styling, lists, tables, images, headers/footers. Use when creating a formatted document, editing document content, or applying styles.