doubao-studio: Instructions file for Codex

AGENTS.md

doubao-studio AGENTS.md is an instructions file for Codex, OpenCode from dorakoo/doubao-studio. It costs 2,070 tokens per session, scanned A, original, MIT.

A project instruction file for Doubao Studio, an Electron desktop app for managing multiple accounts and automating content production. It documents the app's structure, tools, and development commands.

In plain words
What is it for?
Use it when developing, running, testing, or navigating the Doubao Studio codebase.
Why use it?
It gives coding agents the project context they need before changing code, including where the main process, user interface, shared types, and task features live.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 doubao-studio AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/dorakoo/doubao-studio/agents-md"><img src="https://agentmods.dev/badge/instructions/dorakoo/doubao-studio/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,070 This file is loaded in full into every session.
When invoked 2,070 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.02070 $0.02070
Opus 5.5 $0.00828 $0.00828
Sonnet 5.5 $0.00414 $0.00414
Haiku 4.5 $0.00207 $0.00207

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

Security

Grade A, and why

doubao-studio 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 · 125 lines

How it starts

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

AGENTS.md

项目概览

豆包工作室 Doubao Studio Desktop - 面向 AI 内容创作者的多账号管理与自动化生产工作台。Electron 桌面应用,左侧多账号管理+任务调度控制台,右侧会话隔离的内嵌豆包浏览器。

技术栈

  • 运行时: Electron 33 + Node.js 24
  • 前端: React 18 + TypeScript 5 + Ant Design 5 + Tailwind CSS 3
  • 状态管理: Zustand 5
  • 构建: Vite 6 (渲染进程) + tsc (主进程) + electron-builder (打包)
  • 包管理: pnpm

项目结构

├── main/                    # 主进程 (Electron Main Process)
│   ├── main.ts              # 应用入口:窗口创建、IPC 注册
│   ├── preload.ts           # 预加载脚本:contextBridge 暴露 API
│   ├── core/                # TaskService、Repository、事件流等任务域核心
│   ├── cli/                 # 只读查询与受控 CSV 导入 CLI
│   ├── mcp/                 # MCP stdio 服务端与客户端
│   ├── ipc/
│   │   ├── accounts.ts      # 账号管理 IPC (CRUD + Session 隔离)
│   │   └── tasks.ts         # 任务调度 IPC (队列管理 + 状态流转)
│   └── utils/               # 持久化、启动、额度与媒体辅助逻辑
├── packages/contracts/      # 主进程/渲染进程共享的纯类型契约
├── schemas/capability/v1/   # 对外 Capability API JSON Schema
├── src/                     # 渲染进程 (React)
│   ├── index.tsx            # React 入口 + Ant Design ConfigProvider
│   ├── App.tsx              # 主布局:三栏式 + 拖拽调整宽度
│   ├── components/
│   │   ├── Toolbar.tsx      # 顶部工具栏
│   │   ├── Sidebar.tsx      # 左侧面板容器(上下分区)
│   │   ├── AccountList.tsx  # 账号列表
│   │   ├── TaskConsole.tsx  # 任务控制台
│   │   └── BrowserPanel.tsx # 内嵌浏览器(webview)
│   ├── store/
│   │   ├── useAccountStore.ts # 账号状态管理
│   │   └── useTaskStore.ts    # 任务状态管理
│   ├── types/
│   │   ├── index.ts         # 全局类型定义
│   │   └── electron.d.ts    # Electron API 类型声明
│   └── styles/
│       └── global.css       # Tailwind + 自定义组件样式
├── tests/unit/              # Node/Vitest 行为与边界测试
├── docs/                    # 架构设计、handoff 与 README 图文资产
├── examples/                # CSV 模板与适配规则示例
├── package.json
├── tsconfig.json            # 基础 TS 配置
├── tsconfig.main.json       # 主进程 TS 配置 (CommonJS)
├── tsconfig.renderer.json   # 渲染进程 TS 配置 (ESNext + JSX)
├── vite.config.ts           # Vite 配置
├── tailwind.config.js       # Tailwind 配置(品牌色系)
├── .coze                    # 沙箱构建/运行配置
└── DESIGN.md                # 设计规范

Read the full file on GitHub · 125 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 · +10 lines · +246 tokens per session 1e864d3451f5
  2. 2mo ago Changed · +8 lines · +314 tokens per session 262acb0a913c
  3. 2mo ago First seen · 107 lines · 1,510 tokens per session scan A 03c092f38744

Subscribe to this mod's changes

doubao-studio AGENTS.md is an instructions file published in the GitHub repository dorakoo/doubao-studio (107 stars, last pushed 1mo ago), licensed MIT. It adds 2,070 tokens to every session, about $0.0083 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

doubao-studio AGENTS.md compared with instructions from other repositories

doubao-studio AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
doubao-studio AGENTS.mddorakoo/doubao-studioInstructions file1071mo agoMITA2,070Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode