本文へ移動
cccskills
無料GitHub で公開日本語紹介

omos-init

コードベースを調査して、現在備わっている機能をOpenSpecの仕様書にまとめ、内容の確認と検証まで進めます。既存仕様の扱いも確認しながら初期仕様を整えます。

原文原文の説明を見る

Bootstrap baseline specs via $oh-my-openspec:omos-init — research the codebase, agree on capabilities, write openspec/specs/** describing what exists, critique and validate. Invoke via $oh-my-openspec:omos-init.

hashgraph-online/awesome-codex-pluginsスター 1,422(GitHub 1,422 + cccskills 0)

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • 現状の機能を仕様書にまとめたいとき
  • OpenSpec導入時の初期仕様を作りたいとき
  • 既存仕様に不足する機能を追加したいとき

日本語での紹介

できること

コードベースを調べ、現在のプログラムが実際に備えている機能を整理して、OpenSpecの初期仕様書を作成します。調査結果から機能の一覧を組み立て、利用者に確認したうえで、機能ごとの仕様を openspec/specs/ にまとめます。仕様には目的、要件、動作例を記し、内容の批評とOpenSpec CLIによる検証も行います。まだ実装されていない将来の希望ではなく、確認できた現状を記述するためのスキルです。

こんなときに便利

既存プロジェクトの振る舞いを仕様として残したいときや、OpenSpecを使い始めるための基準となる仕様を用意したいときに向いています。すでに仕様がある場合は、既存ファイルを変更せず、不足する機能だけを追加するか、作業を止めるか確認します。

使い方の例

  • 「このプロジェクトの現在の機能を調べ、初期仕様を作ってください」
  • 「決済まわりを重点的に調査して、既存仕様にない機能を追加してください」

注意点

OpenSpec CLIが必要です。利用できない場合はインストールするか尋ね、明示的な了承がなければ進めません。プロジェクトに openspec/ がない場合も初期化の了承が必要です。仕様の追加先は openspec/specs/ のみで、既存仕様の上書きには個別の了承が必要です。確認できない動作は推測で要件にせず、検証を通してから結果を報告します。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(1)

  • SKILL.md4.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Codex host adaptation (generated from skills/omos-init/SKILL.md — source of truth stays there):

  • Dispatch roles with spawn_agent / send_input / wait_agent / close_agent. Subagents are asynchronous (default up to 6 concurrent threads), so a wave is one batch of spawn_agent calls followed by wait_agent collection — never poll.
  • openspec_validate is provided by this plugin's bundled MCP server as mcp__openspec__openspec_validate — call it with cwd set to your session's project directory (the change filter optional); the VALID/INVALID/UNAVAILABLE/ERROR one-look report format is identical to OpenCode.
  • This skill is invoked as a $oh-my-openspec:omos-init mention (or picked from /skills). There is no argument substitution: arguments arrive as plain text in the user's message after the mention — read them from there; when absent, follow this skill's elicitation steps.
  • Roles run from ~/.codex/agents/omos-*.toml. If spawn_agent reports an unknown agent, stop and tell the user to run $oh-my-openspec:omos-setup once.

omos-init

Form the project's initial spec: baseline capability specs under openspec/specs/ describing what the code does today. The orchestrator dispatches, never drafts. You never run git write commands.

Flow

1. Preconditions

  • Check the CLI: call openspec_validate once. UNAVAILABLE → offer to install it now: run npm install -g @fission-ai/openspec (suggest brew install openspec on macOS when the user prefers it) — a global install is a system change, so proceed only on an explicit yes. Installed → re-check and continue. Declined → stop: unlike $oh-my-openspec:omos-plan, this command cannot degrade — bootstrapping specs without the mechanical gate is how baselines rot.
  • Check the project: openspec/ must exist. Missing → ask consent, run openspec init --tools none (project artifacts only; the plugin already provides every OpenSpec skill). Declined → stop.

2. Baseline state

Read openspec/specs/.

  • Empty → proceed to discovery.
  • Non-empty → report existing capabilities; ask: extend (add only missing capabilities, never touch existing spec files) or stop. Extend mode: discovery skips covered capabilities.

3. Capability discovery

Dispatch omos-researcher subagents in parallel — one per suspected area (entry points, packages, services; use the user's Focus areas: when given). Each reports observable behaviors with path:line evidence.

Merge findings into a capability map: <capability-name>: <one-line purpose> — <key evidence>. Propose names as kebab-case nouns of what the system does, sized so each has 2–6 requirements.

4. Confirm the map

Present the map; interview until the user confirms add/remove/rename — at most 5 questions per round, each with a recommendation. A capability no researcher evidenced is dropped, not guessed.

5. Draft baselines

Dispatch omos-planner with MODE: baseline: the confirmed map plus the research facts. It writes openspec/specs/<capability>/spec.md — ## Purpose (a real paragraph, not a stub), ## Requirements with ### Requirement: SHALL statements and #### Scenario: WHEN/THEN blocks describing current, observed behavior only. Aspirations belong in $oh-my-openspec:omos-plan, not here.

6. Critique loop (≤3 rounds)

Dispatch omos-critic in spec-review mode over the new files.

  • NEEDS-FIX → omos-planner revises the exact findings; repeat.
  • CLEAN → continue. Still NEEDS-FIX after 3 rounds → present open findings, ask whether to accept or stop.
  • Mechanical INVALID lines from openspec_validate are always fixed first.

7. Approval

Run openspec_validate (all specs and changes) and present: capability list with requirement/scenario counts, gate output verbatim, every UNVERIFIED line the critic flagged.

  • Confirmed → final report: files, counts, gate result; next step — future work goes through $oh-my-openspec:omos-plan <idea>. Stop.
  • Rejected → collect the fix list, go to §5.

Guardrails

  • Writes land only in openspec/specs/ — no changes/, no project code.
  • Existing spec files are never overwritten without per-file consent.
  • Baseline = what the code does; UNVERIFIED beats an invented SHALL.
  • Never commit, push, or stage anything.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

accelerate-local-work

無料概要あり

複数の独立したローカル作業を安全性と依存関係を確認して実行計画にまとめ、対応環境では並列化やAppleシリコン向け処理の選択を支援します。

  • ビルドやテストの独立した処理を並列化したいとき
  • 複数段階の作業計画を安全に実行したいとき
  • Appleシリコン向け処理の候補を確認したいとき
hashgraph-online/awesome-codex-plugins1,4222026年10月27日 更新

add

無料概要あり

将来の読み手が理由を知りたくなる未決定や暫定対応を、技術的負債として登録し、後から項目ごとに整理できるスキルです。

  • 暫定対応を負債として記録したいとき
  • TODOや未完了作業を管理したいとき
  • 負債の影響箇所や解消条件を残したいとき
hashgraph-online/awesome-codex-plugins1,4222026年10月28日 更新

adk-framework-adapters

無料概要あり

LangChain、EINO、AutoGen、AgentScope、CrewAI向けのコード雛形やAPI対応、プロジェクト構成を参照し、バージョン確認を踏まえてAIエージェント開発を支援します。

  • 指定したフレームワークで雛形を作りたいとき
  • 複数のエージェントフレームワークを比較したいとき
  • ツール定義やメモリ設定の例を参照したいとき
hashgraph-online/awesome-codex-plugins1,4222026年10月26日 更新

agent-debug-fixer

無料概要あり

エラーやテスト失敗、画面の異常などを再現して原因を特定し、テストで確認しながら影響を絞った修正を進めるデバッグ用スキルです。

  • テスト失敗の根本原因を調べたいとき
  • 画面や機能の不具合を小さく修正したいとき
  • 再発防止のテストを先に用意したいとき
hashgraph-online/awesome-codex-plugins1,4222026年10月28日 更新

agent-dev-workshop

無料概要あり

対話を通じてAI Agentの要件整理から設計、ツール定義、コード生成、動作確認まで6段階で進め、実行可能なプロジェクトを作ります。

  • Agentの要件と設計を整理したいとき
  • 実行可能なAgentの試作品を作りたいとき
  • ツールやPromptの構成を決めたいとき
hashgraph-online/awesome-codex-plugins1,4222026年10月26日 更新

agent-drift-auditor

無料概要あり

プロジェクトの範囲拡大や作業の分岐、命名・設計の不整合を読み取り専用で点検し、根拠と深刻度を添えた診断や、続行・分割・一時停止などの判断材料を報告します。

  • 作業が当初の範囲からずれていないか調べたいとき
  • 複数の計画や設計の食い違いを見つけたいとき
  • 変更せずにコードと決定事項を点検したいとき
hashgraph-online/awesome-codex-plugins1,4222026年10月28日 更新

hashgraph-online のスキルをすべて見る

このスキルの問題を報告する