{
  "markdown": "# agent-seihou\n\nA [Seihou](https://github.com/shinzui/seihou) registry of modules, blueprints, and\nagent-session prompts for scaffolding Claude skills and agent recipes.\n\n`seihou-registry.dhall` is the authoritative index of everything published here.\n\n## Modules\n\nModules are deterministic: a fixed set of variables produces the same generated files\nevery time. Run them with `seihou run`.\n\n| Module | Version | Description |\n|--------|---------|-------------|\n| [`claude-gitignore`](modules/claude-gitignore) | `0.2.0` | Ensure `.claude/` and `CLAUDE.local.md` are in `.gitignore` |\n| [`agent-gitignore`](modules/agent-gitignore) | `0.1.0` | Ensure `.claude/`, `.agents/`, and `CLAUDE.local.md` are in `.gitignore` |\n| [`claude-skill-link`](modules/claude-skill-link) | `0.1.0` | Symlink a Claude skill from `claude/skills/` into `.claude/skills/` |\n| [`link-skill`](modules/link-skill) | `0.2.0` | Symlink a skill from `claude/skills/` into both `.claude/skills/` and `.agents/skills/` |\n| [`update-docs`](modules/update-docs) | `0.1.0` | Claude skill that keeps project documentation in sync with code changes |\n| [`exec-plan`](modules/exec-plan) | `0.10.0` | Claude skill for creating and managing execution plans (ExecPlans) |\n| [`exec-plan-digest`](modules/exec-plan-digest) | `0.1.0` | Claude skill that emits a standardized JSON digest of ExecPlans |\n| [`master-plan`](modules/master-plan) | `0.10.0` | Claude skill for creating and managing master plans (MasterPlans) |\n| [`master-plan-digest`](modules/master-plan-digest) | `0.1.0` | Claude skill that emits a standardized JSON digest of MasterPlans |\n\nEach module directory contains its own `README.md` with full variable, prompt,\ndependency, and generated-file reference. `module.dhall` is the authoritative source.\n\n## Blueprints\n\nBlueprints are agent-driven runnables: instead of producing deterministic output from a\nfixed set of variables, they capture authoring intent in a prompt and let a coding agent\ntailor the result to the target repository. Run them with `seihou agent run`, not\n`seihou run`.\n\n| Blueprint | Version | Description |\n|-----------|---------|-------------|\n| [`hackage-release`](blueprints/hackage-release) | `0.1.0` | Generate a project-specific `release` skill that publishes Haskell packages to Hackage (PVP versioning, changelogs, dependency-ordered publishing, GitHub releases), tailored to the repo's actual package layout and linked into both `.claude/skills` and `.agents/skills` |\n| [`docs-sync`](blueprints/docs-sync) | `0.1.0` | Discover local docs, CLI help, embedded agent context, and confirmed sibling kit/docs repositories, then audit stale surfaces against code with a baseline-SHA ledger |\n| [`migrate-keiro-stack`](blueprints/migrate-keiro-stack) | `0.2.0` | Migrate a Haskell/PostgreSQL project to the current runtime cohort, adopting shared haskell-nix when active, the fleet vertical structure, and Settei configuration before a guarded disposable or restored-clone persistent database cutover |\n\nUse `docs-sync` for adaptive, multi-surface audits. The deterministic `update-docs` module remains\navailable for projects that only need a preconfigured single-repository skill scaffold.\n\n## Prompts\n\nPrompts are reusable agent-session templates: they render a task prompt (tunable through\nfirst-class guidance blocks and variables) and launch the configured provider. Run them\nwith `seihou prompt run`.\n\n| Prompt | Version | Description |\n|--------|---------|-------------|\n| [`fix-prelude-import-conflicts`](prompts/fix-prelude-import-conflicts) | `0.1.0` | Fix custom-prelude import-conflict violations in a Haskell repo — hide clashing names from the prelude import (never the other import) and never qualify operators |\n\n## Usage\n\nBrowse:\n\n```sh\nseihou browse https://github.com/shinzui/agent-seihou.git\n```\n\nInstall:\n\n```sh\n# Every module, blueprint, and prompt in the registry\nseihou install https://github.com/shinzui/agent-seihou.git --all\n\n# A specific artifact (repeat --module for several)\nseihou install https://github.com/shinzui/agent-seihou.git --module update-docs\n```\n\nRun a module (with overrides):\n\n```sh\nseihou run <module> --var key=value\n```\n\nRun a blueprint (launches an agent in the current project):\n\n```sh\nseihou agent run hackage-release\nseihou agent run docs-sync\nseihou agent run migrate-keiro-stack\nseihou agent run migrate-keiro-stack --var database.policy=disposable\nseihou agent run migrate-keiro-stack --var database.policy=preserve\n```\n\nRun a prompt (renders the session prompt and starts the provider):\n\n```sh\nseihou prompt run fix-prelude-import-conflicts\n\n# Preview the rendered prompt without contacting a provider\nseihou prompt run fix-prelude-import-conflicts --debug\n```\n\nSee `seihou run --help`, `seihou agent run --help`, `seihou prompt run --help`, and the\ntarget module, blueprint, or prompt README for available variables.\n\n## Documentation\n\n[`okf-docs/`](okf-docs/index.md) is an Open Knowledge Format documentation bundle\n(`mori://shinzui/okf`) generated from `seihou-registry.dhall` — one concept document per\npublished artifact, each naming the `seihou://` resource it was derived from.\n\n| Bundle section | Contents |\n|----------------|----------|\n| [`okf-docs/registry/`](okf-docs/registry/index.md) | The registry itself, linking every artifact it publishes |\n| [`okf-docs/modules/`](okf-docs/modules/index.md) | One concept per module: variables, prompts, dependencies, generation steps, commands |\n| [`okf-docs/blueprints/`](okf-docs/blueprints/index.md) | One concept per blueprint |\n| [`okf-docs/prompts/`](okf-docs/prompts/index.md) | One concept per agent-session prompt |\n| [`okf-docs/profile.dhall`](okf-docs/profile.dhall) | House profile the bundle is validated against |\n\nThe bundle is derived, not hand-written: regenerate it after changing the registry or any\nartifact, rather than editing it in place. `seihou-okf-extension` ships with Seihou, so\neither invocation works:\n\n```sh\nseihou-okf-extension docs --force\nseihou extension run okf -- docs --dir . --out okf-docs --force\n```\n\nRegeneration is byte-stable (no timestamp is recorded unless `--generated-at` is passed),\nso a clean `git status` after running it means the bundle is current.\n\n## Repository Layout\n\n```\nagent-seihou/\n├── seihou-registry.dhall   # module, recipe, blueprint, and prompt index\n├── mori.dhall              # Mori project identity (mori://shinzui/agent-seihou)\n├── modules/<name>/\n│   ├── module.dhall        # module definition\n│   ├── README.md           # per-module reference\n│   └── files/              # template sources (omitted by command-only modules)\n├── blueprints/<name>/\n│   ├── blueprint.dhall     # blueprint definition\n│   ├── prompt.md           # agent task prompt\n│   ├── README.md           # per-blueprint reference\n│   └── files/              # read-only reference material\n├── prompts/<name>/\n│   ├── prompt.dhall        # prompt definition, variables, and guidance blocks\n│   ├── prompt.md           # prompt body\n│   └── files/              # read-only reference material\n├── okf-docs/               # generated OKF documentation bundle\n├── docs/                   # ADRs and ExecPlans for this repository\n└── tests/                  # Bun tests for scripts shipped inside modules\n```\n\n## Development\n\nRun the test suite (covers the helper scripts modules ship in their `files/`):\n\n```sh\nbun test\n```\n\nValidate an artifact before publishing it, and keep the generated bundle in step:\n\n```sh\nseihou validate-module modules/<name>\nseihou validate-blueprint blueprints/<name>\nseihou validate-prompt prompts/<name>\nseihou-okf-extension docs --force\n```\n",
  "bytes": 7626,
  "sha": "2c24a34062125be3ea40485d1ecfe1f0a81c2ada1587c9cecbb570feb5108149",
  "repo_slug": "shinzui/agent-seihou",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/okf_shinzui_agent_seihou_okf_docs_index_md_0b315dd3/readme"
}