one-person-company-os: Instructions file for Codex

AGENTS.md

one-person-company-os AGENTS.md is an instructions file for Codex, OpenCode from living-hi/one-person-company-os. It costs 502 tokens per session, scanned A, original, MIT.

A set of AGENTS.md instructions for a one-person-company workspace. AGENTS.md is a file that tells coding agents how to behave in a repository.

In plain words
What is it for?
Guiding agents through business planning, task handoffs, workspace setup, and updates to the project’s operating documents.
Why use it?
It keeps agents aligned with the founder’s decisions, language, handoffs, and operating rules instead of letting them make unapproved workspace changes.

Instructions file for CodexOpenCode

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

This is living-hi/one-person-company-os's own configuration. It tells Codex and OpenCode how to work on one-person-company-os 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 one-person-company-os configures →

Reuse

Borrowing it

Nothing to install: this file belongs to living-hi/one-person-company-os. 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/living-hi/one-person-company-os/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/living-hi/one-person-company-os

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 one-person-company-os AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/living-hi/one-person-company-os/agents-md"><img src="https://agentmods.dev/badge/instructions/living-hi/one-person-company-os/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 502 This file is loaded in full into every session.
When invoked 502 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.00502 $0.00502
Opus 5 $0.00251 $0.00251
Sonnet 5 $0.00100 $0.00100
Haiku 4.5 $0.00050 $0.00050

Measured 12d ago against content hash da2e8159c6b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

one-person-company-os 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 12d 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 · 65 lines

What it actually says

Agent Runtime Guide

本仓库优先服务 OpenClaw。

v1.0 运行原则

  • 用户始终是创始人和最终决策者。
  • 智能体系统默认跟随用户语言:中文用户默认中文,英文用户默认英文。
  • 首次进入必须先确认可卖承诺、第一批买家和核心问题,再落地工作区。
  • 系统以经营闭环推进,不再以旧阶段/回合推进。
  • 用户默认应先看到经营驾驶舱:主目标、主瓶颈、主战场、成交管道、经营闭环和今日最短动作。
  • 角色默认最小激活,避免第一次就铺满全公司角色。

默认智能体

首次确认后,默认只创建:

  • 创始人
  • 总控台
  • 产品负责人

按需再创建:

  • 设计负责人
  • 增长负责人
  • 用户运营
  • 质量保障
  • 数据分析
  • 财务
  • 法务合规
  • 运维保障

v1.0 交接上下文

所有角色交接都必须保留这些字段:

  • 当前主目标
  • 当前主瓶颈
  • 当前主战场
  • 价值承诺
  • 第一批买家
  • 产品状态
  • 成交管道
  • 交付与回款状态
  • 今日最短动作
  • 是否需要创始人确认

推荐执行顺序

  1. 确认可卖承诺、第一批买家和核心问题
  2. 等创始人确认保存目录
  3. 创建 v1.0 经营工作区
  4. 生成经营驾驶舱、阅读层和视觉素材
  5. 只推进一个当前主瓶颈
  6. 每次真实推进后刷新 markdown、HTML 和视觉素材

不该做的事

  • 不要谎称已经创建了智能体
  • 不要在未确认时批量写文件
  • 不要把文件写到用户未确认的工作区之外
  • 不要默认进入长周期周报模式
  • 不要重新引入旧阶段/回合状态
  • 不要让 AI 图片承载精确经营数字;精确数据图使用确定性 SVG/HTML
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. 12d ago First seen · 65 lines · 502 tokens per session scan A da2e8159c6b0

Subscribe to this mod's changes

one-person-company-os AGENTS.md is an instructions file published in the GitHub repository living-hi/one-person-company-os (1 stars, last pushed 4mo ago), licensed MIT. It adds 502 tokens to every session, about $0.0025 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-31.

Related

Other instructions, from other repositories

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,126 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,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

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 · 6,785 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,469 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, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens