agentsclimarketplace

Create a2a sin agent

Skill OpenSIN-AI/OpenSIN-Skills/operations/agent-creation/create-a2a-sin-agent

ULTIMATE A2A creation skill β€” creates SIN Agents, SIN Teams, and SIN Coders from a single unified workflow. Merges create-a2a, create-a2a-team, and create-a2a-sin-coder into one ultimate skill. Use for ANY new A2A Agent, Team Manager, or Coder Agent.From its SKILL.md

Install
npx -y skills add OpenSIN-AI/OpenSIN-Skills --skill create-a2a-sin-agent

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

7.8 KB, ~2.4k tokens by cl100k_base, as published. Nobody here has run it

πŸ‘‘ ULTIMATE A2A SIN Factory β€” Agents + Teams + Coders

OpenCode mirror: sourced from ~/.config/opencode/skills/create-a2a-sin-agent Dieser Skill ersetzt: /create-a2a, /create-a2a-team, /create-a2a-sin-coder


πŸ“‹ Was dieser Skill kann

ErstelleZweckWorkflow
SIN AgentEinzelner A2A Agent (z.B. A2A-SIN-Google-Docs)Template-SIN-Agent
SIN TeamTeam Manager (z.B. Team-SIN-Survey)Template-SIN-Team
SIN CoderEntwickler-Agent (z.B. A2A-SIN-Frontend)Template-SIN-Agent + Coder-Mandate

Alle drei nutzen jetzt EIN Template: Template-SIN-Agent (fusioniert aus Template-SIN-Agent, Template-SIN-Agent-Worker, Template-SIN-Worker).


🧠 Agent Configuration System (v5)

Jeder neue Agent wird dem richtigen A2A Team zugeordnet und erbt dessen Modell-Konfiguration:

Team-Register (oh-my-sin.json)

TeamManagerConfig-DateiPrimaer-Modell
Team CodingA2A-SIN-Zeusmy-sin-team-code.jsonclaude-sonnet-4-6
Team WorkerA2A-SIN-Team-Workermy-sin-team-worker.jsongemini-3-flash
Team InfrastructureA2A-SIN-Team-Infrastructuremy-sin-team-infrastructure.jsongpt-5.4

Subagenten-Modelle (oh-my-openagent.json)

SubagentModellFallback-Kette
explorenvidia-nim/stepfun-ai/step-3.5-flashgemini-3-flash β†’ gpt-5.4 β†’ gemini-3.1-pro β†’ claude-sonnet β†’ qwen
librariannvidia-nim/stepfun-ai/step-3.5-flashgemini-3-flash β†’ gpt-5.4 β†’ gemini-3.1-pro β†’ claude-sonnet β†’ qwen

PARALLEL-EXPLORATION MANDATE (PRIORITY -4.5)

Bei grossen Codebases (100k+ Zeilen) MUSS der Agent 5-10 parallele explore + 5-10 librarian-Agenten starten. Ein einzelner Agent liefert nur ~20% Abdeckung.


πŸ› οΈ Workflow 1: SIN Agent erstellen

# 1. Spec erstellen
cp agent-spec.example.json my-agent-spec.json
# Bearbeite: name, slug, team, manager, description, capabilities

# 2. Agent generieren
node /Users/jeremy/dev/OpenSIN-backend/scripts/create-sin-a2a-agent.mjs --spec /abs/path/to/my-agent-spec.json

# 3. Dashboard Page scaffolen
node /Users/jeremy/dev/OpenSIN-backend/scripts/scaffold-a2a-agent-page.mjs --slug sin-<agentname>

# 4. Consumer Auth einrichten
~/.config/opencode/skills/create-a2a-sin-agent/scripts/setup_consumer_auth.sh /abs/path/to/new-agent-root

# 5. MCP Surface generieren
MCP_SCRIPTS=~/.config/opencode/skills/create-a2a-mcp/scripts
node $MCP_SCRIPTS/mcp-scaffold.mjs --agent-root /abs/path/to/new-agent-root --slug sin-<agentname>

# 6. Dependencies pruefen
node ~/.config/opencode/skills/create-a2a-sin-agent/scripts/a2a-preflight.mjs --agent-root /abs/path/to/new-agent-root --targets deps,install,assets,hf

Pflicht-Dateien (jeder SIN Agent)

DateiZweck
agent.jsonIdentitaet, capabilities, marketplace object
A2A-CARD.mdAgent Card fuer Discovery
mcp-config.jsonMCP Server Konfiguration
clients/opencode-mcp.jsonOpenCode MCP Client
src/runtime.tsRuntime mit opencode CLI Integration
src/mcp-server.tsMCP Server Oberflaeche
src/a2a-http.tsA2A HTTP Endpoint
src/metadata.tsMetadata mit marketplace object
src/cli.tsNative CLI Entry Point
scripts/hf_pull_script.pyToken Pull Script (Producer-Consumer)
scripts/complete-install.shIdempotenter Installations-Script
governance/repo-governance.jsonRepo Governance
governance/pr-watcher.jsonPR Watcher Contract
platforms/registry.jsonPlatform Registry
n8n-workflows/inbound-intake.jsonInbound Work Intake
docs/03_ops/inbound-intake.mdInbound Intake Doku
scripts/watch-pr-feedback.shPR Feedback Watcher

