本文へスキップ
Skillpedia
画像とアイコン260k · #451

anatomy

できること

このスキルは、部品が動いて仕組みを示す、小さな機械的な計器のような図を作ります。記憶に残る視覚的な説明がほしい教師、ライター、プレゼンターのためのものです。

使う場面

  • ✓物理的な機械のように感じられる図で、概念を説明したいとき。
  • ✓部品の動きと表示された数字が一致する、対話型の図がほしいとき。
  • ✓共有するための、単独のHTMLページまたはSVGの図が必要なとき。

スキルのリンク

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/creative/anatomy/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/creative/anatomy/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“圧力計の仕組みを説明する、機械のような対話型の図を作ってください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントはモデルからSVGの図を作るので、各部品は表示する数字とともに一緒に動きます。単独のHTMLページ、単独のSVGファイル、またはReactコンポーネントを出力できます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Anatomy

This skill builds figures that work like a small instrument on a bench: a heavy base on feet, rails with tick rulers, a carriage on bushings, knurled knobs, coil springs, a dial gauge whose needle moves, and screws drawn as tiny dots. The reader understands the idea because they recognise the machine. Every number the figure shows comes from the same model that moves its parts.

Output is a standalone HTML page (SVG plus optional WebGL layers), a lone .svg, or React/Next.js components. The kit uses only Node built-ins, so there is nothing to npm install.

Running it in Hermes

Skill directory. Hermes expands ${HERMES_SKILL_DIR} to this skill's installed directory. Shell variables don't carry over between terminal calls, so repeat the assignment in every call that uses it:

SKILL_DIR="${HERMES_SKILL_DIR}"

Never build inside the skill directory. Every build.mjs writes its HTML next to itself, and the examples import ../../kit/ and ../../scripts/. Lay out a workspace with the same shape: the user's project if they have one, otherwise a folder they name.

SKILL_DIR="${HERMES_SKILL_DIR}"
WORK="$HOME/figures/pin-lock"
mkdir -p "$WORK/figures"
cp -r "$SKILL_DIR/kit" "$SKILL_DIR/scripts" "$WORK/"
cp -r "$SKILL_DIR/examples/dial-indicator" "$WORK/figures/"
cd "$WORK/figures/dial-indicator" && node build.mjs && node build.mjs --light

Start a new figure by copying the closest example into $WORK/figures/<name>/ and renaming it. Leaving the installed skill untouched keeps hermes skills update from flagging it as locally modified.

The examples ship as source only. Upstream's built pages are 9 MB of generated HTML. Build an example (as above) to open or capture it, since it takes a few seconds.

Looking at your work. The upstream workflow says "read every PNG". In Hermes that means vision_analyze on each capture, and the 4× close-ups use its region crop on a high-DPR capture or a --zoom capture. Ask specific questions ("does the pipe at the flange end on the flange face?"), not "does this look good".

Browser. The capture, drive, line-end and 3D checks start a headless Chrome over a loopback DevTools port. They use CHROME_PATH if set, then a Playwright headless shell if one is installed (chromium_headless_shell-* in the Playwright cache, e.g. from npx playwright install chromium), then a system Chrome or Chromium. Prefer the headless shell: it renders the WebGL layers through SwiftShader and makes no outbound connections. A full desktop Chrome opens background connections to Google services even with a throwaway profile, and it fails to start ("Socket path too long", then "Chrome did not start") when TMPDIR is a long path, as Hermes' per-profile scratch dir can be. If you must use one, set TMPDIR to a short directory for that command. Building a figure needs no browser at all.

Long runs. node build.mjs --audit takes about two minutes on a dense Hero, and a full 3D orbit audit takes 15 to 20 minutes for 30 parts. Run those with terminal(background=true, notify=true) and keep working on something else.

Asking about scope. The workflow's sizing step decides whether to build or ask. For an Epic, put the estimate and the Hero alternative to the user with clarify, and wait for their choice.

Delivering. Hand over the absolute path of the built HTML (both themes) plus the PNG captures you verified. On a messaging platform, attach the desktop and phone PNGs, since a chat can't run the page.

The examples

Open the closest one before you start. Each framework-free example builds with node build.mjs in its directory; add --light for the light theme.

  • examples/dial-indicator/ is the smallest: a dial gauge on a stand, about 300 lines in all.
  • examples/desk-computer/ is framework-free SVG: a desk computer with a keyboard you can type on. The typed line appears on a CRT screen drawn in the plane of the case front, and the picture collapses to a line and a dot when you switch it off. It has about 85 solids and 850 paths.
  • examples/arcade-cabinet/ is an upright arcade cabinet with its side panel off, a Hero of about 240 solids and 15 cables. A quarter flies into the slot, rolls down the coin chute at the speed a rolling disc reaches on a 30° slope, trips the coin-switch wire and drops into the cash box. The switch's pulse runs chunk by chunk along its cable to the board, and the CRT warms up, self-tests and runs an attr
よくある質問

パッケージのインストールは必要ですか?

いいえ。スキルのキットはNodeの組み込み機能だけを使うため、npmで何もインストールする必要はありません。

図はどこで作るべきですか?

スキルのフォルダではなく、あなた自身のプロジェクトか、指定したフォルダで作ります。

明るいバージョンももらえますか?

はい。例のビルドはlightフラグを受け付け、明るいテーマの図を作れます。

詳細

作者による元の説明

Explain an idea as an interactive isometric machine figure.

repo: NousResearch/hermes-agent

人気

GitHubのスター
260k
ランキング
#451
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル