Agent skill

Refactor Assist

by sundial-org in sundial-org/awesome-openclaw-skills

Get refactoring suggestions with colored diffs. An agent skill from sundial-org/awesome-openclaw-skills.

No licenceAuto-check passedDevelopment

Install Refactor Assist

skills CLI
$ npx skills add sundial-org/awesome-openclaw-skills --skill refactor-assist -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sundial-org/awesome-openclaw-skills refactor-assist --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sundial-org/awesome-openclaw-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/refactor-assist .claude/skills/refactor-assist && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
refactor-assist
GitHub stars
663
Token cost
~523 tokens
SKILL.md length
207 words
Files
1
Skills in repo
383
Repo updated
First seen
Licence
None found

At a glance

Get refactoring suggestions with colored diffs. An agent skill from sundial-org/awesome-openclaw-skills.

  • Improving code quality
  • SKILL.md covers Quick Start, What It Does, Usage Examples and Best Practices, plus 5 more sections
  • Calls npx; needs OPENAI_API_KEY
  • Tasks that involve Refactoring

What it does

Refactor Assist is an agent skill from sundial-org/awesome-openclaw-skills. Get refactoring suggestions with colored diffs. Use when improving code quality.

Its SKILL.md is about 520 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Refactoring and Code quality. It works with GitHub. The repository describes itself as: Top OpenClaw skills, with the most popular and useful ones.

When your agent uses it

  • Improving code quality
  • Tasks that involve Refactoring
  • Tasks that involve Code quality

Example prompts

  • “/refactor-assist”

Requirements

  • Node.js
  • A credential in OPENAI_API_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit b80cde2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com
    • x.com
    • lxgicstudios.substack.com
    • lxgicstudios.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • OPENAI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Refactor Assist loads about 523 tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 207 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~24
When it runs · the whole SKILL.md, loaded when a task matches
~523

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 207 words (~523 tokens).

“Code review yourself before anyone else does. Point this at a file and get specific refactoring suggestions with diffs.”

— opening of SKILL.md by sundial-org
name
refactor-assist

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/refactor-assist of sundial-org/awesome-openclaw-skills.

Open the folder on GitHubat commit b80cde2

Compare with similar skills

Refactor Assist next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Refactor Assist compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Refactor Assist this skillsundial-org/awesome-openclaw-skills663—~523Automated safety check: PassNone
Cpp Coding Standardsaffaan-m/ECC276k4 repos~5.6kAutomated safety check: PassMIT
Systematic Code Refactoringluongnv89/claude-howto42k—~3kAutomated safety check: PassMIT
Ponytail Lazy Developer ModeDietrichGebert/ponytail159k—~873Automated safety check: PassMIT
Dignified Python Standardsdocling-project/docling69k—~1.5kAutomated safety check: PassApache-2.0
Clean Code GuardamElnagdy/guard-skills1.3k2 repos~4.3kAutomated safety check: PassMIT

Similar skills

  • C++ coding standards based on the C++ Core Guidelines (isocpp.github.io).

    276k GitHub starsUsed in 4 repos~5.6k tokens
    DevelopmentAuto-check passed
  • Systematic Code Refactoring

    luongnv89/claude-howto

    Guides refactoring in phases based on Martin Fowler's method: research, test coverage check, planning and small tested steps, with your approval at each phase.

    42k GitHub stars~3k tokensUpdated 9 days ago
    DevelopmentAuto-check passed
  • Ponytail Lazy Developer Mode

    DietrichGebert/ponytail

    Makes the agent pick the laziest solution that works: skip unneeded work, reuse what exists, prefer the standard library and platform features, and keep diffs small.

    159k GitHub stars~873 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Dignified Python Standards

    docling-project/docling

    Applies opinionated production Python conventions chosen by the project's Python version: modern type syntax, pathlib, explicit checks and interface guidance.

    69k GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Clean Code Guard

    amElnagdy/guard-skills

    Reviews generated or changed production code against Clean Code, SOLID, DRY, KISS, YAGNI and LLM-specific failure modes before it ships, in any language.

    1.3k GitHub starsUsed in 2 repos~4.3k tokens
    DevelopmentAuto-check passed
  • Code Refactoring Workflow

    luongnv89/claude-howto

    Guides systematic, test-backed refactoring in the style of Martin Fowler, moving through research, planning and small incremental changes with your approval at each phase.

    42k GitHub stars~3.1k tokensUpdated 9 days ago
    DevelopmentAuto-check passed

