tweak
2
总安装量
2
周安装量
#74831
全站排名
安装命令
npx skills add https://github.com/philipp-spiess/ai --skill tweak
Agent 安装分布
mcpjam
1
claude-code
1
kilo
1
replit
1
junie
1
windsurf
1
Skill 文档
Tweak
Opens the user’s default editor at a specific file and line number, allowing them to manually tweak the code.
Usage
After making changes to a file, if the user invokes /tweak, run the open-editor.sh script from this skill directory:
~/.claude/skills/tweak/open-editor.sh <file_path> <start_line> [end_line]
Instructions
- When the user says
/tweak, identify the last file and line range you edited in the conversation - Run the script with the file path, start line, and end line (for multi-line edits)
- The script auto-detects which GUI editor is running (Cursor, VS Code, Zed, etc.) and opens the file with the range selected
Example
Single line edit at line 42:
~/.claude/skills/tweak/open-editor.sh /Users/philipp/dev/app/src/Button.tsx 42
Multi-line edit from line 42 to 58 (opens at start line; range selection only works in Zed):
~/.claude/skills/tweak/open-editor.sh /Users/philipp/dev/app/src/Button.tsx 42 58