llm-calling-rules.md |
opencode run --format json Mandat, verbotene/erlaubte Provider, Modell-Routing, Antigravity/OCI Proxy, Modal-Warnung, Qwen-Plugin-Patches |
https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/llm-calling-rules.md |
browser-automation-mandate.md |
Vision Gate (PRIORITY -7.0), OpenSIN-Bridge Workflow, Screenshot-Pflicht, DevTools-Verifikation, Keyboard-Eskalation, 5-Layer Anti-Bot, nodriver/curl_cffi/CDP only |
https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/browser-automation-mandate.md |
technology-sovereignty.md |
Gebannte Tech (Playwright, Puppeteer, Selenium, Camoufox), erlaubte Stack, Autonomie-Prinzip, kein eigenmächtiger Tech-Wechsel, Hacker-Bypass-Mandat |
https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/technology-sovereignty.md |
google-workspace-matrix.md |
Account-Matrix, Chrome-Profile (Geschäftlich/Default), Docs/Sheets Supremacy, sin-google-apps Pflicht, Access Escalation, Tab/Child-Tab Rules, Service-Account-Limits |
https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/google-workspace-matrix.md |
parallel-exploration-mandate.md |
task() Pattern, Agenten-Anzahl nach Projektgröße, run_in_background=true, load_skills=[], Fokus-Pflicht, Warte-/Dedup-Regeln, verbotene Patterns |
https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/parallel-exploration-mandate.md |
self-healing-no-silo.md |
No-Silo Mandat, Never Idle, Proactive Repo Improvement, Branch-Regel, autonome Monetarisierung, Self-Healing Loop (Log → Issue → Hermes → Team Coder) |
https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/self-healing-no-silo.md |
debugging-issue-tracking.md |
Enterprise Deep Debug Pflicht, GitHub Issue Regeln, 100% Test-Beweis, Todo-Continuation Fix, Repair-Docs Pflicht, Check-Plan-Done Supremacy |
https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/debugging-issue-tracking.md |
visual-evidence-mandate.md |
Screenshots/Videos in Docs/READMEs/Issues, Text-only Verbot, CDP Browser Capture, Beweis-Pflicht bei Claims/Deployments/Bugs |
https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/visual-evidence-mandate.md |
n8n-inbound-governance.md |
n8n Foundation, Inbound Work Schema, PR Watcher Vertrag, check-should-automate, sin-n8n CLI, Template-Liste, Plattform-Registry, fail-closed Regeln |
https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/n8n-inbound-governance.md |
a2a-creator-deployment.md |
A2A Creator Regel, Mandatory A2A Usage, Deployment Checklist (agent.json, cards, MCP, well-known, runtime, docs), Repo Metadata/Topics, Dashboard-Registry |
https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/a2a-creator-deployment.md |
fleet-sync-infrastructure.md |
sin-sync Mandat, Mac=Source-of-Truth, Auth-Excludes, Box Storage (GitLab deprecated), Token Factory Blackbox, Rate Limit Watcher, Ledger Rule, HF VM Keep-Alive, Supabase SSOT |
https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/fleet-sync-infrastructure.md |
global-brain-pcpm.md |
Simone MCP + PCPM Pflicht, Brain Daemon URL, attach()/endSession(), Ultra-Canon Seeding, Hooks Setup, Quality-Score <0.6 Reflection, Context Gap → Brain First |
https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/global-brain-pcpm.md |
Verstanden. Du willst die gesamte Monolith-AGENTS.md zerlegen, jede Regelgruppe in eine eigene Markdown-Datei packen, ins Repo committen und dann ausschließlich über Raw-URLs in
opencode.json→instructionsladen. Das ist exakt der OpenCode-Doku-konforme Weg für große Fleets. Kein Kontext-Bloat, volle Versionierung, teamfähig.Hier ist der komplette Migrationsplan: Dateistruktur, URL-Mapping,
opencode.json-Snippet und ein Split-Script, das deine aktuelleAGENTS.mdautomatisch zerlegt.📦 Phase 1: Logische Zerlegung (12 Instruktions-Dateien)
Alle Dateien landen unter
docs/instructions/in deinem RepoOpenSIN-AI/Infra-SIN-OpenCode-Stack.llm-calling-rules.mdopencode run --format jsonMandat, verbotene/erlaubte Provider, Modell-Routing, Antigravity/OCI Proxy, Modal-Warnung, Qwen-Plugin-Patcheshttps://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/llm-calling-rules.mdbrowser-automation-mandate.mdhttps://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/browser-automation-mandate.mdtechnology-sovereignty.mdhttps://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/technology-sovereignty.mdgoogle-workspace-matrix.mdGeschäftlich/Default), Docs/Sheets Supremacy,sin-google-appsPflicht, Access Escalation, Tab/Child-Tab Rules, Service-Account-Limitshttps://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/google-workspace-matrix.mdparallel-exploration-mandate.mdtask()Pattern, Agenten-Anzahl nach Projektgröße,run_in_background=true,load_skills=[], Fokus-Pflicht, Warte-/Dedup-Regeln, verbotene Patternshttps://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/parallel-exploration-mandate.mdself-healing-no-silo.mdhttps://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/self-healing-no-silo.mddebugging-issue-tracking.mdhttps://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/debugging-issue-tracking.mdvisual-evidence-mandate.mdhttps://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/visual-evidence-mandate.mdn8n-inbound-governance.mdcheck-should-automate,sin-n8nCLI, Template-Liste, Plattform-Registry, fail-closed Regelnhttps://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/n8n-inbound-governance.mda2a-creator-deployment.mdhttps://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/a2a-creator-deployment.mdfleet-sync-infrastructure.mdsin-syncMandat, Mac=Source-of-Truth, Auth-Excludes, Box Storage (GitLab deprecated), Token Factory Blackbox, Rate Limit Watcher, Ledger Rule, HF VM Keep-Alive, Supabase SSOThttps://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/fleet-sync-infrastructure.mdglobal-brain-pcpm.mdattach()/endSession(), Ultra-Canon Seeding, Hooks Setup, Quality-Score <0.6 Reflection, Context Gap → Brain Firsthttps://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/global-brain-pcpm.md⚙️ Phase 2:
opencode.json→instructionsArrayFüge diesen Block in deine
opencode.json(global oder projektlokal) ein. OpenCode fetched die Dateien automatisch, kombiniert sie mitAGENTS.mdund injiziert sie in den System-Prompt.{ "$schema": "https://opencode.ai/config.json", "instructions": [ "https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/llm-calling-rules.md", "https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/browser-automation-mandate.md", "https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/technology-sovereignty.md", "https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/google-workspace-matrix.md", "https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/parallel-exploration-mandate.md", "https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/self-healing-no-silo.md", "https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/debugging-issue-tracking.md", "https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/visual-evidence-mandate.md", "https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/n8n-inbound-governance.md", "https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/a2a-creator-deployment.md", "https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/fleet-sync-infrastructure.md", "https://raw.githubusercontent.com/OpenSIN-AI/Infra-SIN-OpenCode-Stack/main/docs/instructions/global-brain-pcpm.md" ] }✅ OpenCode Runtime-Verhalten:
AGENTS.mdkombiniertdocs/instructions/und nutze relative Pfade als Fallback🛠 Phase 3: Automatische Zerlegung (Split-Script)
Führe dieses Script im Root deines Repos aus. Es erstellt
docs/instructions/, extrahiert die Sektionen aus deiner aktuellenAGENTS.mdund committet sie.🔍 Phase 4: Validierung & Runtime-Check
📌 Wichtige Runtime-Hinweise
instructionsergänzenAGENTS.md+ alleinstructions= finaler System-Prompt. Reihenfolge: Global → Local → Instructions"docs/instructions/llm-calling-rules.md"als Fallbackinstructions-Array steht. Nicht genutzte Regeln = 0 Token✅ Ergebnis
instructions-Remote-Feature, keine@file.md-Workarounds