vellium AGENTS.md

vellium AGENTS.md is an instructions file for Codex, OpenCode from tg-prplx/vellium. It costs 6,199 tokens per session, scanned A, original, MIT.

A contributor guide for Vellium, a local-first AI workbench with a web interface, server, database, desktop shell, and features for chat and long-form writing.

In plain words
What is it for?
Use it when changing Vellium's React interface, Express server, SQLite storage, Electron desktop shell, chat features, writing tools, providers, or extensions.
Why use it?
It gives coding agents a map of the product, its runtime parts, and implementation boundaries before they change code. This helps them work in the right layer and understand how the application runs locally.

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/tg-prplx/vellium/agents-md
Clone the repo
git clone --depth 1 https://github.com/tg-prplx/vellium

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 vellium AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/tg-prplx/vellium/agents-md.svg)](https://agentmods.dev/instructions/tg-prplx/vellium/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/tg-prplx/vellium/agents-md"><img src="https://agentmods.dev/badge/instructions/tg-prplx/vellium/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 6,199 This file is loaded in full into every session.
When invoked 6,199 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.06199 $0.06199
Opus 5 $0.03099 $0.03099
Sonnet 5 $0.01240 $0.01240
Haiku 4.5 $0.00620 $0.00620

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

Security

Grade A, and why

vellium 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 4d 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 · 594 lines

How it starts

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

AGENTS.md — Vellium contributor and coding-agent guide

This file applies to the entire repository. It is the first technical map an agent should read before changing Vellium. More specific documentation under docs/ explains user-facing behavior; this file focuses on implementation boundaries, invariants, safe workflows, and verification.

1. Product and runtime model

Vellium is a local-first AI workbench for:

  • character chat and multi-character roleplay;
  • branching conversations, personas, LoreBooks, RAG, attachments, tool calls, reasoning traces, translation, TTS, and chat export;
  • long-form writing with projects, chapters, scenes, summaries, and DOCX/Markdown;
  • OpenAI-compatible, KoboldCpp, local, and custom provider adapters;
  • plugins, MCP tools, endpoint extensions, and an optional desktop pet;
  • a deprecated Agents workspace that remains available through Settings > Legacy.

The application has four cooperating runtimes:

  1. React + TypeScript renderer in src/.
  2. Express API in server/.
  3. SQLite persistence through better-sqlite3.
  4. Electron desktop shell in electron/.

The browser development topology is:

React/Vite http://127.0.0.1:1420
        │ /api proxy
        ▼
Express   http://127.0.0.1:3002
        │
        ▼
SQLite + providers + MCP + local files

In packaged Electron and headless static mode, Express serves both dist/ and /api, normally from http://127.0.0.1:3001. Electron loads that HTTP URL; it does not normally load the production UI directly from file://.

2. Start every task safely

Before editing:

  1. Run git status --short and preserve unrelated user changes.
  2. Identify the smallest owning subsystem and read its route, service/repository, client, contract, UI, and existing tests before introducing a second path.
  3. Search with rg; do not assume a feature is absent from a large screen.
  4. Treat data/, output/, release/, dist/, dist-electron/, generated bundles, and user-imported assets as user or generated state. Do not modify, delete, or commit them unless the task explicitly requires it.
  5. Do not create commits, tags, releases, or pushes unless explicitly requested.
  6. If asked to checkpoint before risky work, make the checkpoint first and keep the later hardening/refactor in a separate commit.

Read the full file on GitHub · 594 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. 4d ago First seen · 594 lines · 6,199 tokens per session scan A c3cd96b38dc5

Subscribe to this mod's changes

vellium AGENTS.md is an instructions file published in the GitHub repository tg-prplx/vellium (113 stars, last pushed 10d ago), licensed MIT. It adds 6,199 tokens to every session, about $0.0310 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

einbiogpt copilot-instructions.md

Instructions for ehsanghaffar/einbiogpt, covering biogpt copilot instructions, project architecture, rate limiting & error handling, key patterns & conventions and environment variables.

ehsanghaffar/einbiogpt · 1,115 tokens

einbiogpt AGENTS.md

Instructions for ehsanghaffar/einbiogpt, covering agents.md - coding guidelines for ai agents, project overview, build/development commands, development server and production build.

ehsanghaffar/einbiogpt · 885 tokens

yaicli CLAUDE.md

Instructions for belingud/yaicli, covering claude.md, project overview, common commands, install dependencies (all extras for development) and run tests.

belingud/yaicli · 791 tokens

yaicli AGENTS.md

Instructions for belingud/yaicli, a project described as: YAICLI: A powerful command-line AI assistant with 25+ LLM providers. Features chat, command execution, quick queries, function calling, MCP support, and persistent history. Seamlessly integrates into workflows with smart environment detection.

belingud/yaicli · 4 tokens

generative-ai-for-beginners AGENTS.md

Instructions for microsoft/generative-ai-for-beginners, covering agents.md, project overview, setup commands, initial repository setup and clone the repository.

microsoft/generative-ai-for-beginners · 2,850 tokens

hermes-agent AGENTS.md

AGENTS.md instructions for NousResearch/hermes-agent, covering hermes agent - development guide, what hermes is, contribution rubric — what we want / what we don't, what we want and what we don't want (rejected even when well-built).

NousResearch/hermes-agent · 23,135 tokens