More from sundial-org/awesome-openclaw-skills

All 383 skills in this repo
  • UI UX Pro Max

    sundial-org/awesome-openclaw-skills

    UI/UX design intelligence and implementation guidance for building polished interfaces.

    663 GitHub starsUsed in 2 repos~657 tokens
    Auto-check passed
  • Web Deploy GitHub

    sundial-org/awesome-openclaw-skills

    Create and deploy single-page static websites to GitHub Pages with autonomous workflow.

    663 GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Clawd Modifier

    sundial-org/awesome-openclaw-skills

    Modify Clawd, the Claude Code mascot. An agent skill from sundial-org/awesome-openclaw-skills.

    663 GitHub stars~625 tokensUpdated 7 mo ago
    Auto-check passed
  • Figma

    sundial-org/awesome-openclaw-skills

    Professional Figma design analysis and asset export. An agent skill from sundial-org/awesome-openclaw-skills.

    663 GitHub stars~1.7k tokensUpdated 7 mo ago
    Auto-check: notes
  • Habit Flow

    sundial-org/awesome-openclaw-skills

    AI-powered atomic habit tracker with natural language logging, streak tracking, smart reminders, and coaching.

    663 GitHub stars~3.1k tokensUpdated 7 mo ago
    Auto-check passed
  • Edge Tts

    sundial-org/awesome-openclaw-skills

    Text-to-speech conversion using node-edge-tts npm package for generating audio from text.

    663 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed

Works with

Categories

Questions about Refactor Assist

What does Refactor Assist do?

Get refactoring suggestions with colored diffs. An agent skill from sundial-org/awesome-openclaw-skills. Refactor Assist is an agent skill from sundial-org/awesome-openclaw-skills. Get refactoring suggestions with colored diffs.

When should I use Refactor Assist?

Refactor Assist fits situations like: improving code quality; tasks that involve Refactoring; tasks that involve Code quality.

How do I install Refactor Assist in Claude Code?

Run `npx skills add sundial-org/awesome-openclaw-skills --skill refactor-assist -a claude-code`. Or copy the skill folder (skills/refactor-assist in sundial-org/awesome-openclaw-skills) into .claude/skills/refactor-assist in your project. Claude Code loads it when a task matches its description.

How do I install Refactor Assist in Codex?

Run `npx skills add sundial-org/awesome-openclaw-skills --skill refactor-assist -a codex`. Or copy the skill folder (skills/refactor-assist in sundial-org/awesome-openclaw-skills) into .agents/skills/refactor-assist in your project. Codex loads it when a task matches its description.

Can I use Refactor Assist in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sundial-org/awesome-openclaw-skills --skill refactor-assist -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/refactor-assist, .gemini/skills/refactor-assist, .github/skills/refactor-assist and .opencode/skills/refactor-assist in your project.

What does Refactor Assist need to run?

Going by SKILL.md and its folder, Refactor Assist needs the command-line tools its instructions call (npx) and credentials named OPENAI_API_KEY. Our summary lists: Node.js; A credential in OPENAI_API_KEY.

Does Refactor Assist access the network?

SKILL.md names 4 domains. As links in the text: github.com, x.com, lxgicstudios.substack.com and lxgicstudios.com. This is read from the text; nothing was executed.

Is Refactor Assist safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Refactor Assist use?

No licence was found for Refactor Assist or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Refactor Assist use?

About 523 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Refactor Assist?

Skills that share tags, products or a category with Refactor Assist: Cpp Coding Standards (affaan-m/ECC, 276k stars), Systematic Code Refactoring (luongnv89/claude-howto, 42k stars), Ponytail Lazy Developer Mode (DietrichGebert/ponytail, 159k stars) and Dignified Python Standards (docling-project/docling, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Refactor Assist?

sundial-org (a GitHub organization) maintains it in sundial-org/awesome-openclaw-skills, which has 663 GitHub stars. The repository holds 383 skills in this directory. The repository was last updated on March 7, 2026.

Source: sundial-org/awesome-openclaw-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.