siclaw: Instructions file for Codex

AGENTS.md

siclaw AGENTS.md is an instructions file for Codex, OpenCode from scitix/siclaw. It costs 861 tokens per session, scanned A, original, Apache-2.0.

A project guide for Siclaw, an AI assistant for diagnosing Kubernetes systems, with terminal, local development, and production deployment modes.

In plain words
What is it for?
Use it when modifying or checking the agent core, runtime modes, skill bundles, Docker or Helm files, Kubernetes behavior, or related tests.
Why use it?
It records safety boundaries and verification commands for changes that can affect tools, user isolation, databases, containers, or Kubernetes behavior.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; reads ~/.codex paths; mentions AGENTS.md.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/scitix/siclaw/agents-md"><img src="https://agentmods.dev/badge/instructions/scitix/siclaw/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 861 This file is loaded in full into every session.
When invoked 861 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.00861 $0.00861
Opus 5.5 $0.00344 $0.00344
Sonnet 5.5 $0.00172 $0.00172
Haiku 4.5 $0.00086 $0.00086

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

Security

Grade A, and why

siclaw 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 · 98 lines

How it starts

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

Siclaw Project Instructions

This file is the project-level Codex guide for siclaw_dp_cleanup. Keep it limited to stable Siclaw facts and constraints. General collaboration style belongs in ~/.codex/AGENTS.md; CLAUDE.md is the larger legacy reference when deeper background is needed.

Project Shape

Siclaw is an AI-powered SRE copilot for Kubernetes diagnostics.

One agent core supports three runtime shapes:

Headless CLI: non-interactive diagnostic invocation, optionally paired with local Portal
Gateway + LocalSpawner: local multi-user dev, one process/shared filesystem
Gateway + K8sSpawner: production, one isolated pod per user

Before Risky Edits

  • Preserve user changes and unrelated dirty work.
  • For security, tool execution, database, Portal snapshot, guards, memory, Docker, Helm, or K8s behavior, read the nearby code plus relevant docs/design/* or CLAUDE.md before editing.
  • Ask before editing src/core/prompt.ts; it affects core agent behavior and product tone.
  • Do not add production dependencies unless explicitly requested.

Verification

Use targeted checks first, then broaden when touching shared behavior:

npm test
npx tsc --noEmit
npm run build

Broaden verification for database schema, tool execution, guards, Portal snapshot, K8s/Docker/Helm, or user-facing workflows.

Stable Boundaries

  • LocalSpawner runs all local AgentBox instances in one process with a shared filesystem. Local skill sync must stay user-scoped and must not wipe shared skill directories such as global/skillset/user trees.
  • Core skills are baked into the Docker image. Workspace skill bundles should include only selected global/dev/personal skills.
  • Headless CLI uses local Portal as a read-only snapshot source. Unscoped invocations tolerate unavailable snapshot access; a selected agent must load successfully. Snapshot caches are private to each invocation, including empty resource sets, and cleanup must never touch another invocation.
  • Shell execution security is layered: OS-level isolation first, whitelist-only command validation second, plus pre/post execution sanitization.
  • Portal/Gateway DB and Memory DB are separate persistence domains. Do not mix user/session config with embedding/chunk/investigation storage.
  • AgentBox and Runtime are separate processes in K8s mode. Code under src/agentbox/** must not import Gateway or Portal persistence modules such as src/gateway/chat-repo.ts; LocalSpawner's shared process can hide this. AgentBox background work should call Runtime internal APIs through GatewayClient, with Runtime owning Portal RPC and database persistence.
  • src/portal/migrate.ts must stay compatible with both MySQL and SQLite.
  • mTLS is for K8s mode only; do not pull mTLS requirements into local mode.

Read the full file on GitHub · 98 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 · +2 lines · +32 tokens per session f3b1616c87a8
  2. 2mo ago First seen · 96 lines · 829 tokens per session scan A 163319d74622

Subscribe to this mod's changes

siclaw AGENTS.md is an instructions file published in the GitHub repository scitix/siclaw (238 stars, last pushed 25d ago), licensed Apache-2.0. It adds 861 tokens to every session, about $0.0034 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

siclaw AGENTS.md compared with instructions from other repositories

siclaw AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
siclaw AGENTS.mdscitix/siclawInstructions file23825d agoApache-2.0A861Codex, 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