Coder Assistant

VerifiedCaution

Provides coding assistant capabilities including file investigation, reading, searching, editing, and command execution. Helps explore project structures, read code files incrementally, search for patterns, and apply precise edits using search/replace blocks. Use it when you need to interact with codebases, make modifications, or run terminal commands.

Sby Skills Guide Bot
DevelopmentIntermediate
6/2/2026
Claude Code
#coding-assistant#file-editing#code-search#terminal-commands

Recommended for

Automated summary

Provides agent capabilities to explore projects, read and search code, edit files, and execute terminal commands.

Strengths

  • Enables efficient file investigation and precise code editing using exact text matching
  • supports batch edits with apply_edit_blocks
  • reduces errors by using sed to extract exact context for replacements.

Limitations

  • Requires exact string matching for edits, making it sensitive to whitespace differences
  • depends on terminal commands for context extraction which may not be available in all environments
  • limited to file-based operations.
When to use it

Use when you need to make targeted edits to code files in a project, especially when requiring precise replacements or batch changes.

When not to use it

Do not use for tasks requiring high-level refactoring or understanding of code semantics beyond text manipulation.

Security analysis

Caution
Quality score87/100

The skill includes a powerful tool (run_terminal_command) that can run shell commands, posing a risk if the agent acts on untrusted instructions. However, it is intended for legitimate coding tasks and does not include destructive or exfiltrating patterns.

Findings
  • •Allows arbitrary command execution via run_terminal_command, which could be misused if the agent is not properly sandboxed.
How this analysis is made

Examples

Explore project structure
Investigate the folder structure of my project and save a summary report as .test.Agent.md.
Search for pattern in directory
Search for the word 'deprecated' in the entire src directory.
Make precise code edit
Replace a print statement in main.py with a new message. First, read the file to find the exact lines, then use sed to extract them, and finally apply the edit using apply_edit_blocks.

name: coder description: Coding assistant capabilities including file investigation, reading, searching, editing, and command execution. allowed-tools:

  • investigate_and_save_report
  • read_code_file
  • search_in_files
  • edit_code_file
  • apply_edit_blocks
  • run_terminal_command
  • create_file

Coder Skill

This skill provides the agent with capabilities to act as a coding assistant, exploring projects, reading code, and making edits.

Tools

investigate_and_save_report

Investigates a folder structure and writes a markdown summary named ".test.Agent.md" in that folder.

  • folder_path: The absolute path of the folder to investigate.

read_code_file

Read a code file incrementally.

  • file_path: Absolute path to the file.
  • start_line: Starting line number (1-based, inclusive). Default is 1.
  • end_line: Ending line number (1-based, inclusive). Default is -1 (end of file).

search_in_files

Use grep to search for patterns in files within a directory.

  • folder_path: The directory to search in.
  • pattern: The text or regex pattern to search for.

edit_code_file

Edit a code file by replacing an exact text block.

  • file_path: Absolute path to the file.
  • old_string: The exact string to find and replace.
  • new_string: The string to replace it with.

apply_edit_blocks

Apply multiple search/replace edits to a file in a single pass. This is PREFERRED over edit_code_file for complex changes.

  • file_path: Absolute path to the file.
  • edits: A string containing one or more edit blocks using the SEARCH/REPLACE format.

create_file

Create a new file with optional content, overwrite existing file, or append.

  • file_path: Absolute path to the file.
  • content: Optional text content to write.
  • overwrite: If True (default), overwrite existing file.
  • append: If True, append content to existing file.

run_terminal_command

Run terminal commands.

  • command: The full shell command to execute.

Usage Strategy: Reliable Code Editing

To edit files efficiently and correctly using apply_edit_blocks, follow this distinct workflow. This method prevents "SEARCH block not found" errors by ensuring you have the exact text.

Standard Workflow

  1. Locate: Read the file (read_code_file) to find the approximate location of the code you want to change.
  2. Extract Exact Context:
    • Once you identify the lines (e.g., lines 10-15), use sed to extract exactly those lines.
    • Command: sed -n '10,15p' <filename>
    • This output provides the perfect text for your SEARCH block, guaranteeing a match.
  3. Apply Edit:
    • Copy the output from step 2 into the <<<<<<< SEARCH block.
    • Write your new code in the ======= ... >>>>>>> REPLACE block.
    • Call apply_edit_blocks.

Rules for apply_edit_blocks

  1. SEARCH Blocks Must Be Exact: The tool performs a string find. Any difference in whitespace or indentation will cause it to fail. Using sed or cat to get the raw text is safer than remembering it. Note: Avoid using cat -a on Windows or macOS, as the -a flag is not available. Use sed or plain cat instead.
  2. Use Sufficient Context: Include 3-5 lines of context in your SEARCH block to ensure it is unique within the file.
  3. Multiple Edits: You can pass multiple SEARCH/REPLACE blocks in one tool call to perform several edits at once.

Example

Goal: Change a print statement on line 42.

  1. Check Content:

    sed -n '40,45p' main.py
    

    Output:

        if x > 0:
            print("Positive")
            return True
    
  2. Call Tool:

    {
      "file_path": "/abs/main.py",
      "edits": "<<<<<<< SEARCH\n    if x > 0:\n        print(\"Positive\")\n        return True\n=======\n    if x > 0:\n        print(\"Found positive value\")\n        return True\n>>>>>>> REPLACE"
    }
    

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/coder-assistant-mm8o51om/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/coder-assistant-mm8o51om' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/coder-assistant-mm8o51om/download' --output '.skill-downloads/coder-assistant-mm8o51om/SKILL.md.part' && mv '.skill-downloads/coder-assistant-mm8o51om/SKILL.md.part' '.skill-downloads/coder-assistant-mm8o51om/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/coder-assistant-mm8o51om/SKILL.md' && test -s '.skill-downloads/coder-assistant-mm8o51om/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/coder' && cp -R '.skill-downloads/coder-assistant-mm8o51om' '.claude/skills/coder'

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/coder-assistant-mm8o51om'

openskills read 'coder-assistant-mm8o51om'

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/coder-assistant-mm8o51om/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