πŸ› οΈ Workflow 2: SIN Team erstellen

# Team generieren (CLI-first, 90% weniger Tokens!)
~/.config/opencode/skills/create-a2a-sin-agent/scripts/generate-team.sh \
  sin-team-<name> \
  "Team - <Name>" \
  "SIN-Team-<Name>" \
  "Beschreibung des Teams"

Team Manager Pflicht-Dateien

DateiZweck
agent.jsonTeam Manager Identitaet
A2A-CARD.mdTeam Card
src/manager.tsHermes Dispatch Logik
src/cli.tsNative CLI

πŸ› οΈ Workflow 3: SIN Coder erstellen

Coder Agents nutzen denselben Workflow wie SIN Agents, ZUSAETZLICH mit:

Coder-spezifische Mandate

  1. GitHub App Bot Lane: githubBot.enabled=true mit eigenem Bot-Persona
  2. LangGraph.js Supervisor: Multi-Agent Graph mit CodeGenerationNode, TestingNode, IntegrationNode
  3. Master Boss Coder Prompt: CEO-level Identitaet mit 10 Millionen Developer-Wissen
  4. Browser + GUI Testing: sinInChrome + sin-computer-use Integration
  5. 7-Layer Security Hardening: Pre-commit/pre-push hooks, leak prevention CI
  6. Inbound-Work + PR-Watcher Contract: Ab Tag 1

Coder-spezifische Dateien

DateiZweck
config/github-app-routing.example.jsonGitHub App Bot Routing
governance/coder-dispatch-matrix.jsonCoder Spezialisierungs-Matrix
.githooks/pre-commitSecret + External Code Detection
.githooks/pre-pushCommit Message Leak Detection
.secrets.baselineDetect-Secrets Baseline
.github/workflows/leak-prevention.ymlCI Security Scanning

🚨 LLM-AUFRUF PFLICHT-ARCHITEKTUR

JEDER A2A Agent ruft LLMs AUSSCHLIESSLICH ueber die opencode CLI auf:

import subprocess, json

def call_llm(prompt: str, timeout: int = 120) -> str:
    result = subprocess.run(
        ["opencode", "run", prompt, "--format", "json"],
        capture_output=True, text=True, timeout=timeout,
    )
    parts = []
    for line in result.stdout.splitlines():
        try:
            ev = json.loads(line)
            if ev.get("type") == "text":
                parts.append(ev.get("part", {}).get("text", ""))
        except json.JSONDecodeError:
            pass
    return "".join(parts).strip()

REGELN β€” SOFORTIGER BAN BEI VERSTOSS:

  • opencode run --format json = EINZIG ERLAUBT
  • OCI-Proxy direkt = VERBOTEN
  • Gemini API direkt = PERMANENT VERBOTEN
  • Anthropic API direkt = PERMANENT VERBOTEN
  • Modell: openai/gpt-5.4 + --fallback nvidia/minimaxai/minimax-m2.7

πŸ—οΈ Unified Template: Template-SIN-Agent

Drei Templates wurden zu EINEM fusioniert:

  • Template-SIN-Agent (Basis)
  • Template-SIN-Agent-Worker (Worker)
  • Template-SIN-Worker (Minimal)

β†’ Jetzt: Template-SIN-Agent (all-in-one)

Jeder neue Agent nutzt dieses eine Template und konfiguriert sich via agent.json:

  • type: "agent" β€” Standard Agent
  • type: "worker" β€” Worker Agent (minimal)
  • type: "coder" β€” Coder Agent (mit LangGraph + Security)
  • type: "team-manager" β€” Team Manager (mit Hermes Dispatch)

πŸ›‘οΈ Required Validations

Vor "complete" MUessen ALLE bestehen:

npm --prefix /abs/path/to/agent-root run build
node /abs/path/to/agent-root/dist/src/cli.js run-action '{"action":"agent.help"}'
node /abs/path/to/agent-root/dist/src/cli.js print-card
cd /Users/jeremy/dev/OpenSIN-backend && npm run test:a2a:fleet
cd /Users/jeremy/dev/OpenSIN-backend && npm run sync:a2a:control-plane-projection
node ~/.config/opencode/skills/create-a2a-sin-agent/scripts/a2a-verify-hf-vm-readiness.mjs \
  --agent-root /abs/path/to/agent-root \
  --health-url https://<public>/health

πŸ“¦ Vollstaendige Dokumentation

β†’ Agent Configuration Guide


Letzte Aktualisierung: 2026-04-14 | ULTIMATE SKILL v1.0

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,144. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.