ワンクリックで
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)output/designs/skill-designs.mdoutput/designs/sub-agent-designs.mdoutput/designs/loop-designs.mdreference/BLUEPRINT.md (master architectural specification — read FIRST, governs all generation)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 (design principles)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]
Checking output/designs/:
✓/✗ skill-designs.md — [exists / missing]
✓/✗ sub-agent-designs.md — [exists / missing]
✓/✗ loop-designs.md — [exists / missing]
If any required file is missing or empty, STOP and tell the designer which skill to run to fill it.
If any file is partial, WARN and proceed — note which sections of the generated OS may be thin.
Before generating anything, read reference/BLUEPRINT.md completely. This is the master specification. It defines:
Use Section 7's skeleton as the literal folder structure. Use Section 4's orchestration model to wire skills together. Use Section 8's checklist as the final verification step.
Create the folder structure at output/[domain]-os/ using the skeleton from BLUEPRINT.md Section 7:
[domain]-os/
├── CLAUDE.md
├── README.md
├── START-HERE.md
├── .gitignore
├── .claude/skills/
│ └── [one folder per skill]/SKILL.md
├── context-library/
│ └── [one file per identity axis]
├── sub-agents/
│ └── [one file per reviewer]
├── insider-data/
│ ├── [domain-frameworks].md
│ └── [target-intel]/
│ └── index.md
├── cowork-tasks/
│ └── [briefing parts]
├── templates/
│ └── [scaffolding files]
├── setup/
│ ├── installation-guide.md
│ └── first-session-checklist.md
└── [output-folder]/
This is the most critical file. Use reference/kernel-anatomy.md as the structural template.
The kernel must conform to BLUEPRINT.md Section 7 (kernel structure) and contain ALL of these sections:
Critical kernel rules (from BLUEPRINT.md Sections 4-5):
For each skill from output/designs/skill-designs.md, generate a full SKILL.md file using reference/skill-anatomy.md as the template.
Each SKILL.md must contain:
For each skill, enforce:
For each reviewer from output/designs/sub-agent-designs.md, generate a full markdown file using reference/sub-agent-anatomy.md as the template.
Each sub-agent must contain:
Enforce the adversarial principle: The process section of each sub-agent must evaluate from a DIFFERENT perspective than the creation skill it reviews. If you cannot articulate the conflict, the sub-agent needs redesign.
CRITICAL DESIGN BOUNDARY: The factory generates the OS. The OS handles its own user personalization. These are two separate systems with no runtime relationship.
The factory's job is to produce Layer 1 (domain knowledge) AND the machinery the OS needs to handle Layer 2 (user personalization) on its own. That machinery includes: context-library templates, empty-context detection in every skill, the zero-setup entry point, START-HERE.md, and setup/. The factory generates all of this, but the factory never interacts with end users. The generated OS does.
When an end user opens the generated OS for the first time, the OS itself says "Your experience library is empty. Run Help me build my experience library first." That message, that flow, that skill — the factory generated them. But the factory isn't running them. The OS is.
For each identity axis from domain-input/identity-model.md, generate a template file in context-library/:
What the template contains:
<!-- Fill this file with YOUR data. The OS reads this to personalize all output. -->What the template does NOT contain:
Template quality test: A new user opening this file should immediately understand (1) what data to put here, (2) what format to use, (3) how detailed to be, and (4) why this file matters. If they need to read documentation to understand the template, it's too sparse. If they confuse placeholder examples for real data, the placeholders aren't obviously fake enough.
Onboarding integration: Generate a START-HERE.md that the OS will use to guide its own users through filling context-library files in dependency order — foundation file first, then goals, then the rest. Include time estimates per file (derived from domain-input/domain-workflow.md). This is the OS's onboarding flow, not the factory's — the factory generates it, the OS runs it.
From domain-input/domain-workflow.md and output/designs/loop-designs.md, generate:
Include:
After generating all files, run the BLUEPRINT.md Section 8 Generation Checklist — all 15 items:
domain-input/ content leaked into the OS.Additionally, verify structural integrity:
Report any gaps found during self-verification.
The complete OS repository at output/[domain]-os/.
Tell the designer:
OS generated at output/[domain]-os/
Repository contents:
- CLAUDE.md (kernel): [word count]
- Skills: [N] files in .claude/skills/
- Sub-agents: [N] files in sub-agents/
- Context templates: [N] files in context-library/
- Briefing: [N] parts in cowork-tasks/
- Supporting files: README, START-HERE, setup guide
Self-verification: [PASS / N issues found]
[list any issues]
Next: Run /review-os for a thorough architectural audit.
Or: Copy output/[domain]-os/ to your working directory and start using it.
Good generation:
Bad generation: