the-hat
Compare design alternatives with a hat → metrics → tier-list loop, splitting composing layers and keeping a living note.
Skill by yamcodes
Chalk Labs
Need help deploying the-hat?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/yamcodes-the-hat
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/the-hat
What's inside
- Skill name
the-hat- Description
- Compare design alternatives with a hat → metrics → tier-list loop, splitting composing layers and keeping a living note. Use when there are multiple ways to solve a design problem, the user says "throw it in the hat" or "/the-hat", asks for a tier list, design eval, or composing layers/dimensions, or when options look like they compose rather than compete — even if they have not named this skill.
- License
- MIT
- Metadata
- internal: true
- Instructions
- 55 lines in SKILL.md · view on GitHub
Files (2)
- NOTE-TEMPLATE.md
- SKILL.md
SKILL.md (first lines)
# The hat When several ways exist to solve a design problem, do not vibe-rank in chat. Run this loop and leave the artifacts in a **living note** (repo file, not a premature ADR). Worked example of a hat loop later promoted to an ADR: [#1564](https://github.com/yamcodes/arkenv/issues/1564) / [#1570](https://github.com/yamcodes/arkenv/pull/1570) became [ADR 0025](../../docs/adr/0025-to-json-schema-escape-hatch.md). Copy headings from [NOTE-TEMPLATE.md](NOTE-TEMPLATE.md). If the problem itself is still mushy, grill first (`grill-me` / `grill-with-docs`), then come back here to score options. ## Loop 1. **Name the problem** — what must be true when we are done, not the first idea that showed up. 2. **Split composing layers** if “solutions” are not the same kind of thing. Layers are **dimensions that compose**, not rivals in one list (how you type a callback vs where the wrapper lives). Do not flatten them into one false choice. 3. **Put every option in the hat**, including already-rejected and out-of-scope ones, so they get scored instead of silently returning. 4. **Pick metrics** that match the pain. Invent what fits (honesty, tax fairness, simplicity, DRY, composability, vendor neutrality, footguns, elegance, teachability, maintenance hell). 5. **Evaluate each hat item** against those metrics in prose. A table is welcome for a close call; a vibe ranking with no scores is not. 6. **Tier list** (S / A / B / C / D, plus E if needed). S is the default story. A is optional tuck-away or distribution, not a blocker. A complete answer may be a **stack** (one pick per layer), not a single winner. 7. **Show usage for S and A** across each real use case so the ranking is not abstract. 8. **Keep a living note.** New ideas get slotted; do not restart the write-up. 9. **Do not ship A-tier extras** that are not needed to close the current change. ## Living note Write or update a repo file (typically `docs/<topic>.md`). Not chat-only. Not an ADR until the decision is hard to reverse, surprising without context, and the result of a real trade-off. The note must contain: - **Problem statement** - **Layer map** — orthogonal dimensions; items on different layers compose - **The hat** — numbered inventory of every option, grouped by layer (`A1`, `B1`, …) - **Metrics** — named, with the question each one asks - **Evaluation** — each hat item scored in prose against the metrics - **Tier list** — S through D (or E), including stacks where layers combine - **S/A usage** — concrete code (or equivalent) per real use case ## Layers vs a false choice If two options are not substitutes, they are layers, not rivals. False choice: “inline helper vs typed callback vs CLI recipe.” Layers: - **Typing** — what is the callback parameter? - **Placement** — where does the wrapper live? S can be a stack (one pick per layer). Rank stacks as answers to the whole problem. ## Rules - Rejected and out-of-scope options stay in the hat and get scored. Silent return is how bad ideas come back next week. - S is what you ship now. A is optional. Do not block the change on A. - Slot new ideas into the existing note. Do not rewrite from scratch. - Do not copy a prior eval’s *decision* into a new problem. Copy the *shape*.
From yamcodes/arkenv, MIT.
More from yamcodes/arkenv
- 0.789score
docs-writer
Yam Borodetsky
Always use this skill when the task involves writing, reviewing, or editing files in the `/docs` directory or any `.md` files in the repository.
SkillAFreshness: A★ 147Claude Code +9 - 0.789score
pnpm
Anthony Fu
Node.js package manager with strict dependency resolution.
SkillAFreshness: A★ 147Claude Code +9 - 0.789score
nuxt
Yam C Borodetsky
Nuxt full-stack Vue framework with SSR, auto-imports, and file-based routing.
SkillAFreshness: A★ 147Claude Code +9 - 0.789score
bulletproof-react
Yam Borodetsky
Bulletproof React architecture patterns for scalable, maintainable applications.
SkillAFreshness: A★ 147Claude Code +9 - 0.789score
the-voice
Yam Borodetsky
Rewrite ArkEnv docs and site copy in the product voice: Turbo-shaped what/why/how, not skinny command lists and not marketing hype, then cut chatbot tells…
SkillAFreshness: A★ 147Claude Code +9 - 0.789score
create-skill
yamcodes
Create new skills, modify and improve existing skills, and measure skill performance.
SkillAFreshness: A★ 147Claude Code +9 - 0.786score
gh-cli
yamcodes
Use for GitHub-related tasks such as managing issues, pull requests, actions runs, and repository configuration using the GitHub CLI (gh).
SkillAFreshness: A★ 147Claude Code +9 - 0.784score
changeset
Yam C Borodetsky
Creates changesets for semantic versioning.
SkillAFreshness: A★ 147Claude Code +9 - 0.783score
code-review
yamcodes
Fetch, analyze, and address code reviews and comments on GitHub, or perform a code review on changes in the workspace.
SkillAFreshness: A★ 147Claude Code +9 - 0.783score
modularize
yamcodes
Automatically refactor, split, and compress codebase files when they exceed size or complexity boundaries.
SkillAFreshness: A★ 147Claude Code +9 - 0.783score
groom-issue
yamcodes
Groom a poorly written issue by grilling the user to clarify requirements, updating the issue on GitHub via the gh cli, and utilizing the triage skill to…
SkillAFreshness: A★ 147Claude Code +9 - 0.783score
forward-port
yamcodes
Manually forward-ports merged dev (v0) changes to the v1 branch, adapting code to v1's package layout and changeset names.
SkillAFreshness: A★ 147Claude Code +9
Signals
- Stars
- 147
- Forks
- 6
- Open issues
- 6
- Last commit (this folder)
- Aug 25, 2026 (2 months ago)
- Last release
- Sep 25, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/yamcodes/arkenv
- Website
- arkenv.js.org
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from yamcodes
- 0.789score
create-skill
yamcodes
Create new skills, modify and improve existing skills, and measure skill performance.
SkillAFreshness: A★ 147Claude Code +9 - 0.786score
gh-cli
yamcodes
Use for GitHub-related tasks such as managing issues, pull requests, actions runs, and repository configuration using the GitHub CLI (gh).
SkillAFreshness: A★ 147Claude Code +9 - 0.783score
code-review
yamcodes
Fetch, analyze, and address code reviews and comments on GitHub, or perform a code review on changes in the workspace.
SkillAFreshness: A★ 147Claude Code +9 - 0.783score
forward-port
yamcodes
Manually forward-ports merged dev (v0) changes to the v1 branch, adapting code to v1's package layout and changeset names.
SkillAFreshness: A★ 147Claude Code +9 - 0.783score
arkenv
yamcodes
Answer questions about ArkEnv and help implement environment variable validation.
SkillAFreshness: A★ 147Claude Code +9 - 0.783score
groom-issue
yamcodes
Groom a poorly written issue by grilling the user to clarify requirements, updating the issue on GitHub via the gh cli, and utilizing the triage skill to…
SkillAFreshness: A★ 147Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get the-hat running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
the-hat skill. Agent Mart. https://agentmart.dev/skills/yamcodes-the-hat (last updated 2026-10-24)