zylos-core: Instructions file for Codex

AGENTS.md

zylos-core AGENTS.md is an instructions file for Codex, OpenCode from zylos-ai/zylos-core. It costs 2,035 tokens per session, scanned B, original, MIT.

A repository instruction file for Claude Code, describing zylos-core's JavaScript version, module format, coding standards, and release steps.

In plain words
What is it for?
Use it when editing zylos-core or preparing a release, especially when deciding between JavaScript module formats and updating version records.
Why use it?
It keeps coding work consistent with the project's rules and reduces mistakes when changing code or publishing a new version.

Instructions file for CodexOpenCode

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

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

About the project

Zylos is open-source infrastructure that gives an AI agent persistent memory, scheduled activity, communication channels, and the ability to maintain and extend itself. Individuals and teams use it with Claude Code or Codex through Telegram, Lark, or a web console. Its catalogue add-ons define settings, instructions, and skills for operating the agent.

zylos-ai/zylos-core · 1,160 stars · on GitHub · zylos.ai

Reuse

Borrowing it

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

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 zylos-core AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/zylos-ai/zylos-core/agents-md"><img src="https://agentmods.dev/badge/instructions/zylos-ai/zylos-core/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,035 This file is loaded in full into every session.
When invoked 2,035 The same file — it is already loaded in full.
Security scan B 2 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.02035 $0.02035
Opus 5.5 $0.00814 $0.00814
Sonnet 5.5 $0.00407 $0.00407
Haiku 4.5 $0.00203 $0.00203

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

Security

Grade B, and why

zylos-core AGENTS.md scanned grade B with 2 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 9d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

pm2 startup # Follow the returned sudo command

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

import { execFileSync } from 'child_process';
AGENTS.md · 247 lines

How it starts

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

AGENTS.md

This file provides guidance to Claude Code when working with code in this repository.

Project Standards

Programming Language

  • Language: Node.js (JavaScript)
  • Runtime: Node.js 20+

Module System

This project is ESM-only.

  • ✅ Always use import / export
  • ❌ Do NOT use CommonJS (require, module.exports)
  • ❌ Do NOT mix module systems

Examples:

// ✅ Correct (ESM)
import { execFileSync } from 'child_process';
import path from 'path';
import os from 'os';
import fs from 'fs';

export function myFunction() {
  // ...
}

export default myClass;
// ❌ Wrong (CommonJS)
const { execFileSync } = require('child_process');
const path = require('path');

module.exports = myFunction;

Release Process

When releasing a new version:

  1. Update package.json — bump version field to the new version number
  2. Update package-lock.json — run npm install to sync the lock file with the new version
  3. Update CHANGELOG.md — add a new section following Keep a Changelog format with Added/Fixed/Changed/Removed subsections as applicable
  4. Commit and push — include all three files in the PR
  5. Merge PR first — all changes must be merged to main before tagging
  6. Tag and release — after merge, create a git tag (vX.Y.Z) on main and a GitHub release with release notes summarizing the changelog

Version numbers follow Semantic Versioning.

Project Structure

  • skills/ - Claude Code skills (modular workflows)
  • cli/ - Command-line interface tools

Tests

Tests and their fixtures are development-only. They are excluded from everything that reaches user machines: the npm package (.npmignore) and the GitHub source archive that zylos upgrade --self downloads and syncs core skills from (.gitattributes export-ignore). Users' security scanners must not find fake tokens or mock binaries in an installed zylos.

Read the full file on GitHub · 247 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. 9d ago Changed · +23 lines · +317 tokens per session 04257ad80fe6
  2. 23d ago First seen · 224 lines · 1,718 tokens per session scan B 14a5a91d0c5a

Subscribe to this mod's changes

zylos-core AGENTS.md is an instructions file published in the GitHub repository zylos-ai/zylos-core (1,160 stars, last pushed yesterday), licensed MIT. It adds 2,035 tokens to every session, about $0.0081 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-15.

Related

zylos-core AGENTS.md compared with instructions from other repositories

zylos-core AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
zylos-core AGENTS.mdzylos-ai/zylos-coreInstructions file1.2kyesterdayMITB2,035Codex, 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