Resource
geni resource create
Create a resource and scaffold its starting files into a local directory.
geni resource create --type <code|agent|app|skill> --specialist <specialistId> [flags]Creates a resource in the selected specialist and scaffolds its starting files into a directory, then drops a .geni-resource.json marker so later commands in that directory resolve the id automatically.
Load the matching authoring skill first (code-workflow, agent-workflow, app, or skill-authoring) for the type contract and a worked example.
Synopsis
geni resource create --type code --specialist proj_01HX… --name "Daily Digest"
geni resource create --type agent --specialist proj_01HX… --name "Inbox Triage" --dir ./triage
geni resource create --type app --specialist proj_01HX… --name "Customer Explorer"
geni resource create --type skill --specialist proj_01HX… --name "Gmail Inbox Triage"| Flag | Notes |
|---|---|
--type <type> | Required. code, agent, app, or skill. |
--specialist <specialistId> | Required. The specialist it lives in. Use geni specialist list or geni specialist create. |
--name <name> | Human-friendly name in Title Case. Defaults to "New Workflow" / "New App" / "New Skill". |
--dir <path> | Directory to scaffold into. Defaults to the current directory. |
--json | Machine-readable output. |
For a skill, the starter SKILL.md frontmatter gets a slugified form of the name (gmail-inbox-triage); the cloud name re-syncs from that frontmatter on every publish.
The target directory must not already be a workflow directory (no existing .geni-resource.json). After creating, edit the files and run geni resource validate.