flowcraft-config
Author, validate, and troubleshoot complete FlowCraft configuration: deployment documents (deploy.yaml with the runtime section…
Skill by GizClaw
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/gizclaw-flowcraft-config
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops, ml, writing, agent-building, backend-development, debugging
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/flowcraft-config
What's inside
- Skill name
flowcraft-config- Description
- Author, validate, and troubleshoot complete FlowCraft configuration: deployment documents (deploy.yaml with the runtime section, inference/workspace/sandbox/tool sub-documents, core/memory contracts, and graph JSON node wiring), craft.yaml application definitions, and plugin.json manifests. Use when writing or reviewing FlowCraft configs, assembling an agent deployment on top of a Craft, adding runtime/session settings, building graph definitions, defining plugins and their permissions, resolving config build failures ("not registered", dead configuration, route policy missing, graph node errors), or copying a minimal runnable FlowCraft deployment or craft template.
- License
- MIT
- Instructions
- 155 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (23)
- SKILL.md
- openai.yaml · agents/
- craft.yaml · assets/minimal-craft/
- assistant.json · assets/minimal-craft/graphs/
- inference.yaml · assets/minimal-craft/
- plugin.json · assets/minimal-craft/plugins/hello/
- SKILL.md · assets/minimal-craft/plugins/hello/skills/hello/
- workspace.yaml · assets/minimal-craft/
- deploy.yaml · assets/minimal-deploy/
- assistant.json · assets/minimal-deploy/graphs/
- inference.yaml · assets/minimal-deploy/
- workspace.yaml · assets/minimal-deploy/
- .gitkeep · assets/minimal-deploy/workspace/
- craft.md · references/
- deploy.md · references/
- graph.md · references/
- pitfalls.md · references/
- resources.md · references/
- runtime.md · references/
- validate-config.sh · scripts/
- go.mod · scripts/validator/
- go.sum · scripts/validator/
- main.go · scripts/validator/
SKILL.md (first lines)
# FlowCraft Config Authoring
Write complete FlowCraft deployment configuration: `deploy.yaml`, the
`runtime` section, resource sub-documents, and graph JSON. Validate with
the L2 structural validator and fix errors against the reference cards.
## Workflow
1. **Scope the deployment.** Collect the agents, capabilities (chat,
tools, memory, scripts, sandboxing), and runtime needs (sessions,
resume, event bus, checkpoint stores).
2. **Draft the deployment document.** `deploy.yaml` is the convention
but any filename works; pass whatever path you choose to the
validator. Read
[references/deploy.md](references/deploy.md) first. Order the areas:
resources → agents → runtime. Decide whole-resource vs item dep refs
(`infer` vs `ws/project`).
3. **Write sub-documents.** Read
[references/resources.md](references/resources.md) for the owning
module's schema. Workspace before sandbox (custom sandbox runners may
depend on workspace resources). Memory implementation modules are
app-registered — omit implementation examples; `core/memory` contracts
and hooks are fine to use.
4. **Write graph JSON.** Read [references/graph.md](references/graph.md).
Prefer routing: wire the `inference.Router` into the graph engine and
omit `model` in inference nodes; pin `model` only when no router is
wired. Model refs must use the nested `id` form; script nodes need
`runtime` and `source`; wire edges back to the inference node after
tool nodes.
5. **Assemble the Craft application.** When the deployment runs inside a
Craft, wrap it in `craft.yaml`: an inline `deploy` (or `base_layers`),
plus `ui`, `plugins` (`roots`, `tool_registry`, `node_targets`) and
`host_tools` where they matter. Read
[references/craft.md](references/craft.md), then copy
[assets/minimal-craft](assets/minimal-craft/) as a starting point. A
definition is checked by the host with `craft.ParseDefinition`; the
standalone validator does not cover `craft.yaml` (see "Compatibility
and versioning").
6. **Validate structurally with L2.** Run
`skills/flowcraft-config/scripts/validate-config.sh <deployment-file>`
(or the installed copy's script). The validator pins the FlowCraft
core module in its `go.mod` and works standalone from any directory.
It is structural only: it strictly decodes the document through
`core/deploy.Parse` (unknown fields are rejected, resource/agent
entries are shape-checked), strictly decodes and validates the
`runtime` subtree through `core/runtime.DecodeConfig` when present,
and structurally validates graph definitions through
`core/graph.GraphDefinition.Validate`. It does not build resources:
no factory registry, no settings `file`/`embed` resolution, no node
config decoding, no credentials, and no provider calls. Custom and
app-registered kinds pass as long as they fit the resource envelope;
their settings semantics are the host build's job.
Sub-documents can also be validated on their own:
`validate-config.sh --type inference inference.yaml` (types:
`deploy`, `inference`, `workspace`, `sandbox`, `tool`, `graph`,
`agent`). Standalone types are parsed as JSON/YAML with strict YAML
conversion (duplicate keys rejected, single document enforced);
`graph` additionally runs `GraphDefinition.Validate` (unique node
ids, entry presence, edge endpoints). No sub-document schema is
decoded in standalone mode — `inference`, `workspace`, `sandbox`,
`tool`, and `agent` are syntax checks only.
7. **Fix errors.** Each failure is prefixed `[parse]`, `[graph]`,
or `[build]` (`[parse]` input/syntax errors, `[graph]` graph
definition errors, `[build]` deploy document or runtime subtree
errors); validation stops at the first error.
Consult [references/pitfalls.md](references/pitfalls.md) for the
error → cause map. The validator prints no warnings: custom and
app-registered kinds pass structurally, and settings semantics it
cannot check are the host build's responsibility.
8. **Hand off.** Report the structural validation result and what L2
could not verify: settings schemas, factory resolution, `file`/`embed`
references, and graph node configs are validated only when the host
builds the deployment with its own registry. Note the registration
code the host still needs. If the deployment relies on runtime agent
registration, call out that it needs the live registry API
(`Runtime.RegisterAgent` / `UnregisterAgent`; see
[references/runtime.md](references/runtime.md)) and any
`dynamic_catalog` `default`/`WithToolAssembly` requirement.
## Cross-file invariants
These invariants describe core semantics. The validator enforces the
structural subset (see step 6); the rest are enforced when the host
builds the deployment with its own factory registry.
- Memory hooks bind a whole `memory.Assembly` resource; the settings
schema is impl-owned. Concrete implementations are app-registered.
- Sandbox runners are `sandbox.Runner` resources; first-party impls
(`local`, `bwrap`, `seatbelt`) take no deps, custom impls declare
their own.
- `runtime.event_bus` is required when a `runtime` section exists, and
`event_bus`/`checkpoint_store`/`dynamic_catalog.tools` values must name
resources in the document (the host build resolves them by contract).
- `sessions.resume: true` requires `checkpoint_store`.
- Agent `tools` is an allow-list, not a catalog declaration; `policy` is
harness state, not engine settings.
- Graph `model` refs: `model: {id: {provider, name}}`.
- Runtime-registered agents reuse the deployment assembly path; their
names must not collide with deployed agents, and with a `dynamic_catalog`
they need a tool mapping or a `default`.
- `craft.yaml` wraps the deployment document: `deploy` and `base_layers`
are mutually exclusive and one is required, `craft.id` and
`craft.version` are required, and `min_host_version` is a compatibility
floor checked against the host (`craft.Version`).
- A plugin's gated sections are fail-closed: `mcp` / `skills` / `hooks` /
`nodes` declared without `mcp:provide` / `skills:provide` /
`hooks:provide` / `nodes:provide` are dropped, and an unknown permission
is rejected rather than ignored.
- `plugins.tool_registry` and `plugins.node_targets` are mounting points
resolved against the composed document — the named resource or agent
must exist — and a plugin can never register a resource kind.
## Templates
Copy [assets/minimal-deploy](assets/minimal-deploy/) as a starting point:
one agent, graph inference node, and a validated runtime section. Replace
the model/provider references and workspace root, then extend per the
workflow.From GizClaw/flowcraft, MIT.
Compare and alternatives
Featured in
Signals
- Stars
- 414
- Forks
- 11
- Open issues
- 4
- Last commit (this folder)
- Oct 21, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/GizClaw/flowcraft
- Website
- gizclaw.github.io/flowcraft/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from GizClaw
Cite this page
flowcraft-config skill. Agent Mart. https://agentmart.dev/skills/gizclaw-flowcraft-config (last updated 2026-10-24)