manyfold: Instructions file for Codex

AGENTS.md

manyfold AGENTS.md is an instructions file for Codex, OpenCode from manyfold-open/manyfold. It costs 1,223 tokens per session, scanned A, original, Apache-2.0.

Project instructions for Manyfold, a monorepo: one repository that contains several related applications and shared packages. It describes the API, web apps, documentation site, command-line tool, database package, and other parts.

In plain words
What is it for?
Use it when developing or debugging Manyfold’s API, user workbench, admin panel, docs, CLI, deployment gateway, database, shared code, or SDK.
Why use it?
It helps an agent find the right workspace and understand which application or shared package owns a change. It also records local setup details and required environment values.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/manyfold-open/manyfold/agents-md"><img src="https://agentmods.dev/badge/instructions/manyfold-open/manyfold/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,223 This file is loaded in full into every session.
When invoked 1,223 The same file — it is already loaded in full.
Security scan A 1 finding. 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.01223 $0.01223
Opus 5.5 $0.00489 $0.00489
Sonnet 5.5 $0.00245 $0.00245
Haiku 4.5 $0.00122 $0.00122

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

Security

Grade A, and why

manyfold AGENTS.md scanned grade A with 1 finding 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.

Makes network callslowCapability

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

| `just health` | `curl /api/health` |
AGENTS.md · 71 lines

How it starts

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

Manyfold Monorepo

TypeScript monorepo (Turborepo + pnpm) for Manyfold — a platform for creating, deploying and hosting agents. It holds the API, the user workbench, the admin control plane, the CLI, the public docs site and the runtime integrations.

Workspaces

  • apps/api — NestJS 11 + Fastify + Drizzle: auth, orchestration, persistence, external integrations. Port 2222, global prefix /api
  • apps/web — Vite + React 18 user workbench: agent create/chat, runtimes, channels, automations, models, billing. Port 3002
  • apps/admin — Vite + React 18 control plane: login providers, runtimes, model providers, catalog, users. Port 3001
  • apps/docs — Astro public docs site. Product capability, install and usage content only; no internal implementation, ops detail or developer-only context
  • apps/cli — Commander + tsup, ships the mf binary and the local daemon
  • apps/k8s-gateway — in-cluster exec gateway
  • packages/shared — constants, DTOs, API paths, ObjectId, validation shared across apps
  • packages/db — Drizzle schema, the single source of truth for the database
  • packages/sdk — typed HTTP client used by web, admin and the CLI
  • packages/i18n — t() plus the shared locale catalogs
  • packages/a2a — A2A protocol types, JSON-RPC client, SSE and URL guard
  • packages/sprites — sprites.dev REST / WSS / filesystem client
  • packages/k8s-exec-core — Kubernetes exec primitive
  • packages/external-providers — Dify / Langflow / A2A provider adapters

Apps depend on packages; only apps/api writes the database or talks to runtimes. Front ends and the CLI consume the API through @manyfold/sdk and @manyfold/shared. Details in docs/engineering/architecture.md and docs/product/system-overview.md.

docker/host is the image every Kubernetes pod host runs (ghcr.io/manyfold-open/manyfold-runtime-host, ADR-0035); frameworks are installed into it on demand. .github/workflows/release-runtime-images.yml publishes it from develop, and pnpm runtime-images:check covers its contract.

Read the full file on GitHub · 71 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 Changed · +14 tokens per session d9e52b487723
  2. 1mo ago Changed · +2 lines · +55 tokens per session c17ef9638d74
  3. 2mo ago First seen · 69 lines · 1,154 tokens per session scan A fb396d2618d7

Subscribe to this mod's changes

manyfold AGENTS.md is an instructions file published in the GitHub repository manyfold-open/manyfold (5 stars, last pushed 8d ago), licensed Apache-2.0. It adds 1,223 tokens to every session, about $0.0049 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

manyfold AGENTS.md compared with instructions from other repositories

manyfold AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
manyfold AGENTS.mdmanyfold-open/manyfoldInstructions file58d agoApache-2.0A1,223Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot