Skip to content
TrustedSkillsbeta
Back to all skills

code-transfer

Checked
mhattingpete·v1.0.0·backend·Apache-2.0

Transfer code between files with line-based precision. Use when users request copying code from one location to another, moving functions or classes between files, extracting code blocks, or inserting

Install on your platform

Showing OpenClaw.

  1. 1

    Run this in your terminal

    terminal
    $ 

What we know about this skill

Publisher

mhattingpete

Taken from the source listing. We haven't verified who controls this account.

Install target

Live repository

Not pinned. Installing fetches whatever the repository holds at the time you run the command.

No human has reviewed this code. The checks below are a static scan of the files at one commit — nobody has run this skill or judged whether it works. A skill runs with whatever access you give your agent, so read the source before you install it.

Automated safety checks

scanned

This skill passed all 6 checks. We read its files at one commit and looked for the things that make a skill dangerous to run — not for whether it works.

  • Declares what it does: passed

    SKILL.md parses and declares a name and a description.

    SKILL.md exists, its frontmatter parses, and it declares a name and a description.

  • No undeclared network calls: passed

    Makes no network calls.

    Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.

  • No obfuscated payloads: passed

    No encoded or obfuscated payloads.

    No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.

  • No credential access: passed

    Reads no keys, tokens, keychains or credential files.

    Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.

  • No pipe-to-shell installers: passed

    No pipe-to-shell or download-and-run installers.

    No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.

  • Pinned to a commit: passed

    Scanned mhattingpete/claude-skills-marketplace at b5b34bcf4c.

    The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.

Scanned
2 files, 318 lines
This is a static scan, not a review. It reads the skill's files; it does not run them, and it cannot tell you whether the skill is any good or whether the code does what its description says. A skill runs with whatever access you give your agent.
What each check looks for →

About this skill

What it does

This skill enables precise transfer of code snippets between files. It allows users to specify the exact lines of code to be moved or copied, ensuring accuracy and minimizing unintended changes. The tool is particularly useful for refactoring projects, moving code between modules, or extracting specific functions into new files.

When to use it

  • Moving a function: A developer needs to move a single function from one Python file to another within a project.
  • Extracting a class: A user wants to extract a large class definition from a main application file into a separate utility module.
  • Copying code blocks: A user requires copying a specific block of JavaScript code from a component file to a shared library.
  • Refactoring: When refactoring, you need to move or copy sections of code while preserving line numbers for accurate updates.

Key capabilities

  • Line-based precision: Transfers only the specified lines of code.
  • File transfer: Moves code between different files within a project.
  • Code copying: Duplicates code blocks from one location to another.
  • Function/Class extraction: Facilitates moving larger code units like functions and classes.

Example prompts

  • "Move lines 15-20 of file_a.py to file_b.py."
  • "Copy the entire class definition from line 8 to line 32 in main.java to a new file called utils/MyClass.java."
  • “Extract the code block starting at line 5 and ending at line 12 of script.js into a new file named helpers.js.”

Tips & gotchas

The skill relies on accurate line numbers provided in the prompt. Double-check the line numbers to avoid unintended consequences or errors during the transfer process.