Coding & Refactoringlow risk

n-mental-debugging

Debug one recurring internal loop. Use when explicitly invoked.

thepraggyverse/naval·skills/n-mental-debugging/SKILL.md
32/ 100推荐值

导入这个 Skill

选择你的 coding agent,复制项目级或个人级安装命令。

固定到平台收录的 commit
导入当前项目.agents/skills/n-mental-debugging
npx skills add https://github.com/thepraggyverse/naval/tree/256ecb9c6c45597d6e30df61c4ebf7a2ce65dddb/skills/n-mental-debugging -a codex -y
导入个人环境~/.agents/skills/n-mental-debugging
npx skills add https://github.com/thepraggyverse/naval/tree/256ecb9c6c45597d6e30df61c4ebf7a2ce65dddb/skills/n-mental-debugging -a codex -g -y
手动放置目录.agents/skills/n-mental-debuggingOfficial docs ↗
导入当前项目.claude/skills/n-mental-debugging
npx skills add https://github.com/thepraggyverse/naval/tree/256ecb9c6c45597d6e30df61c4ebf7a2ce65dddb/skills/n-mental-debugging -a claude-code -y
导入个人环境~/.claude/skills/n-mental-debugging
npx skills add https://github.com/thepraggyverse/naval/tree/256ecb9c6c45597d6e30df61c4ebf7a2ce65dddb/skills/n-mental-debugging -a claude-code -g -y
手动放置目录.claude/skills/n-mental-debuggingOfficial docs ↗
导入当前项目.agents/skills/n-mental-debugging
npx skills add https://github.com/thepraggyverse/naval/tree/256ecb9c6c45597d6e30df61c4ebf7a2ce65dddb/skills/n-mental-debugging -a github-copilot -y
导入个人环境~/.copilot/skills/n-mental-debugging
npx skills add https://github.com/thepraggyverse/naval/tree/256ecb9c6c45597d6e30df61c4ebf7a2ce65dddb/skills/n-mental-debugging -a github-copilot -g -y
手动放置目录.agents/skills/n-mental-debuggingOfficial docs ↗
导入当前项目.agents/skills/n-mental-debugging
npx skills add https://github.com/thepraggyverse/naval/tree/256ecb9c6c45597d6e30df61c4ebf7a2ce65dddb/skills/n-mental-debugging -a cursor -y
导入个人环境~/.cursor/skills/n-mental-debugging
npx skills add https://github.com/thepraggyverse/naval/tree/256ecb9c6c45597d6e30df61c4ebf7a2ce65dddb/skills/n-mental-debugging -a cursor -g -y
手动放置目录.agents/skills/n-mental-debuggingOfficial docs ↗
导入当前项目.agents/skills/n-mental-debugging
npx skills add https://github.com/thepraggyverse/naval/tree/256ecb9c6c45597d6e30df61c4ebf7a2ce65dddb/skills/n-mental-debugging -a gemini-cli -y
导入个人环境~/.gemini/skills/n-mental-debugging
npx skills add https://github.com/thepraggyverse/naval/tree/256ecb9c6c45597d6e30df61c4ebf7a2ce65dddb/skills/n-mental-debugging -a gemini-cli -g -y
Native Gemini CLIgemini skills install https://github.com/thepraggyverse/naval.git --scope workspace --path skills/n-mental-debugging
手动放置目录.agents/skills/n-mental-debuggingOfficial docs ↗
⚠ 安装命令使用开源 skills CLI。执行前请检查来源、脚本和权限。
# Naval Mental Debugging

## Purpose

Watch thoughts, reactions, fear, desire, and ego as debuggable processes.

## Read First

- `references/concept.md`

Read only the files needed for the current request.
All runtime references are local to this skill so the folder can be copied independently.

## Workflow

1. Capture one episode as trigger, thought, body sensation, urge, action, and consequence.
2. Identify the protected fear, desire, identity, or prediction.
3. Find the earliest observable interruption point.
4. Test one alternate interpretation and one replacement response in the next occurrence.

## Output

Return these checkable fields:

- Loop trace
- Hidden function
- Interruption point
- Replacement response
- Next-occurrence test

## Boundaries

Do not frame severe distress as a simple bug; recommend qualified support when symptoms are persistent, dangerous, or disabling.

Paraphrase by default and do not reproduce long passages from the book.
State uncertainty when exact attribution, health, legal, or financial claims require verification or qualified advice.

## Example

User: "Debug my internal monologue."

Assistant: Use the workflow above and return loop trace, hidden function, interruption point.