跳到正文
cccskills
免费在 GitHub 公开

omos-init

Use this skill to document a project's existing capabilities as OpenSpec baseline specs. It researches the code, confirms a capability map with the user, drafts and critiques specifications, then validates them with the OpenSpec CLI.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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)

实测评分 未实测

查看安装方法

适用场景

  • Documenting a project's current behavior in OpenSpec
  • Creating baseline specs for a newly adopted project
  • Extending existing specs with uncovered capabilities

包含的文件(1)

  • SKILL.md4.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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 的隐私权政策和服务条款。

同一仓库的技能

Plan worthwhile local tasks by checking dependencies, effects, resources, and platform boundaries, then execute the exact approved plan. It can use safe parallel work or suitable Apple-silicon backends when the project exposes them.

中文简介正在准备中。当前显示英语简介。

  • Speed up independent local build or test steps
  • Plan a task with several dependency-linked operations
  • Choose an Apple-silicon backend for supported numerical or media work
hashgraph-online/awesome-codex-plugins14222026年10月27日 更新

add

免费

Record deferred engineering decisions and temporary workarounds in a debt registry, with context such as effort, ongoing cost, affected area, and payoff trigger. Entries receive short labels so they can be reviewed or dropped later.

中文简介正在准备中。当前显示英语简介。

  • Logging a TODO or unfinished implementation
  • Recording a temporary default or bypassed check
  • Tracking a swallowed error or loosened type
hashgraph-online/awesome-codex-plugins14222026年10月28日 更新

Generate or compare AI agent code for LangChain, EINO, AutoGen, AgentScope, and CrewAI using framework-specific templates, API mappings, conventions, and project structures. Reference files include verification dates to help identify potentially outdated guidance.

中文简介正在准备中。当前显示英语简介。

  • Creating an agent project for a chosen framework
  • Comparing APIs across supported agent frameworks
  • Referencing framework-specific tool and memory patterns
hashgraph-online/awesome-codex-plugins14222026年10月26日 更新

Investigate a reproducible bug, test failure, or unexpected page behavior, then make a narrowly scoped fix. The workflow calls for a regression test before changing code, verifies the fix, and reports remaining risks and evidence while avoiding unrelated refactoring or feature work.

中文简介正在准备中。当前显示英语简介。

  • Finding the cause of a failing test
  • Fixing an unexpected page or feature behavior
  • Adding a regression test before a minimal code change
hashgraph-online/awesome-codex-plugins14222026年10月28日 更新

Build an AI agent project through six collaborative stages, from requirements and architecture to tools, prompts, code generation, and verification. Start framework-independent, then generate a runnable project for frameworks such as LangChain, EINO, AutoGen, AgentScope, or CrewAI.

中文简介正在准备中。当前显示英语简介。

  • Designing an AI agent from a business need
  • Generating a runnable agent project
  • Planning tools, prompts, and orchestration
hashgraph-online/awesome-codex-plugins14222026年10月26日 更新

Audit a project or learning workflow for scope drift, conflicting plans, inconsistent names, and code quality concerns. The skill reads project files and code, then reports evidence, severity, and suggested next steps without changing files.

中文简介正在准备中。当前显示英语简介。

  • Checking whether project work has drifted from its agreed scope
  • Finding conflicting plans or inconsistent naming
  • Reviewing code against project decisions without editing it
hashgraph-online/awesome-codex-plugins14222026年10月28日 更新

查看 hashgraph-online 的全部技能

报告此技能的问题