acryl: Instructions file for Codex

AGENTS.md

acryl AGENTS.md is an instructions file for Codex, OpenCode from acryldev/acryl. It costs 4,549 tokens per session, scanned A, original, MIT.

Repository instructions for a desktop product built around a pinned copy of DeepSeek Harness. They cover the required Node.js and pnpm setup, isolated development mode, builds, type checks, tests, and verification.

In plain words
What is it for?
Use them when setting up the repository, running an isolated desktop instance, checking or testing changes, building the package, or updating the upstream submodule.
Why use it?
They prevent developers from using the installed app's data accidentally and provide the approved commands for checking both the desktop wrapper and its upstream code.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; positional $N argument.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/acryldev/acryl/agents-md"><img src="https://agentmods.dev/badge/instructions/acryldev/acryl/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,549 This file is loaded in full into every session.
When invoked 4,549 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.04549 $0.04549
Opus 5.5 $0.01820 $0.01820
Sonnet 5.5 $0.00910 $0.00910
Haiku 4.5 $0.00455 $0.00455

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

Security

Grade A, and why

acryl 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 8d 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 · 281 lines

How it starts

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

DSH Desktop repository rules

This repository owns the desktop product around an unmodified DeepSeek Harness checkout.

The agent's system prompt (where it comes from, how to change it, and a generated current copy per surface): docs/system-prompt/README.md.

Building or changing an ACRYL plugin, tool, UI slot or skill: start at plugins/acryl-plugin-context/docs/README.md (routed docs) and plugins/acryl-plugin-context/example-plugins/README.md (verified examples for every plugin type).

Where an ACRYL app keeps anything (home, engine home, port, Electron user data, project folders): only through the AppInstance family in runtime/acryl-harness-runtime/src/instance/ (chosen once by select.ts, read by plugins from the appInstance service). Never call homedir() or read ACRYL_HOME/DSH_HOME/ACRYL_WEB_PORT anywhere else; tests/bulkhead.spec.ts enforces it. Design and rules: docs/acryl/APP-INSTANCES-AND-BULKHEADS.md.

Prerequisites and setup

  • Use Node.js ^22.19.0 or >=24.0.0 and the root PNPM 11.11.0 release through Corepack.
  • Initialize the pinned upstream checkout with corepack pnpm run upstream:sync.
  • Install root dependencies with corepack pnpm install --frozen-lockfile.

Build, run, and verify

  • Start the isolated local Desktop (own ~/.acryl-dev home, advanced mode, Development Canvas) with corepack pnpm run dev (alias: corepack pnpm run desktop) or corepack pnpm run local.
  • Use corepack pnpm run dev:shared only when you intentionally want the installed app's ~/.dsh home.
  • Fast headless loop: corepack pnpm run typecheck, corepack pnpm run test, or both via corepack pnpm run verify.
  • Typecheck, test, then isolated GUI: corepack pnpm run lifecycle.
  • Build the desktop package with corepack pnpm run build.
  • Build an installable Desktop for the host you are on: corepack pnpm build:mac (unsigned DMG for this Mac's CPU only, apps/acryl-desktop/dist/mac-<arch>, about 0.7 GB installed; build:mac:universal builds both CPUs into dist/mac-smoke, about 1.2 GB installed), corepack pnpm build:windows (NSIS installer), corepack pnpm build:linux (Debian .deb, apps/acryl-desktop/dist/linux-<arch>). Each needs its native OS; the signed and notarized macOS release is dist:mac and needs a Developer ID certificate in the Keychain.
  • Run the complete headless gate with corepack pnpm run check. Every package's build wipes and rewrites its lib/ in place, so two builds in one checkout collide (a package that depends on the one being rebuilt cannot find its output for a few seconds): run a gate or any long build as node scripts/with-build-lock.mjs corepack pnpm run check; the launchers (pnpm web, pnpm acryl, Desktop dev) take the same lock around their build and wait for each other.
  • Run upstream operations through the root scripts, such as corepack pnpm run upstream:build.

Read the full file on GitHub · 281 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. 8d ago Changed 1b940932e4be
  2. 16d ago Changed · +1 lines · +153 tokens per session a7949efb9994
  3. 19d ago Changed · +97 tokens per session dac9ad1aa627
  4. 27d ago Changed · +2 lines · +128 tokens per session 57eca501dbe9
  5. 1mo ago Changed 13bcefa9c5e4
  6. 1mo ago Changed · +2 tokens per session 4f025abdcf7c
  7. 1mo ago Changed · +4 lines · +87 tokens per session a8b1967d482d
  8. 1mo ago Changed · +4 lines · +81 tokens per session c2a0b75e78f5
  9. 1mo ago Changed · +12 tokens per session 5980f2c4c54d
  10. 1mo ago First seen · 270 lines · 3,989 tokens per session scan A 0d15545aa0bf

Subscribe to this mod's changes

acryl AGENTS.md is an instructions file published in the GitHub repository acryldev/acryl (298 stars, last pushed today), licensed MIT. It adds 4,549 tokens to every session, about $0.0182 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

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,581 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens