Agent skill

Refactor Apply

by greenfield-inc in greenfield-inc/Pane

Applies a refactor plan written by refactor-simple, refactor-deep, or the refactor orchestrator's merged report - auto-fixable items first, then manual items one at a time with the user, verifying…

Custom licenceAuto-check passedDevelopment

Install Refactor Apply

skills CLI
$ npx skills add greenfield-inc/Pane --skill refactor-apply -a claude-code

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

GitHub CLI
$ gh skill install greenfield-inc/Pane refactor-apply --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/greenfield-inc/Pane.git skills-src && mkdir -p .claude/skills && cp -r skills-src/main/src/services/paneChatBundle/skills/refactor-apply .claude/skills/refactor-apply && 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-apply
GitHub stars
519
Token cost
~679 tokens
SKILL.md length
328 words
Files
1
Skills in repo
35
Repo updated
First seen
Licence
Custom licence

At a glance

Applies a refactor plan written by refactor-simple, refactor-deep, or the refactor orchestrator's merged report - auto-fixable items first, then manual items one at a time with the user, verifying…

  • Works in 4 steps: Read the plan and the repo's checks → Auto-fixable first → Manual, one at a time with the user → …
  • Tasks that involve Refactoring
  • SKILL.md covers Input, Process and Rules
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Refactor Apply is an agent skill from greenfield-inc/Pane. Applies a refactor plan written by refactor-simple, refactor-deep, or the refactor orchestrator's merged report - auto-fixable items first, then manual items one at a time with the user, verifying with the repo's own checks after each group. Use only after the user has reviewed the plan and said to apply it.

Its SKILL.md is about 680 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. The repository describes itself as: Terminal-first, open-source AI agent manager for any CLI agent (agent agnostic), any OS (mac, windows, linux). The Open-Source Agentic Development Environment for running…

When your agent uses it

  • Tasks that involve Refactoring

Example prompts

  • “Use the refactor-apply skill to apply a refactor plan written by refactor-simple, refactor-deep, or the refactor orchestrator's merged report -…”
  • “/refactor-apply”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Read the plan and the repo's checks
  2. Auto-fixable first
  3. Manual, one at a time with the user
  4. Report

What it can do on your machine

Read from SKILL.md and the folder at commit b08541d. 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

    No scripts in the folder and no shell commands in SKILL.md.

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

  • Network

    No URLs in SKILL.md.

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

  • Credentials

    Names no API keys, tokens, secrets or passwords.

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

Context cost

Refactor Apply loads about 679 tokens when it runs. Until then it costs about 81 tokens; SKILL.md has 328 words of instructions outside code blocks.

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

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 328 words (~679 tokens).

“Turns a reviewed plan into edits. Never runs unasked; the plan it consumes was shown to the user first, by refactor or by the user invoking an analysis directly.”

— opening of SKILL.md by greenfield-inc, Custom licence
name
refactor-apply
argument-hint
<plan-path> [--auto-only]

Read the full SKILL.md on GitHub

Files

Just SKILL.md in main/src/services/paneChatBundle/skills/refactor-apply of greenfield-inc/Pane.

Open the folder on GitHubat commit b08541d

Compare with similar skills

Refactor Apply 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 Apply compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Refactor Apply this skillgreenfield-inc/Pane519—~679Automated safety check: PassCustom licence
Guidelinesakash-network/node1.1k22 repos~577Automated safety check: PassMIT
Component Refactoringlangflow-ai/langflow156k—~3.5kAutomated safety check: PassMIT
Migrate Core Code to Submodulestinyhumansai/openhuman42k—~2.6kAutomated safety check: PassGPL-3.0
Systematic Code Refactoringluongnv89/claude-howto42k—~3kAutomated safety check: PassMIT
Codexskills-directory/skill-codex1.5k3 repos~1.8kAutomated safety check: PassMIT

