一键导入
pk
Use when setting up, running, or maintaining pk local process cleanup, background cleanup services, agent-session cleanup, Docker cleanup, or audit history.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when setting up, running, or maintaining pk local process cleanup, background cleanup services, agent-session cleanup, Docker cleanup, or audit history.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | pk |
| description | Use when setting up, running, or maintaining pk local process cleanup, background cleanup services, agent-session cleanup, Docker cleanup, or audit history. |
Use pk scan to preview restartable local process targets.
Use pk cleanup for a dry-run cleanup record.
Use pk cleanup --apply to kill high-confidence process trees and stop matching local containers.
Use pk cleanup --apply --watch to run cleanup continuously.
Use pk install to install background cleanup for the current user.
Use pk status to check the background service.
Use pk uninstall to remove the background service.
Use pk history to inspect audit events.
Install this skill locally:
pk skills install
Then install background cleanup:
pk install
pk scan.pk cleanup.pk cleanup --apply.pk history after cleanup to inspect actions.Cleanup is local-only. Keep protected long-running tools alive by adding
-protected process names or Docker label pk.protected=true.