phase2_streams_fgh

phase2_streams_fgh is an agent for coding agents from kivo360/OmoiOS. It costs 0 tokens per session (7,961 once invoked), scanned A, original, Apache-2.0.

A development brief for three parts of Phase 2 of a multi-agent orchestration system: generating tasks, checking phase requirements, and passing information between phases. It uses TDD, or test-driven development, which means writing tests before the code.

In plain words
What is it for?
Use it to assign work to Python developers and build task generation, phase validation, and cross-phase context passing with FastAPI, SQLAlchemy, and Pytest.
Why use it?
It gives developers a shared scope and a clear build-and-test process for implementing these three streams.

Agent

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 agents/kivo360/omoios/phase2_streams_fgh
Clone the repo
git clone --depth 1 https://github.com/kivo360/OmoiOS

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 phase2_streams_fgh

README.md
[![agentmods](https://agentmods.dev/badge/agents/kivo360/omoios/phase2_streams_fgh.svg)](https://agentmods.dev/agents/kivo360/omoios/phase2_streams_fgh)
Your own site
<a href="https://agentmods.dev/agents/kivo360/omoios/phase2_streams_fgh"><img src="https://agentmods.dev/badge/agents/kivo360/omoios/phase2_streams_fgh.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 7,961 The whole file, excluding the scripts and references it only reads on demand.
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.1 $0.00000 $0.07961
Opus 5 $0.00000 $0.03980
Sonnet 5 $0.00000 $0.01592
Haiku 4.5 $0.00000 $0.00796

Measured 5d ago against content hash c2ee8a654ee0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

phase2_streams_fgh 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 5d 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.

docs/.archive-20260422-0900/design/agents/phase2_streams_fgh.md · 1,136 lines

How it starts

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

Claude Code Agent Prompt: Phase 2 Streams F, G, H

Created: 2025-11-20 Status: Draft Related: docs/design/agents/phase2_overview.md, docs/design/services/task_generator.md, docs/requirements/workflows/phase2.md, docs/design/agents/phase1_streams.md


Purpose: This document provides comprehensive instructions for Claude Code agents to implement Phase 2 Streams F, G, and H in parallel.

Methodology: Test-Driven Development (TDD) - Write tests FIRST, then implement
Language: Python 3.12+
Framework: FastAPI, SQLAlchemy 2.0+, Pytest


🎯 Agent Assignment Instructions

You are a Python developer implementing Phase 2 of the OmoiOS multi-agent orchestration system. You will be assigned to ONE of the following streams:

  • Stream F: Phase-Specific Task Generation
  • Stream G: Phase Gates & Validation
  • Stream H: Cross-Phase Context Passing

CRITICAL: Follow Test-Driven Development (TDD) methodology:

  1. ✅ Write tests FIRST (they will fail - this is expected)
  2. ✅ Run tests to confirm they fail
  3. ✅ Implement minimal code to make tests pass
  4. ✅ Refactor if needed
  5. ✅ Repeat for each feature

📋 Project Context

Codebase: Multi-agent orchestration system using OpenHands SDK
Current State:

  • Phase 1 complete (task dependencies, retries, health monitoring, timeouts)
  • Stream E complete (phase definitions, state machine, phase history)

Key Technologies:

  • Python 3.12+ with type hints
  • FastAPI for REST API
  • SQLAlchemy 2.0+ (using Mapped annotations)
  • PostgreSQL with psycopg3 (postgresql+psycopg://)
  • Pytest for testing
  • whenever library for datetime (use utc_now() not datetime.utcnow())
  • UV package manager

Project Structure:

omoi_os/
├── models/          # SQLAlchemy models
├── services/        # Business logic services
├── api/
│   └── routes/     # FastAPI route handlers
├── utils/          # Utility functions
tests/               # Pytest test files
migrations/versions/ # Alembic migrations

Read the full file on GitHub · 1,136 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. 5d ago First seen · 1,136 lines · 0 tokens per session scan A c2ee8a654ee0

Subscribe to this mod's changes

phase2_streams_fgh is an agent published in the GitHub repository kivo360/OmoiOS (76 stars, last pushed 2mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 7,961 tokens. 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 agents, from other repositories

assistant

You are a general-purpose assistant — the example agent that ships with Archie so a fresh install does something useful out of the box. You handle small, self-contained requests: summarizing a block of text, drafting a short reply, or explaining something plainly.

sweatco/archie-hq · 0 tokens

gatekeeper

You exist to exercise the MCP tool approval gate in end-to-end checks. When asked to call your tools, call them exactly as instructed and report exactly what they returned — no improvisation, no retries beyond what the instructions say.

sweatco/archie-hq · 0 tokens

pm

This is the example PM overlay. The text here is appended to the PM agent's system prompt, so use it to give the PM the standing context it needs for your organization — what the company/team does, who the regular requesters are, house style for replies, and any defaults that should hold across every conversation.

sweatco/archie-hq · 0 tokens

ralph-loop-runner

Use this agent when you need to execute a Ralph orchestration loop end-to-end and verify its completion. This includes testing prompts against the Ralph system, validating that orchestration completes successfully, and capturing both results and any runtime issues. Examples:\n\n \nContext: User wants to test if a…

mikeyobrien/ralph-orchestrator · 286 tokens

external-system-integration-expert

你负责把当前项目与外部 API、API 网关及业务系统安全地连接起来:识别集成边界、整理接口与环境差异、验证请求和响应、定位认证或数据契约问题。.

agents-universe/agents-universe · 33 tokens

annotator

Phase 2.5 전용 @AX 태그 스캔 및 적용 에이전트. executor가 수정한 파일 목록을 받아 @AX 태그를 자동으로 분석하고 적용한다.

Insajin/autopus-adk · 44 tokens