A standard Agent Skill for reconstructing or modernizing legacy applications as Linux applications that are native to both humans and AI agents, while keeping the established human GUI unchanged and placing every Agent control/review surface out of band by default.
The skill intentionally contains no hard-coded migration intelligence. It provides:
- a compact agent brief;
- an engineering and tooling playbook;
- the HAI-App 0.1 semantic application contract, including enforceable GUI interface continuity and Agent-surface separation;
- conformance, benchmark, artifact-inspection, screenshot, GUI-parity evidence, review-bundle, and scaffold tools;
- a runnable reference application with one shared core, Tk GUI, CLI, MCP server, revisioned resources, transactions, receipts, semantic review snapshots, and benchmarks.
The reference application itself has no mandatory third-party Python dependencies. Full JSON Schema validation uses jsonschema:
python -m pip install -r requirements-validation.txt
python scripts/run_closed_loop.pyWithout jsonschema, the validator still runs its semantic fallback checks but reports that structural schema validation was unavailable.
The closed-loop check validates the Skill metadata and HAI-App manifest, including required interfaceContinuity and surfaceSeparation declarations for GUI work; exercises the reference application through CLI and its shared core; rejects a stale concurrent write; verifies MCP binding parity; optionally tests the official MCP Python SDK when installed; launches and captures the real GUI under Xvfb when available; generates semantic and visual snapshots; compares benchmark data; and produces a hashed review bundle.
Copy the universal-linux-port directory into the skills directory used by your Agent Skills-compatible host. The directory name must remain universal-linux-port because the Agent Skills specification requires it to match the name frontmatter field.
cd examples/hai-notes
python -m venv .venv
source .venv/bin/activate
pip install -e '.[mcp]'
hai-notes gui
hai-notes list --json
hai-notes create --title 'First note' --body 'Shared domain state' --json
hai-notes mcpSee examples/hai-notes/README.md for the complete walkthrough.
HAI-App 0.1 is intentionally an application-level semantic contract, not a new transport. JSON Schema 2020-12 is canonical for manifests and capability payloads. MCP, CLI, D-Bus, native bindings, and future adapters map onto the same semantic model. High-volume data bypasses the JSON control plane through declared data-plane handles. For migrated GUI applications, internal language/toolkit freedom is separate from the human-interface contract: the original visual identity, layout, interaction patterns, terminology, shortcuts, density, workflows, and absence of Agent chrome remain unchanged. MCP, CLI, screenshots, accessibility exports, receipts, approvals, and audit tooling are external, local, documented, and on-demand.