Knitting Pattern Counter Instruction Tool skill for Claude and Codex
A numbered guide to counting stitches and rows in a knitting pattern, using your gauge and size so you land on the right numbers before casting on.
Install it once and Claude or Codex runs it for you. When your request matches, your AI loads the skill, asks for anything it is missing, and works through the template itself. Prefer to fill it in by hand? See the full prompt template.
Download the skill (.zip) · View SKILL.md
When it is used
Use when a knitter or pattern designer needs to count stitches and rows correctly for a pattern, using gauge and repeat length. Do not use for writing a full knitting pattern or choosing yarn and needle sizes. Related topics: hobbies, crafts, knitting.
What it will ask you for
- Pattern name (free text, e.g. "Cozy Sweater")
- Gauge in stitches per inch (number from 2 to 10)
- Desired size (choose one: Small, Medium, Large, Custom)
- Stitch types involved (choose any: Knit, Purl, Slip, Yarn Over, Decrease)
- Repeat section length in rows (free text, e.g. "8")
- Counting method (choose one: Manual, Marker, Row Counter)
- Include a diagram (choose one: Yes, No)
How it works
- Turn the gauge and size into a stitch count and round it to a multiple of the repeat.
- Explain how each selected stitch type is counted, including yarn overs, slips and decreases.
- Adapt the steps to the counting method, saying where markers go or when to check the row counter.
- Write the gauge summary as one sentence and the steps as a numbered list.
- Add the Diagram placeholder only when a diagram was requested.
What you get
A markdown document with a one-sentence gauge summary, a numbered list of counting steps and an optional ASCII Diagram placeholder, with no other formatting.
What it watches out for
- Skipping the swatch-based gauge check, so the stitch count is off by the end of the row.
- Forgetting that a yarn over adds a stitch while a decrease removes one, which throws the total.
- Not rounding to the repeat, so the pattern does not finish evenly.
How to install
Claude.ai and the Claude desktop app
- Download the skill .zip.
- Open Settings, then Capabilities, and find Skills.
- Choose Upload skill and select the .zip.
- Ask Claude for help with the task. It loads the skill when your request matches.
Claude Code
- Download the skill .zip.
- Unzip it into ~/.claude/skills/ (or .claude/skills/ inside a project).
- Start a new session. Claude Code loads the skill when your request matches.
Codex
- Download the skill .zip.
- Unzip it into ~/.agents/skills/ (or .agents/skills/ inside a project).
- Codex picks it up on its own. Type $ and the skill name to use it, or just ask for the task.
Cursor
- Download the Cursor rule (.mdc).
- Save it in .cursor/rules/ inside your project.
- Cursor's agent applies the rule when your request matches its description.
AGENTS.md (Codex, Cursor, and other coding agents)
- Copy the AGENTS.md section.
- Paste it into AGENTS.md at the root of your repository, creating the file if needed.
- Coding agents that read AGENTS.md follow it when your request fits.