semiotic AGENTS.md

Repository-wide instructions for working on nteract and Semiotic, including a TypeScript and React data-visualization library, its documentation site, renderers, and AI tooling.

In plain words
What is it for?
It is for understanding the repository layout, development agreements, source map, and where to find guidance for charts, schemas, behavior rules, examples, and blog work.
Why use it?
It tells an agent which project rules and reference files to follow when documentation, runtime behavior, or generated contracts disagree.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/nteract/semiotic/agents-md
Clone the repo
git clone --depth 1 https://github.com/nteract/semiotic

Made for: Codex, OpenCode.

Per session 1,342 This file is loaded in full into every session.
When invoked 1,342 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.01342 $0.01342
Opus 5 $0.00671 $0.00671
Sonnet 5 $0.00268 $0.00268
Haiku 4.5 $0.00134 $0.00134

Measured 2d ago against content hash 49431f184f84, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

semiotic AGENTS.md scanned grade A with 0 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 2d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 116 lines

How it starts

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

Semiotic repository instructions

Scope

Semiotic is a TypeScript/React data-visualization library with high-level chart components, lower-level Stream Frames, browser and server renderers, a Vite documentation site, and schema-backed AI/MCP tooling.

Keep this file focused on instructions that apply to most repository work. Use the task-specific sources below instead of loading large references by default.

Source map

  • CONTRIBUTING.md: complete development workflow, architecture, and command reference.
  • ai/system-prompt.md: compact product/API guidance for generating Semiotic chart code.
  • ai/reference.md: comprehensive Semiotic product reference; consult only the relevant section.
  • ai/schema.json: machine-readable component and prop schemas.
  • ai/behaviorContracts.cjs: canonical agent-visible behavior rules.
  • ai/examples.md: on-demand examples; search for the relevant chart or task rather than loading the whole file.
  • agent-skill/semiotic-charts/SKILL.md: portable chart-authoring and validation workflow shipped with the package.
  • .agents/skills/blog-post/: the shared blog-authoring workflow and templates.

When documentation disagrees with runtime code, generated chart specs, or tests, treat the executable source as authoritative and update the docs and generated artifacts in the same change.

Repository layout

  • src/components/charts/: high-level chart components by family.
  • src/components/stream/: retained scene, canvas/SVG, interaction, streaming, and worker infrastructure.
  • src/components/{ai,server,recipes,data}/: intelligence, static rendering, custom-layout recipes, and transforms.
  • ai/: schemas, MCP server, CLI, prompts, contracts, and examples.
  • docs/: Vite documentation application and examples.
  • integration-tests/: Playwright browser and visual coverage.
  • scripts/: build, generation, validation, and release tooling.

Working agreements

  • Preserve unrelated worktree changes. Make the smallest coherent change and review the final diff.
  • Prefer TypeScript for new source files. The project uses strict TypeScript, double quotes, no semicolons, Prettier, and ESLint.
  • Prefer high-level chart components for public examples. Use Stream Frames only when the high-level API does not expose the required control.
  • Prefer family subpath imports (semiotic/xy, semiotic/network, and so on) in production examples. Avoid widening entry graphs accidentally.
  • Preserve public API compatibility unless the task explicitly authorizes a breaking change. Update types, chart specs, schemas, docs, and tests together.
  • Add or update focused tests for behavior changes. Do not weaken assertions or raise bundle/coverage limits merely to make a check pass.
  • For a confirmed, user-visible defect—not a transient CI or infrastructure failure—perform a related-surface audit before closing it. Check equivalent renderers, entry points, generated artifacts, formats, and public API paths; fix or cover any same-class issue found, and record the audit scope and result with verification.
  • Do not hand-edit dist/, docs/build/, generated manifests, or generated sections between marker comments. Run the owning generator.
  • Do not add production dependencies, change lockfiles, publish packages, push branches, or deploy without explicit task scope.

Read the full file on GitHub · 116 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. 2d ago First seen · 116 lines · 1,342 tokens per session scan A 49431f184f84

Subscribe to this mod's changes

semiotic AGENTS.md is an instructions file published in the GitHub repository nteract/semiotic (2,691 stars, last pushed yesterday), licensed Apache-2.0. It adds 1,342 tokens to every session, about $0.0067 per session on Opus 5. A static security scan graded it A with 0 findings. 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

recharts AGENTS.md

Instructions for recharts/recharts: This is Recharts repository. Recharts is a React-based charting library. The goal is to provide a simple, declarative, and composable way to build charts. We value consistency, usability, and performance. Accessibility is important.

recharts/recharts · 310 tokens

supabase studio-composition-patterns.instructions.md

Instructions for supabase/supabase, covering react composition patterns review rules, core principle, when to flag, 1. boolean prop proliferation (high) and 2. render props instead of children (medium).

supabase/supabase · 592 tokens

marimo AGENTS.md

Instructions for marimo-team/marimo, covering marimo development guidelines, your primary responsibility is to the project and its users, quick setup, development commands and python.

marimo-team/marimo · 644 tokens

marimo copilot-instructions.md

Instructions for marimo-team/marimo: For example, if there is a frontend change to make a border thicker, how does this look in run mode, app-view and edit-view? For a backend change, has the user tested different scenarios?

marimo-team/marimo · 91 tokens

pygwalker CLAUDE.md

Instructions for Kanaries/pygwalker, covering claude.md and tl;dr for a coding agent.

Kanaries/pygwalker · 365 tokens

data-table-filters CLAUDE.md

Instructions for openstatusHQ/data-table-filters, covering claude.md, project overview, monorepo structure (pnpm + turborepo), key commands and database.

openstatusHQ/data-table-filters · 1,088 tokens