Skip to content
glyphcss

Install the coding-agent skills

Terminal window
npx skills add apresmoi/glyphcss-diagrams

Requires Node.js 22+. Select hosts; start a new session. Use one install route per host.

Use glyphcss-diagrams to draw Request → Agent → Answer.

       ┌─────────┐  ┌───────┐  ┌────────┐       
       │ Request │──▶ Agent │──▶ Answer │       
       └─────────┘  └───────┘  └────────┘       
Code
import { renderGlyphDiagram } from "@glyphcss/diagrams";

const { text } = await renderGlyphDiagram(`
flowchart LR; request[Request] --> agent[Agent] --> answer[Answer]
`, {
  target: "chat",
  color: "none",
  width: 48,
  height: 7
});
console.log(text);
Terminal window
claude plugin marketplace add apresmoi/glyphcss-diagrams
claude plugin install glyphcss-diagrams@glyphcss-diagrams
claude plugin details glyphcss-diagrams@glyphcss-diagrams

Invoke /glyphcss-diagrams:glyphcss-diagrams.

Terminal window
test -d glyphcss-diagrams/.git || git clone https://github.com/apresmoi/glyphcss-diagrams.git
cd glyphcss-diagrams
node install.mjs --provider grok
  • Other providers: cursor, opencode, agents, codex, claude; Antigravity: agy (CLI), antigravity (IDE).
  • For custom destinations, replace --provider grok with --dest /absolute/path/to/skills.
  • Append --copy to avoid symlinks; symlink installs require the checkout to stay put.

Directories, updates, and removal.

Terminal window
npm i -g @glyphcss/compile
mkdir -p .claude/skills/glyphcss
curl -sS https://glyphcss.com/skill.md -o .claude/skills/glyphcss/SKILL.md
glyphcss cube --auto-center

Claude Code: run in your project. Other hosts: place SKILL.md at glyphcss/SKILL.md in their skill directory. Bundled copy: node_modules/@glyphcss/compile/SKILL.md.

Without a global installation:

Terminal window
npx @glyphcss/compile cube --auto-center
  • No trigger: start a new session; check the host lists glyphcss-diagrams; name it explicitly.
  • Wrapping: request fewer columns; split without losing values or connections. See sizing.
  • Misalignment: request --charset ascii or box. Use monospace; web embeds need white-space: pre and line-height: 1; chat must omit ANSI escapes.