Similar skills

  • Guidelines

    akash-network/node

    Behavioral guidelines to reduce common LLM coding mistakes. An agent skill from akash-network/node.

    1.1k GitHub starsUsed in 22 repos~577 tokens
    DevelopmentAuto-check passed
  • Component Refactoring

    langflow-ai/langflow

    Refactor high-complexity React components in Langflow frontend.

    156k GitHub stars~3.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Migrate Core Code to Submodules

    tinyhumansai/openhuman

    Plans and carries out moving non-host-specific code and its tests from the OpenHuman core into vendored tiny submodule libraries, then releases the submodule and re-pins the host.

    42k GitHub stars~2.6k tokensUpdated today
    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 8 days ago
    DevelopmentAuto-check passed
  • Codex

    skills-directory/skill-codex

    A skill your agent uses when the user asks to run Codex CLI (codex exec, codex resume) or references OpenAI Codex for code analysis, refactoring, or automated editing

    1.5k GitHub starsUsed in 3 repos~1.8k tokens
    DevelopmentAuto-check passed
  • Ponytail

    DavidObando/gsharp

    Forces the laziest solution that actually works, simplest, shortest, most minimal.

    565 GitHub starsUsed in 8 repos~1.7k tokens
    DevelopmentAuto-check passed

More from greenfield-inc/Pane

All 35 skills in this repo
  • Page

    greenfield-inc/Pane

    House standard for any HTML page written for a person. An agent skill from greenfield-inc/Pane.

    519 GitHub stars~759 tokensUpdated today
    Auto-check passed
  • Session Trace

    greenfield-inc/Pane

    Publish an agent session as a readable trace page in Grain, with the story, key moments, every request and step on a timeline, subagents, and the pull requests it opened.

    519 GitHub stars~836 tokensUpdated today
    Auto-check passed
  • Discussion

    greenfield-inc/Pane

    Have an interactive discussion about a topic, approach, feature, or bug without making code changes.

    519 GitHub stars~666 tokensUpdated today
    Auto-check passed
  • Excalidraw PR Diagrams

    greenfield-inc/Pane

    Create Excalidraw diagram JSON files and PR visual overviews that make visual arguments.

    519 GitHub stars~9.4k tokensUpdated today
    Auto-check passed
  • HTML Explainer

    greenfield-inc/Pane

    The house standard for any skill that renders an HTML page for a person to read, covering design tokens, typography, components, diagrams, and quality gates so every generated page shares one calm…

    519 GitHub stars~1.6k tokensUpdated today
    Auto-check: notes
  • Pane Work

    greenfield-inc/Pane

    Answer questions about the user's own work in Pane, read-only.

    519 GitHub stars~1.8k tokensUpdated today
    Auto-check passed

Categories

Questions about Refactor Apply

What does Refactor Apply do?

Applies a refactor plan written by refactor-simple, refactor-deep, or the refactor orchestrator's merged report - auto-fixable items first, then manual items one at a time with the user, verifying…. Refactor Apply is an agent skill from greenfield-inc/Pane. Applies a refactor plan written by refactor-simple, refactor-deep, or the refactor orchestrator's merged report - auto-fixable items first, then manual items one at a time with the user, verifying with the repo's own checks after each group.

When should I use Refactor Apply?

Refactor Apply fits situations like: tasks that involve Refactoring.

How do I install Refactor Apply in Claude Code?

Run `npx skills add greenfield-inc/Pane --skill refactor-apply -a claude-code`. Or copy the skill folder (main/src/services/paneChatBundle/skills/refactor-apply in greenfield-inc/Pane) into .claude/skills/refactor-apply in your project. Claude Code loads it when a task matches its description.

How do I install Refactor Apply in Codex?

Run `npx skills add greenfield-inc/Pane --skill refactor-apply -a codex`. Or copy the skill folder (main/src/services/paneChatBundle/skills/refactor-apply in greenfield-inc/Pane) into .agents/skills/refactor-apply in your project. Codex loads it when a task matches its description.

Can I use Refactor Apply 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 greenfield-inc/Pane --skill refactor-apply -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-apply, .gemini/skills/refactor-apply, .github/skills/refactor-apply and .opencode/skills/refactor-apply in your project.

What does Refactor Apply need to run?

SKILL.md names no scripts, command-line tools or credentials: Refactor Apply is instructions for the agent only.

Does Refactor Apply access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Refactor Apply 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 Apply use?

Refactor Apply has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Refactor Apply use?

About 679 tokens (SKILL.md is roughly 2.7k 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 Apply?

Skills that share tags, products or a category with Refactor Apply: Guidelines (akash-network/node, 1.1k stars), Component Refactoring (langflow-ai/langflow, 156k stars), Migrate Core Code to Submodules (tinyhumansai/openhuman, 42k stars) and Systematic Code Refactoring (luongnv89/claude-howto, 42k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Refactor Apply?

greenfield-inc (a GitHub organization) maintains it in greenfield-inc/Pane, which has 519 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on October 7, 2026.

Source: greenfield-inc/Pane on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.