clopen AGENTS.md

Project-specific instructions for AI coding agents working on the Clopen software project. They describe the expected workflow before, during, and after coding.

In plain words
What is it for?
Guiding coding tasks, pull-request work, checks, linting, and suggestions for branch names and commit messages in Clopen.
Why use it?
They give an agent the project’s rules and conventions, reducing avoidable mistakes such as running prohibited commands, changing agreed technical decisions, or creating unrequested files.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/myrialabs/clopen/agents-md
Clone the repo
git clone --depth 1 https://github.com/myrialabs/clopen

Made for: Codex, OpenCode.

Per session 697 This file is loaded in full into every session.
When invoked 697 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00697 $0.00697
Opus 5 $0.00349 $0.00349
Sonnet 5 $0.00139 $0.00139
Haiku 4.5 $0.00070 $0.00070

Measured 2d ago against content hash 36729e5bfcdb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

clopen 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 2d 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 · 97 lines

How it starts

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

AI Agent Guidelines for Clopen

This document provides guidelines for AI coding agents when working on the Clopen project.


WORK PROTOCOL

Before Coding

  1. Identify which stage is currently being worked on
  2. Understand the specific task that needs to be completed
  3. For PR-related tasks (e.g., "review PR #123", "check PR X"), read MAINTAINERS.md first to understand the PR workflow, review process, and maintainer conventions

During Coding

  • Follow agreed-upon architecture and patterns
  • Do not change technical decisions without discussion
  • Ensure code matches the established folder structure
  • Use chosen libraries and frameworks
  • Do NOT run bun run dev or bun run build commands

After Coding

  • Run bun run check and bun run lint to ensure code functions properly
  • Do not create any .md files unless explicitly instructed
  • Suggest a branch name and commit message following CONTRIBUTING.md conventions:
    • Branch: <type>/<description> — lowercase, kebab-case, concise
    • Commit: <type>(<scope>): <subject> — imperative mood, lowercase, no period, max 72 chars
    • Do NOT create the branch or commit automatically — only suggest the names for review

IMPORTANT RULES

  1. Be CONSISTENT with previously made decisions
  2. COMMUNICATE if existing plans need to be changed
  3. STOP after each stage for review

PROJECT-SPECIFIC GUIDELINES

Runtime & Package Manager

  • Bun-only project — Node.js and Deno are NOT supported
  • Always use bun commands (never npm/pnpm/yarn)
  • Runtime checks exist in bin/clopen.ts and backend/index.ts

Architecture

  • Backend: Bun + Elysia with WebSocket architecture
  • Frontend: Svelte 5 with runes system ($state, $derived, $effect)
  • Database: SQLite with migration system

Code Style

  • TypeScript throughout the entire codebase
  • Use const by default; use let only when reassignment is needed
  • In .svelte files: let for $state and $bindable; const for $derived, $props, functions
  • Use Svelte 5 runes for state management (not traditional stores)
  • Follow Tailwind CSS v4 conventions
  • Use custom logger module (debug) instead of console.*

Read the full file on GitHub · 97 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. 2d ago First seen · 97 lines · 697 tokens per session scan A 36729e5bfcdb

Subscribe to this mod's changes

clopen AGENTS.md is an instructions file published in the GitHub repository myrialabs/clopen (40 stars, last pushed 4d ago), licensed MIT. It adds 697 tokens to every session, about $0.0035 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-30.

Related

Other instructions, from other repositories

DevoxxGenieIDEAPlugin GEMINI.md

Instructions for devoxx/DevoxxGenieIDEAPlugin, a project described as: DevoxxGenie is an agentic plugin for IntelliJ IDEA that uses local LLM's (Ollama, LMStudio, GPT4All, Jan and Llama.cpp) and Cloud based LLMs to help review, test, explain your project code. Latest version now also supports Spec Driven Development…

devoxx/DevoxxGenieIDEAPlugin · 257 tokens

packmind packmind-frontend-error-management.instructions.md

Instructions for PackmindHub/packmind: A global error boundary is already configured at the root level (in root.tsx) that automatically catches all page crashes, 404s, and loader failures. This standard defines when and how to use explicit... .

PackmindHub/packmind · 302 tokens

Ctxo CLAUDE.md

Instructions for alperhankendi/Ctxo, covering claude.md — ctxo, project overview, quick reference, dev (pnpm workspace) and usage (consumer).

alperhankendi/Ctxo · 5,885 tokens

apex-accelerator no-interactive-shell.instructions.md

Prevents interactive shell prompts and long-output terminal replays from being injected into chat. Forbids -i flags on mv/rm/cp, read -p, and confirm prompts (incl. inside bash -c '...'). Pipe long output to files. Scoped to chat-context-loaded files; skill references/ and templates/ are exempt because they hold…

jonathan-vella/apex-accelerator · 1,396 tokens

apex-accelerator iac-bicep-best-practices.instructions.md

Bicep-specific IaC best practices for Azure templates. Security baseline, naming, AVM mandate, anti-patterns.

jonathan-vella/apex-accelerator · 957 tokens

llm-ide-rules pytest-integration-tests.instructions.md

Instructions for iloveitaly/llm-ide-rules, covering pytest integration tests and example integration test.

iloveitaly/llm-ide-rules · 1,299 tokens