ase: Instructions file for Codex

AGENTS.md

ase AGENTS.md is an instructions file for Codex, OpenCode from rse/ase. It costs 5,300 tokens per session, scanned A, original, Apache-2.0.

Project instructions for ASE, or Agentic Software Engineering, a set of plugins, command-line tools, and background services for AI-assisted software development.

In plain words
What is it for?
Use them when working on ASE plugins, skills, sub-agents, command-line features, or its project service.
Why use it?
They explain the repository layout, supported coding-agent tools, and how its skills and helper agents are organized.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions .claude-plugin; mentions subagents; mentions Claude Code.

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is npm start build-plugin # copy ../plugin and ../.claude-plugin into the package.

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/rse/ase/agents-md"><img src="https://agentmods.dev/badge/instructions/rse/ase/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,300 This file is loaded in full into every session.
When invoked 5,300 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.05300 $0.05300
Opus 5.5 $0.02120 $0.02120
Sonnet 5.5 $0.01060 $0.01060
Haiku 4.5 $0.00530 $0.00530

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

Security

Grade A, and why

ase 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 today.

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

How it starts

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

About

Agentic Software Engineering (ASE) is the opinionated companion tooling of Dr. Ralf S. Engelschall for combining Agentic AI Coding with Software Engineering in tools like Anthropic Claude Code CLI. ASE consists of an agent tool plugin (hooks, skills, sub-agents, meta files), a Command-Line Interface (CLI) tool, and a per-project background service bridged into the agent tool as a Model-Context-Protocol (MCP) server.

The primary target agent tool is Anthropic Claude Code CLI; GitHub Copilot CLI and OpenAI Codex CLI are secondary targets, selected via ASE_TOOL=copilot resp. ASE_TOOL=codex or the --tool CLI option.

Repository Layout

