Xpersona
B

Business Blueprint Skill

CLAWHUB · Unverified

Use when turning presales requirements, meeting notes, or solution materials into editable business capability blueprints, swimlane flows, and application ar... Skill: Business Blueprint Skill Owner: kaisersong Summary: Use when turning presales requirements, meeting notes, or solution materials into editable business capability blueprints, swimlane flows, and application ar... Tags: latest:0.16.2 Version history: v0.16.2 | 2026-05-17T11:11:09.939Z | user Docs-inclusive eval release: README EN/ZH links updated to v0.16.2, eval implementation plan recorded, and agent-agnostic

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17e36cy6y9drqxrb49xdqh05d83hqde:business-blueprint-skill
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-kaisersong-business-blueprint-skill/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

160,000 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: kai-business-blueprint
description: Use when generating business capability blueprints, domain-knowledge maps, or architecture diagrams from presales materials, meeting notes, or solution docs. Triggers: 商业蓝图, 商业模式画布, 领域知识大图, 架构图, capability map, strategy canvas. Not for generic documents, PPTs, or simple flowcharts.
---

# Business Blueprint Skill

Use the Python scripts in this repository as the execution surface.

## Output Directory

All generated files go into `projects/workspace/` — not the repository root.

## Industry Selection

Choose `--industry` from exactly one of: `"common"`, `"finance"`, `"manufacturing"`, `"retail"`. Select the closest match; do not invent other values.

| Industry | Hints content |
|----------|-------------|
| `common` | No hints — generic domains |
| `finance` | Risk control, credit, compliance, customer profile |
| `manufacturing` | Production planning, quality, warehouse, supply chain |
| `retail` | Store operations, membership, POS, order fulfillment |

## How to Generate a Blueprint

### Step 1: Read industry hints

Read the seed template at `business_blueprint/templates/{industry}/seed.json` and get `industryHints.checklist`.

### Step 2: Extract entities

**Architecture mode** (default, or when `meta.blueprintType` is absent):
Extract `capabilities`, `actors`, `flowSteps`, `systems`.
Read `references/entities-schema.md` for field definitions and `references/systems-schema.md` for systems layer rules.

**Domain-knowledge mode** (when seed has `meta.blueprintType: "domain-knowledge"`):
Extract knowledge entities into `library.knowledge.*`.
Read `references/domain-knowledge-extraction.md` for naming rules and extraction guide.
Read `references/knowledge-entities-schema.md` for field definitions.

### Step 3: Write blueprint JSON

Write the JSON file directly to the output path.
Read `references/blueprint-schema.md` for the complete schema structure.

### Step 4: Generate visualizations

```bash
python scripts/business_blueprint/cli.py --export <blueprint.json>
```

Default: SVG + HTML viewer. Use `--format drawio|excalidraw|mermaid` for other formats.
Read `references/route-eligibility.md` for export route selection rules.

## Architecture Rendering Rules

Use dark mode by default. Only use light mode when the user explicitly asks for it.

Never force every node in a layer into one fixed row. Dense layers must wrap,
group, or fall back to freeflow instead of becoming a toothpaste layout.
Legend must live in a bottom safe area. Never place the legend as a floating overlay in the top-right corner.
Do not use fixed-height wrappers or `overflow: hidden` to hide overflow in generated viewers.

Route eligibility matrix:

| Route | Eligibility |
|-------|-------------|
| `freeflow` | Any valid blueprint with at least one renderable node or relation |
| `architecture-template` | Categorized architecture graph with systems, capabilities, actors, and relations |
| `evolution` | Dated or staged flow where timel

evals/README.md

# Evals

This directory holds machine-readable eval inputs, thresholds, taxonomy data, and saved baselines for `kai-business-blueprint`.

## Files

- `export-integrity-thresholds.json` — numeric thresholds for geometry-sensitive integrity checks
- `defect-taxonomy.json` — canonical defect categories used by tests and eval fixtures
- `export-scoring-schema.json` — minimal scoring/output schema for export eval runs
- `blueprint-skill-prompts.csv` — agent-agnostic captured-run skill eval case manifest
- `skill-run-rubric.schema.json` — structured rubric schema for qualitative blueprint style checks
- `skill-eval-implementation-plan.md` — implementation plan, baseline score, verification, and release notes for the v0.16.2 skill eval release

## Skill Evals

Captured-run skill evals score each case across four 25-point categories:

- Outcome: expected blueprint/projection/export artifacts exist and validate.
- Process: the run followed the business-blueprint workflow and read the relevant references.
- Style: the blueprint uses the requested industry/type, has semantic density, and passes a rubric.
- Efficiency: the trace stays within shell command, token, wall-time, and retry budgets.

Run the default offline baseline:

```bash
python3 scripts/run-skill-evals.py --root . --runner fixture
```

The default runner is fixture-only and does not invoke Codex, Claude, Qoder, OpenClaw, model APIs, or the network. To score an external run, first convert it into the normalized trace schema, then run:

