moltskill 1.1.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Fintech Fog
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,175 @@
1
+ # moltskill
2
+
3
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4
+ [![npm version](https://img.shields.io/npm/v/moltskill.svg)](https://www.npmjs.com/package/moltskill)
5
+
6
+ Build OpenClaw skills without the boilerplate. Templates for APIs, browser automation, file processing & more.
7
+
8
+ **For humans and AI agents** — Use the CLI for programmatic skill generation or the web app for interactive creation.
9
+
10
+ ## Quick Start
11
+
12
+ ### Prerequisites
13
+
14
+ - [Bun](https://bun.sh) runtime.
15
+
16
+ ### CLI (recommended)
17
+
18
+ ```
19
+ bunx moltskill create -i
20
+ ```
21
+
22
+ This launches interactive mode that guides you through skill creation step by step.
23
+
24
+ ### App
25
+
26
+ Visit the hosted version at [moltskill.netlify.app](https://moltskill.netlify.app) or run locally:
27
+
28
+ ```
29
+ bun install
30
+ bun run start:app
31
+ ```
32
+
33
+ ## Templates
34
+
35
+ | Template | Description |
36
+ |----------|-------------|
37
+ | `basic` | Simple instructions only. Guidelines, prompts, knowledge bases. |
38
+ | `api-integration` | External API connections. Weather, stocks, REST/GraphQL services. |
39
+ | `browser-automation` | Web scraping and browser control. Form filling, data extraction. |
40
+ | `file-processor` | File system operations. CSV parsing, document generation. |
41
+ | `chat-command` | Direct tool dispatch. Quick actions like `/screenshot`. |
42
+ | `webhook-handler` | Receive and process webhooks. GitHub events, Stripe payments, Discord. |
43
+ | `data-transformer` | Convert data between formats. JSON, CSV, XML, YAML transformations. |
44
+ | `search-rag` | Semantic search and RAG. Knowledge base Q&A, document retrieval. |
45
+ | `database-query` | Query databases. SQL, MongoDB, Redis operations and result formatting. |
46
+ | `email-handler` | Send and process emails. SMTP, IMAP, templates, notifications. |
47
+ | `scheduler-cron` | Schedule periodic tasks. Cron jobs, backups, reports, monitoring. |
48
+ | `image-processor` | Image manipulation. Resize, filters, OCR, format conversion. |
49
+
50
+ ## CLI Usage
51
+
52
+ ```
53
+ moltskill create [options]
54
+
55
+ Options:
56
+ -n, --name <name> Skill name (lowercase, hyphens allowed).
57
+ -d, --description <desc> Skill description.
58
+ -t, --template <type> Template type (default: "basic").
59
+ -a, --author <author> Author name.
60
+ -o, --output <dir> Output directory (default: ".").
61
+ -i, --interactive Run in interactive mode.
62
+ -h, --help Display help.
63
+ ```
64
+
65
+ ### Examples
66
+
67
+ Interactive mode:
68
+
69
+ ```
70
+ bunx moltskill create -i
71
+ ```
72
+
73
+ Quick mode:
74
+
75
+ ```
76
+ bunx moltskill create -n my-skill -d "My awesome skill" -t basic
77
+ ```
78
+
79
+ List available templates:
80
+
81
+ ```
82
+ bunx moltskill templates
83
+ ```
84
+
85
+ Validate existing skill:
86
+
87
+ ```
88
+ bunx moltskill validate ./my-skill/SKILL.md
89
+ ```
90
+
91
+ ## AI Agent Usage
92
+
93
+ moltskill is designed for both humans and AI agents. The CLI supports non-interactive mode for programmatic skill generation.
94
+
95
+ ### Programmatic Generation
96
+
97
+ ```typescript
98
+ import { exec } from "child_process";
99
+
100
+ // AI agent creates a skill
101
+ await exec("bunx moltskill create -n weather-skill -d 'Fetch weather data' -t api-integration");
102
+ ```
103
+
104
+ ### Batch Creation
105
+
106
+ ```bash
107
+ # Create multiple skills at once
108
+ bunx moltskill create -n email-notifier -t email-handler
109
+ bunx moltskill create -n daily-backup -t scheduler-cron
110
+ bunx moltskill create -n image-resize -t image-processor
111
+ ```
112
+
113
+ ### Validation
114
+
115
+ ```bash
116
+ # Validate generated skills
117
+ bunx moltskill validate ./weather-skill/SKILL.md
118
+ ```
119
+
120
+ ### Use Cases for AI Agents
121
+
122
+ - **Automated skill scaffolding** based on user requirements.
123
+ - **Batch generation** of multiple related skills.
124
+ - **Template selection** using AI reasoning.
125
+ - **Post-generation customization** by modifying SKILL.md files.
126
+
127
+ ## Development
128
+
129
+ Install dependencies:
130
+
131
+ ```
132
+ bun install
133
+ ```
134
+
135
+ Run CLI in dev mode:
136
+
137
+ ```
138
+ bun run start
139
+ ```
140
+
141
+ Run web app in dev mode:
142
+
143
+ ```
144
+ bun run start:app
145
+ ```
146
+
147
+ Build CLI:
148
+
149
+ ```
150
+ bun run build
151
+ ```
152
+
153
+ Build web app:
154
+
155
+ ```
156
+ bun run build:app
157
+ ```
158
+
159
+ Type check:
160
+
161
+ ```
162
+ bun run typecheck
163
+ ```
164
+
165
+ ## Publishing
166
+
167
+ Build and publish to npm:
168
+
169
+ ```
170
+ bun run publish:npm
171
+ ```
172
+
173
+ ## Support
174
+
175
+ For questions and feedback, contact [@fintechfog](https://x.com/fintechfog) on X.
package/package.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "moltskill",
3
+ "version": "1.1.0",
4
+ "description": "CLI and Web tool to scaffold OpenClaw skills.",
5
+ "type": "module",
6
+ "bin": {
7
+ "moltskill": "./target/cli/index.js"
8
+ },
9
+ "scripts": {
10
+ "build": "bun build ./src/cli/index.ts --outdir ./target/cli --target bun",
11
+ "build:app": "vite build",
12
+ "start": "bun run ./src/cli/index.ts",
13
+ "start:app": "vite",
14
+ "preview": "vite preview",
15
+ "typecheck": "tsc --noEmit",
16
+ "convert-images": "bun run scripts/convert-images.ts",
17
+ "prepublishOnly": "bun run build",
18
+ "publish:npm": "npm publish --access public"
19
+ },
20
+ "keywords": [
21
+ "openclaw",
22
+ "clawdbot",
23
+ "moltbot",
24
+ "skill",
25
+ "generator",
26
+ "cli"
27
+ ],
28
+ "author": "Fintech Fog",
29
+ "repository": {
30
+ "type": "git",
31
+ "url": "https://github.com/fintechfog/moltskill.git"
32
+ },
33
+ "homepage": "https://moltskill.openclaw.ai",
34
+ "bugs": {
35
+ "url": "https://github.com/fintechfog/moltskill/issues"
36
+ },
37
+ "files": [
38
+ "target/cli",
39
+ "README.md",
40
+ "LICENSE"
41
+ ],
42
+ "license": "MIT",
43
+ "devDependencies": {
44
+ "@types/bun": "latest",
45
+ "@types/react": "^18.2.48",
46
+ "@types/react-dom": "^18.2.18",
47
+ "@vitejs/plugin-react": "^4.2.1",
48
+ "autoprefixer": "^10.4.17",
49
+ "postcss": "^8.4.33",
50
+ "sharp": "^0.34.5",
51
+ "tailwindcss": "^3.4.1",
52
+ "typescript": "^5.3.3",
53
+ "vite": "^5.0.12"
54
+ },
55
+ "dependencies": {
56
+ "@inquirer/prompts": "^7.0.0",
57
+ "chalk": "^5.3.0",
58
+ "commander": "^12.0.0",
59
+ "jszip": "^3.10.1",
60
+ "lucide-react": "^0.312.0",
61
+ "react": "^18.2.0",
62
+ "react-dom": "^18.2.0",
63
+ "clsx": "^2.1.0"
64
+ }
65
+ }