ASE ships three deliverables from one repository:

  • plugin/: the agent tool plugin
    • plugin/skills/ase-xxx-xxx/: the 57 skills, each with a SKILL.md (agent instructions) and a help.md (Unix-style manual page), plus optional skill-specific files (like ase-help-intent/data.md, the concatenation of all help.md files, generated at build-time); the help.md files document only the user-facing skill surface (purpose, options, arguments, and usage examples), not the internals of the skills (the workflow steps of SKILL.md, the leveraged sub-agents, meta files, and MCP tools, and their interplay), so consult the SKILL.md and its referenced files for the latter and never add implementation details to the help.md files
    • plugin/agents/: the sub-agent definitions leveraged by the skills
    • plugin/meta/: the shared meta files, exposed to skills via ase util meta <name>: the constitution, tenets, persona, dialog, control flow, getopt, and skill output conventions (ase-{constitution,tenets,persona,dialog,control,getopt,skill}.md), the common steps shared by groups of skills (ase-common-*.md), and the artifact formats (ase-format-{meta,task,spec}.md), where the specification format ase-format-spec.md includes the SpecBook models and formats description ase-format-specbook.md and the standard SpecBook schema configuration ase-format-specbook.yaml, both generated at build-time by SpecBook (@rse/specbook)
    • plugin/hooks/: the per-agent-tool hook wiring (hooks.json, hooks-copilot.json, hooks-codex.json)
    • plugin/output-styles/: the output style ase-terse
    • plugin/mods/: the Claude Code function hooks module ("mod"), type-checked against the downloaded claude-code.d.ts: ase-mods.ts for the hooking infrastructure (the only module loaded by the engine, registering the hooks, dispatching them into the other modules, and binding the engine services for them), ase-mods-common.ts for the shared parts (styled characters, Markdown conversion, wrapping, framing, and the geometry of the band above the prompt), ase-mods-grill.ts for re-rendering the grilling tables of ASE, ase-mods-help-find.ts for the intent help (a prompt, other than a skill command, suffixed with a blank and !! matched against the help of all skills, with the proposed commands in the band above the prompt, and closed by !! again), ase-mods-help-compose.ts for the synopsis form (a skill command, bare or with its typed options and arguments, suffixed with !! composed resp. edited through a form of its SYNOPSIS in the band above the prompt, and applied by !! again), ase-mods-help-show.ts for the manual band (a skill command, bare or with its typed options and arguments, suffixed with a blank and // toggling the entire manual page of the skill in the band above the prompt, while the command is typed on, until the synopsis form opens), ase-mods-help-browse.ts for the manpage browser (a prompt of just //, or of a free text suffixed with a blank and //, browsing the manual pages of all skills, filtered by a fuzzy search initially of the free text, in the band above the prompt, with RETURN taking over the command of the selected skill), and ase-mods-help-hint.ts for the hint band (a prompt starting with a skill command showing the entire argument hint of the skill, wrapped over multiple lines, in the band above the prompt, instead of the truncated one-line argument hint of Claude Code, which is dropped for the skills)
    • plugin/.claude-plugin/, plugin/.codex-plugin/, plugin/.github/plugin/: the per-agent-tool plugin manifests
  • tool/: the @rse/ase CLI
    • tool/src/ase.ts: the entry point, wiring all top-level commands
    • tool/src/ase-<command>.ts: one module per CLI command resp. command group: setup, config, service, mcp, hook, statusline, task, task-board, agent, artifact, spec, man, util, and util-{meta,diagram,worktree,mint,metric,compat}
    • tool/src/ase-lib-*.ts: the generic library modules (lib-log, lib-stdio, lib-table, lib-ignore, lib-version, lib-hash, lib-daemon-cli for the start/status/log/stop CLI commands of all background processes (servers, agents, and the agent fleet), and lib-server-cli and lib-server-bind for the CLI commands and the HTTP binding of the task store and agent relay servers)
    • tool/src/ase-setup-*.ts: the parts of ase setup (setup-common for the shared types and sub-process runner, setup-mcp for the MCP server registry, and setup-settings for the statusline and output style settings)
    • tool/src/ase-config-*.ts: the parts of ase config (config-scope for the scope chain and directory resolution, config-schema for the schema, presets, and write policies, and config-core for the layered Config class and the internal session state)
    • tool/src/ase-service-*.ts: the MCP-only tool modules of the service (service-{kv,getopt,markdown,skills,sleep,state,timestamp}) and its AI usage accounting (service-otel for the OTLP ingress, the usage windows of the task assignments, and their bookings onto the usage attachments of the tasks)
    • tool/src/ase-task-*.ts: the task functionality, where ase-task.ts itself only forwards the ase task CLI and ase_task_* MCP tools to the task store selected by project.task.store.url, through the local or remote task store clients of task-store-client (see docs/task-api.md):
      • task-format for the textual task format codec and the lifecycle models, and task-request for the codec of the agent requests attached to tasks, like the edit requests of the task boards
      • the task store: task-store-server-cli for the ase task store CLI wrapper, task-store-core for the transport-agnostic REST API functionality, task-store-server-bind for its HTTP and WebSocket binding, task-store-plugin-api for the storage plugin contract, task-store-plugin-delegate for the plugin loader and the locking storage delegate, the built-in storage plugins task-store-plugin-{ase,github,gitlab,gitea} (file-based resp. GitHub, GitLab, and Gitea Issues), and task-store-issues for the common parts of all issue tracker storage plugins
      • the task board: task-board for the ase task board CLI command, task-board-{core,graph,flow,filter,stats} for its model (where flow is the agent graph along the lifecycle model), task-board-tui (split into task-board-tui-{model,control,view,popup,style}) for the terminal UI, and task-board-web-server for the browser UI, served by the service, with its client in ase-task-board-web-client.{html,ts,vue,styl}, a Vue application bundled by Vite, whose root component is split into the modules task-board-web-client-{model,editor,control} (shared state and service access, task plan editor, and actions and key dispatching) and the components task-board-web-client-{lanes,graph,flow,agents,stats,dialog,popup,title}
    • tool/src/ase-agent-*.ts: the parts of ase agent:
      • agent-runtime for the runtime base of all agents, agent-runtime-tool for the headless agent tool invocation and the decoding of its output, agent-runtime-exec for the processes, temporary directories, jobs, and Git operations, agent-runtime-claim for the run locks and task claims of the crash recovery, agent-runtime-{phase,request} for the runtime bases of the phase resp. request agents, and agent-runtime-engine for the engine running every agent of a definition (its phase and request agents) and its facades: the built-in agents, the agents of the definition kinds, and the adhoc agent
      • agent-definition-api for the public, self-contained types of the agent definitions and their hooks (exported as the types of the @rse/ase package), agent-definition-core for the definition model (options, YAML, TypeScript, JavaScript, and built-in definition loading, discovery of the definition kinds, hooks, validation, and templates), and the directory tool/src/ase-agent-definition-builtin/ with the files {rebooter,condenser,implementer,qualifier,integrator,editor,estimator,researcher}.ts for the declarative definitions of the modes of the built-in agents
      • agent-process for the ase agent <kind> start|status|log|stop commands of a single agent, and agent-fleet for the ase agent fleet supervisor of multiple agents and the agent relay
      • the agent relay, selected by project.relay.url and passing the live presence of the agents to the task boards: agent-relay-server-cli for the ase agent relay CLI wrapper, agent-relay-core for the transport-agnostic in-memory presence, agent-relay-server-bind for its HTTP and WebSocket binding (mountable into the task store server), and agent-relay-client for the relay URL resolution, the client, and the presence reporter of the agents
    • tool/bin/ase: the published shim, loading compiled output from dst/
    • tool/man/ase{,-xxx{,-yyy}}.md: the Unix manual pages of all CLI commands (one per command and command group, where the pages of a group with third-level commands like ase task store cover them), in the remark-man Markdown format, copied at build-time into dst/man/*.md (shown by ase man); they document only the user-facing CLI surface (commands, options, arguments, configuration, and files), not the internals of tool/src/ (modules, classes, functions, types, and their interplay), so consult the source code for the latter and never add implementation details to the manual pages
    • tool/plugin/ and tool/.claude-plugin/: build-time copies of plugin/ and .claude-plugin/ -- never edit them, they are regenerated
  • pages/: the GitHub Pages site (https://ase.tools), an Astro project
    • pages/src/pages/: the pages of the site (index.astro, author, design, highlights, news, project, setup, usage, workflows, typing-demo, and usecases/[usecase]), all based on pages/src/layouts/BaseLayout.astro
    • pages/src/components/*.astro: the page sections (Section-*), modals (Modal-*), widgets (Widget-*), and client-side features (Feature-*)
    • pages/src/data/*.ts: the content data, especially skills.ts (the single source of truth for skill grouping and ordering), manpages.ts (the CLI command tree, read at build-time from tool/man/*.md), news.ts (the release news, read at build-time from NEWS.md), terminology.ts (the term definitions, imported at build-time from the sibling terminology.md), and comparison.ts, fit.ts, methods.ts, nav.ts, previews.ts, site.ts, testimonials.ts, usecases.ts, and usps.ts

Read the full file on GitHub · 367 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. today Changed · +11 lines · +175 tokens per session dbe6e29b2ee5
  2. yesterday Changed · +19 lines · +290 tokens per session d3339893a90b
  3. 3d ago Changed · +2 lines · +8 tokens per session b35e88adaab0
  4. 5d ago Changed · +10 lines · +201 tokens per session da72f5fef90d
  5. 6d ago Changed · +11 lines · +167 tokens per session 2bc2f341c293
  6. 7d ago Changed · +8 lines · +139 tokens per session 26d0c793dd5b
  7. 8d ago Changed · +4 tokens per session 679b183353a3
  8. 9d ago Changed · +4 lines · +66 tokens per session 8a2778b7f02a
  9. 10d ago Changed · +82 lines · +1,187 tokens per session b7cf6452a709
  10. 11d ago First seen · 220 lines · 3,063 tokens per session scan A a8bda7ceacef

Subscribe to this mod's changes

ase AGENTS.md is an instructions file published in the GitHub repository rse/ase (60 stars, last pushed today), licensed Apache-2.0. It adds 5,300 tokens to every session, about $0.0212 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