```bash
python3 scripts/run-skill-evals.py --root . --runner trace --case-id <case-id> --normalized-trace <trace.json>
```

Current saved baseline:

- `baselines/2026-05-17-skill-evals-fixture.json`
- Average score: `99.67`
- Result: `6 passed, 0 failed, 0 incomplete`

## Fixtures

- `fixtures/route-freeflow.json` — generic graph that should stay on `freeflow`
- `fixtures/route-architecture.json` — categorized architecture graph that should resolve to `architecture-template`
- `fixtures/route-evolution.json` — dated staged flow that should resolve to `evolution`

## Usage

- Route tests read these fixtures to keep export-family decisions stable.
- Integrity tests should reference taxonomy ids instead of inventing one-off failure labels.
- Human-readable failure maps, if needed later, should be generated from these files and test references rather than hand-maintained as the source of truth.

README.md

# kai-business-blueprint

> 售前需求、会议纪要、RFP 材料 → 可编辑的业务能力蓝图、泳道流程图、应用架构图。一份 canonical JSON IR,多个下游导出格式(SVG / draw.io / Excalidraw / Mermaid)。

A [Claude Code](https://claude.ai/claude-code) skill that turns raw presales inputs into canonical business capability blueprints, with a static HTML viewer and multi-format diagram exports.

English | [简体中文](README.zh-CN.md)

---

## Demo

Retail industry blueprint, exported as SVG:

![retail-blueprint](demos/screenshots/retail-arch.svg)

The SVG is generated by `business-blueprint --export demos/retail.blueprint.json` — the source JSON is in `demos/retail.blueprint.json`, the viewer is `demos/solution.viewer.html`.

---

## Design Philosophy: IR-First Pipeline

### 1. JSON as Canonical Intermediate Representation

Every workflow converges on `solution.blueprint.json` — the single source of truth. All other artifacts (viewer, SVG, draw.io) are deterministic projections from it.

```
Raw Text ──(--plan)──→ JSON ──(--generate)──→ Viewer HTML
                          │
                          ├──(--export)──→ SVG / draw.io / Excalidraw / Mermaid
                          │
                          └──(--edit)────→ JSON (patch logged) + Viewer refresh
```

The IR is:
- **Version-controllable** — standard JSON, diffs are meaningful
- **AI-readable** — downstream skills parse `entities`, `relations`, `flowSteps` without HTML parsing
- **Human-editable** — light fields (labels, names) can be edited without breaking structure

### 2. Progressive Disclosure

The skill file (`SKILL.md`) is a routing layer — it tells Claude *which* file to read for *which* command. Heavy assets (industry packs, viewer HTML template, export engine) stay on disk until needed.

```
--plan        → only model + generation rules; no CSS, no export engine
--generate    → one viewer.html template + one industry pack
--export      → only the requested export engine; other formats stay on disk
--validate    → schema + rules; no rendering code
```

### 3. Silicon-Carbon Collaboration

**Input:** Humans write natural language (requirements, meeting notes, RFPs). AI parses into structured entities (Application Systems, Business Capabilities, Process Flows, Actors) and relations.

**Output:** The viewer is a static HTML page — no build step, no JS framework, works offline. Every node is editable in-place, and edits are logged as a JSON patch trail (`solution.patch.jsonl`) for full traceability.

---

## Install

### Download

Current release: **v0.16.2**

- Release page: <https://github.com/kaisersong/kai-business-blueprint/releases/tag/v0.16.2>
- Direct zip: <https://github.com/kaisersong/kai-business-blueprint/releases/download/v0.16.2/kai-business-blueprint-v0.16.2.zip>

### Claude Code

```bash
git clone https://github.com/kaisersong/kai-business-blueprint ~/.claude/skills/kai-business-blueprint
```

Then: `cd kai-business-blueprint && pip install -e .`

### OpenClaw

```bash
git clone https://github.com/kaisersong/kai-business-blueprint ~/

scripts/tests/fixtures/skill-evals/README.md

# Skill Eval Fixtures

These fixtures are intentionally agent-agnostic. The harness consumes normalized
trace JSON only:

- `runner` is descriptive metadata, not a required CLI or model runtime.
- `shell_commands`, `read_paths`, `write_paths`, `artifact_paths`, token counts,
  and `skill_evidence` are the stable contract.
- Unit tests and release verification never call Codex, Claude, Qoder, OpenClaw,
  or any other live agent.

If a maintainer wants to evaluate an external run, capture that run outside this
repo, convert it into `normalized-v1`, then pass it with `--runner trace
--normalized-trace <file> --case-id <id>`.

_meta.json

{
  "ownerId": "kn7bjv9d2ccsjqk1m4edthgtgx82fem8",
  "slug": "business-blueprint-skill",
  "version": "0.16.2",
  "publishedAt": 1779016269939
}

Sponsored

Ads related to Business Blueprint Skill and adjacent AI workflows.