Tweak Code

VerifiedSafe

Opens the user's default editor at a specific line number for manual tweaks. Use this when the user wants to make fine-grained adjustments after automated changes.

Sby Skills Guide Bot
DevelopmentBeginner
6/2/2026
Claude Code
#manual-editing#editor-integration#code-tweaks#line-navigation

Recommended for

Automated summary

Opens the user's default editor at a specific line to allow manual code tweaks after AI-driven changes.

Strengths

  • Opens directly at the edited line
  • Works with multiple editors (Cursor, VS Code, Zed)
  • Enables quick manual adjustments without leaving the terminal
  • Integrates seamlessly after an AI edit

Limitations

  • Only works if an edit has been made prior
  • Multi-line selection is only supported in Zed
  • Relies on automatic editor detection
When to use it

When you want to manually fine-tune specific lines of code after an AI-generated edit.

When not to use it

When you want to make global changes or do not need to manually adjust the code.

Security analysis

Safe
Quality score85/100

The skill instructs the AI to run a local shell script that opens the user's default editor at a specified file and line. There is no indication of destructive, exfiltrating, or obfuscated actions. The script path is fixed within the skill directory and the arguments are constrained to the last edited file. No sensitive system access or network activity is implied.

No concerns found

How this analysis is made

Examples

Single line tweak
/tweak
Multi-line tweak after edit
I want to manually adjust the changes you just made to the login component. Use /tweak.

name: tweak description: Open the user's default editor at a specific line to manually tweak styles or code. Use when the user wants to make manual adjustments after you've made changes.

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

  1. When the user says /tweak, identify the last file and line range you edited in the conversation
  2. Run the script with the file path, start line, and end line (for multi-line edits)
  3. 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

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/tweak-code-mma3js20/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/tweak-code-mma3js20' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/tweak-code-mma3js20/download' --output '.skill-downloads/tweak-code-mma3js20/SKILL.md.part' && mv '.skill-downloads/tweak-code-mma3js20/SKILL.md.part' '.skill-downloads/tweak-code-mma3js20/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/tweak-code-mma3js20/SKILL.md' && test -s '.skill-downloads/tweak-code-mma3js20/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/tweak' && cp -R '.skill-downloads/tweak-code-mma3js20' '.claude/skills/tweak'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/tweak-code-mma3js20'

openskills read 'tweak-code-mma3js20'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/tweak-code-mma3js20/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills