vibe-coder-kit AGENTS.md

A set of instructions for an AI coding agent working in an OpenCode project. It defines required startup steps, safety checks, coding standards, and a workflow for planning and implementing changes.

In plain words
What is it for?
Use it to guide new coding sessions, protect data during database or Git operations, manage environment variables, keep code maintainable, and structure work from ideas through implementation.
Why use it?
It gives the agent consistent project context and reduces risks such as destructive commands, leaked secrets, unfinished cleanup, and mixed feature and refactoring work.

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/omergocmen/vibe-coder-kit/agents-md
Clone the repo
git clone --depth 1 https://github.com/omergocmen/vibe-coder-kit

Made for: Codex, OpenCode.

Per session 728 This file is loaded in full into every session.
When invoked 728 The same file — it is already loaded in full.
Security scan C 1 finding. 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.00728 $0.00728
Opus 5 $0.00364 $0.00364
Sonnet 5 $0.00146 $0.00146
Haiku 4.5 $0.00073 $0.00073

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

Security

Grade C, and why

vibe-coder-kit AGENTS.md scanned grade C with 1 finding 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- `DROP`, `DELETE`, `TRUNCATE`, `rm -rf`, `git push --force` (ana branch): **Onay al before running**
AGENTS.md · 77 lines

How it starts

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

OpenCode Agent Setup

Bu dosya opencode tarafından her oturumda otomatik okunur.


Zorunlu İlk Adım

Her yeni oturumda .agent/skills/project-context-primer/SKILL.md oku ve uygula. Bu atlanmaz.


Kritik Kurallar

Güvenlik

  • DROP, DELETE, TRUNCATE, rm -rf, git push --force (ana branch): Onay al before running
  • Mevcut testler geçiyorsa ve görev o kodu doğrudan değiştirmiyorsa — dokunma
  • Migration/production deploy öncesi: rollback adımı tanımla

Kod Temizliği

  • Yorumlar sadece fonksiyon/metot başlıklarında
  • console.log, console.warn, debugger, print(): commit öncesi kaldır
  • Hassas değerler (API key, token): .env kullan, kesinlikle koda yazma
  • Yeni env variable eklendiğinde: .env.example güncelle (açıklama zorunlu)

Kod Kalitesi

  • Aynı kod 3+ yerde tekrar ediyorsa → extract et
  • Yeni soyutlama öncesi: "3+ yerde kullanılıyor mu? 6 ay sonra anlaşılır mı?" → Hayır ise bırak
  • Refactor: feature commit'inden ayrı, bağımsız commit

İş Akışı

YENİ OTURUM
  └─ project-context-primer (zorunlu)

FİKİR     → brainstorming → SCOPE-<slug>.md
PLAN      → writing-plans → implementation_plan.md → architecture-review
GELİŞTİRME → test-driven-execution
KOMİT     → github skill (doğrudan git komutu ÇALISTIRMA)
           → code-review → conventional commit → PR

Skill & Agent Yapısı

.agent/ dizini:

  • skills/ — süreç tanımları (her biri SKILL.md ile)
  • agents/ — uzman persona tanımları
  • rules/ — zorunlu kurallar (code-hygiene, code-quality, safety)
  • knowledge/ — konuşmalar arası kalıcı bilgi

Temel skill dosyaları:

Skill Ne Zaman
project-context-primer Her oturum başında — zorunlu
github Tüm git işlemlerinde
code-review Commit öncesi
brainstorming Fikir/gereksinim netleştirilirken
writing-plans Scope onaylandıktan sonra
knowledge-base-update Öğrenilen her şeyde

Agent personaları: Aria (UI/UX), Felix (Frontend), Bora (Backend), Deva (DevOps)

Read the full file on GitHub · 77 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 · 77 lines · 728 tokens per session scan C d7e1ece5917e

Subscribe to this mod's changes

vibe-coder-kit AGENTS.md is an instructions file published in the GitHub repository omergocmen/vibe-coder-kit (91 stars, last pushed 3mo ago), licensed MIT. It adds 728 tokens to every session, about $0.0036 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). 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

ag-sdd AGENTS.md

AGENTS.md instructions for stormlive-ai/ag-sdd, covering agents.md — anti-gravity spec-driven development (ag-sdd), 1. purpose & philosophy, 2. sdd workflow lifecycle, phase 1 — discovery (mandatory clarification gate) and phase 2 — spec generation.

stormlive-ai/ag-sdd · 2,613 tokens

SaaS-blueprint AGENTS.md

Instructions for tuliosousapro/SaaS-blueprint, covering agents.md, repository overview, repository structure, build / lint / test commands and agent skills specification.

tuliosousapro/SaaS-blueprint · 1,777 tokens

antigravity-awesome-group-skills AGENTS.md

AGENTS.md instructions for may215/antigravity-awesome-group-skills, covering agents.md — instructions for ai coding assistants, what is this repository?, repository structure, how skills work and when to reference a skill.

may215/antigravity-awesome-group-skills · 488 tokens

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 · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens