Hairline Create logo

Hairline Create

Community
hsynozdamar-byte
hairline-create

Draws one isometric line figure that answers the pointer, in the @lucasmarkes/hairline style, as a single HTML file. Use when asked for a new Hairline figure or /hairline-create.

Overview

Publisherhsynozdamar-byte
Repositoryclaude-skills-edited
Skill namehairline-create
Stars
63
Forks
1
Bundled files
11
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 11 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by hsynozdamar-byte on GitHub. Read the source before you install it.

Installation

Install the Hairline Create AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/hsynozdamar-byte/claude-skills-edited/tree/main/skills/hairline-create
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hsynozdamar-byte/claude-skills-edited.git /tmp/claude-skills-edited
mkdir -p .claude/skills
cp -r /tmp/claude-skills-edited/skills/hairline-create .claude/skills/hairline-create
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Hairline Create in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Hairline Create on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Hairline Create is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Hairline: create a figure

You are making one figure in the Hairline style: an isometric line drawing, built from rounded solids in a single stroke, that answers the pointer. It ships as one HTML file with nothing to install. The six figures of @lucasmarkes/hairline are the bar; examples/terrain.js and examples/riffle.js are two of them, in the format you will write.

You write one thing: the figure. The engine (kernel.js) and the page (bench.html) are fixed. Never edit them, never paste a changed copy of them, and never write again what the kernel already gives you.

Every file named below is in this skill's folder. The figure and the page are written in the person's working directory: run build.mjs, validate.mjs and look.mjs from there, by their path in this folder.

1. Concept

Read concepts.md. Then offer two or three concepts, one line each:

Name. The object. What the pointer does to it. What the read-out says.

Wait for the person to pick. Skip this step only when they arrived with the object and the gesture already chosen. If there is nobody to ask, take the concept with the strongest rest pose and say which you took.

One figure, one idea. A concept that needs a label to be understood is not a concept yet.

2. Build

  1. Read rules.md. The ten rules are not advice: a figure that breaks one is not finished.
  2. Read the index at the top of kernel.js: the comment under the hash line, down to var HL. It lists everything you may call. Do not read the code under it.
  3. Read the example nearer your concept: examples/terrain.js for a continuous field, examples/riffle.js for discrete items.
  4. Write the figure as <name>.js in the person's working directory, in the shape of the examples: take what you need from HL, define mount({ stage, svg, read }, value) returning { set, destroy }, and end the file with hairline({ name, means, rules, range, mount }).
    • name: lowercase, one word or hyphenated.
    • means: one sentence, 140 characters at most, saying what the figure shows. It is the line under the stage.
    • rules: the numbers of the rules this figure leans on most.
    • range: the one number the slider drives, at intensity 0, 0.5 and 1. The middle one is the default, and the three move one way. mount's value, and the value that set(value) gets when the slider moves, is this number: the figure's own, read on range, not 0 to 1.
  5. Assemble it: node build.mjs <name>.js writes hairline-<name>.html, and so does each run of look.mjs in step 3. Without Node, copy bench.html and put the contents of kernel.js where /*KERNEL*/ is and your figure where /*FIGURE*/ is, by file operation, changing nothing else.

3. Check

  1. node look.mjs <name>.js --answer x,y,z --edge x,y,z, the points being world points of your figure, as look.md says. It builds the page, validates it, takes the eight pictures on one sheet, hairline-<name>-look.png, and checks the frame, the read-out and the console. Fix every line it prints as failed, and run it again until it exits 0.
  2. Read look.md, then the sheet, and answer its twelve questions. Fix what fails, then go back to 1.

look.mjs needs a browser and installs playwright-core once, outside this folder. Without one, check with node validate.mjs hairline-<name>.html after each build and do the look as look.md says under "Without a browser". Without Node, read the list of checks at the top of validate.mjs and answer each one from your code.

Do not hand over a page the validator rejects. Do not say the look is done if you did not look.

4. Hand over

Publish hairline-<name>.html as an artifact if you can. If you cannot, leave the file where the person can open it and say where it is. Then say, one line each:

  • the metaphor: what the object is, and what the pointer does to it;
  • the rules it leans on;
  • anything you could not verify (no Node, no browser), plainly.

5. Adjust

When the person asks for a change, edit only <name>.js, then run look.mjs again and read the new sheet. The tenth version is held to the same bar as the first.

What goes wrong

If you catch yourselfDo this instead
adding a label, a number or a letter to the drawingsay it with geometry (rule 10); names go to read.textContent
reaching for a colour, a fill or a glowmove one stroke from sil to hi (rule 04)
writing a timer, a requestAnimationFrame or a CSS animationregister(stage, tick), with springs or tweens (rules 07 and 08)
testing the pointer against what is drawn right nowtest it against the rest or target pose (rule 01)
drawing a box with twelve edgesprism of two rounded rings: a silhouette and one crease (rule 09)
drawing a part as a plain rounded blockgive it the features that make it what it is, the ones you named in the concept (concepts.md)
leaving rest flat, empty, or symmetric because that was easycompose it: rest is the thumbnail (rule 05)
editing the kernel or the bench to make something workthe figure is wrong; change the figure
letting in a second ideacut it: one figure, one idea

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Hairline Create AI skill do?

Draws one isometric line figure that answers the pointer, in the @lucasmarkes/hairline style, as a single HTML file. Use when asked for a new Hairline figure or /hairline-create.

Why use Hairline Create on TypingMind?

Because you install it once and use it with any model. Hairline Create is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Hairline Create in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/hsynozdamar-byte/claude-skills-edited/tree/main/skills/hairline-create. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Hairline Create?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Hairline Create?

As many as you like. As long as a model supports skills, you can use Hairline Create with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Hairline Create AI skill free?

It is published on GitHub by hsynozdamar-byte. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