用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Abd0r/porcupineai --skill customization-recovery命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | customization-recovery |
| description | Recover safely from broken Porcupine customizations. |
| stack | meta |
Use this playbook when Porcupine stops starting, behaves incorrectly, or breaks after a settings, extension, skill, prompt, theme, project-resource, model, or source customization. It identifies the failing layer, preserves the user's work, and verifies a minimal repair. It does not delete customizations, reset credentials, or reinstall software without explicit user approval.
/reload..disabled; do not delete.Use bash to run:
porcupine --no-extensions --no-skills --no-prompt-templates --no-themes --no-context-files --no-session
For a suspicious project, add --no-approve. This matters because project trust does not prevent AGENTS.md and CLAUDE.md from loading; --no-context-files does.
Keep built-in tools enabled. Do not use --no-tools unless a built-in tool itself is known to be the failure.
Compare the original launch to recovery variants:
--no-extensions: extension or package extension.--no-skills --no-prompt-templates: skill frontmatter/body or prompt resource.--no-themes: custom theme.--no-context-files --no-approve: project settings, resource directories, or context instructions.--provider <provider> --model <model>: saved provider/model selection.--no-session: corrupt or problematic session.Do not infer the layer from timing alone. A flag must make a reproducible difference.
Settings are at ~/.porcupine/agent/settings.json globally and .porcupine/settings.json per project. Use bash to create a private timestamped backup directory, then copy only the affected settings/resource file. Do not include auth or credential files.
Validate a settings file before editing it:
python3 -m json.tool <settings-file> >/dev/null
.disabled, then re-enable resources one by one.--provider / --model override first, then update saved settings if the user wants it.git status --short, git diff --check, run the focused test, and preserve the diff. Never run a destructive git command without approval.Run the original command. For source edits, run npm run build and focused tests. Report:
| Purpose | Command/flag |
|---|---|
| Disable discovered extensions | --no-extensions / -ne |
| Disable discovered skills | --no-skills / -ns |
| Disable prompt templates | --no-prompt-templates / -np |
| Disable themes | --no-themes |
| Disable AGENTS/CLAUDE context | --no-context-files / -nc |
| Ignore project-local resources | --no-approve / -na |
| Isolate session state | --no-session |
| Override saved model | --provider <name> --model <id> |
A repair is complete only if normal startup succeeds without recovery flags, the affected resource is either working or explicitly quarantined, and no credential or unrelated customization changed.
docs/customization-recovery.md in the Porcupine checkout.docs/extensions.md.docs/security.md and docs/settings.md.