openhop: Instructions file for Codex

AGENTS.md

openhop AGENTS.md is an instructions file for Codex, OpenCode from naorsabag/openhop. It costs 1,450 tokens per session, scanned C, original, MIT.

A repository guide for OpenHop, a YAML-based data-flow visualizer. Developers describe flows in YAML, send them through a command-line tool, and view animated connections between nodes in a web interface.

In plain words
What is it for?
Use it to run the project locally, understand its API and web packages, author data flows, and follow the project’s required guide for creating flows.
Why use it?
It explains the project’s package layout and local setup so agents can work in the correct server, web, command-line, or shared-schema code.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

This is naorsabag/openhop's own configuration. It tells Codex and OpenCode how to work on openhop itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything openhop configures →

Reuse

Borrowing it

Nothing to install: this file belongs to naorsabag/openhop. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/naorsabag/openhop/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/naorsabag/openhop

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openhop AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/naorsabag/openhop/agents-md/github.svg)](https://agentmods.dev/instructions/naorsabag/openhop/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/naorsabag/openhop/agents-md"><img src="https://agentmods.dev/badge/instructions/naorsabag/openhop/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for openhop AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/naorsabag/openhop/agents-md"><img src="https://agentmods.dev/badge/instructions/naorsabag/openhop/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,450 This file is loaded in full into every session.
When invoked 1,450 The same file — it is already loaded in full.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01450 $0.01450
Opus 5.5 $0.00580 $0.00580
Sonnet 5.5 $0.00290 $0.00290
Haiku 4.5 $0.00145 $0.00145

Measured 1mo ago against content hash e6f964c89e08, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

openhop AGENTS.md scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- `env: can't execute 'tsx'` from `openhop` → you're on an old checkout; `git pull && rm -rf node_modules && npm install`.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://localhost:8787/health # expect {"status":"ok"}
AGENTS.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md

Instructions for AI agents (Claude Code, Cursor, Cline, Codex, OpenAI Swe-agent, etc.) working in this repo.

Humans: this is a companion to README.md — that file has the install walkthrough, screenshots, and feature list. Read it first if you're new here.


What this is

OpenHop is a YAML-driven data-flow visualizer. Authors describe a flow in YAML, push it with the openhop CLI, and the UI animates data pixels traveling between nodes on a pixel-art canvas.

  • packages/server — Fastify API (:8787), Zod-validated flow store, Swagger at /docs.
  • packages/web — React + React Flow + ELK layout. Served by Vite at :8788.
  • packages/cli — openhop command (esbuild-bundled, no runtime TS).
  • packages/shared — Zod schemas + types, imported by all three.
  • skills/openhop/SKILL.md — the canonical authoring guide for any SKILL-compatible agent. If you're being asked to author a flow, load that file first.
  • examples/ — reference flows (order-flow.yaml is the canonical example; type-variants.yaml exercises every node type).

Run locally

npm install            # installs deps + bundles packages/cli/dist/index.js
npm run dev            # API on :8787, UI on :8788

Smoke test before you do anything else:

curl -s http://localhost:8787/health        # expect {"status":"ok"}

The dev server hot-reloads on edits under packages/web/src. Server edits restart via tsx watch.

CLI

(cd packages/cli && npm link)   # one-time: makes `openhop` global
openhop push <file.yaml>        # push a flow
openhop list                    # list all flows
openhop patch <id> <file.yaml>  # update a flow
openhop remove <id>             # delete

All commands accept -s <url> to target a non-default server.

Typecheck / build

# per-package
npx tsc --noEmit -p packages/shared
npx tsc --noEmit -p packages/server
npx tsc --noEmit -p packages/web
npx tsc --noEmit -p packages/cli

# CLI bundle (runs automatically via `prepare` on install)
npm run build -w @openhop/cli

Read the full file on GitHub · 103 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 103 lines · 1,450 tokens per session scan C e6f964c89e08

Subscribe to this mod's changes

openhop AGENTS.md is an instructions file published in the GitHub repository naorsabag/openhop (48 stars, last pushed 7d ago), licensed MIT. It adds 1,450 tokens to every session, about $0.0058 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories