GRACE Marketplace and CLI
GRACE means Graph-RAG Anchored Code Engineering: a contract-first AI engineering methodology built around semantic markup, .grace XML artifacts, knowledge-graph navigation, assertions, scopes, and log-driven verification.
This repository ships the GRACE skills plus the optional grace CLI. It is a packaging and distribution repository, not an end-user application.
Current packaged version: 4.2.1. Fork of osovv/grace-marketplace with additional skills (grace-bootstrap, grace-afk, grace-ask-human, grace-evolve), CLI surfaces (afk, evolve), and a global Telegram config at ~/.grace/afk.json so one AFK setup serves every project on the machine.
What This Repository Ships
- Canonical GRACE skills in
skills/grace/*
- Packaged Claude marketplace mirror in
plugins/grace/skills/grace/*
- Marketplace metadata in
.claude-plugin/marketplace.json
- Packaged plugin manifest in
plugins/grace/.claude-plugin/plugin.json
- OpenPackage metadata in
openpackage.yml
- Optional Bun-powered CLI package
@osovv/grace-cli
GRACE 4 Model
GRACE 4 uses .grace as the durable project model:
| Area | Purpose |
|---|
.grace/context/*.xml | Requirements, technology, principles, deployment, and UX constraints |
.grace/graph/index.xml + routed graph docs | Current graph projection source for GD-*, M-*, and DF-* anchors |
.grace/verification/index.xml + routed verification docs | Current verification projection source for deterministic V-M-* entries |
.grace/changes/active/C-* | Active GraceChangeSpec, optional design context, and GraceChangePlan bundles |
.grace/changes/archive/C-* | Applied, rejected, cancelled, or superseded change bundles |
| Source/test files with GRACE markup | File-local contracts, links, and semantic block anchors |
GRACE 4 does not dual-validate legacy GRACE 3 project docs as current state. Existing GRACE 3 projects use $grace-migrate; the CLI validates the generated .grace result but does not convert legacy docs itself.
Verification commands run from the project root by default. A V-M-* entry may declare one contained project-relative <Cwd>packages/example</Cwd> while keeping <TestFiles><File>...</File></TestFiles> paths project-root-relative. Absolute paths, .. escapes, and symlink escapes fail closed.
TypeScript/JavaScript semantic analysis is bundled and compiler-backed. Governed Python and Dart files require their respective runtimes on PATH; Python export analysis is exact when a static __all__ is present (including Unicode identifiers) and otherwise emits heuristic confidence. A missing runtime fails closed with actionable analysis.runtime-missing; an installed adapter that fails emits analysis.adapter-failed. Neither failure state is presented as exact MODULE_MAP parity.
Languages without a registered adapter — including Go, Rust, Java, shell, C/C++, C#, and PowerShell — are governed structurally: markup validity, contract completeness, and MODULE_MAP shape are enforced, while export parity is not analyzed. MODULE_MAP for these languages is taken on trust. Governance is opt-in per file; sources without GRACE markers are never flagged.
Markers are recognized behind the //, #, --, ; and block-comment * prefixes, so a language whose comments use none of those — XML-comment dialects such as .xaml or .csproj — cannot carry them.
Install
Install skills first. The CLI is optional but recommended once skills are installed.
OpenPackage
opkg install gh@Baho73/grace-marketplace-2
opkg install gh@Baho73/grace-marketplace-2 -g
opkg install gh@Baho73/grace-marketplace-2 --platforms claude-code
Claude Code Marketplace
/plugin marketplace add Baho73/grace-marketplace-2
/plugin install grace@grace-marketplace
If you previously installed the upstream osovv/grace-marketplace, remove it
first to avoid name conflicts:
/plugin uninstall grace
/plugin marketplace remove osovv/grace-marketplace
Agent Skills-Compatible Install
git clone https://github.com/Baho73/grace-marketplace-2
cp -r grace-marketplace/skills/grace/grace-* /path/to/your/agent/skills/
CLI
Requires bun on PATH. GRACE skills invoke the installed stable grace binary directly; they do not default to bunx, npx, or a prerelease dist-tag.
# Install the current stable release from npm `latest`
bun add -g @osovv/grace-cli
grace --version
grace lint --path /path/to/grace4-project
GRACE 4 Quick Start
For a new GRACE 4 project: