ワンクリックで
generate-os
Assemble all domain inputs and component designs into a complete, deployable Claude Code agent OS repository.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Assemble all domain inputs and component designs into a complete, deployable Claude Code agent OS repository.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Audit a generated OS repository for completeness, consistency, and architectural integrity against the 15 design principles and 23-item checklist.
Transplant a skill, command, or capability from one agentic-system repo into another via a 5-phase gated protocol (inventory → import → localize → wire → verify). Use when grafting a feature from an upstream repo that has its own dependencies, platform assumptions, or upstream-specific file references that need adapting before the feature will work in the destination repo. Not for copying a self-contained file — use only when the feature has a dependency footprint and the destination repo has its own conventions the import must respect.
Design multi-dimensional evaluation rubrics with calibrated scales, thresholds, and function-adaptive weights.
Identify who evaluates the user's output, what each audience prioritizes, and where their priorities conflict.
Define the user context model — identity axes, context files, persona variants, and privacy rules for the target OS.
Design compounding feedback loops — what data accumulates, what reads it, and how the system gets smarter with use.
| name | generate-os |
| description | Assemble all domain inputs and component designs into a complete, deployable Claude Code agent OS repository. |
domain-input/ files (domain-workflow, audiences, scoring-rubrics, identity-model, quality-contract, domain-knowledge, feedback-loops, data-contract, artifact-pipeline, data-sources, backtesting-library)output/designs/skill-designs.mdoutput/designs/sub-agent-designs.mdoutput/designs/loop-designs.mdoutput/designs/batch-designs.md (if batch architecture designed)output/designs/localization-designs.md (if localization designed)domain-input/backtesting-library.md (if backtesting designed)reference/BLUEPRINT.md (master architectural specification — read FIRST)reference/kernel-anatomy.md (CLAUDE.md template)reference/skill-anatomy.md (SKILL.md template)reference/sub-agent-anatomy.md (sub-agent template)reference/architecture-patterns.md (14 design principles)reference/artifact-pipeline-anatomy.md (artifact template)reference/batch-architecture-anatomy.md (batch template)reference/data-contract-anatomy.md (data contract template)reference/backtesting-anatomy.md (backtesting template)Before generating, verify all inputs exist and are substantive:
Checking domain-input/:
✓/✗ domain-workflow.md — [filled / empty / partial]
✓/✗ audiences.md — [filled / empty / partial]
✓/✗ scoring-rubrics.md — [filled / empty / partial]
✓/✗ identity-model.md — [filled / empty / partial]
✓/✗ quality-contract.md — [filled / empty / partial]
✓/✗ domain-knowledge.md — [filled / empty / partial]
✓/✗ feedback-loops.md — [filled / empty / partial]
✓/✗ data-contract.md — [filled / empty / partial]
✓/✗ artifact-pipeline.md — [filled / empty / partial / N/A]
✓/✗ data-sources.md — [filled / empty / partial / N/A]
✓/✗ backtesting-library.md — [filled / empty / partial / N/A]
Checking output/designs/:
✓/✗ skill-designs.md — [exists / missing]
✓/✗ sub-agent-designs.md — [exists / missing]
✓/✗ loop-designs.md — [exists / missing]
✓/✗ batch-designs.md — [exists / missing / N/A]
✓/✗ localization-designs.md — [exists / missing / N/A]
If any required file is missing or empty, STOP and tell the designer which skill to run. If any file is partial, WARN and proceed — note which sections may be thin. artifact-pipeline.md, data-sources.md, backtesting-library.md, batch-designs.md, and localization-designs.md are optional — mark N/A if the domain doesn't need them.
Before generating anything, read reference/BLUEPRINT.md completely. It defines:
Create the folder structure at output/[domain]-os/ using the skeleton from BLUEPRINT.md Section 7:
[domain]-os/
├── CLAUDE.md
├── DATA_CONTRACT.md
├── README.md
├── START-HERE.md
├── .gitignore
├── .claude/skills/
│ └── [one folder per skill]/SKILL.md
├── context-library/
│ └── [one file per identity axis]
├── config/
│ ├── defaults.md
│ └── overrides.md
├── sub-agents/
│ └── [one file per reviewer]
├── insider-data/
│ ├── [domain-frameworks].md
│ └── [target-intel]/
│ └── index.md
├── cowork-tasks/
│ └── [briefing parts]
├── templates/
│ └── [scaffolding + artifact templates]
├── setup/
│ ├── installation-guide.md
│ └── first-session-checklist.md
├── batch/ # [if batch-designs.md exists]
│ ├── batch-prompt.md
│ ├── batch-runner.sh
│ └── batch-state.tsv
├── modes/ # [if localization-designs.md exists]
│ └── [lang]/
├── backtesting/ # [if backtesting-library.md exists]
│ ├── library.md
│ ├── cases/
│ │ └── .gitkeep
│ └── results/
│ └── .gitkeep
└── [output-folder]/
Use reference/kernel-anatomy.md as the structural template. The kernel must contain ALL of these sections:
Critical kernel rules (from BLUEPRINT.md):
From domain-input/data-contract.md, generate the OS's data contract:
From domain-input/identity-model.md and domain-input/quality-contract.md:
For each skill from output/designs/skill-designs.md, generate a full SKILL.md using reference/skill-anatomy.md.
Each SKILL.md must contain:
Optional sections (add when applicable):
Same as v1.0. Use reference/sub-agent-anatomy.md as template. Enforce adversarial principle.
If sub-agent reviews non-text artifacts, add "Artifact Review" section with format-specific checks.
Same as v1.0. Generate empty templates with placeholder examples. Include ownership classification from data-contract.md.
If domain-input/artifact-pipeline.md exists and is filled:
For each artifact type:
If output/designs/batch-designs.md exists:
If output/designs/localization-designs.md exists:
For each language:
If domain-input/backtesting-library.md exists and is filled:
backtesting/library.md: Empty library index template with:
backtesting/cases/.gitkeep: Empty directory for user to populate with case subdirectories
backtesting/results/.gitkeep: Empty directory for system-generated comparison reports
Update DATA_CONTRACT.md: Add backtesting file classifications:
backtesting/library.md, backtesting/cases/*/input.md, backtesting/cases/*/ground-truth.mdbacktesting/results/*.mdUpdate CLAUDE.md: Add backtesting library section with:
Update backtestable skills: Add "Backtesting Integration" section to each backtestable SKILL.md declaring:
Update START-HERE.md and setup/: Add backtesting library setup section with:
Same as v1.0. Split into 2-3 parts. Include quality gate, persona detection, scheduled cadence.
After generating all files, run the BLUEPRINT.md Section 8 Generation Checklist — all 23 items:
Core Architecture:
Infrastructure: 17. [ ] DATA_CONTRACT.md exists classifying every file. 18. [ ] Layered configuration with defaults and overrides. 19. [ ] Artifact pipelines declared for non-text output skills. 20. [ ] External data sources have trust levels. 21. [ ] Batch operations (if applicable) are resumable. 22. [ ] Orthogonal evaluation axes — independent dimensions scored independently. 23. [ ] Backtesting library (if applicable) — cases structure, ordering, live reference, onboarding.
Additionally, verify structural integrity:
Report any gaps found.
The complete OS repository at output/[domain]-os/.
Tell the designer:
OS generated at output/[domain]-os/
Repository contents:
- CLAUDE.md (kernel): [line count]
- DATA_CONTRACT.md: [N] files classified
- Skills: [N] files in .claude/skills/
- Sub-agents: [N] files in sub-agents/
- Context templates: [N] files in context-library/
- Config: defaults.md + overrides.md
- Briefing: [N] parts in cowork-tasks/
- Artifact templates: [N] in templates/ (if applicable)
- Batch infrastructure: [present / not applicable]
- Backtesting library: [present with N backtestable skills / not applicable]
- Localized modes: [N] languages (if applicable)
- Supporting files: README, START-HERE, DATA_CONTRACT, setup guide
Self-verification: [PASS / N issues found]
[list any issues]
Next: Run /review-os for a thorough architectural audit.
Good generation:
Bad generation: