Expertise·Cloud & DevOps·v0.0.1

Skill: Refactor Module

Transform monolithic Terraform configurations into reusable, maintainable modules following HashiCorp's module design principles and…

You say
Install this skill Read the source first Free Written by hashicorp · unverified publisher
Context cost
3.4k tokensestimated from the bundle, loaded when it triggers
Bundle
1 file · 13.7 kBtext throughout, nothing executable
Licence
GPL-3.0free to use
Last change
v0.0.1
Servers it uses
Noneruns standalone

What it does

Transform monolithic Terraform configurations into reusable, maintainable modules following HashiCorp's module design principles and community best practices.

Installed, it changes the agent in these ways.

What this skill changes about the agent is not written down here yet. The listing was collected from its source, and the description is in its own SKILL.md.

Expertise

Domain judgement the base model does not have.

devopsterraform
Filed under

Cloud & DevOps

The skill itself

This is the whole product. A skill is instructions the model reads, so there is nothing behind the listing you cannot see first — the front matter loads with every session, and the body below it loads when the skill triggers.

SKILL.md13.7 kB · preview
--- name: refactor-module metadata: copyright: Copyright IBM Corp. 2026 version: "0.0.1" ---
9# Skill: Refactor Module
10
11## Overview
12This skill guides AI agents in transforming monolithic Terraform configurations into reusable, maintainable modules following HashiCorp's module design principles and community best practices.
13
14## Capability Statement
15The agent will analyze existing Terraform code and systematically refactor it into well-structured modules with:
16- Clear interface contracts (variables and outputs)
17- Proper encapsulation and abstraction
18- Versioning and documentation
19- Testing frameworks
20- Migration path for existing state
21
22## Prerequisites
23- Existing Terraform configuration to refactor
24- Understanding of resource dependencies
25- Access to current state file (for migration planning)
26- Knowledge of module registry patterns
27
This is a preview of SKILL.md. Download or install the skill to get the whole thing.
In the file
SKILL.md130 words
Files1
LicenceGPL-3.0
Why you can read it

Nothing in a skill executes. The client loads the text and the model follows it, so a skill can be audited the way a runbook is — by reading it.

What it costs in context

Skills are not billed by the call. They are paid for in context: every token the instructions occupy is a token your code, your diff and your conversation cannot use. Here is what this one takes and when it takes it.

≈70
always loaded
The name and description, so the model knows the skill exists and when to reach for it.
3,355
on trigger
The instruction body, read only when the skill fires.
1.7%
of a 200k window
Ten skills this size would take about 17% of the window before you open a file.
050k100k150k200k context window

3.4k tokens, estimated from the bundle at four bytes to the token, held for the rest of the session once it triggers. Middling. Fine to keep on in a project where you use it weekly, worth unloading in one where you never do.

Servers bill, skills cost

A server charges by the month. A skill charges once per session, in context, and then keeps charging it for as long as the session lives.

Before and after

The same question, put to the same model twice: once as it comes, and once with these instructions loaded.

No worked example has been published for this skill yet.

Adoption
Installsnone yet
Ratingno reviews yet

The procedure it runs

The procedure has not been published here. It is in the skill’s own SKILL.md, which its author has not sent to the marketplace yet.

Prose, not code

These steps are written for a model to follow, not executed by a runtime. It can still be told to skip one, and it will say so when it does.

Servers it uses

None. This skill calls no MCP servers at all.

Everything it needs is in the instructions, so it works in a project with nothing connected — the model reads the file and changes how it works with what it can already reach.

It writes no files and reaches no network. All it changes is how the model reasons and writes.

What it asks for
Writes filesno
Network accessno

Read from the allowed-tools line of this skill’s own SKILL.md. A skill grants no permissions of its own — it can only ask for tools your client already has.

What it will not do

Every skill is narrow, and the useful ones say where they stop. These are the jobs this one is the wrong tool for.

What this skill is not for has not been published here. Nothing is implied by that: it is a section the author has not filled in.

What is in the bundle

1 file, 13.7 kB on disk. A bundle is text throughout: the instructions the model reads, plus the templates it fills in.

  • SKILL.md13.7 kB
What is not in it

No dependencies and nothing executable: a skill is text the agent reads, so the bundle is 1 file you can review in full before installing. The GPL-3.0 licence covers the templates and examples as well as the instructions.

Install

Installing copies the bundle into your project. Nothing runs at install time — the files sit on disk until the model reads them.

# Skill: Refactor Module · 3.4k tokens when loaded mkdir -p .claude/skills && curl -fsSL https://mcprush.com/api/skills/skill-refactor-module/bundle.tar.gz | tar -xz -C .claude/skills

Writes to .claude/skills/skill-refactor-module/ in the current project. For every project instead, point the same command at your home folder — end it with -C ~/.claude/skills/ — or install it with npx mcprush@latest skill add skill-refactor-module --global, which is the command that flag belongs to.

Which clients pick it up on their own

A skill is a folder of text. Most of these read a skills folder and pick it up without being told; the rest take the same folder another way — an upload in the app, a parameter on an API call — and then choose it by its description just the same.

Claude Code.claude/skills/
Claude DesktopCustomize › Skills
ChatGPTSkills › Create › Upload
Cursor.cursor/skills/
VS Code.github/skills/
Codex CLI.agents/skills/
Gemini CLI.gemini/skills/
Grok.grok/skills/
Microsoft CopilotSkills › Upload
PerplexityComputer › Skills
DeepSeek.dsh/skills/
Zed.agents/skills/
Windsurf.windsurf/skills/
Agent SDK.claude/skills/
HTTP / APIa request parameter
This release
Version0.0.1
Publishedno release date on file
PriceFree
Referencehashicorp/skill-refactor-module

Versions

v0.0.1 is what is on the shelf; no release here carries a date. Instructions change more often than APIs do — a skill can be rewritten entirely without anything it depends on moving.

v0.0.1
  • No earlier releases have been published to the marketplace.
Pinning

Put hashicorp/skill-refactor-module@0.0.1 in the install command to hold this exact version. Without the suffix you get whatever is current the day you install, and nothing moves under you afterwards.

Reviews

no reviews yet · no installs yet

Nobody has reviewed this skill yet. The rating is the mean of the reviews written here, so there is none until somebody writes the first.

Sign in to review it

A review is tied to an account so it can be answered, edited and taken down by the person who wrote it.

Sign in
Who can post

Anybody with an account, one review each. It carries the version that was current when you wrote it, and the publisher may reply once.

Publisher
Servers2
Claim this skill