@sogni-ai/sogni-creative-agent-skill 3.41.0 → 3.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/sogni-creative-agent-skill/SKILL.md +1 -1
- package/.agents/skills/sogni-creative-agent-skill/references/models.md +4 -2
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/CHANGELOG.md +13 -0
- package/README.md +28 -3
- package/SKILL.md +6 -3
- package/attribution.mjs +3 -0
- package/desktop-extension/README.md +14 -5
- package/desktop-extension/manifest.json +1 -1
- package/desktop-extension/server/index.mjs +0 -0
- package/desktop-extension/server/resolve.mjs +10 -2
- package/generated/creative-agent-runtime.mjs +1 -1
- package/host-launchers/goose.mjs +4 -0
- package/llm.txt +10 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +8 -5
- package/references/models.md +4 -2
- package/scripts/build-mcpb.mjs +44 -0
- package/skill-package.json +1 -1
- package/skills/video_editing.md +1 -1
- package/sogni-agent.mjs +1 -8
- package/version.mjs +1 -1
|
@@ -3,7 +3,7 @@ name: sogni-creative-agent-skill
|
|
|
3
3
|
description: "Generate and edit images, upscale images, create video and music, animate image folders into seamless reels, and manage reusable personas with Sogni AI. Use when a Hermes user asks to draw, render, upscale, edit or restyle an image, animate an image, make a video, create music or lyrics, build a media workflow, apply a saved identity, or refine an earlier Sogni result."
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
|
-
version: "3.
|
|
6
|
+
version: "3.42.0"
|
|
7
7
|
author: Sogni AI
|
|
8
8
|
hermes:
|
|
9
9
|
category: creative
|
|
@@ -87,10 +87,12 @@ becomes 1080 or 1440 (default 1440; 1080 when the source is below 720p) while
|
|
|
87
87
|
the aspect ratio, every frame, the exact frame rate, and the original audio are
|
|
88
88
|
kept; nothing is trimmed, cropped, restyled, or interpolated. Sources must be
|
|
89
89
|
at most 768px on the short edge and about 1344x768 pixels overall (768x1344 in
|
|
90
|
-
portrait), 1-
|
|
90
|
+
portrait), 1-60 fps,
|
|
91
91
|
SDR with square pixels, and 100 MB or less; 1440p needs a source short edge of
|
|
92
92
|
at least 720px and 1080p at least 540px. 4K is not available. The direct CLI
|
|
93
|
-
reads the exact frame count and rate with a local ffprobe.
|
|
93
|
+
reads the exact frame count and rate with a local ffprobe. The server sets the
|
|
94
|
+
maximum clip length; do not quote a fixed limit. Relay a server rejection if
|
|
95
|
+
the source is too long, without trimming it or switching to a generative tool.
|
|
94
96
|
|
|
95
97
|
For Krea 2 Turbo, hosted/chat planning may use the creative-agent selector
|
|
96
98
|
`krea-2-turbo`; direct CLI `-m` uses the worker model ID
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sogni-creative-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.42.0",
|
|
4
4
|
"description": "Sogni Creative Agent: image, video, and music generation via Sogni AI's decentralized GPU network. Supports personas, persistent memories, style transfer, and multi-step creative workflows.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Sogni AI",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## [3.42.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.41.0...v3.42.0) (2026-09-10)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* Add a Goose host launcher and document skill and MCP extension installation.
|
|
6
|
+
* Publish `sogni-agent-mcp` as a standalone command that uses the CLI bundled in the same npm package, with a global-install fallback for desktop extension bundles.
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* Include the shared attribution and version modules in the standalone Claude Desktop bundle, with a startup check that runs outside the repository.
|
|
11
|
+
* Align the public runtime dependencies with Intelligence Client 3.29.1 and Sogni Client 5.39.1.
|
|
12
|
+
* Let the server decide FlashVSR's maximum clip length, preserving the exact source timing and relaying any length rejection to the user.
|
|
13
|
+
|
|
1
14
|
## [3.41.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.40.1...v3.41.0) (2026-09-10)
|
|
2
15
|
|
|
3
16
|
### Features
|
package/README.md
CHANGED
|
@@ -15,12 +15,13 @@
|
|
|
15
15
|
|
|
16
16
|
---
|
|
17
17
|
|
|
18
|
-
**Sogni Creative Agent Skill** plugs into the agent runtime you already use — Claude Code, [OpenClaw](https://github.com/OpenClaw/OpenClaw), [Hermes Agent](https://hermes-agent.nousresearch.com/), [Manus AI](https://manus.im), and others — and gives it production-quality image, video, and music generation through a single CLI: `sogni-agent`.
|
|
18
|
+
**Sogni Creative Agent Skill** plugs into the agent runtime you already use — Claude Code, [goose](https://goose-docs.ai/), [OpenClaw](https://github.com/OpenClaw/OpenClaw), [Hermes Agent](https://hermes-agent.nousresearch.com/), [Manus AI](https://manus.im), and others — and gives it production-quality image, video, and music generation through a single CLI: `sogni-agent`.
|
|
19
19
|
|
|
20
|
-
It ships
|
|
20
|
+
It ships four ways:
|
|
21
21
|
|
|
22
22
|
- a standalone Node.js CLI (`sogni-agent`)
|
|
23
23
|
- a skill source that any [`SKILL.md`](./SKILL.md)-aware agent can load
|
|
24
|
+
- a local MCP stdio server (`sogni-agent-mcp`) for goose, Claude Desktop, Codex, and other MCP clients
|
|
24
25
|
- a published [OpenClaw](https://github.com/OpenClaw/OpenClaw) plugin
|
|
25
26
|
|
|
26
27
|
With this skill, an agent can:
|
|
@@ -46,6 +47,7 @@ With this skill, an agent can:
|
|
|
46
47
|
- [Claude Code plugin](#claude-code-plugin)
|
|
47
48
|
- [OpenAI Codex CLI](#openai-codex-cli)
|
|
48
49
|
- [Hermes Agent](#hermes-agent)
|
|
50
|
+
- [goose](#goose)
|
|
49
51
|
- [OpenClaw plugin](#openclaw-plugin)
|
|
50
52
|
- [ChatGPT (Custom GPT)](#chatgpt-custom-gpt)
|
|
51
53
|
- [Manus / other SKILL.md frameworks](#manus--other-skillmd-frameworks)
|
|
@@ -209,6 +211,28 @@ npx setup-sogni-agent-skill --only=hermes
|
|
|
209
211
|
Start Hermes once before running the installer so `~/.hermes/` exists. If the
|
|
210
212
|
selected local runtime is not detected, setup exits before installing anything.
|
|
211
213
|
|
|
214
|
+
### goose
|
|
215
|
+
|
|
216
|
+
[goose](https://goose-docs.ai/) supports both Agent Skills and MCP extensions. Pick one integration per installation so goose does not receive duplicate Sogni instructions and tools.
|
|
217
|
+
|
|
218
|
+
To install the skill globally:
|
|
219
|
+
|
|
220
|
+
```bash
|
|
221
|
+
npx skills add Sogni-AI/sogni-creative-agent-skill --global --agent goose --skill sogni-creative-agent-skill --yes
|
|
222
|
+
npm install -g @sogni-ai/sogni-creative-agent-skill@latest
|
|
223
|
+
sogni-agent-goose doctor
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
The skill is discovered from goose's global skill directories and uses the `sogni-agent-goose` launcher for host attribution.
|
|
227
|
+
|
|
228
|
+
To run the MCP extension directly instead:
|
|
229
|
+
|
|
230
|
+
```bash
|
|
231
|
+
goose session --with-extension "npx -y --package @sogni-ai/sogni-creative-agent-skill@latest sogni-agent-mcp"
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
The same command can be added permanently from `goose configure` as a Command-line Extension. Once the public listing is accepted, it can also be installed from the [goose Extensions directory](https://goose-docs.ai/extensions/). The MCP package is self-contained; it reads `SOGNI_API_KEY` from the extension environment or the existing `~/.config/sogni/credentials` file.
|
|
235
|
+
|
|
212
236
|
### OpenClaw plugin
|
|
213
237
|
|
|
214
238
|
The skill is published on ClawHub, so the simplest install is:
|
|
@@ -278,12 +302,13 @@ The package installs one launcher shim per host alongside `sogni-agent`. Each sh
|
|
|
278
302
|
| Host | Command | Reported framework |
|
|
279
303
|
| --- | --- | --- |
|
|
280
304
|
| Hermes | `sogni-agent-hermes` | `hermes-agent` |
|
|
305
|
+
| goose | `sogni-agent-goose` | `goose` |
|
|
281
306
|
| OpenAI Codex CLI | `sogni-agent-codex` | `codex` |
|
|
282
307
|
| Claude Code | `sogni-agent-claude-code` | `claude-code` |
|
|
283
308
|
| OpenClaw | `sogni-agent` | `openclaw` (detected from `OPENCLAW_PLUGIN_CONFIG`) |
|
|
284
309
|
| Anything else | `sogni-agent` | `unknown` |
|
|
285
310
|
|
|
286
|
-
The Claude Code and Codex plugin surfaces already pin their launcher, and OpenClaw is detected automatically
|
|
311
|
+
The Claude Code and Codex plugin surfaces already pin their launcher, and OpenClaw is detected automatically. Goose and Hermes skill installs should use their matching launchers wherever the docs say `sogni-agent`. Everything works normally through bare `sogni-agent` — the render is just attributed to `unknown`. Falling back to `sogni-agent` is always safe if a shim is not on `PATH`.
|
|
287
312
|
|
|
288
313
|
### Verify your install
|
|
289
314
|
|
package/SKILL.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: sogni-creative-agent-skill
|
|
3
3
|
description: "Sogni Creative Agent Skill: agent skill and CLI for image, video, and music generation using Sogni AI's decentralized GPU network. Supports promptless RTX VSR image upscaling through 16K, promptless FlashVSR video upscaling to 1080p/1440p, one-click image-folder loop reels, personas (named people with saved reference photos and voice clips), persistent memories, custom personality, style transfer, angle synthesis, MiniMax H3/H3 Balanced/LightX2V Turbo/FastH3 Turbo/Seedance/HappyHorse/LTX/WAN video, music/lyrics, hosted chat, durable workflows, replay records, and multi-step creative workflows. Ask the agent to \"draw\", \"generate\", \"create an image\", \"upscale an image\", \"upscale a video\", \"make a video/animate\", \"turn this image folder into a loop\", \"make music\", \"apply a style\", or \"generate me as a superhero\"."
|
|
4
4
|
metadata:
|
|
5
|
-
version: "3.
|
|
5
|
+
version: "3.42.0"
|
|
6
6
|
homepage: https://sogni.ai
|
|
7
7
|
openclaw:
|
|
8
8
|
emoji: "🎨"
|
|
@@ -40,7 +40,9 @@ npm install -g @sogni-ai/sogni-creative-agent-skill@latest
|
|
|
40
40
|
sogni-agent --version
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
Then configure the agent/runtime to use this `SKILL.md` and invoke the `sogni-agent` CLI. The one-command alternative `npx setup-sogni-agent-skill` auto-detects Claude Code, Codex CLI, and Hermes (it does not configure OpenClaw).
|
|
43
|
+
Then configure the agent/runtime to use this `SKILL.md` and invoke the `sogni-agent` CLI. The one-command alternative `npx setup-sogni-agent-skill` auto-detects Claude Code, Codex CLI, and Hermes (it does not configure Goose or OpenClaw).
|
|
44
|
+
|
|
45
|
+
For Goose, install this skill with `npx skills add Sogni-AI/sogni-creative-agent-skill --global --agent goose --skill sogni-creative-agent-skill --yes`, install the CLI above, then run `sogni-agent-goose doctor --json`. The [README](./README.md#goose) also covers the MCP extension.
|
|
44
46
|
|
|
45
47
|
After any install or upgrade, verify with:
|
|
46
48
|
|
|
@@ -59,6 +61,7 @@ Always invoke the globally installed `sogni-agent` command. Do not call `node {{
|
|
|
59
61
|
| Host | Command |
|
|
60
62
|
| --- | --- |
|
|
61
63
|
| Hermes | `sogni-agent-hermes` |
|
|
64
|
+
| Goose | `sogni-agent-goose` |
|
|
62
65
|
| Codex CLI | `sogni-agent-codex` |
|
|
63
66
|
| Claude Code | `sogni-agent-claude-code` |
|
|
64
67
|
| OpenClaw | `sogni-agent` (detected automatically from `OPENCLAW_PLUGIN_CONFIG`) |
|
|
@@ -315,7 +318,7 @@ sogni-agent doctor --json
|
|
|
315
318
|
### Upscaling vs. generative editing
|
|
316
319
|
|
|
317
320
|
- For a pure resolution increase that must preserve the source composition, use `--upscale` in direct CLI mode or `upscale_image` on hosted tool surfaces. RTX VSR is deterministic and promptless: never invent a prompt, and never route this request through `restore_photo`, `refine_result`, or `edit_image`.
|
|
318
|
-
- For a pure resolution increase of an existing video (upscale, sharpen, HD/1080p/1440p/2K copy), use `--upscale-video` in direct CLI mode or `upscale_video` on hosted tool surfaces. FlashVSR is promptless and keeps every frame, the frame rate, the aspect ratio, and the audio. Never route it through `video_to_video` or `generate_video` unless the user names a generative model such as Seedance for a re-render. Output is 1080p or 1440p only — say so if the user asks for 4K. Sources must be ≤768px on the short edge (1440p needs ≥720px, 1080p ≥540px) and at most about 1344×768 pixels (768×1344 portrait),
|
|
321
|
+
- For a pure resolution increase of an existing video (upscale, sharpen, HD/1080p/1440p/2K copy), use `--upscale-video` in direct CLI mode or `upscale_video` on hosted tool surfaces. FlashVSR is promptless and keeps every frame, the frame rate, the aspect ratio, and the audio. Never route it through `video_to_video` or `generate_video` unless the user names a generative model such as Seedance for a re-render. Output is 1080p or 1440p only — say so if the user asks for 4K. Sources must be ≤768px on the short edge (1440p needs ≥720px, 1080p ≥540px) and at most about 1344×768 pixels (768×1344 portrait), 1–60 fps, and ≤100 MB. The server sets the maximum clip length; relay its error if a source is too long, without quoting a fixed limit.
|
|
319
322
|
- `--upscale-scale` accepts 2, 3, or 4; `--target-longest-edge` overrides it. The CLI derives an aspect-preserving target box and aligns both edges to the worker's 8-pixel step. Both output edges must remain within 512–15360px. Targets above 7680px use JPG so 16K results remain practical to transfer and display. If a scale would make the short edge smaller than 512px, the CLI reports the minimum valid `--target-longest-edge` instead of stretching the image; aspect ratios that cannot fit the box are rejected.
|
|
320
323
|
|
|
321
324
|
### Segmentation and 3D reconstruction
|
package/attribution.mjs
CHANGED
|
@@ -12,6 +12,9 @@ const FRAMEWORK_ALIASES = new Map([
|
|
|
12
12
|
['claude-ai', 'claude-desktop'],
|
|
13
13
|
['hermes', 'hermes-agent'],
|
|
14
14
|
['hermes-agent', 'hermes-agent'],
|
|
15
|
+
['goose', 'goose'],
|
|
16
|
+
['goose-cli', 'goose'],
|
|
17
|
+
['goose-desktop', 'goose'],
|
|
15
18
|
['openclaw', 'openclaw'],
|
|
16
19
|
['clawdbot', 'openclaw'],
|
|
17
20
|
]);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
# Sogni Creative Agent —
|
|
1
|
+
# Sogni Creative Agent — MCP extension
|
|
2
2
|
|
|
3
|
-
A dependency-free MCP stdio server that wraps the
|
|
4
|
-
|
|
3
|
+
A dependency-free MCP stdio server that wraps the `sogni-agent` CLI bundled in
|
|
4
|
+
the same npm package, with global-install fallback for standalone MCPB installs.
|
|
5
|
+
`manifest.json` follows the MCPB spec (v0.3).
|
|
5
6
|
|
|
6
7
|
## Layout
|
|
7
8
|
|
|
@@ -46,6 +47,10 @@ The text block always keeps the full-resolution URL / saved path. Set
|
|
|
46
47
|
|
|
47
48
|
npm run build:mcpb # → dist/sogni-creative-agent.mcpb
|
|
48
49
|
|
|
50
|
+
The bundle preserves `desktop-extension/server/` and includes the shared
|
|
51
|
+
attribution and version modules. Its root manifest points to that nested
|
|
52
|
+
server so every relative import resolves after a standalone install.
|
|
53
|
+
|
|
49
54
|
## Install paths
|
|
50
55
|
|
|
51
56
|
1. `npx setup-sogni-agent-skill` writes a `claude_desktop_config.json` entry
|
|
@@ -55,9 +60,13 @@ The text block always keeps the full-resolution URL / saved path. Set
|
|
|
55
60
|
3. OpenAI Codex uses the same server:
|
|
56
61
|
`codex mcp add sogni-creative-agent -- node <abs path to server/index.mjs>`
|
|
57
62
|
(the Codex CLI and IDE extension read `~/.codex/config.toml`).
|
|
63
|
+
4. goose can launch the published server directly:
|
|
64
|
+
`goose session --with-extension "npx -y --package @sogni-ai/sogni-creative-agent-skill@latest sogni-agent-mcp"`.
|
|
58
65
|
|
|
59
|
-
The
|
|
60
|
-
|
|
66
|
+
The packaged `sogni-agent-mcp` command runs the CLI bundled beside it. MCPB
|
|
67
|
+
installs do not contain that sibling CLI, so they fall back to the global
|
|
68
|
+
installation (`npm i -g @sogni-ai/sogni-creative-agent-skill`); when missing,
|
|
69
|
+
every tool returns a setup hint.
|
|
61
70
|
|
|
62
71
|
## Testing
|
|
63
72
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"manifest_version": "0.3",
|
|
3
3
|
"name": "sogni-creative-agent",
|
|
4
4
|
"display_name": "Sogni Creative Agent",
|
|
5
|
-
"version": "3.
|
|
5
|
+
"version": "3.42.0",
|
|
6
6
|
"description": "Generate images, video, and music on Sogni AI's decentralized GPU network — with personas, memories, and safe video editing tools.",
|
|
7
7
|
"author": { "name": "Sogni AI", "url": "https://sogni.ai" },
|
|
8
8
|
"homepage": "https://sogni.ai",
|
|
File without changes
|
|
@@ -5,8 +5,10 @@
|
|
|
5
5
|
import { existsSync, readdirSync } from 'node:fs';
|
|
6
6
|
import { homedir } from 'node:os';
|
|
7
7
|
import { delimiter, dirname, join } from 'node:path';
|
|
8
|
+
import { fileURLToPath } from 'node:url';
|
|
8
9
|
|
|
9
10
|
const PKG_REL = join('@sogni-ai', 'sogni-creative-agent-skill');
|
|
11
|
+
const BUNDLED_AGENT_PATH = fileURLToPath(new URL('../../sogni-agent.mjs', import.meta.url));
|
|
10
12
|
|
|
11
13
|
// System-wide npm global roots. Injectable (`roots`) so tests on machines that
|
|
12
14
|
// really have the skill installed globally can sandbox resolution.
|
|
@@ -30,17 +32,23 @@ function nvmCandidates(home) {
|
|
|
30
32
|
.map((v) => join(base, v, 'lib', 'node_modules', PKG_REL, 'sogni-agent.mjs'));
|
|
31
33
|
}
|
|
32
34
|
|
|
33
|
-
export function resolveAgentPath({
|
|
35
|
+
export function resolveAgentPath({
|
|
36
|
+
env = process.env,
|
|
37
|
+
home = homedir(),
|
|
38
|
+
roots = DEFAULT_GLOBAL_ROOTS,
|
|
39
|
+
bundledAgentPath = BUNDLED_AGENT_PATH,
|
|
40
|
+
} = {}) {
|
|
34
41
|
if (env.SOGNI_AGENT_PATH) {
|
|
35
42
|
return existsSync(env.SOGNI_AGENT_PATH) ? env.SOGNI_AGENT_PATH : null;
|
|
36
43
|
}
|
|
37
44
|
const candidates = [
|
|
45
|
+
bundledAgentPath,
|
|
38
46
|
...roots.map((root) => join(root, PKG_REL, 'sogni-agent.mjs')),
|
|
39
47
|
join(home, '.npm-global', 'lib', 'node_modules', PKG_REL, 'sogni-agent.mjs'),
|
|
40
48
|
...(env.APPDATA ? [join(env.APPDATA, 'npm', 'node_modules', PKG_REL, 'sogni-agent.mjs')] : []),
|
|
41
49
|
...nvmCandidates(home),
|
|
42
50
|
];
|
|
43
|
-
return candidates.find((p) => existsSync(p)) ?? null;
|
|
51
|
+
return candidates.find((p) => p && existsSync(p)) ?? null;
|
|
44
52
|
}
|
|
45
53
|
|
|
46
54
|
export function resolveFfmpegPath({ env = process.env } = {}) {
|
|
@@ -2453,7 +2453,7 @@ const PROMPT_CONTRACTS = [
|
|
|
2453
2453
|
"contractId": "upscale_video_v1",
|
|
2454
2454
|
"version": "1.0.0",
|
|
2455
2455
|
"toolName": "upscale_video",
|
|
2456
|
-
"baseDescription": "upscale_video performs promptless, deterministic FlashVSR super-resolution of exactly one\nuploaded or generated video. Use it when the user asks to upscale, enlarge, sharpen, or increase\nthe resolution of an existing video, or wants a 1080p, 1440p, 2K, or HD copy of it. The output\nkeeps every source frame, the exact frame rate, the full aspect ratio, and the original audio.\n\nDo not invent a prompt and do not route a pure video upscale through video_to_video,\ngenerate_video, extend_video, or replace_video_segment; those tools re-render or edit content.\nUse video_to_video only when the user explicitly names a generative model such as Seedance for\nthe re-render. Do not use upscale_image for videos.\n\nOmit sourceVideoIndex to use the latest generated video, falling back to the most recent upload.\nUse zero-based non-negative indices for generated videos; -1 selects the first uploaded video\nand -2 the second. targetResolution is the output short edge: omit it for 1440p (or 1080p when\nthe source is too small for 1440p), and set 1080 when the user asks for 1080p or Full HD.\nThe output is at most twice the source size, so 1440p needs a source short edge of 720-768px\nand 1080p needs 540-768px. Sources must also be at most about 1344x768 pixels (768x1344 in\nportrait),
|
|
2456
|
+
"baseDescription": "upscale_video performs promptless, deterministic FlashVSR super-resolution of exactly one\nuploaded or generated video. Use it when the user asks to upscale, enlarge, sharpen, or increase\nthe resolution of an existing video, or wants a 1080p, 1440p, 2K, or HD copy of it. The output\nkeeps every source frame, the exact frame rate, the full aspect ratio, and the original audio.\n\nDo not invent a prompt and do not route a pure video upscale through video_to_video,\ngenerate_video, extend_video, or replace_video_segment; those tools re-render or edit content.\nUse video_to_video only when the user explicitly names a generative model such as Seedance for\nthe re-render. Do not use upscale_image for videos.\n\nOmit sourceVideoIndex to use the latest generated video, falling back to the most recent upload.\nUse zero-based non-negative indices for generated videos; -1 selects the first uploaded video\nand -2 the second. targetResolution is the output short edge: omit it for 1440p (or 1080p when\nthe source is too small for 1440p), and set 1080 when the user asks for 1080p or Full HD.\nThe output is at most twice the source size, so 1440p needs a source short edge of 720-768px\nand 1080p needs 540-768px. Sources must also be at most about 1344x768 pixels (768x1344 in\nportrait), 1-60 fps, and 100 MB. The server sets the maximum clip length and rejects a source\nthat is too long; never quote a length limit yourself. If the tool reports that the source is too\nlong or outside these limits, relay that error to the user instead of switching to a generative\nvideo tool. It cannot produce 4K or any size above 1440p: when the user asks for one, say so and\noffer 1440p instead of silently delivering less.",
|
|
2457
2457
|
"parameterDocs": {
|
|
2458
2458
|
"sourceVideoIndex": "Omit for the latest generated video, then the most recent upload. Generated videos are zero-based; -1/-2 select uploaded videos.",
|
|
2459
2459
|
"targetResolution": "Output short edge in pixels: 1440 or 1080. Omit for the default (1440, or 1080 for sources under 720px); set 1080 when the user asks for 1080p or Full HD."
|
package/llm.txt
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# sogni-creative-agent-skill
|
|
2
2
|
|
|
3
3
|
Agent skill and CLI for Sogni AI image, video, and music generation. Works as
|
|
4
|
-
a skill source for Claude Code, OpenAI Codex CLI, Hermes Agent, OpenClaw,
|
|
4
|
+
a skill source for Claude Code, OpenAI Codex CLI, Goose, Hermes Agent, OpenClaw,
|
|
5
5
|
Manus AI, and other SKILL.md-aware agent runtimes.
|
|
6
6
|
|
|
7
7
|
## Install (pick the integration that matches your environment)
|
|
@@ -38,6 +38,14 @@ npx setup-sogni-agent-skill --only=hermes
|
|
|
38
38
|
hermes skills install skills-sh/sogni-ai/sogni-creative-agent-skill/sogni-creative-agent-skill
|
|
39
39
|
npm install -g @sogni-ai/sogni-creative-agent-skill@latest
|
|
40
40
|
|
|
41
|
+
# Goose Agent Skill (install the skill plus the globally available CLI)
|
|
42
|
+
npx skills add Sogni-AI/sogni-creative-agent-skill --global --agent goose --skill sogni-creative-agent-skill --yes
|
|
43
|
+
npm install -g @sogni-ai/sogni-creative-agent-skill@latest
|
|
44
|
+
|
|
45
|
+
# Goose MCP extension (temporary session; configure the same command permanently
|
|
46
|
+
# through `goose configure`, or install it from the public Extensions directory)
|
|
47
|
+
goose session --with-extension "npx -y --package @sogni-ai/sogni-creative-agent-skill@latest sogni-agent-mcp"
|
|
48
|
+
|
|
41
49
|
# OpenClaw plugin (the npm package is scoped — use the npm: source prefix)
|
|
42
50
|
openclaw plugins install npm:@sogni-ai/sogni-creative-agent-skill
|
|
43
51
|
|
|
@@ -72,6 +80,7 @@ the host that ran it. Use the shim matching your runtime wherever these docs say
|
|
|
72
80
|
|
|
73
81
|
```bash
|
|
74
82
|
sogni-agent-hermes # Hermes Agent
|
|
83
|
+
sogni-agent-goose # Goose
|
|
75
84
|
sogni-agent-codex # OpenAI Codex CLI
|
|
76
85
|
sogni-agent-claude-code # Claude Code
|
|
77
86
|
sogni-agent # OpenClaw (auto-detected) and everything else
|
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "sogni-creative-agent-skill",
|
|
3
3
|
"name": "Sogni Creative Agent Skill — Image, Video & Music Generation",
|
|
4
4
|
"description": "Agent skill and CLI for Sogni AI image, video, and music generation.",
|
|
5
|
-
"version": "3.
|
|
5
|
+
"version": "3.42.0",
|
|
6
6
|
"skills": [
|
|
7
7
|
"."
|
|
8
8
|
],
|
package/package.json
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sogni-ai/sogni-creative-agent-skill",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.42.0",
|
|
4
4
|
"description": "Sogni Creative Agent Skill: agent skill and CLI for Sogni AI image, video, and music generation.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "sogni-agent.mjs",
|
|
7
7
|
"bin": {
|
|
8
8
|
"sogni-agent": "sogni-agent.mjs",
|
|
9
|
+
"sogni-agent-mcp": "desktop-extension/server/index.mjs",
|
|
9
10
|
"sogni-agent-codex": "host-launchers/codex.mjs",
|
|
10
11
|
"sogni-agent-claude-code": "host-launchers/claude-code.mjs",
|
|
11
|
-
"sogni-agent-hermes": "host-launchers/hermes.mjs"
|
|
12
|
+
"sogni-agent-hermes": "host-launchers/hermes.mjs",
|
|
13
|
+
"sogni-agent-goose": "host-launchers/goose.mjs"
|
|
12
14
|
},
|
|
13
15
|
"scripts": {
|
|
14
16
|
"openclaw:sync": "node scripts/sync-openclaw-plugin.mjs",
|
|
@@ -24,7 +26,7 @@
|
|
|
24
26
|
"test:all": "npm run test && npm run test:integration",
|
|
25
27
|
"test:coverage": "npm run check:creative-agent-runtime && node --test --experimental-test-coverage --test-coverage-include=sogni-agent.mjs --test-coverage-lines=50 --test-coverage-branches=35 --test-coverage-functions=50 test/sogni-agent.test.mjs",
|
|
26
28
|
"test:coverage:full": "npm run check:creative-agent-runtime && node --test --experimental-test-coverage --test-coverage-include=sogni-agent.mjs --test-coverage-lines=50 --test-coverage-branches=35 --test-coverage-functions=50 test/*.test.mjs test/*.integration.mjs",
|
|
27
|
-
"build:mcpb": "
|
|
29
|
+
"build:mcpb": "node scripts/build-mcpb.mjs",
|
|
28
30
|
"prepack": "npm run check:version-sync && npm run check:creative-agent-source:strict && SOGNI_REQUIRE_RUNTIME_SYNC=1 npm run check:creative-agent-runtime",
|
|
29
31
|
"version": "npm run sync:version",
|
|
30
32
|
"prepare": "husky",
|
|
@@ -74,6 +76,7 @@
|
|
|
74
76
|
"llm.txt",
|
|
75
77
|
"skill-package.json",
|
|
76
78
|
"host-launchers/",
|
|
79
|
+
"scripts/build-mcpb.mjs",
|
|
77
80
|
"scripts/sync-version.mjs",
|
|
78
81
|
"scripts/sync-hermes-skill.mjs",
|
|
79
82
|
"scripts/check-version-sync.mjs",
|
|
@@ -95,13 +98,13 @@
|
|
|
95
98
|
"sogni-agent.mjs"
|
|
96
99
|
],
|
|
97
100
|
"dependencies": {
|
|
98
|
-
"@sogni-ai/sogni-intelligence-client": "3.29.
|
|
101
|
+
"@sogni-ai/sogni-intelligence-client": "3.29.1",
|
|
99
102
|
"execa": "^10.0.1",
|
|
100
103
|
"json5": "^2.2.3",
|
|
101
104
|
"sharp": "0.35.4"
|
|
102
105
|
},
|
|
103
106
|
"overrides": {
|
|
104
|
-
"@sogni-ai/sogni-client": "5.
|
|
107
|
+
"@sogni-ai/sogni-client": "5.39.1"
|
|
105
108
|
},
|
|
106
109
|
"openclaw": {
|
|
107
110
|
"extensions": [
|
package/references/models.md
CHANGED
|
@@ -87,10 +87,12 @@ becomes 1080 or 1440 (default 1440; 1080 when the source is below 720p) while
|
|
|
87
87
|
the aspect ratio, every frame, the exact frame rate, and the original audio are
|
|
88
88
|
kept; nothing is trimmed, cropped, restyled, or interpolated. Sources must be
|
|
89
89
|
at most 768px on the short edge and about 1344x768 pixels overall (768x1344 in
|
|
90
|
-
portrait), 1-
|
|
90
|
+
portrait), 1-60 fps,
|
|
91
91
|
SDR with square pixels, and 100 MB or less; 1440p needs a source short edge of
|
|
92
92
|
at least 720px and 1080p at least 540px. 4K is not available. The direct CLI
|
|
93
|
-
reads the exact frame count and rate with a local ffprobe.
|
|
93
|
+
reads the exact frame count and rate with a local ffprobe. The server sets the
|
|
94
|
+
maximum clip length; do not quote a fixed limit. Relay a server rejection if
|
|
95
|
+
the source is too long, without trimming it or switching to a generative tool.
|
|
94
96
|
|
|
95
97
|
For Krea 2 Turbo, hosted/chat planning may use the creative-agent selector
|
|
96
98
|
`krea-2-turbo`; direct CLI `-m` uses the worker model ID
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { cpSync, mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
|
|
3
|
+
import { tmpdir } from 'node:os';
|
|
4
|
+
import { dirname, join, resolve } from 'node:path';
|
|
5
|
+
import { spawnSync } from 'node:child_process';
|
|
6
|
+
import { fileURLToPath } from 'node:url';
|
|
7
|
+
|
|
8
|
+
const ROOT = dirname(dirname(fileURLToPath(import.meta.url)));
|
|
9
|
+
|
|
10
|
+
// Preserve the source layout so the MCP server's shared relative imports stay
|
|
11
|
+
// inside the standalone extension, without including the full CLI or SDK.
|
|
12
|
+
export function stageMcpb(destination) {
|
|
13
|
+
mkdirSync(destination, { recursive: true });
|
|
14
|
+
cpSync(join(ROOT, 'desktop-extension'), join(destination, 'desktop-extension'), {
|
|
15
|
+
recursive: true,
|
|
16
|
+
filter: (source) => !['node_modules', 'package-lock.json', '.DS_Store'].includes(source.split(/[\\/]/).at(-1)),
|
|
17
|
+
});
|
|
18
|
+
for (const file of ['attribution.mjs', 'version.mjs', 'LICENSE']) {
|
|
19
|
+
cpSync(join(ROOT, file), join(destination, file));
|
|
20
|
+
}
|
|
21
|
+
const manifest = JSON.parse(readFileSync(join(ROOT, 'desktop-extension', 'manifest.json'), 'utf8'));
|
|
22
|
+
manifest.server.entry_point = 'desktop-extension/server/index.mjs';
|
|
23
|
+
manifest.server.mcp_config.args = ['${__dirname}/desktop-extension/server/index.mjs'];
|
|
24
|
+
writeFileSync(join(destination, 'manifest.json'), `${JSON.stringify(manifest, null, 2)}\n`);
|
|
25
|
+
return manifest;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
if (process.argv[1] && resolve(process.argv[1]) === fileURLToPath(import.meta.url)) {
|
|
29
|
+
const staging = mkdtempSync(join(tmpdir(), 'sogni-mcpb-'));
|
|
30
|
+
try {
|
|
31
|
+
stageMcpb(staging);
|
|
32
|
+
const output = join(ROOT, 'dist', 'sogni-creative-agent.mcpb');
|
|
33
|
+
mkdirSync(dirname(output), { recursive: true });
|
|
34
|
+
const result = spawnSync(
|
|
35
|
+
process.platform === 'win32' ? 'npx.cmd' : 'npx',
|
|
36
|
+
['-y', '@anthropic-ai/mcpb', 'pack', staging, output],
|
|
37
|
+
{ stdio: 'inherit', shell: process.platform === 'win32' },
|
|
38
|
+
);
|
|
39
|
+
if (result.error) throw result.error;
|
|
40
|
+
process.exitCode = result.status ?? 1;
|
|
41
|
+
} finally {
|
|
42
|
+
rmSync(staging, { recursive: true, force: true });
|
|
43
|
+
}
|
|
44
|
+
}
|
package/skill-package.json
CHANGED
package/skills/video_editing.md
CHANGED
|
@@ -38,7 +38,7 @@ Convert a still image, audio track, or existing clip into video, plus Seedance a
|
|
|
38
38
|
|
|
39
39
|
- Per-clip retry and the batch progress contract are sacred — never collapse a multi-clip render down to a single waterfall call.
|
|
40
40
|
- `animate_photo` errors with `all_failed` must surface to the user; do not auto-retry from inside the chat loop.
|
|
41
|
-
- Use `upscale_video` when the user only wants a sharper, higher-resolution copy of an existing video. Pick the source with `sourceVideoIndex` (generated results are 0-based; -1 is the first upload) and optionally `targetResolution` 1080 or 1440 (default 1440, or 1080 for sources under 720p). It cannot produce 4K. Sources must be ≤768px on the short edge and at most about 1344×768 pixels (768×1344 portrait),
|
|
41
|
+
- Use `upscale_video` when the user only wants a sharper, higher-resolution copy of an existing video. Pick the source with `sourceVideoIndex` (generated results are 0-based; -1 is the first upload) and optionally `targetResolution` 1080 or 1440 (default 1440, or 1080 for sources under 720p). It cannot produce 4K. Sources must be ≤768px on the short edge and at most about 1344×768 pixels (768×1344 portrait), 1-60 fps, and ≤100 MB. The server sets the maximum clip length; relay its error if a source is too long, without quoting a fixed limit. Never invent a prompt or substitute `video_to_video`/`generate_video` unless the user names a generative model such as Seedance for a re-render.
|
|
42
42
|
- For multiple prompt-only takes from one fixed source/end image and shared settings, prefer one Dynamic Prompt request with `numberOfVariations`/`-n`, then stitch the returned clips if the user asked for a single final video.
|
|
43
43
|
- Keep per-clip prompt arrays and source/end image arrays when clips need different assets, durations, audio windows, or other per-output settings.
|
|
44
44
|
- HappyHorse i2v uses exactly one first-frame image and r2v uses 1-9 image references; do not attach reference audio, reference video, ControlNet, or negative prompts.
|
package/sogni-agent.mjs
CHANGED
|
@@ -1377,8 +1377,6 @@ const VIDEO_UPSCALE_DEFAULT_RESOLUTION = 1440;
|
|
|
1377
1377
|
const VIDEO_UPSCALE_MAX_SOURCE_SHORT_EDGE = 768;
|
|
1378
1378
|
// Source area counted in 64-pixel blocks: about 1344x768, or 768x1344 in portrait.
|
|
1379
1379
|
const VIDEO_UPSCALE_MAX_SOURCE_BLOCK_PIXELS = 1344 * 768;
|
|
1380
|
-
const VIDEO_UPSCALE_MAX_FRAMES = 362;
|
|
1381
|
-
const VIDEO_UPSCALE_MAX_DURATION_SECONDS = 362 / 24;
|
|
1382
1380
|
const VIDEO_UPSCALE_MIN_FPS = 1;
|
|
1383
1381
|
const VIDEO_UPSCALE_MAX_FPS = 60;
|
|
1384
1382
|
const VIDEO_UPSCALE_MAX_BYTES = 100 * 1024 * 1024;
|
|
@@ -1505,12 +1503,7 @@ async function probeVideoUpscaleSource(buffer, sourceLabel) {
|
|
|
1505
1503
|
details: { fps }
|
|
1506
1504
|
});
|
|
1507
1505
|
}
|
|
1508
|
-
|
|
1509
|
-
fatalCliError(
|
|
1510
|
-
`This video is ${frames} frames (${(frames / fps).toFixed(2)} s); video upscaling accepts up to ${VIDEO_UPSCALE_MAX_FRAMES} frames and about 15 seconds.`,
|
|
1511
|
-
{ code: 'INVALID_UPSCALE_SOURCE', details: { frames, fps } }
|
|
1512
|
-
);
|
|
1513
|
-
}
|
|
1506
|
+
// The server owns the maximum clip length; submit the exact source count.
|
|
1514
1507
|
const rotated = Array.isArray(stream?.side_data_list)
|
|
1515
1508
|
&& stream.side_data_list.some((item) => Number(item?.rotation || 0) % 360 !== 0);
|
|
1516
1509
|
if (!['1:1', 'N/A', undefined].includes(stream?.sample_aspect_ratio) || rotated) {
|
package/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const PACKAGE_VERSION = '3.
|
|
1
|
+
export const PACKAGE_VERSION = '3.42.0';
|