Install dependencies and launch webpack process:
npm install
npm start
Finally, launch your editor of choice and edit index.js, index.scss, and index.html.
| # OpenClaw Implementation Prompts | |
| Each prompt below is a self-contained brief you can hand to an AI coding assistant (or use as a project spec) to build that use case from scratch. Adapt the specific services to whatever you already use — the patterns are what matter. | |
| --- | |
| ## 1) Personal CRM Intelligence | |
| ``` | |
| Build me a personal CRM system that automatically tracks everyone I interact with, with smart filtering so it only adds real people — not newsletters, bots, or cold outreach. |
| #!/usr/bin/env python3 | |
| """ | |
| Script para generar siluetas PNG a partir de PSD. | |
| Extrae la máscara de la capa "PNG" y la exporta. | |
| """ | |
| import sys | |
| from pathlib import Path | |
| from PIL import Image, ImageOps | |
| from psd_tools import PSDImage |
| wfs = [["ac", nil], | |
| ["bk", | |
| [{"workflow_id"=>"image-generate-widths", "conditions"=>{"m"=>"and", "g"=>[{"file_type_in"=>["jpg", "JPG", "jpeg", "JPEG", "png", "PNG"]}]}}, | |
| {"workflow_id"=>"image-generate-marketplaces-bk", | |
| "conditions"=> | |
| {"m"=>"and", | |
| "g"=> | |
| [{"file_type_in"=>["jpg", "JPG", "jpeg", "JPEG", "png", "PNG"]}, | |
| {"filename_does_not_match"=>"M[0-9]{10}-[a-zA-Z]{1,3}[0-9]{0,2}?[a-zA-Z]?_[a-zA-Z]{2}.(jpg|JPG|png|PNG|gif|GIF|webm|WEBM|mp4|MP4|zip|ZIP)"}]}}, | |
| {"workflow_id"=>"video-transcoder", "conditions"=>{"m"=>"and", "g"=>[{"file_type_in"=>["mov", "MOV", "MP4", "mp4"]}]}}]], |
| <script type="customer-template" include-category="NINO" exclude-category="ZAPATO"> | |
| <style> | |
| #ninos-msg { | |
| text-align: center; | |
| } | |
| </style> | |
| <div>NINOS menos ZAPATOS</div> | |
| </script> | |
| <div id="customer-template"> </div> |
| const express = require('express'); | |
| const passport = require('passport'); | |
| const app = express(); | |
| const cookieParser = require('cookie-parser'); | |
| const bodyParser = require('body-parser'); | |
| const session = require('express-session'); | |
| const LocalStrategy = require('passport-local').Strategy; | |
| passport.serializeUser((user, done) => { console.log('serialize'); done(null, user); } ); | |
| passport.deserializeUser((user, done) => { console.log('deserialize'); done(null, user); }); |
| module.exports = { | |
| "env": { | |
| "es6": true, | |
| "node": true | |
| }, | |
| "extends": "eslint:recommended", | |
| "parserOptions": { | |
| "sourceType": "module" | |
| }, | |
| "rules": { |
| [ | |
| { "keys": ["alt+t"], "command": "extractor_command"} | |
| ] |
| const config = require('./config'); | |
| console.log(config); |
| class Dict | |
| constructor: (@g, @dict) -> | |
| @missings = [] | |
| resolve: (content, showErrors=true, json=false, englishFallback=true) -> | |
| fail = false | |
| RE = if json then /"\{([^}^\s]+)\}"/g else /\{([^}^\s]+)\}/g | |
| content = content.replace RE, (m, n) => | |
| replacement = @t n, showErrors, true, englishFallback | |
| fail or= not replacement? |