← Plugin catalog
Education & Research

Arrowgram

GetPaidX.com v0.1.0+codex.20260806033509

Arrowgram helps Codex initialize, edit, validate, preview, snapshot, and build file-backed Arrowgram workspaces using @hotdocx/arrowgram-agent.

Language: English · Automatically detected from descriptions.

Package details

Publisher declarations from the archived package. These are separate from our research and the live service's terms.

Package license
MIT
Package author
GetPaidX.com
Keywords
arrowgram, diagrams, papers, codex, agent

Declared capabilities

  • Write
  • Interactive

Package observed Sep 30, 2026.

Files & skills

File archives

Plugin package8 files · 3.66 KBBrowse files →
Skill instructions
arrowgram3.8 KB

View saved version →

---
name: arrowgram
description: Create, edit, validate, preview, diff, snapshot, and build file-backed Arrowgram diagram or paper workspaces with @hotdocx/arrowgram-agent.
---

# Arrowgram

Use this skill when the user asks Codex to create, edit, fix, validate, preview, diff, snapshot, or build an Arrowgram diagram or paper workspace.

## Workspace Model

Arrowgram workspaces are file-backed. Treat source files as the editable artifact and generated output as disposable build output.

Common source files:

- `arrowgram.workspace.json`: workspace manifest.
- `paper.md`: Markdown paper or slide source.
- `paper.css`: paper styling.
- `diagram.json`: standalone diagram source.

Do not edit `dist/` as source. Rebuild it with `arrowgram-agent build`.

## Commands

Use the pinned portable package command from ordinary Arrowgram workspaces:

```bash
npx -y @hotdocx/arrowgram-agent@0.1.6 <command> [args...]
```

Keep this version pin unless the plugin is deliberately upgraded and acceptance-tested against a
newer agent release. An unversioned `npx` command follows npm's `latest` tag and is less
reproducible.

When developing inside the Arrowgram monorepo itself, the repo-local helper is also available:

```bash
node plugins/arrowgram/scripts/arrowgram-agent.mjs <command> [args...]
```

Do not assume that repository-relative helper path exists in an arbitrary user workspace.

Core commands:

```bash
npx -y @hotdocx/arrowgram-agent@0.1.6 init --type paper --root .
npx -y @hotdocx/arrowgram-agent@0.1.6 init --type diagram --root .
npx -y @hotdocx/arrowgram-agent@0.1.6 validate --root .
npx -y @hotdocx/arrowgram-agent@0.1.6 dev --root . --host 127.0.0.1 --port 4173
npx -y @hotdocx/arrowgram-agent@0.1.6 build --root . --out dist
```

## Workflow

1. Inspect the workspace before editing. Read `arrowgram.workspace.json` first when it exists.
2. If there is no workspace, initialize one with `init --type paper` unless the user explicitly asks for a standalone diagram.
3. Edit the whole underlying representation: Markdown, CSS, and JSON source files. Do not attempt to drive the editor UI through granular actions unless the user asks for browser testing.
4. Validate after source edits with `validate --root .`.
5. Build static output when the user needs publishable files.
6. If a dev server is useful, run `dev` and share the local URL. Do not leave a required server session running unintentionally at the end of the task.

## Diagram JSON Guidance

Follow the repository's authoritative schema in `docs/ARROWGRAM_SPEC.md` and `packages/arrowgram/arrowgram.schema.json`.

Use descriptive IDs for nodes and arrows. Use LaTeX labels where appropriate. Preserve existing layout intent unless the user asks for redesign.

## Paper Markdown Guidance

Papers use normal Markdown with optional YAML frontmatter. Embed diagrams as JSON inside:

```html
<div class="arrowgram">
{
  "nodes": [],
  "arrows": []
}
</div>
```

Reveal-style slides use a line containing only `---` outside code fences.

## Diff And Snapshot Semantics

`arrowgram-agent dev` exposes whole-artifact bridge endpoints under `/__arrowgram`.

- `GET /__arrowgram/status`: current workspace state.
- `GET /__arrowgram/diff`: source-file diff against the last saved git snapshot when a git baseline is available.
- `POST /__arrowgram/snapshot`: create a git snapshot for the manifest and referenced source files.

For normal Codex CLI work, use git diff/status directly when no bridge server is running. Do not invent a Codex-turn baseline.

## Safety

- Keep source edits scoped to the Arrowgram workspace unless the user requests repository changes.
- Do not commit secrets, API keys, generated `dist/`, or editor caches.
- Validate JSON with the Arrowgram CLI rather than relying on visual inspection alone.
- When fixing invalid JSON, preserve user-authored content and formatting where practical.
Technical details
First seen
Sep 30, 2026 · 22:02 UTC
Last seen
Oct 1, 2026 · 12:00 UTC
Collection status
Collected

plugins_6a73e1f499808191b0a390236e9a3f41

Download listing JSON