shob: Instructions file for Codex

AGENTS.md

shob AGENTS.md is an instructions file for Codex, OpenCode from shobcoder/shob. It costs 3,531 tokens per session, scanned A, original, MIT.

Repository instructions for an Electron desktop application built from several Bun packages managed in one monorepo. They explain the project structure, required documents, and common commands for installing, running, checking, and building it.

In plain words
What is it for?
Use them when installing dependencies, starting the desktop app, running type checks or linting, building the embedded server, or changing this repository.
Why use it?
They give a coding agent the project context and working rules before it changes code. This reduces mistakes caused by missing architecture details or using the wrong commands.

Instructions file for CodexOpenCode

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

This is shobcoder/shob's own configuration. It tells Codex and OpenCode how to work on shob 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 shob configures →

Reuse

Borrowing it

Nothing to install: this file belongs to shobcoder/shob. 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/shobcoder/shob/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/shobcoder/shob

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/shobcoder/shob/agents-md/github.svg)](https://agentmods.dev/instructions/shobcoder/shob/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/shobcoder/shob/agents-md"><img src="https://agentmods.dev/badge/instructions/shobcoder/shob/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 shob AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/shobcoder/shob/agents-md"><img src="https://agentmods.dev/badge/instructions/shobcoder/shob/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,531 This file is loaded in full into every session.
When invoked 3,531 The same file — it is already loaded in full.
Security scan A 0 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.03531 $0.03531
Opus 5.5 $0.01412 $0.01412
Sonnet 5.5 $0.00706 $0.00706
Haiku 4.5 $0.00353 $0.00353

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

Security

Grade A, and why

shob 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 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.

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 · 324 lines

How it starts

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

AGENTS.md

Guidance for working in this repository. Read docs/ (especially docs/README.md, docs/architecture.md, docs/build-flow.md, docs/package-dependencies.md, docs/architecture-overview.md, and docs/ui-path-introduction.md) for the full picture; this file distills the rules agents must follow.

Project context

  • This repo is a desktop-only build. The CLI, TUI, and cloud/SST infra have been removed. The only way to run shob is the Electron desktop app, which embeds the shob server and renders the @shob/app SolidJS web app.
  • It is a Bun + Turborepo monorepo. Dependencies are wired as workspace:*.
  • bun install runs native build scripts (tree-sitter-*, node-pty) that need Python. If Python is unavailable, use bun install --ignore-scripts (the desktop build bundles the server dist and does not need those bindings).

Common commands

  • bun install — install all workspace packages.
  • bun run dev:desktop — run the Electron app (electron-vite dev). The predev hook builds the embedded server to packages/shob/dist/node/node.js via virtual:shob-server.
  • bun run typecheck — bun turbo typecheck across packages.
  • bun run lint — oxlint at the repo root.

Build / generate

  • To regenerate the legacy JavaScript SDK, run ./packages/sdk/js/script/build.ts.
  • After changing the public Protocol or Server HttpApi, run bun run generate from packages/client. Do not edit src/generated or src/generated-effect directly. The @shob/sdk V2 client/types under packages/sdk/js/src/v2/gen/** are also generated — never edit them by hand.
  • The embedded server is built by packages/shob/script/build-node.ts (Bun.build, target: "node", entry src/node.ts) into packages/shob/dist/node/node.js. The desktop main process loads it through the virtual:shob-server module (declared in electron.vite.config.ts).

Branch & base

  • The default branch is dev.
  • Local main ref may not exist; use dev or origin/dev for diffs.

Read the full file on GitHub · 324 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 · 324 lines · 3,531 tokens per session scan A 84e100d00209

Subscribe to this mod's changes

shob AGENTS.md is an instructions file published in the GitHub repository shobcoder/shob (576 stars, last pushed 1mo ago), licensed MIT. It adds 3,531 tokens to every session, about $0.0141 per session on Opus 5.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