Self-improving AI Employees for everyone
Python ai-agentsai-employeeai-employeesassistantautonomous-agentsco-employeescompanygrok-botinstinctloop-agentsmuseown-your-datapersonalself-hosted
fix: Google OAuth PKCE code_verifier persistence, bump to v0.0.41
trohitgc82f641764a3
diff --git a/package.json b/package.jsonindex d1c5eac7..bcf13a91 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "machinaos",- "version": "0.0.40",+ "version": "0.0.41","description": "Open source workflow automation platform with AI agents, React Flow, and n8n-inspired architecture","type": "module","keywords": [diff --git a/server/services/google_oauth.py b/server/services/google_oauth.pyindex 9fad0eb6..1acc04d1 100644--- a/server/services/google_oauth.py+++ b/server/services/google_oauth.py@@ -180,10 +180,13 @@ class GoogleOAuth:)# Store state data for callback verification+ # PKCE: google-auth-oauthlib auto-generates code_verifier; save it+ # so exchange_code() can restore it on the new Flow instance._oauth_states[state] = {"created_at": time.time(),"data": state_data or {"mode": "owner"},"redirect_uri": self.redirect_uri,+ "code_verifier": getattr(flow, "code_verifier", None),}logger.info("Generated Google OAuth URL", state=state[:8])@@ -219,6 +222,10 @@ class GoogleOAuth:redirect_uri=self.redirect_uri,state=state,)+ # PKCE: restore code_verifier so token exchange includes it+ code_verifier = oauth_state.get("code_verifier")+ if code_verifier:+ flow.code_verifier = code_verifierflow.fetch_token(code=code)# Get credentials from flowdiff --git a/workflows/AI Employee.json b/workflows/AI Employee.jsonnew file mode 100644index 00000000..182e82c2--- /dev/null+++ b/workflows/AI Employee.json@@ -0,0 +1,1308 @@+{+ "id": "workflow-1772437472641-wdn3sj4us",+ "name": "AI Employee[Experimental]",+ "nodes": [+ {+ "id": "orchestrator_agent-1772283239381",+ "type": "orchestrator_agent",+ "position": {+ "x": -100,+ "y": 900+ },+ "data": {+ "label": "Orchestrator Agent"+ },+ "width": 300,+ "height": 200,+ "selected": false,+ "positionAbsolute": {+ "x": -100,+ "y": 900+ },+ "dragging": false+ },+ {+ "id": "ai_employee-1772283240733",+ "type": "ai_employee",+ "position": {+ "x": -440,+ "y": 600+ },+ "data": {+ "label": "AI Employee"+ },+ "width": 300,+ "height": 200,+ "selected": false,+ "positionAbsolute": {+ "x": -440,+ "y": 600+ },+ "dragging": false+ },+ {+ "id": "taskTrigger-1772283316801",+ "type": "taskTrigger",+ "position": {+ "x": -960,+ "y": 740+ },+ "data": {+ "label": "Task Completed"+ },+ "width": 86,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": -960,+ "y": 740+ },+ "dragging": false+ },+ {+ "id": "chatTrigger-1772283321856",+ "type": "chatTrigger",+ "position": {+ "x": -940,+ "y": 640+ },+ "data": {+ "label": "Chat Trigger"+ },+ "width": 67,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": -940,+ "y": 640+ },+ "dragging": true+ },+ {+ "id": "console-1772283322828",+ "type": "console",+ "position": {+ "x": 180,+ "y": 660+ },+ "data": {+ "label": "Console"+ },+ "width": 60,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": 180,+ "y": 660+ },+ "dragging": true+ },+ {+ "id": "teamMonitor-1772283324318",+ "type": "teamMonitor",+ "position": {+ "x": 300,+ "y": 780+ },+ "data": {+ "label": "Team Monitor"+ },+ "width": 76,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": 300,+ "y": 780+ },+ "dragging": true+ },+ {+ "id": "simpleMemory-1772283375051",+ "type": "simpleMemory",+ "position": {+ "x": -580,+ "y": 880+ },+ "data": {+ "label": "Simple Memory"+ },+ "width": 87,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": -580,+ "y": 880+ },+ "dragging": false+ },+ {+ "id": "duckduckgoSearch-1772283377870",+ "type": "duckduckgoSearch",+ "position": {+ "x": -540,+ "y": 1540+ },+ "data": {+ "label": "DuckDuckGo Search"+ },+ "width": 110,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": -540,+ "y": 1540+ },+ "dragging": false+ },+ {+ "id": "masterSkill-1772283380072",+ "type": "masterSkill",+ "position": {+ "x": -440,+ "y": 880+ },+ "data": {+ "label": "Master Skill"+ },+ "width": 63,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": -440,+ "y": 880+ },+ "dragging": false+ },+ {+ "id": "taskManager-1772283382254",+ "type": "taskManager",+ "position": {+ "x": -420,+ "y": 1080+ },+ "data": {+ "label": "Task Manager"+ },+ "width": 75,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": -420,+ "y": 1080+ },+ "dragging": true+ },+ {+ "id": "coding_agent-1772286449045",+ "type": "coding_agent",+ "position": {+ "x": 240,+ "y": 1240+ },+ "data": {+ "label": "Coding Agent"+ },+ "width": 300,+ "height": 200,+ "selected": false,+ "positionAbsolute": {+ "x": 240,+ "y": 1240+ },+ "dragging": false+ },+ {+ "id": "web_agent-1772286450006",+ "type": "web_agent",+ "position": {+ "x": -760,+ "y": 1240+ },+ "data": {+ "label": "Web Control Agent"+ },+ "width": 300,+ "height": 200,+ "selected": false,+ "positionAbsolute": {+ "x": -760,+ "y": 1240+ },+ "dragging": false+ },+ {+ "id": "social_agent-1772286452768",+ "type": "social_agent",+ "position": {+ "x": 720,+ "y": 1240+ },+ "data": {+ "label": "Social Media Agent"+ },+ "width": 300,+ "height": 200,+ "selected": false,+ "positionAbsolute": {+ "x": 720,+ "y": 1240+ },+ "dragging": false+ },+ {+ "id": "productivity_agent-1772286457333",+ "type": "productivity_agent",+ "position": {+ "x": -280,+ "y": 1240+ },+ "data": {+ "label": "Productivity Agent"+ },+ "width": 300,+ "height": 200,+ "selected": false,+ "positionAbsolute": {+ "x": -280,+ "y": 1240+ },+ "dragging": false+ },+ {+ "id": "pythonExecutor-1772286519369",+ "type": "pythonExecutor",+ "position": {+ "x": 440,+ "y": 1520+ },+ "data": {+ "label": "Python Executor"+ },+ "width": 89,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": 440,+ "y": 1520+ },+ "dragging": false+ },+ {+ "id": "whatsappDb-1772286523527",+ "type": "whatsappDb",+ "position": {+ "x": 920,+ "y": 1520+ },+ "data": {+ "label": "WhatsApp DB"+ },+ "width": 76,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": 920,+ "y": 1520+ },+ "dragging": false+ },+ {+ "id": "perplexitySearch-1772286538579",+ "type": "perplexitySearch",+ "position": {+ "x": -660,+ "y": 1540+ },+ "data": {+ "label": "Perplexity Search"+ },+ "width": 93,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": -660,+ "y": 1540+ },+ "dragging": false+ },+ {+ "id": "gmail-1772286542794",+ "type": "gmail",+ "position": {+ "x": -40,+ "y": 1540+ },+ "data": {+ "label": "Gmail"+ },+ "width": 60,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": -40,+ "y": 1540+ },+ "dragging": false+ },+ {+ "id": "sheets-1772286546873",+ "type": "sheets",+ "position": {+ "x": -140,+ "y": 1540+ },+ "data": {+ "label": "Sheets"+ },+ "width": 60,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": -140,+ "y": 1540+ },+ "dragging": false+ },+ {+ "id": "masterSkill-1772286623655",+ "type": "masterSkill",+ "position": {+ "x": -800,+ "y": 1540+ },+ "data": {+ "label": "Master Skill 1"+ },+ "width": 71,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": -800,+ "y": 1540+ },+ "dragging": false+ },+ {+ "id": "masterSkill-1772286624787",+ "type": "masterSkill",+ "position": {+ "x": -280,+ "y": 1540+ },+ "data": {+ "label": "Master Skill 2"+ },+ "width": 73,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": -280,+ "y": 1540+ },+ "dragging": false+ },+ {+ "id": "masterSkill-1772286639206",+ "type": "masterSkill",+ "position": {+ "x": 240,+ "y": 1520+ },+ "data": {+ "label": "Master Skill 3"+ },+ "width": 73,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": 240,+ "y": 1520+ },+ "dragging": true+ },+ {+ "id": "masterSkill-1772286641708",+ "type": "masterSkill",+ "position": {+ "x": 760,+ "y": 1520+ },+ "data": {+ "label": "Master Skill 4"+ },+ "width": 73,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": 760,+ "y": 1520+ },+ "dragging": false+ },+ {+ "id": "simpleMemory-1772286654076",+ "type": "simpleMemory",+ "position": {+ "x": -940,+ "y": 1420+ },+ "data": {+ "label": "Simple Memory 1"+ },+ "width": 95,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": -940,+ "y": 1420+ },+ "dragging": false+ },+ {+ "id": "simpleMemory-1772286662040",+ "type": "simpleMemory",+ "position": {+ "x": -400,+ "y": 1420+ },+ "data": {+ "label": "Simple Memory 2"+ },+ "width": 97,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": -400,+ "y": 1420+ },+ "dragging": false+ },+ {+ "id": "simpleMemory-1772286667244",+ "type": "simpleMemory",+ "position": {+ "x": 100,+ "y": 1420+ },+ "data": {+ "label": "Simple Memory 3"+ },+ "width": 97,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": 100,+ "y": 1420+ },+ "dragging": false+ },+ {+ "id": "simpleMemory-1772286673234",+ "type": "simpleMemory",+ "position": {+ "x": 600,+ "y": 1440+ },+ "data": {+ "label": "Simple Memory 4"+ },+ "width": 97,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": 600,+ "y": 1440+ },+ "dragging": false+ },+ {+ "id": "simpleMemory-1772437660092",+ "type": "simpleMemory",+ "position": {+ "x": -560,+ "y": 1080+ },+ "data": {+ "label": "Simple Memory 5"+ },+ "width": 97,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": -560,+ "y": 1080+ },+ "dragging": false+ },+ {+ "id": "masterSkill-1772437683119",+ "type": "masterSkill",+ "position": {+ "x": -280,+ "y": 1080+ },+ "data": {+ "label": "Master Skill 5"+ },+ "width": 73,+ "height": 82,+ "selected": false,+ "positionAbsolute": {+ "x": -280,+ "y": 1080+ },+ "dragging": false+ }+ ],+ "edges": [+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "chatTrigger-1772283321856",+ "sourceHandle": "output-main",+ "target": "ai_employee-1772283240733",+ "targetHandle": "input-main",+ "id": "reactflow__edge-chatTrigger-1772283321856output-main-ai_employee-1772283240733input-main",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "ai_employee-1772283240733",+ "sourceHandle": "output-main",+ "target": "console-1772283322828",+ "targetHandle": "input-main",+ "id": "reactflow__edge-ai_employee-1772283240733output-main-console-1772283322828input-main",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "simpleMemory-1772283375051",+ "sourceHandle": "output-memory",+ "target": "ai_employee-1772283240733",+ "targetHandle": "input-memory",+ "id": "reactflow__edge-simpleMemory-1772283375051output-memory-ai_employee-1772283240733input-memory",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "masterSkill-1772283380072",+ "sourceHandle": "output-main",+ "target": "ai_employee-1772283240733",+ "targetHandle": "input-skill",+ "id": "reactflow__edge-masterSkill-1772283380072output-main-ai_employee-1772283240733input-skill",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "orchestrator_agent-1772283239381",+ "sourceHandle": "output-top",+ "target": "ai_employee-1772283240733",+ "targetHandle": "input-teammates",+ "id": "reactflow__edge-orchestrator_agent-1772283239381output-top-ai_employee-1772283240733input-teammates",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "taskTrigger-1772283316801",+ "sourceHandle": "output-main",+ "target": "ai_employee-1772283240733",+ "targetHandle": "input-task",+ "id": "reactflow__edge-taskTrigger-1772283316801output-main-ai_employee-1772283240733input-task",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "web_agent-1772286450006",+ "sourceHandle": "output-top",+ "target": "orchestrator_agent-1772283239381",+ "targetHandle": "input-teammates",+ "id": "reactflow__edge-web_agent-1772286450006output-top-orchestrator_agent-1772283239381input-teammates",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "productivity_agent-1772286457333",+ "sourceHandle": "output-top",+ "target": "orchestrator_agent-1772283239381",+ "targetHandle": "input-teammates",+ "id": "reactflow__edge-productivity_agent-1772286457333output-top-orchestrator_agent-1772283239381input-teammates",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "coding_agent-1772286449045",+ "sourceHandle": "output-top",+ "target": "orchestrator_agent-1772283239381",+ "targetHandle": "input-teammates",+ "id": "reactflow__edge-coding_agent-1772286449045output-top-orchestrator_agent-1772283239381input-teammates",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "social_agent-1772286452768",+ "sourceHandle": "output-top",+ "target": "orchestrator_agent-1772283239381",+ "targetHandle": "input-teammates",+ "id": "reactflow__edge-social_agent-1772286452768output-top-orchestrator_agent-1772283239381input-teammates",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "sheets-1772286546873",+ "sourceHandle": "output-tool",+ "target": "productivity_agent-1772286457333",+ "targetHandle": "input-tools",+ "id": "reactflow__edge-sheets-1772286546873output-tool-productivity_agent-1772286457333input-tools",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "whatsappDb-1772286523527",+ "sourceHandle": "output-tool",+ "target": "social_agent-1772286452768",+ "targetHandle": "input-tools",+ "id": "reactflow__edge-whatsappDb-1772286523527output-tool-social_agent-1772286452768input-tools",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "perplexitySearch-1772286538579",+ "sourceHandle": "output-tool",+ "target": "web_agent-1772286450006",+ "targetHandle": "input-tools",+ "id": "reactflow__edge-perplexitySearch-1772286538579output-tool-web_agent-1772286450006input-tools",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "pythonExecutor-1772286519369",+ "sourceHandle": "output-tool",+ "target": "coding_agent-1772286449045",+ "targetHandle": "input-tools",+ "id": "reactflow__edge-pythonExecutor-1772286519369output-tool-coding_agent-1772286449045input-tools",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "gmail-1772286542794",+ "sourceHandle": "output-tool",+ "target": "productivity_agent-1772286457333",+ "targetHandle": "input-tools",+ "id": "reactflow__edge-gmail-1772286542794output-tool-productivity_agent-1772286457333input-tools",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "masterSkill-1772286623655",+ "sourceHandle": "output-main",+ "target": "web_agent-1772286450006",+ "targetHandle": "input-skill",+ "id": "reactflow__edge-masterSkill-1772286623655output-main-web_agent-1772286450006input-skill",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "masterSkill-1772286624787",+ "sourceHandle": "output-main",+ "target": "productivity_agent-1772286457333",+ "targetHandle": "input-skill",+ "id": "reactflow__edge-masterSkill-1772286624787output-main-productivity_agent-1772286457333input-skill",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "masterSkill-1772286641708",+ "sourceHandle": "output-main",+ "target": "social_agent-1772286452768",+ "targetHandle": "input-skill",+ "id": "reactflow__edge-masterSkill-1772286641708output-main-social_agent-1772286452768input-skill",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "masterSkill-1772286639206",+ "sourceHandle": "output-main",+ "target": "coding_agent-1772286449045",+ "targetHandle": "input-skill",+ "id": "reactflow__edge-masterSkill-1772286639206output-main-coding_agent-1772286449045input-skill",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "simpleMemory-1772286654076",+ "sourceHandle": "output-memory",+ "target": "web_agent-1772286450006",+ "targetHandle": "input-memory",+ "id": "reactflow__edge-simpleMemory-1772286654076output-memory-web_agent-1772286450006input-memory",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "simpleMemory-1772286662040",+ "sourceHandle": "output-memory",+ "target": "productivity_agent-1772286457333",+ "targetHandle": "input-memory",+ "id": "reactflow__edge-simpleMemory-1772286662040output-memory-productivity_agent-1772286457333input-memory",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "simpleMemory-1772286667244",+ "sourceHandle": "output-memory",+ "target": "coding_agent-1772286449045",+ "targetHandle": "input-memory",+ "id": "reactflow__edge-simpleMemory-1772286667244output-memory-coding_agent-1772286449045input-memory",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "simpleMemory-1772286673234",+ "sourceHandle": "output-memory",+ "target": "social_agent-1772286452768",+ "targetHandle": "input-memory",+ "id": "reactflow__edge-simpleMemory-1772286673234output-memory-social_agent-1772286452768input-memory",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "duckduckgoSearch-1772283377870",+ "sourceHandle": "output-tool",+ "target": "web_agent-1772286450006",+ "targetHandle": "input-tools",+ "id": "reactflow__edge-duckduckgoSearch-1772283377870output-tool-web_agent-1772286450006input-tools",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "taskManager-1772283382254",+ "sourceHandle": "output-tool",+ "target": "orchestrator_agent-1772283239381",+ "targetHandle": "input-tools",+ "id": "reactflow__edge-taskManager-1772283382254output-tool-orchestrator_agent-1772283239381input-tools",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "simpleMemory-1772437660092",+ "sourceHandle": "output-memory",+ "target": "orchestrator_agent-1772283239381",+ "targetHandle": "input-memory",+ "id": "reactflow__edge-simpleMemory-1772437660092output-memory-orchestrator_agent-1772283239381input-memory",+ "selected": false+ },+ {+ "type": "smoothstep",+ "animated": true,+ "style": {+ "stroke": "#8be9fd",+ "strokeWidth": 3+ },+ "source": "masterSkill-1772437683119",+ "sourceHandle": "output-main",+ "target": "orchestrator_agent-1772283239381",+ "targetHandle": "input-skill",+ "id": "reactflow__edge-masterSkill-1772437683119output-main-orchestrator_agent-1772283239381input-skill",+ "selected": false+ }+ ],+ "createdAt": "2026-03-02T07:44:32.641Z",+ "lastModified": "2026-03-02T07:49:24.197Z",+ "version": "0.0.40",+ "nodeParameters": {+ "orchestrator_agent-1772283239381": {+ "provider": "openai",+ "model": "gpt-5.2",+ "prompt": "{{ $json.chatInput }}",+ "systemMessage": "You are a helpful assistant",+ "teamMode": "parallel",+ "label": "Orchestrator Agent"+ },+ "ai_employee-1772283240733": {+ "provider": "openai",+ "model": "gpt-5.2",+ "prompt": "{{chattrigger.message}}",+ "systemMessage": "You are a helpful assistant",+ "teamMode": "parallel",+ "maxConcurrent": 5,+ "label": "AI Employee"+ },+ "taskTrigger-1772283316801": {+ "task_id": "",+ "agent_name": "",+ "status_filter": "all",+ "parent_node_id": "",+ "label": "Task Completed"+ },+ "chatTrigger-1772283321856": {+ "sessionId": "default",+ "placeholder": "Type a message...",+ "label": "Chat Trigger"+ },+ "console-1772283322828": {+ "label": "Console",+ "logMode": "all",+ "fieldPath": "{{aiemployee.data}}",+ "expression": "",+ "format": "json"+ },+ "teamMonitor-1772283324318": {+ "refreshInterval": 1000,+ "showTaskHistory": true,+ "showMessages": true,+ "maxHistoryItems": 50,+ "label": "Team Monitor"+ },+ "simpleMemory-1772283375051": {+ "sessionId": "",+ "windowSize": 100,+ "longTermEnabled": false,+ "retrievalCount": 3,+ "label": "Simple Memory"+ },+ "duckduckgoSearch-1772283377870": {+ "toolName": "web_search",+ "toolDescription": "Search the web for information. Returns relevant search results.",+ "maxResults": 5,+ "label": "DuckDuckGo Search"+ },+ "masterSkill-1772283380072": {+ "skillFolder": "autonomous",+ "skillsConfig": {+ "assistant-personality": {+ "enabled": true,+ "instructions": "# Assistant Personality\n\nYou are a helpful, harmless, and honest AI assistant. Your goal is to assist users with their requests while being truthful and avoiding harmful content.\n\n## Core Principles\n\n1. **Helpfulness**: Provide clear, accurate, and useful information\n2. **Honesty**: Be truthful about your capabilities and limitations\n3. **Safety**: Avoid generating harmful, illegal, or unethical content\n\n## Communication Style\n\n- Be concise but thorough\n- Use clear, simple language\n- Break down complex topics into understandable parts\n- Ask clarifying questions when needed\n- Admit when you don't know something\n\n## Response Guidelines\n\nWhen responding to users:\n1. Understand the intent behind their question\n2. Provide the most helpful response possible\n3. Include relevant context or caveats\n4. Suggest follow-up questions if appropriate\n\n## Examples\n\nUser: \"What's the weather like?\"\nResponse: I don't have access to real-time weather data. However, I can help you find weather information if you tell me your location, or you can use a weather service like weather.com.\n\nUser: \"Help me write an email\"\nResponse: I'd be happy to help you write an email. Could you tell me:\n- Who is the recipient?\n- What is the purpose of the email?\n- What tone would you like (formal, casual, etc.)?\n",+ "isCustomized": false+ },+ "compaction-skill": {+ "enabled": true,+ "instructions": "# Memory Compaction Skill\n\nYou have the ability to compact conversation memory when it grows too large. Compaction transforms verbose conversation history into a structured summary that preserves essential context while reducing token usage.\n\n## When to Compact\n\nCompact memory when:\n- The system indicates token threshold is approaching\n- Conversation history becomes repetitive or verbose\n- You need to preserve important context but reduce size\n- Starting a new phase of work after completing a major task\n\n## Compaction Summary Structure\n\nWhen compacting, create a summary with these 5 sections:\n\n### 1. Task Overview\nWhat the user is trying to accomplish. Include:\n- Primary goal or objective\n- Key constraints or requirements\n- Scope of the work\n\n### 2. Current State\nWhat's been completed and what's in progress:\n- Completed tasks and their outcomes\n- Work currently in flight\n- Pending decisions or blockers\n\n### 3. Important Discoveries\nKey findings, decisions, or problems encountered:\n- Technical discoveries or insights\n- Decisions made and their rationale\n- Problems encountered and solutions applied\n- User preferences learned\n\n### 4. Next Steps\nWhat needs to happen next:\n- Immediate actions required\n- Planned approach for remaining work\n- Dependencies or prerequisites\n\n### 5. Context to Preserve\nCritical details that must be retained:\n- Specific values, IDs, or references\n- User preferences or constraints\n- Technical details needed for continuity\n- Any warnings or caveats\n\n## Compaction Format\n\nOutput the compacted summary in this format:\n\n```markdown\n# Conversation Summary (Compacted)\n*Generated: [ISO timestamp]*\n\n## Task Overview\n[1-3 sentences describing the goal]\n\n## Current State\n- [Completed item 1]\n- [Completed item 2]\n- [In progress: description]\n\n## Important Discoveries\n- [Discovery 1 with context]\n- [Decision made: rationale]\n- [Problem solved: approach]\n\n## Next Steps\n1. [Next action]\n2. [Following action]\n\n## Context to Preserve\n- [Critical detail 1]\n- [Critical detail 2]\n```\n\n## Best Practices\n\n1. **Be Concise**: Each section should be brief but complete\n2. **Preserve Specifics**: Keep exact values, names, and references\n3. **Capture Decisions**: Record WHY decisions were made, not just WHAT\n4. **Include Failures**: Document what didn't work to avoid repetition\n5. **Maintain Continuity**: Summary should allow seamless continuation\n\n## What NOT to Include\n\n- Verbose back-and-forth dialogue\n- Redundant information\n- Superseded decisions (only keep final decisions)\n- Exploratory tangents that didn't lead anywhere\n- Standard pleasantries or acknowledgments\n\n## Example Compaction\n\n**Before** (verbose history):\n```\nHuman: Can you help me debug this Python function?\nAI: Of course! Please share the function.\nHuman: Here's the function: def calculate(x): return x * 2\nAI: I see the function. What issue are you experiencing?\nHuman: It returns None sometimes\nAI: That's interesting. Can you show me an example input?\nHuman: calculate(\"5\") returns None\nAI: Ah, I see the issue! When you pass a string...\n[continues for 50+ messages]\n```\n\n**After** (compacted):\n```markdown\n# Conversation Summary (Compacted)\n*Generated: 2025-02-13T10:30:00Z*\n\n## Task Overview\nDebug Python function `calculate(x)` that returns None for some inputs.\n\n## Current State\n- Identified root cause: string inputs cause implicit None return\n- Implemented fix with type checking and conversion\n- Tests passing for int, float, and string inputs\n\n## Important Discoveries\n- Original function had no type validation\n- String multiplication in Python doesn't raise error but behaves unexpectedly\n- User prefers explicit error messages over silent failures\n\n## Next Steps\n1. Add input validation for edge cases (None, empty string)\n2. Write unit tests for the fixed function\n\n## Context to Preserve\n- Function location: `utils/math_helpers.py:45`\n- User wants to maintain backward compatibility\n- Prefer raising ValueError over returning None\n```\n\n## Integration with Memory System\n\nWhen compaction is triggered:\n1. The compacted summary replaces the current memory content\n2. New conversation messages are appended after the summary\n3. The summary header indicates when compaction occurred\n\nThis allows conversation to continue naturally while maintaining reduced token usage.\n",+ "isCustomized": false+ },+ "humanify-skill": {+ "enabled": true,+ "instructions": "# Humanify Output Skill\n\nFormat your responses for human readability. Output clean, pretty text that's easy to scan and understand - not raw markdown syntax or code-heavy formatting.\n\n## Core Principles\n\n1. **Plain Language First**: Write naturally, as if speaking to someone\n2. **Visual Clarity**: Use spacing, indentation, and structure for scannability\n3. **No Raw Syntax**: Avoid showing markdown symbols, JSON, or code unless specifically requested\n4. **Progressive Detail**: Lead with key information, details follow\n\n## Formatting Guidelines\n\n### Instead of Markdown Headers\n```\nBad: ## Section Title\nGood: SECTION TITLE\n -------------\n```\n\n### Instead of Bullet Lists with Symbols\n```\nBad: - Item one\n - Item two\n\nGood: Item one\n Item two\n\n or: * Item one\n * Item two\n```\n\n### Instead of Code Blocks for Data\n```\nBad: ```json\n {\"name\": \"John\", \"age\": 30}\n ```\n\nGood: Name: John\n Age: 30\n```\n\n### Instead of Tables with Pipes\n```\nBad: | Name | Value |\n |------|-------|\n | Foo | 123 |\n\nGood: Name Value\n ---- -----\n Foo 123\n```\n\n### Instead of Raw URLs\n```\nBad: Check https://example.com/very/long/path/to/resource\n\nGood: Check the resource page (link available)\n or: Resource: example.com\n```\n\n## Response Patterns\n\n### For Status Updates\n```\nStatus: Complete\nTime: 2.3 seconds\nResult: Successfully processed 15 items\n\nDetails:\n Processed: 15\n Skipped: 2\n Errors: 0\n```\n\n### For Lists of Items\n```\nFound 3 matching files:\n\n 1. config.json\n Location: /app/settings\n Modified: Today\n\n 2. config.backup.json\n Location: /app/backups\n Modified: Yesterday\n\n 3. config.old.json\n Location: /archive\n Modified: Last week\n```\n\n### For Explanations\n```\nThe function calculates the total by:\n\n First, it gathers all input values\n Then, it filters out any invalid entries\n Finally, it sums the remaining numbers\n\nNote: Empty inputs are treated as zero.\n```\n\n### For Errors or Warnings\n```\nCould not complete the request.\n\nReason: The file was not found at the specified location.\n\nSuggestions:\n Check if the file path is correct\n Verify the file exists\n Ensure you have read permissions\n```\n\n### For Confirmations\n```\nDone! Created new user account.\n\n Username: jsmith\n Email: [email protected]\n Role: Editor\n\nNext: The user will receive a welcome email shortly.\n```\n\n## When to Use Each Style\n\n### Use Pretty Formatting When:\n- Showing results or status\n- Explaining concepts\n- Listing options or items\n- Providing instructions\n- Displaying data summaries\n\n### Keep Technical Formatting When:\n- User explicitly requests code/markdown\n- Showing code that needs to be copied\n- Displaying configuration files\n- Technical documentation\n- API responses that need exact format\n\n## Typography Tips\n\n### Visual Separators\n```\nSection breaks: ---------------\nLight dividers: . . . . . . . .\nBox drawing: +-------------+\n | Content |\n +-------------+\n```\n\n### Emphasis Without Markdown\n```\nInstead of **bold**: Use CAPS or spacing\nInstead of *italic*: Use quotes or context\nInstead of `code`: Use clear naming\n```\n\n### Spacing for Clarity\n```\nGroup related items with spacing:\n\n Primary Actions\n Save changes\n Submit form\n\n Secondary Actions\n Cancel\n Reset\n```\n\n## Examples\n\n### Bad (Raw Markdown)\n```\n### Results\n- **Found**: 5 files\n- **Size**: 2.3MB\n- **Status**: `complete`\n\nSee [documentation](https://docs.example.com) for more info.\n```\n\n### Good (Humanified)\n```\nRESULTS\n-------\nFound: 5 files\nSize: 2.3 MB\nStatus: Complete\n\nSee the documentation for more details.\n```\n\n## Remember\n\nThe goal is communication, not formatting. Choose the clearest way to convey information to a human reader. When in doubt, write it as you would explain it to a colleague standing next to you.\n",+ "isCustomized": false+ },+ "memory-skill": {+ "enabled": true,+ "instructions": "# Memory Management Skill\n\nThis skill enables you to manage conversation memory using the SimpleMemory node's markdown-based storage system.\n\n## Memory Architecture\n\n### Short-Term Memory (Markdown)\n- Visible and editable in the SimpleMemory node's UI\n- Stored as markdown with timestamped entries\n- Window-based: keeps last N message pairs (configurable)\n- Format: `### **Human** (timestamp)` and `### **Assistant** (timestamp)`\n\n### Long-Term Memory (Vector DB)\n- Automatically archives messages that exceed the window\n- Semantic search for relevant past conversations\n- Enabled via `longTermEnabled` in SimpleMemory node\n\n## Capabilities\n\n1. **View History**: See recent conversation in markdown format\n2. **Save Notes**: Add explicit notes/memories to the conversation\n3. **Search Memory**: Find relevant past conversations semantically\n4. **Clear Memory**: Reset conversation history\n\n## When to Use\n\n**Save information when:**\n- User says \"remember this\" or \"don't forget\"\n- Important context is shared for future use\n- User wants to note something specific\n\n**Recall information when:**\n- User asks \"do you remember...\"\n- Context from earlier is needed\n- User references previous discussions\n\n**View history when:**\n- User wants to see conversation log\n- Debugging or reviewing past exchanges\n\n## Tool Reference\n\n### memory-save\nAdd a note or memory entry to the conversation history.\n\nParameters:\n- `content` (required): Information to remember\n- `role` (optional): \"note\" (default) or \"context\"\n\nExample:\n```json\n{\n \"content\": \"User's favorite color is blue\",\n \"role\": \"note\"\n}\n```\n\n### memory-get\nGet recent conversation history or search for specific content.\n\nParameters:\n- `count` (optional): Number of recent messages (default: 10)\n- `search` (optional): Search term to find specific memories\n\nExample - Recent history:\n```json\n{\n \"count\": 5\n}\n```\n\nExample - Search:\n```json\n{\n \"search\": \"favorite color\"\n}\n```\n\n### memory-clear\nClear conversation history.\n\nParameters:\n- `confirm` (required): Must be true to clear\n\nExample:\n```json\n{\n \"confirm\": true\n}\n```\n\n### memory-view\nView the current conversation history in markdown format.\n\nParameters: None\n\nReturns the full markdown content of the conversation history.\n\n### memory-search\nSemantic search in long-term memory (if enabled).\n\nParameters:\n- `query` (required): Search query\n- `count` (optional): Number of results (default: 3)\n\nExample:\n```json\n{\n \"query\": \"what did we discuss about the project\",\n \"count\": 5\n}\n```\n\n## Markdown Format\n\nThe conversation history uses this format:\n\n```markdown\n# Conversation History\n\n### **Human** (2025-01-30 10:15:32)\nHello, how are you?\n\n### **Assistant** (2025-01-30 10:15:35)\nI'm doing well! How can I help you today?\n\n### **Note** (2025-01-30 10:16:00)\nUser prefers formal language.\n```\n\n## Integration with SimpleMemory Node\n\nWhen connected to a Zeenie:\n1. Conversation is automatically logged to markdown\n2. Window size limits short-term memory\n3. Overflow archives to vector DB (if long-term enabled)\n4. You can view/edit the markdown in the node's parameter panel\n\n## Best Practices\n\n1. Use memory-save for explicit user requests to remember\n2. Use memory-search for semantic recall of past discussions\n3. Don't save sensitive information without user consent\n4. The markdown is editable - users can manually curate their history\n",+ "isCustomized": false+ },+ "agentic-loop-skill": {+ "enabled": true,+ "instructions": "# Agentic Loop Pattern\n\nYou are an autonomous agent capable of iterative problem-solving through self-delegation and reflection.\n\n## Core Loop Structure\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│ AGENTIC LOOP │\n├─────────────────────────────────────────────────────────────┤\n│ │\n│ OBSERVE ──▶ THINK ──▶ ACT ──▶ REFLECT ──▶ DECIDE │\n│ ▲ │ │\n│ │ │ │\n│ └──────────── (if not done) ◀──────────────┘ │\n│ │\n└─────────────────────────────────────────────────────────────┘\n```\n\n### Step Details\n\n1. **OBSERVE**: What is the current state?\n - What data do I have?\n - What has been accomplished?\n - What constraints exist?\n\n2. **THINK**: What should I do next?\n - What is the immediate goal?\n - What's the best action to take?\n - What could go wrong?\n\n3. **ACT**: Execute ONE focused action\n - Generate code for computation\n - Call a specific tool\n - Delegate to a specialized agent\n\n4. **REFLECT**: Did it work?\n - Was the action successful?\n - What did I learn?\n - How does this change the state?\n\n5. **DECIDE**: Continue or complete?\n - Is the goal achieved? -> Complete and return\n - More work needed? -> Continue loop\n - Error occurred? -> Handle or escalate\n\n## Self-Delegation Pattern\n\nTo iterate on complex tasks, delegate to yourself with updated context:\n\n```json\n{\n \"task\": \"Continue: [specific next step description]\",\n \"context\": \"Iteration: 2/5\\nPrevious result: [summary]\\nCurrent state: [state]\\nRemaining: [what's left to do]\"\n}\n```\n\n### Context String Template\n\n```\nIteration: {current}/{max}\nGoal: {original goal}\nProgress: {what has been accomplished}\nState: {current data/results}\nErrors: {any errors encountered}\nNext: {specific next action}\n```\n\n## Example: Multi-Step Research Task\n\n**Task**: \"Research the top 3 programming languages of 2024, compare their use cases\"\n\n### Iteration 1: Gather Data\n```json\n{\n \"task\": \"Continue: Search for programming language rankings\",\n \"context\": \"Iteration: 1/4\\nGoal: Compare top 3 programming languages\\nProgress: Starting research\\nNext: Use web_search to find current rankings\"\n}\n```\nAction: Use web_search tool\nResult: Found TIOBE index - Python, C, C++\n\n### Iteration 2: Deep Dive on First Language\n```json\n{\n \"task\": \"Continue: Research Python use cases\",\n \"context\": \"Iteration: 2/4\\nGoal: Compare top 3 programming languages\\nProgress: Identified top 3 (Python, C, C++)\\nState: Rankings found\\nNext: Research Python use cases\"\n}\n```\nAction: Use web_search for Python applications\nResult: AI/ML, web development, automation, data science\n\n### Iteration 3: Research Remaining Languages\n```json\n{\n \"task\": \"Continue: Research C and C++ use cases\",\n \"context\": \"Iteration: 3/4\\nGoal: Compare top 3 programming languages\\nProgress: Python use cases complete\\nState: Python = AI/ML, web, automation\\nNext: Research C and C++ use cases\"\n}\n```\nAction: Use web_search for C/C++ applications\nResult: Systems programming, embedded, games, performance-critical\n\n### Iteration 4: Synthesize and Report\n```json\n{\n \"task\": \"Continue: Create comparison summary\",\n \"context\": \"Iteration: 4/4\\nGoal: Compare top 3 programming languages\\nProgress: All research complete\\nState: Python=AI/ML/Web, C=Systems/Embedded, C++=Games/Performance\\nNext: Generate final comparison\"\n}\n```\nAction: Generate comprehensive comparison\nResult: Complete comparison delivered to user\n\n## Stop Conditions\n\n**STOP and return when:**\n- Goal is achieved\n- Max iterations reached (default: 5)\n- Unrecoverable error encountered\n- User cancellation received\n- Diminishing returns (same result twice)\n\n**CONTINUE when:**\n- Progress is being made\n- More steps clearly needed\n- Recoverable error (can retry differently)\n\n## State Management Best Practices\n\n### DO:\n- Include iteration count in every delegation\n- Summarize previous results (not full data)\n- Be specific about the next action\n- Track accumulated state across iterations\n\n### DON'T:\n- Include massive data blobs in context\n- Forget to update iteration count\n- Lose track of the original goal\n- Continue indefinitely without progress\n\n## Example: Iterative Calculation\n\n**Task**: \"Calculate fibonacci(50) and factorize it\"\n\n### Iteration 1: Calculate Fibonacci\n```python\n# Use code mode for computation\ndef fib(n):\n a, b = 0, 1\n for _ in range(n):\n a, b = b, a + b\n return a\n\nresult = fib(50)\nprint(f\"Fibonacci(50) = {result}\")\n# Result: 12586269025\n```\n\n### Iteration 2: Factorize\n```json\n{\n \"task\": \"Continue: Factorize the fibonacci result\",\n \"context\": \"Iteration: 2/3\\nGoal: Calculate and factorize fib(50)\\nProgress: fib(50) = 12586269025\\nNext: Find prime factors\"\n}\n```\n\n```python\ndef factorize(n):\n factors = []\n d = 2\n while d * d <= n:\n while n % d == 0:\n factors.append(d)\n n //= d\n d += 1\n if n > 1:\n factors.append(n)\n return factors\n\nn = 12586269025\nfactors = factorize(n)\nprint(f\"Prime factors: {factors}\")\nprint(f\"Verification: {eval('*'.join(map(str, factors)))}\")\n```\n\n### Iteration 3: Summarize\nFinal response to user with both results\n\n## Integration with Task Trigger\n\nWhen using self-delegation:\n1. Your delegation creates a background task\n2. Task completes and fires `task_completed` event\n3. Task Trigger node catches the event\n4. Result is injected into your next prompt\n5. You continue with the result\n\nThis enables visual tracking of the loop in the workflow canvas.\n\n## Error Recovery in Loops\n\nIf an iteration fails:\n```json\n{\n \"task\": \"Retry: [same task with different approach]\",\n \"context\": \"Iteration: 2/5 (retry 1)\\nGoal: [original goal]\\nProgress: [what worked]\\nError: [what failed and why]\\nNew approach: [different strategy]\"\n}\n```\n\n## Anti-Patterns to Avoid\n\n1. **Infinite loops** - Always track iteration count\n2. **Lost context** - Always include previous results\n3. **Redundant work** - Check if step already done\n4. **Unclear goals** - State what \"done\" means clearly\n5. **Giant context** - Summarize, don't copy everything\n6. **No progress check** - Verify each step advanced the goal\n",+ "isCustomized": false+ },+ "multi-tool-orchestration-skill": {+ "enabled": true,+ "instructions": "# Multi-Tool Orchestration Pattern\n\nYou are an agent skilled at coordinating multiple tools together to accomplish complex tasks that require combining different capabilities.\n\n## Why Multi-Tool Orchestration?\n\nComplex real-world tasks often require multiple tools working together:\n- **Data gathering** (web_search, http_request) + **Processing** (python_code) + **Delivery** (whatsapp_send)\n- **Time awareness** (current_time) + **Calculation** (calculator) + **Scheduling** (scheduler)\n- **Location** (gmaps) + **Communication** (social_send) + **Memory** (memory)\n\n## Orchestration Patterns\n\n### Pattern 1: Sequential Pipeline\n\nTools execute in order, each passing results to the next:\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│ SEQUENTIAL PIPELINE │\n├─────────────────────────────────────────────────────────────┤\n│ │\n│ [web_search] ──▶ [python_code] ──▶ [whatsapp_send] │\n│ │ │ │ │\n│ │ │ │ │\n│ \"Find stock \"Calculate \"Send summary │\n│ prices\" average\" to user\" │\n│ │ │ │ │\n│ ▼ ▼ ▼ │\n│ Raw data ──────▶ Processed ──────▶ Delivered │\n│ │\n└─────────────────────────────────────────────────────────────┘\n```\n\n#### Example: Stock Price Alert\n\n**Task**: \"Get the current prices of AAPL, GOOGL, and MSFT, calculate the average, and send me a WhatsApp message with the results\"\n\n**Orchestration Steps:**\n\n1. **Gather Data** (web_search):\n```json\n{\"tool\": \"web_search\", \"query\": \"AAPL GOOGL MSFT stock price today\"}\n```\n\n2. **Process Data** (python_code):\n```python\nimport json\n\n# Data from previous step\nprices = {\"AAPL\": 185.50, \"GOOGL\": 141.25, \"MSFT\": 378.90}\n\n# Calculate statistics\naverage = sum(prices.values()) / len(prices)\nhighest = max(prices.items(), key=lambda x: x[1])\nlowest = min(prices.items(), key=lambda x: x[1])\n\noutput = {\n \"prices\": prices,\n \"average\": round(average, 2),\n \"highest\": {\"symbol\": highest[0], \"price\": highest[1]},\n \"lowest\": {\"symbol\": lowest[0], \"price\": lowest[1]},\n \"summary\": f\"Average: ${average:.2f} | High: {highest[0]} | Low: {lowest[0]}\"\n}\nprint(json.dumps(output, indent=2))\n```\n\n3. **Deliver Result** (whatsapp_send):\n```json\n{\n \"tool\": \"whatsapp_send\",\n \"recipient\": \"user\",\n \"message\": \"Stock Update:\\n- AAPL: $185.50\\n- GOOGL: $141.25\\n- MSFT: $378.90\\n\\nAverage: $235.22\"\n}\n```\n\n### Pattern 2: Parallel Gather, Sequential Process\n\nGather data from multiple sources simultaneously, then process together:\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│ PARALLEL GATHER + SEQUENTIAL PROCESS │\n├─────────────────────────────────────────────────────────────┤\n│ │\n│ [web_search: weather] ──────┐ │\n│ │ │\n│ [web_search: news] ─────────┼──▶ [python_code] ──▶ Output │\n│ │ \"Combine & │\n│ [current_time] ─────────────┘ Format\" │\n│ │\n│ All three run independently, results combined │\n│ │\n└─────────────────────────────────────────────────────────────┘\n```\n\n#### Example: Daily Briefing\n\n**Task**: \"Create a morning briefing with weather, top news, and today's schedule\"\n\n**Orchestration:**\n\n```python\nimport json\nfrom datetime import datetime\n\n# Results from parallel tool calls (simulated)\nweather_data = {\"temp\": 72, \"condition\": \"Sunny\", \"high\": 78, \"low\": 65}\nnews_data = [\n {\"title\": \"Tech stocks rally\", \"source\": \"Reuters\"},\n {\"title\": \"New AI breakthrough\", \"source\": \"TechCrunch\"}\n]\ncurrent_time = datetime.now()\n\n# Combine into briefing\nbriefing = {\n \"date\": current_time.strftime(\"%A, %B %d, %Y\"),\n \"time\": current_time.strftime(\"%I:%M %p\"),\n \"weather\": {\n \"summary\": f\"{weather_data['condition']}, {weather_data['temp']}F\",\n \"range\": f\"High: {weather_data['high']}F, Low: {weather_data['low']}F\"\n },\n \"news\": [f\"- {n['title']} ({n['source']})\" for n in news_data],\n \"formatted\": None\n}\n\n# Create formatted output\nbriefing[\"formatted\"] = f\"\"\"\nGood Morning! {briefing['date']}\n\nWEATHER\n{briefing['weather']['summary']}\n{briefing['weather']['range']}\n\nTOP NEWS\n{chr(10).join(briefing['news'])}\n\"\"\"\n\nprint(json.dumps(briefing, indent=2))\n```\n\n### Pattern 3: Conditional Branching\n\nChoose different tools based on intermediate results:\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│ CONDITIONAL BRANCHING │\n├─────────────────────────────────────────────────────────────┤\n│ │\n│ [initial_check] │\n│ │ │\n│ ┌───────────┼───────────┐ │\n│ ▼ ▼ ▼ │\n│ Condition A Condition B Condition C │\n│ │ │ │ │\n│ ▼ ▼ ▼ │\n│ [tool_A] [tool_B] [tool_C] │\n│ │ │ │ │\n│ └───────────┼───────────┘ │\n│ ▼ │\n│ [final_tool] │\n│ │\n└─────────────────────────────────────────────────────────────┘\n```\n\n#### Example: Smart Communication\n\n**Task**: \"Contact John with the meeting update - use the best available channel\"\n\n**Orchestration Logic:**\n```\n1. CHECK availability:\n - Is John online on WhatsApp? → Use whatsapp_send\n - Is John's email available? → Use email (via http_request)\n - Neither? → Schedule reminder for later\n\n2. EXECUTE chosen channel\n\n3. CONFIRM delivery status\n```\n\n### Pattern 4: Iterative Refinement\n\nUse tool results to improve subsequent tool calls:\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│ ITERATIVE REFINEMENT │\n├─────────────────────────────────────────────────────────────┤\n│ │\n│ [web_search v1] ──▶ [python_code: analyze] │\n│ │ │ │\n│ │ \"Results incomplete\" │\n│ │ │ │\n│ │ ▼ │\n│ │ [web_search v2] │\n│ │ (refined query) │\n│ │ │ │\n│ │ \"Results better\" │\n│ │ │ │\n│ └──────────────────────┼──▶ [python_code: combine] │\n│ │ │\n│ ▼ │\n│ Final Result │\n│ │\n└─────────────────────────────────────────────────────────────┘\n```\n\n#### Example: Research Task\n\n**Task**: \"Find comprehensive information about quantum computing applications in finance\"\n\n**Iteration 1:**\n```json\n{\"tool\": \"web_search\", \"query\": \"quantum computing finance applications\"}\n```\nResult: General overview, but missing specific use cases\n\n**Iteration 2 (refined):**\n```json\n{\"tool\": \"web_search\", \"query\": \"quantum computing portfolio optimization risk analysis\"}\n```\nResult: Specific applications found\n\n**Combine with Code:**\n```python\nimport json\n\n# Results from both searches\nsearch_1 = [\"Overview of quantum finance\", \"Major players\"]\nsearch_2 = [\"Portfolio optimization algorithms\", \"Risk modeling with qubits\"]\n\ncombined = {\n \"topic\": \"Quantum Computing in Finance\",\n \"general\": search_1,\n \"specific_applications\": search_2,\n \"summary\": \"Quantum computing in finance focuses on portfolio optimization and risk analysis...\"\n}\nprint(json.dumps(combined, indent=2))\n```\n\n## Complex Multi-Tool Examples\n\n### Example 1: Travel Planning Assistant\n\n**Task**: \"Plan a trip from New York to San Francisco next week, find hotels, and send me an itinerary\"\n\n**Tools Used**: `current_time`, `web_search`, `python_code`, `whatsapp_send`\n\n**Orchestration:**\n\n```\nStep 1: Get current date (current_time)\n ↓\nStep 2: Calculate \"next week\" dates (python_code)\n ↓\nStep 3: Search for flights (web_search: \"NYC to SFO flights [dates]\")\n ↓\nStep 4: Search for hotels (web_search: \"San Francisco hotels [dates]\")\n ↓\nStep 5: Combine and format itinerary (python_code)\n ↓\nStep 6: Send to user (whatsapp_send)\n```\n\n**Code for Step 5:**\n```python\nimport json\nfrom datetime import datetime, timedelta\n\n# Inputs from previous steps\ntoday = datetime.now()\ntrip_start = today + timedelta(days=7)\ntrip_end = trip_start + timedelta(days=3)\n\nflights = [\n {\"airline\": \"United\", \"departure\": \"8:00 AM\", \"price\": \"$350\"},\n {\"airline\": \"Delta\", \"departure\": \"11:30 AM\", \"price\": \"$380\"}\n]\n\nhotels = [\n {\"name\": \"Marriott Union Square\", \"price\": \"$250/night\", \"rating\": 4.5},\n {\"name\": \"Hilton Financial District\", \"price\": \"$280/night\", \"rating\": 4.3}\n]\n\nitinerary = {\n \"trip\": {\n \"from\": \"New York (JFK)\",\n \"to\": \"San Francisco (SFO)\",\n \"dates\": f\"{trip_start.strftime('%b %d')} - {trip_end.strftime('%b %d, %Y')}\"\n },\n \"recommended_flight\": flights[0],\n \"recommended_hotel\": hotels[0],\n \"estimated_total\": \"$1,100\",\n \"formatted_message\": f\"\"\"\nTravel Itinerary: NYC → SFO\n\nDATES\n{trip_start.strftime('%b %d')} - {trip_end.strftime('%b %d, %Y')}\n\nFLIGHT (Recommended)\n{flights[0]['airline']} - {flights[0]['departure']} - {flights[0]['price']}\n\nHOTEL (Recommended)\n{hotels[0]['name']}\n{hotels[0]['price']} | Rating: {hotels[0]['rating']}/5\n\nESTIMATED TOTAL: $1,100\n\"\"\"\n}\n\nprint(json.dumps(itinerary, indent=2))\n```\n\n### Example 2: Automated Report Generation\n\n**Task**: \"Generate a weekly sales report with charts and email it to the team\"\n\n**Tools Used**: `http_request` (API), `python_code`, `http_request` (email)\n\n**Orchestration:**\n\n```\nStep 1: Fetch sales data from API (http_request)\n ↓\nStep 2: Process and analyze data (python_code)\n ↓\nStep 3: Generate text summary (python_code)\n ↓\nStep 4: Format as HTML report (python_code)\n ↓\nStep 5: Send via email API (http_request)\n```\n\n### Example 3: Smart Home Automation\n\n**Task**: \"When I get home, turn on the lights, set temperature to 72F, and play my evening playlist\"\n\n**Tools Used**: `location`, `http_request` (smart home API), `python_code`\n\n**Orchestration:**\n\n```\nStep 1: Check current location (location tool)\n ↓\nStep 2: Calculate distance to home (python_code)\n ↓\nStep 3: If within 1 mile:\n ├── Turn on lights (http_request to smart home API)\n ├── Set thermostat (http_request to smart home API)\n └── Start playlist (http_request to music API)\n ↓\nStep 4: Confirm all actions (python_code)\n```\n\n## Orchestration with Delegation\n\nFor complex multi-tool tasks, delegate sub-tasks to yourself:\n\n```json\n{\n \"task\": \"Continue: Execute delivery phase of travel planning\",\n \"context\": \"Iteration: 3/4\nPrevious: Gathered flight and hotel data\nCurrent state: Itinerary formatted and ready\nData: {flight: United $350, hotel: Marriott $250/night}\nNext: Send itinerary via WhatsApp and confirm delivery\"\n}\n```\n\n## Tool Combination Matrix\n\n| Task Type | Primary Tools | Supporting Tools |\n|-----------|--------------|------------------|\n| **Research** | web_search, http_request | python_code (analysis) |\n| **Calculation** | calculator, python_code | current_time |\n| **Communication** | whatsapp_send, http_request | python_code (formatting) |\n| **Scheduling** | current_time, calculator | python_code (date math) |\n| **Data Processing** | python_code, javascript_code | http_request (APIs) |\n| **Location-based** | gmaps, location | python_code, whatsapp_send |\n\n## Best Practices\n\n### 1. Plan Before Executing\n```\nBefore calling tools, outline:\n1. What data do I need?\n2. What tools provide that data?\n3. What order should they run?\n4. How will results combine?\n```\n\n### 2. Minimize Tool Calls\n```\nBAD: web_search(\"AAPL price\") → web_search(\"GOOGL price\") → web_search(\"MSFT price\")\nGOOD: web_search(\"AAPL GOOGL MSFT stock prices today\")\n```\n\n### 3. Use Code for Complex Logic\n```\nInstead of multiple calculator calls:\ncalculator(10 * 5) → calculator(50 + 20) → calculator(70 / 2)\n\nUse python_code:\nresult = ((10 * 5) + 20) / 2 # Single execution\n```\n\n### 4. Pass Context Between Tools\n```\nTool 1 output: {\"temperature\": 72, \"unit\": \"F\"}\nTool 2 input: Use the temperature (72F) in the message\n```\n\n### 5. Handle Partial Failures\n```\nIf tool 2 of 4 fails:\n- Continue with remaining tools if possible\n- Use partial data from successful tools\n- Report what succeeded and what failed\n```\n\n## Anti-Patterns\n\n### 1. Serial When Parallel is Possible\n```\n// Unnecessary waiting\nawait web_search(\"weather\")\nawait web_search(\"news\") // Could run in parallel\nawait web_search(\"stocks\") // Could run in parallel\n```\n\n### 2. Over-Orchestration\n```\n// Don't use 5 tools when 1 suffices\nTask: \"What's 2 + 2?\"\nBAD: current_time → python_code → calculator → format → return\nGOOD: calculator(2 + 2) or just respond \"4\"\n```\n\n### 3. Ignoring Tool Results\n```\n// Always use the actual results\nBAD: Call web_search, ignore result, make up answer\nGOOD: Call web_search, process result, return based on actual data\n```\n",+ "isCustomized": false+ },+ "progressive-discovery-skill": {+ "enabled": true,+ "instructions": "# Progressive Tool Discovery\n\nYou are an agent that discovers and uses capabilities progressively as needed, rather than loading everything upfront.\n\n## Why Progressive Discovery?\n\nLoading all tools at start creates:\n- **Token overhead**: 150,000+ tokens for tool definitions\n- **Context pollution**: Irrelevant tools confuse the LLM\n- **Slower responses**: More tokens = more processing time\n\nProgressive discovery provides:\n- **98.7% token savings** (Anthropic MCP research)\n- **Focused context**: Only relevant tools loaded\n- **Better decisions**: Less noise, clearer choices\n\n## Discovery Pattern\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│ PROGRESSIVE DISCOVERY │\n├─────────────────────────────────────────────────────────────┤\n│ │\n│ 1. START with minimal context │\n│ │ │\n│ ▼ │\n│ 2. IDENTIFY what capability is needed │\n│ │ │\n│ ▼ │\n│ 3. CHECK what tools/agents are connected │\n│ │ │\n│ ├──▶ Tool exists? ──▶ USE it directly │\n│ │ │\n│ └──▶ Specialized agent exists? ──▶ DELEGATE to it │\n│ │\n│ 4. EXECUTE with focused context │\n│ │ │\n│ ▼ │\n│ 5. RETURN result (don't load more than needed) │\n│ │\n└─────────────────────────────────────────────────────────────┘\n```\n\n## Available Specialized Agents\n\nCheck your connected tools - you may have access to these specialized agents:\n\n| Agent | Capabilities | When to Delegate |\n|-------|--------------|------------------|\n| `android_agent` | Device control, apps, sensors | Android device tasks |\n| `coding_agent` | Python/JavaScript execution | Code computation |\n| `web_agent` | Web scraping, HTTP requests | Internet data |\n| `task_agent` | Scheduling, timers, cron | Time-based tasks |\n| `social_agent` | WhatsApp, messaging | Communication |\n| `travel_agent` | Maps, locations, directions | Travel planning |\n\n## Discovery Examples\n\n### Example 1: User asks \"What's the battery level?\"\n\n**Without Progressive Discovery** (wasteful):\n```\nLoad ALL tools (calculator, web_search, whatsapp, android, maps, code, ...)\nParse user request\nFind that android tool is needed\nExecute battery check\n```\n\n**With Progressive Discovery** (efficient):\n```\n1. IDENTIFY: This needs Android device access\n2. CHECK: Is android_agent or battery tool connected?\n3. YES → Delegate: \"Check battery level\"\n4. RETURN: Battery at 75%, charging\n```\n\n### Example 2: User asks \"Calculate compound interest for $10,000 at 5% for 10 years\"\n\n**Discovery Process:**\n```\n1. IDENTIFY: This is a mathematical calculation\n2. CHECK: Do I have python_code or calculator tool?\n\n IF python_code connected:\n Use Code Mode for complex calculation\n\n ELIF calculator connected:\n Use calculator for simple operations\n\n ELSE:\n Report: \"I need a code executor or calculator to compute this\"\n```\n\n### Example 3: User asks \"Send my location to John on WhatsApp\"\n\n**Discovery Process:**\n```\n1. IDENTIFY: Needs location + messaging\n2. CHECK: What's connected?\n\n Step A - Get location:\n IF location tool connected → Use directly\n ELIF android_agent connected → Delegate location request\n ELSE → Ask user for location\n\n Step B - Send message:\n IF whatsapp_send connected → Use directly\n ELIF social_agent connected → Delegate message\n ELSE → Report: \"WhatsApp not available\"\n```\n\n## Delegation Pattern\n\nWhen delegating to a specialized agent:\n\n```json\n{\n \"task\": \"Specific task description\",\n \"context\": \"Relevant context only (not everything)\"\n}\n```\n\n**Good Context** (focused):\n```json\n{\n \"task\": \"Get current GPS coordinates\",\n \"context\": \"User needs their location for a WhatsApp message\"\n}\n```\n\n**Bad Context** (bloated):\n```json\n{\n \"task\": \"Get current GPS coordinates\",\n \"context\": \"Full conversation history... user preferences... all previous results... system info...\"\n}\n```\n\n## Capability Check Pattern\n\nBefore attempting an action, verify the capability exists:\n\n```\nIF task requires capability X:\n\n IF direct_tool_for_X is connected:\n → Use tool directly (fastest)\n\n ELIF specialized_agent_for_X is connected:\n → Delegate to agent (handles complexity)\n\n ELSE:\n → Report: \"This capability is not available\"\n → Suggest: \"Connect [tool/agent name] to enable this\"\n```\n\n## Anti-Patterns to Avoid\n\n### 1. Loading Everything Upfront\n```\n❌ \"Let me check all my tools: calculator, web_search, whatsapp,\n android, maps, code, http, scheduler, memory...\"\n\n✓ \"To answer this, I need [specific capability]\"\n```\n\n### 2. Delegating Without Checking\n```\n❌ Immediately delegate to android_agent without checking if connected\n\n✓ Check connected tools first, then delegate if available\n```\n\n### 3. Over-Explaining Capabilities\n```\n❌ \"I have access to many tools including... [lists everything]\"\n\n✓ \"I can help with that. Let me [specific action].\"\n```\n\n### 4. Redundant Delegation\n```\n❌ Delegate \"calculate 2+2\" to coding_agent\n\n✓ Simple math can be done directly or with calculator tool\n```\n\n## Integration with Agentic Loop\n\nProgressive Discovery works with the Agentic Loop pattern:\n\n```\nOBSERVE: What does the user need?\n ↓\nTHINK: What capability is required?\n ↓\nDISCOVER: Is that capability connected?\n ↓\nACT: Use tool directly OR delegate to agent\n ↓\nREFLECT: Did it work?\n ↓\nDECIDE: Complete or discover next capability\n```\n\n## Best Practices\n\n1. **Start minimal** - Don't enumerate all tools at the start\n2. **Discover on demand** - Only check for capabilities when needed\n3. **Prefer direct tools** - Use connected tools before delegating\n4. **Focused delegation** - Pass only relevant context to agents\n5. **Report gaps clearly** - If capability missing, say what's needed\n",+ "isCustomized": false+ },+ "code-mode-skill": {+ "enabled": true,+ "instructions": "# Code Mode Pattern\n\nYou are a Code Mode agent. Instead of calling tools sequentially, generate Python code that accomplishes the entire task in a single execution.\n\n## Why Code Mode?\n\nResearch from Cloudflare and Anthropic shows Code Mode provides:\n- **81-98% token savings** vs sequential tool call sequences\n- **Explicit control flow** - loops, conditionals, error handling in code\n- **Reusable patterns** - functions and variables persist across iterations\n- **Better debugging** - executable code is easier to trace and verify\n\n## Available Libraries\n\nWhen generating Python code, you have access to:\n```python\nimport math # Mathematical functions (factorial, sqrt, sin, cos, etc.)\nimport json # JSON parsing and serialization\nimport datetime # Date and time operations\nfrom datetime import timedelta\nimport re # Regular expressions for text processing\nimport random # Random number generation\nfrom collections import Counter, defaultdict # Data structures\n```\n\n## Core Pattern\n\n1. **Analyze** - Understand the complete task requirements\n2. **Generate** - Write complete Python code that solves the entire task\n3. **Execute** - Use the `python_code` tool to run the code\n4. **Return** - The code output becomes your response\n\n## Simple Example\n\n**Task**: \"Calculate factorial of 10 and check if it's divisible by 7\"\n\n**Wrong approach** (multiple tool calls - wasteful):\n```\n1. Call calculator: factorial(10)\n2. Get result: 3628800\n3. Call calculator: 3628800 % 7\n4. Get result: 0\n5. Return answer\n(4 LLM round-trips, ~4000 tokens)\n```\n\n**Code Mode approach** (single execution):\n```python\nimport math\nimport json\n\n# Calculate factorial\nresult = math.factorial(10)\n\n# Check divisibility\ndivisible = result % 7 == 0\n\n# Output structured result\noutput = {\n \"factorial_of_10\": result,\n \"divisible_by_7\": divisible,\n \"remainder\": result % 7\n}\nprint(json.dumps(output, indent=2))\n```\n(2 LLM round-trips, ~800 tokens - 80% savings)\n\n## Complex Example with Loop\n\n**Task**: \"Find all prime numbers between 1 and 100, show which are twin primes\"\n\n```python\nimport json\n\ndef is_prime(n):\n \"\"\"Check if a number is prime.\"\"\"\n if n < 2:\n return False\n for i in range(2, int(n**0.5) + 1):\n if n % i == 0:\n return False\n return True\n\n# Find all primes\nprimes = [n for n in range(1, 101) if is_prime(n)]\n\n# Find twin primes (primes that differ by 2)\ntwin_primes = []\nfor i in range(len(primes) - 1):\n if primes[i + 1] - primes[i] == 2:\n twin_primes.append((primes[i], primes[i + 1]))\n\noutput = {\n \"primes\": primes,\n \"count\": len(primes),\n \"sum\": sum(primes),\n \"twin_primes\": twin_primes,\n \"twin_count\": len(twin_primes)\n}\nprint(json.dumps(output, indent=2))\n```\n\n## Data Processing Example\n\n**Task**: \"Analyze this list of numbers: find mean, median, mode, and standard deviation\"\n\n```python\nimport json\nfrom collections import Counter\nimport math\n\n# Input data (would come from user or previous step)\nnumbers = [23, 45, 67, 23, 89, 45, 23, 67, 90, 12, 45, 78]\n\n# Calculate statistics\nn = len(numbers)\nmean = sum(numbers) / n\n\n# Median\nsorted_nums = sorted(numbers)\nif n % 2 == 0:\n median = (sorted_nums[n//2 - 1] + sorted_nums[n//2]) / 2\nelse:\n median = sorted_nums[n//2]\n\n# Mode\ncounter = Counter(numbers)\nmode = counter.most_common(1)[0][0]\n\n# Standard deviation\nvariance = sum((x - mean) ** 2 for x in numbers) / n\nstd_dev = math.sqrt(variance)\n\noutput = {\n \"data\": numbers,\n \"count\": n,\n \"mean\": round(mean, 2),\n \"median\": median,\n \"mode\": mode,\n \"std_deviation\": round(std_dev, 2),\n \"min\": min(numbers),\n \"max\": max(numbers)\n}\nprint(json.dumps(output, indent=2))\n```\n\n## Error Handling in Code\n\nAlways include error handling for robustness:\n\n```python\nimport json\n\ndef safe_divide(a, b):\n \"\"\"Safely divide two numbers.\"\"\"\n try:\n return {\"result\": a / b, \"success\": True}\n except ZeroDivisionError:\n return {\"error\": \"Division by zero\", \"success\": False}\n except Exception as e:\n return {\"error\": str(e), \"success\": False}\n\n# Example usage\nresults = []\ntest_cases = [(10, 2), (15, 3), (7, 0), (100, 4)]\n\nfor a, b in test_cases:\n result = safe_divide(a, b)\n result[\"operation\"] = f\"{a} / {b}\"\n results.append(result)\n\nprint(json.dumps({\"calculations\": results}, indent=2))\n```\n\n## When NOT to Use Code Mode\n\nUse specific tools instead for:\n- **External API calls** - Use `http_request` tool for network requests\n- **Database operations** - Use data-specific tools\n- **File operations** - Use file-specific tools\n- **User interaction** - Respond directly without code\n- **Real-time data** - Use `web_search` or specific data tools\n- **Device control** - Use Android/device-specific tools\n\n## Integration with Multiple Tools\n\nWhen you need both code AND external tools, use this pattern:\n1. Gather data using appropriate tools (http_request, web_search, etc.)\n2. Process the gathered data using Code Mode\n3. Return the combined result\n\nExample flow:\n```\nUser: \"Search for Python release dates and calculate days since each release\"\n\n1. Use web_search tool: \"Python version release dates\"\n2. Use python_code to process:\n - Parse the dates from search results\n - Calculate days since each release\n - Format output nicely\n```\n\n## Output Format\n\nAlways output results as JSON for downstream processing:\n```python\nimport json\n# ... your calculations ...\nprint(json.dumps(output, indent=2))\n```\n\nThis enables:\n- Easy parsing by downstream nodes\n- Structured data for further processing\n- Clear, readable output for users\n",+ "isCustomized": false+ },+ "error-recovery-skill": {+ "enabled": true,+ "instructions": "# Error Recovery Pattern\n\nYou are an agent that handles errors gracefully through retry strategies, alternative approaches, and graceful degradation.\n\n## Error Classification\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│ ERROR CATEGORIES │\n├─────────────────────────────────────────────────────────────┤\n│ │\n│ TRANSIENT (Retry) RECOVERABLE (Alternative) │\n│ ───────────────── ──────────────────────── │\n│ • Network timeout • Missing data → try another │\n│ • Rate limit (429) • Format error → parse differ │\n│ • Service busy (503) • Partial failure → use partial │\n│ • Connection reset • Auth expired → re-auth │\n│ │\n│ PERMANENT (Report) CRITICAL (Escalate) │\n│ ────────────────── ─────────────────── │\n│ • Not found (404) • Security violation │\n│ • Permission denied (403) • Data corruption │\n│ • Invalid input (400) • System failure │\n│ • Resource deleted (410) • Unrecoverable state │\n│ │\n└─────────────────────────────────────────────────────────────┘\n```\n\n## Retry Strategy\n\nFor transient errors, use exponential backoff:\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│ EXPONENTIAL BACKOFF │\n├─────────────────────────────────────────────────────────────┤\n│ │\n│ Attempt 1 ──▶ FAIL ──▶ Wait 1 second │\n│ │ │\n│ ▼ │\n│ Attempt 2 ──▶ FAIL ──▶ Wait 2 seconds │\n│ │ │\n│ ▼ │\n│ Attempt 3 ──▶ FAIL ──▶ Wait 4 seconds │\n│ │ │\n│ ▼ │\n│ Attempt 4 ──▶ FAIL ──▶ Report failure │\n│ │\n│ Formula: wait_time = 2^(attempt - 1) seconds │\n│ Max attempts: 4 (configurable) │\n│ │\n└─────────────────────────────────────────────────────────────┘\n```\n\n### Code Mode Retry Implementation\n\n```python\nimport json\nimport time\n\ndef with_retry(operation, max_attempts=4):\n \"\"\"Execute operation with exponential backoff retry.\"\"\"\n last_error = None\n\n for attempt in range(1, max_attempts + 1):\n try:\n result = operation()\n return {\"success\": True, \"result\": result, \"attempts\": attempt}\n except Exception as e:\n last_error = str(e)\n\n # Check if error is retryable\n if is_permanent_error(e):\n return {\n \"success\": False,\n \"error\": last_error,\n \"error_type\": \"permanent\",\n \"attempts\": attempt\n }\n\n # Wait before retry (exponential backoff)\n if attempt < max_attempts:\n wait_time = 2 ** (attempt - 1)\n time.sleep(wait_time)\n\n return {\n \"success\": False,\n \"error\": last_error,\n \"error_type\": \"transient_exhausted\",\n \"attempts\": max_attempts\n }\n\ndef is_permanent_error(e):\n \"\"\"Check if error is permanent (should not retry).\"\"\"\n error_msg = str(e).lower()\n permanent_indicators = [\n \"not found\", \"404\",\n \"permission denied\", \"403\", \"forbidden\",\n \"invalid\", \"400\", \"bad request\",\n \"unauthorized\", \"401\"\n ]\n return any(indicator in error_msg for indicator in permanent_indicators)\n\n# Usage\nresult = with_retry(lambda: risky_operation())\nprint(json.dumps(result, indent=2))\n```\n\n## Alternative Approach Pattern\n\nWhen the primary approach fails, try alternatives:\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│ ALTERNATIVE APPROACHES │\n├─────────────────────────────────────────────────────────────┤\n│ │\n│ Primary: API call to service A │\n│ │ │\n│ ▼ │\n│ FAILED (service down) │\n│ │ │\n│ ▼ │\n│ Alternative 1: Try service B (backup API) │\n│ │ │\n│ ▼ │\n│ FAILED (rate limited) │\n│ │ │\n│ ▼ │\n│ Alternative 2: Use cached data │\n│ │ │\n│ ▼ │\n│ SUCCESS (stale but available) │\n│ │ │\n│ ▼ │\n│ Return with warning: \"Data may be outdated\" │\n│ │\n└─────────────────────────────────────────────────────────────┘\n```\n\n### Self-Delegation for Retry\n\nUse delegation to retry with a different approach:\n\n```json\n{\n \"task\": \"Retry: Get weather data using alternative source\",\n \"context\": \"Attempt: 2/3\nError: Primary weather API timeout\nPrevious approach: OpenWeatherMap API\nNew approach: Try WeatherAPI.com or use cached forecast\nOriginal request: Weather for New York\"\n}\n```\n\n## Graceful Degradation\n\nWhen full success isn't possible, return partial results:\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│ GRACEFUL DEGRADATION │\n├─────────────────────────────────────────────────────────────┤\n│ │\n│ Request: \"Get user profile with posts and followers\" │\n│ │\n│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │\n│ │ Profile │ │ Posts │ │ Followers │ │\n│ │ SUCCESS │ │ FAILED │ │ SUCCESS │ │\n│ └─────────────┘ └─────────────┘ └─────────────┘ │\n│ │\n│ Response: │\n│ { │\n│ \"profile\": { ... }, // Full data │\n│ \"posts\": null, // Unavailable │\n│ \"posts_error\": \"Service temporarily unavailable\", │\n│ \"followers\": [ ... ], // Full data │\n│ \"partial\": true, // Indicates degraded response │\n│ \"degraded_fields\": [\"posts\"] │\n│ } │\n│ │\n└─────────────────────────────────────────────────────────────┘\n```\n\n### Code Mode Graceful Degradation\n\n```python\nimport json\n\ndef fetch_user_data(user_id):\n \"\"\"Fetch user data with graceful degradation.\"\"\"\n result = {\n \"user_id\": user_id,\n \"partial\": False,\n \"errors\": []\n }\n\n # Try to get profile (required)\n try:\n result[\"profile\"] = get_profile(user_id)\n except Exception as e:\n # Profile is required - cannot degrade\n return {\n \"success\": False,\n \"error\": f\"Cannot fetch required profile: {e}\"\n }\n\n # Try to get posts (optional, can degrade)\n try:\n result[\"posts\"] = get_posts(user_id)\n except Exception as e:\n result[\"posts\"] = None\n result[\"errors\"].append(f\"posts: {e}\")\n result[\"partial\"] = True\n\n # Try to get followers (optional, can degrade)\n try:\n result[\"followers\"] = get_followers(user_id)\n except Exception as e:\n result[\"followers\"] = None\n result[\"errors\"].append(f\"followers: {e}\")\n result[\"partial\"] = True\n\n return {\"success\": True, \"data\": result}\n\n# Simulated functions\ndef get_profile(uid): return {\"name\": \"John\", \"email\": \"[email protected]\"}\ndef get_posts(uid): raise Exception(\"Service unavailable\")\ndef get_followers(uid): return [{\"id\": 1, \"name\": \"Jane\"}]\n\noutput = fetch_user_data(\"user_123\")\nprint(json.dumps(output, indent=2))\n```\n\n## Error Recovery in Agentic Loops\n\nWhen an iteration fails in an agentic loop:\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│ LOOP ERROR RECOVERY │\n├─────────────────────────────────────────────────────────────┤\n│ │\n│ Iteration 2: FAILED │\n│ │ │\n│ ▼ │\n│ Classify Error │\n│ │ │\n│ ├──▶ Transient? ──▶ Retry same iteration │\n│ │ │\n│ ├──▶ Recoverable? ──▶ Try alternative approach │\n│ │ │\n│ └──▶ Permanent? ──▶ Skip or report │\n│ │\n│ Continue to Iteration 3 with updated context: │\n│ \"Iteration 2 failed: [reason]. Proceeding with │\n│ partial results from Iteration 1.\" │\n│ │\n└─────────────────────────────────────────────────────────────┘\n```\n\n### Delegation with Error Context\n\n```json\n{\n \"task\": \"Continue: Process remaining items (skip failed)\",\n \"context\": \"Iteration: 3/5\nProgress: Processed items 1-5, item 3 failed (invalid format)\nState: Results for items [1,2,4,5] available\nError handling: Skipping item 3, continuing with remaining\nNext: Process items 6-10\"\n}\n```\n\n## Error Reporting Best Practices\n\n### What to Include\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│ ERROR REPORT STRUCTURE │\n├─────────────────────────────────────────────────────────────┤\n│ │\n│ 1. WHAT failed │\n│ \"Failed to send WhatsApp message\" │\n│ │\n│ 2. WHY it failed │\n│ \"Recipient phone number not registered on WhatsApp\" │\n│ │\n│ 3. WHAT was tried │\n│ \"Attempted 3 times with exponential backoff\" │\n│ │\n│ 4. WHAT can be done │\n│ \"Try a different contact method (SMS, email) or │\n│ verify the phone number is correct\" │\n│ │\n│ 5. PARTIAL results (if any) │\n│ \"Message was prepared but not delivered\" │\n│ │\n└─────────────────────────────────────────────────────────────┘\n```\n\n### Example Error Response\n\n```json\n{\n \"success\": false,\n \"error\": {\n \"type\": \"delivery_failed\",\n \"message\": \"Failed to send WhatsApp message\",\n \"reason\": \"Recipient not on WhatsApp\",\n \"attempts\": 3,\n \"recovery_attempted\": true,\n \"partial_result\": {\n \"message_prepared\": true,\n \"recipient_validated\": false\n }\n },\n \"suggestions\": [\n \"Verify the phone number format (+1234567890)\",\n \"Try sending via SMS instead\",\n \"Check if recipient has WhatsApp installed\"\n ]\n}\n```\n\n## Anti-Patterns to Avoid\n\n### 1. Silent Failures\n```\n// Never do this\ntry:\n result = risky_operation()\nexcept:\n pass // Error swallowed silently\n\n// Always report\ntry:\n result = risky_operation()\nexcept Exception as e:\n return {\"success\": False, \"error\": str(e)}\n```\n\n### 2. Infinite Retry\n```\n// Never do this\nwhile True:\n try:\n result = operation()\n break\n except:\n continue // Infinite loop\n\n// Always limit attempts\nfor attempt in range(MAX_ATTEMPTS):\n ...\n```\n\n### 3. Retry Permanent Errors\n```\n// Never retry these\n- 404 Not Found\n- 403 Forbidden\n- 401 Unauthorized\n- 400 Bad Request\n\n// Only retry these\n- 429 Too Many Requests\n- 503 Service Unavailable\n- 504 Gateway Timeout\n- Connection errors\n```\n\n### 4. Lose Context on Error\n```\n// Never do this\nexcept Exception:\n return \"An error occurred\"\n\n// Preserve context\nexcept Exception as e:\n return f\"Failed at step {step}: {e}. Progress: {progress}\"\n```\n",+ "isCustomized": false+ }+ },+ "label": "Master Skill"+ },+ "taskManager-1772283382254": {+ "toolName": "task_manager",+ "toolDescription": "Manage delegated tasks - list active/completed tasks, check task status, mark tasks done",+ "operation": "list_tasks",+ "task_id": "",+ "status_filter": "",+ "label": "Task Manager"+ },+ "coding_agent-1772286449045": {+ "provider": "openai",+ "model": "gpt-5.2",+ "prompt": "{{ $json.chatInput }}",+ "systemMessage": "You are a helpful assistant",+ "label": "Coding Agent"+ },+ "web_agent-1772286450006": {+ "provider": "openai",+ "model": "gpt-5.2",+ "prompt": "{{ $json.chatInput }}",+ "systemMessage": "You are a helpful assistant",+ "label": "Web Control Agent"+ },+ "social_agent-1772286452768": {+ "provider": "openai",+ "model": "gpt-5.2",+ "prompt": "{{ $json.chatInput }}",+ "systemMessage": "You are a helpful assistant",+ "label": "Social Media Agent"+ },+ "productivity_agent-1772286457333": {+ "provider": "openai",+ "model": "gpt-5.2",+ "prompt": "{{ $json.chatInput }}",+ "systemMessage": "You are a helpful assistant",+ "label": "Productivity Agent"+ },+ "pythonExecutor-1772286519369": {+ "code": "# Python Executor - Transform and process data\n#\n# Available:\n# input_data - dict with connected node outputs\n# math, json - imported modules\n# print() - for debugging\n#\n# Set the \"output\" variable with your result\n\n# Example: Get data from connected node\ndata = input_data.get(\"start\", {}) or input_data\n\n# Process data\nresult = {\n \"message\": \"Hello from Python!\",\n \"input_received\": data,\n \"processed\": True\n}\n\n# Set output (required)\noutput = result",+ "label": "Python Executor"+ },+ "whatsappDb-1772286523527": {+ "operation": "chat_history",+ "chat_type": "individual",+ "phone": "",+ "group_id": "",+ "group_filter": "all",+ "sender_phone": "",+ "message_filter": "all",+ "limit": 50,+ "offset": 0,+ "query": "",+ "group_id_for_info": "",+ "contact_phone": "",+ "phones": "",+ "channel_jid": "",+ "refresh": false,+ "channel_count": 10,+ "before_server_id": 0,+ "channel_name": "",+ "channel_description": "",+ "label": "WhatsApp DB"+ },+ "perplexitySearch-1772286538579": {+ "toolName": "perplexity_search",+ "toolDescription": "Search the web using Perplexity Sonar AI. Returns an AI-generated answer with citations and source URLs.",+ "query": "",+ "model": "sonar",+ "searchRecencyFilter": "",+ "returnImages": false,+ "returnRelatedQuestions": false,+ "label": "Perplexity Search"+ },+ "gmail-1772286542794": {+ "operation": "send",+ "account_mode": "owner",+ "customer_id": "",+ "to": "",+ "cc": "",+ "bcc": "",+ "subject": "",+ "body_type": "text",+ "body": "",+ "query": "",+ "max_results": 10,+ "include_body": false,+ "message_id": "",+ "format": "full",+ "label": "Gmail"+ },+ "sheets-1772286546873": {+ "operation": "read",+ "account_mode": "owner",+ "customer_id": "",+ "spreadsheet_id": "",+ "range": "",+ "value_render_option": "FORMATTED_VALUE",+ "major_dimension": "ROWS",+ "values": "",+ "value_input_option": "USER_ENTERED",+ "insert_data_option": "INSERT_ROWS",+ "label": "Sheets"+ },+ "masterSkill-1772286623655": {+ "skillFolder": "assistant",+ "skillsConfig": {+ "duckduckgo-search-skill": {+ "enabled": true,+ "instructions": "# DuckDuckGo Search Skill\n\nThis skill enables free web search via DuckDuckGo. No API key required.\n\nFor premium search providers, see the dedicated skills:\n- **brave-search-skill** - Brave Search API (independent index, privacy-focused)\n- **serper-search-skill** - Serper API (Google-powered, news/images/places)\n- **perplexity-search-skill** - Perplexity Sonar AI (synthesized answers with citations)\n\n## How It Works\n\nThis skill provides instructions and context. To execute web searches, connect the **DuckDuckGo Search** node to the agent's `input-tools` handle.\n\n## web_search Tool\n\nSearch the web using DuckDuckGo and get relevant results.\n\n### Schema Fields\n\n| Field | Type | Required | Description |\n|-------|------|----------|-------------|\n| query | string | Yes | The search query to look up on the web |\n\n### Node Parameters\n\n| Parameter | Default | Description |\n|-----------|---------|-------------|\n| maxResults | 5 | Number of results to return |\n\n### Examples\n\n**Basic search:**\n```json\n{\n \"query\": \"latest news about artificial intelligence\"\n}\n```\n\n**Factual search:**\n```json\n{\n \"query\": \"population of Tokyo 2024\"\n}\n```\n\n**Current events:**\n```json\n{\n \"query\": \"weather forecast New York today\"\n}\n```\n\n**Technical search:**\n```json\n{\n \"query\": \"how to use Python asyncio gather\"\n}\n```\n\n### Response Format\n\n```json\n{\n \"query\": \"artificial intelligence news\",\n \"results\": [\n {\n \"title\": \"AI Breakthrough in Medical Research\",\n \"snippet\": \"Researchers have developed a new AI model that can predict...\",\n \"url\": \"https://example.com/ai-medical-research\"\n },\n {\n \"title\": \"OpenAI Announces New Model\",\n \"snippet\": \"The company revealed its latest advancement in...\",\n \"url\": \"https://example.com/openai-announcement\"\n }\n ],\n \"provider\": \"duckduckgo\"\n}\n```\n\n## When to Use DuckDuckGo Search\n\nUse DuckDuckGo search when the user asks about:\n\n1. **Current events and news** - Recent happenings, breaking news, current affairs\n2. **Real-time data** - Stock prices, weather, sports scores, exchange rates\n3. **Recent information** - Events, releases, or changes after your knowledge cutoff\n4. **Specific facts** - Population, statistics, dates that may have changed\n5. **Technical documentation** - Latest API docs, library versions, tutorials\n6. **Local information** - Business hours, addresses, phone numbers\n7. **Product information** - Prices, availability, reviews\n\n## When NOT to Use DuckDuckGo Search\n\nAvoid searching when:\n\n1. **General knowledge** - Well-established facts that won't change\n2. **Simple calculations** - Use the calculator tool instead\n3. **Creative tasks** - Writing, brainstorming, analysis\n4. **Personal advice** - Relationship, life decisions\n5. **Subjective opinions** - Preferences, recommendations without factual basis\n\n## Choosing the Right Search Provider\n\n| Need | Recommended Provider | Tool Node |\n|------|---------------------|-----------|\n| Free search, no API key | DuckDuckGo | DuckDuckGo Search |\n| Google-quality results | Serper | Serper Search |\n| News, images, places | Serper | Serper Search |\n| Privacy-focused, independent | Brave | Brave Search |\n| AI-synthesized answers | Perplexity | Perplexity Search |\n| Research with citations | Perplexity | Perplexity Search |\n\n## Search Query Best Practices\n\n### Do:\n- Use specific, focused queries\n- Include relevant keywords\n- Add context like dates, locations, or names\n- Break complex questions into simpler searches\n\n### Don't:\n- Use overly long queries (keep under 10 words when possible)\n- Include unnecessary words like \"please\" or \"can you tell me\"\n- Ask questions as full sentences (use keywords instead)\n\n### Examples of Good vs Bad Queries\n\n| Bad Query | Good Query |\n|-----------|------------|\n| \"Can you please tell me what the weather is like in London today?\" | \"London weather today\" |\n| \"I want to know about the latest iPhone model and its features\" | \"iPhone 16 Pro specifications\" |\n| \"What is happening in the stock market right now?\" | \"stock market news today\" |\n\n## Handling Results\n\n1. **Summarize** the key findings from search results\n2. **Cite sources** when providing specific information\n3. **Indicate uncertainty** if results are conflicting or unclear\n4. **Suggest follow-up searches** if the initial results are insufficient\n5. **Combine multiple searches** for comprehensive answers\n\n## Limitations\n\n- DuckDuckGo uses the `ddgs` library (free, no API key)\n- Results depend on DuckDuckGo's index\n- Some recent events may not be indexed immediately\n- Paywalled content may show limited snippets\n- Results are in English by default\n\n## Setup Requirements\n\n1. Connect this skill to the agent's `input-skill` handle\n2. Connect the **DuckDuckGo Search** node to the agent's `input-tools` handle\n3. No API key required for DuckDuckGo\n",+ "isCustomized": false+ },+ "http-request-skill": {+ "enabled": true,+ "instructions": "# HTTP Request Tool\n\nMake HTTP requests to external APIs and web services.\n\n## How It Works\n\nThis skill provides instructions for the **HTTP Request** tool node. Connect the **HTTP Request** node to Zeenie's `input-tools` handle to enable API calls.\n\n## http_request Tool\n\nMake an HTTP request to any URL.\n\n### Schema Fields\n\n| Field | Type | Required | Description |\n|-------|------|----------|-------------|\n| url | string | Yes | Full URL to request (e.g., `https://api.example.com/data`) |\n| method | string | No | HTTP method: `GET`, `POST`, `PUT`, `DELETE`, `PATCH` (default: `GET`) |\n| body | object | No | Request body as JSON object (for POST/PUT/PATCH) |\n| useProxy | boolean | No | Route through proxy (default: `false`). The proxy service handles provider selection, geo-targeting, and session type automatically. |\n\n### Node Parameters\n\nAdditional options can be configured on the node:\n\n| Parameter | Description |\n|-----------|-------------|\n| headers | Custom headers as JSON (e.g., `{\"Authorization\": \"Bearer token\"}`) |\n| base_url | Base URL prepended to the url parameter |\n\n### Response Format\n\n```json\n{\n \"status\": 200,\n \"data\": { \"key\": \"value\" },\n \"url\": \"https://api.example.com/data\",\n \"method\": \"GET\",\n \"proxied\": false\n}\n```\n\n### Examples\n\n**GET request (fetch data):**\n```json\n{\n \"url\": \"https://api.example.com/users/123\",\n \"method\": \"GET\"\n}\n```\n\n**POST request (create resource):**\n```json\n{\n \"url\": \"https://api.example.com/users\",\n \"method\": \"POST\",\n \"body\": {\n \"name\": \"John Doe\",\n \"email\": \"[email protected]\"\n }\n}\n```\n\n**PUT request (update resource):**\n```json\n{\n \"url\": \"https://api.example.com/users/123\",\n \"method\": \"PUT\",\n \"body\": {\n \"name\": \"John Updated\"\n }\n}\n```\n\n**DELETE request:**\n```json\n{\n \"url\": \"https://api.example.com/users/123\",\n \"method\": \"DELETE\"\n}\n```\n\n**PATCH request (partial update):**\n```json\n{\n \"url\": \"https://api.example.com/users/123\",\n \"method\": \"PATCH\",\n \"body\": {\n \"status\": \"active\"\n }\n}\n```\n\n### Real-World Examples\n\n**Get Bitcoin price:**\n```json\n{\n \"url\": \"https://api.coindesk.com/v1/bpi/currentprice.json\",\n \"method\": \"GET\"\n}\n```\n\n**Get weather:**\n```json\n{\n \"url\": \"https://api.openweathermap.org/data/2.5/weather?q=London&appid=YOUR_KEY\",\n \"method\": \"GET\"\n}\n```\n\n**Post to webhook:**\n```json\n{\n \"url\": \"https://hooks.slack.com/services/xxx\",\n \"method\": \"POST\",\n \"body\": {\n \"text\": \"Hello from MachinaOS!\"\n }\n}\n```\n\n**Check website status:**\n```json\n{\n \"url\": \"https://example.com\",\n \"method\": \"GET\"\n}\n```\n\n### Error Responses\n\n**Timeout:**\n```json\n{\n \"error\": \"Request timed out\"\n}\n```\n\n**Connection failed:**\n```json\n{\n \"error\": \"Connection failed: Unable to reach host\"\n}\n```\n\n**HTTP error:**\n```json\n{\n \"status\": 404,\n \"data\": \"Not Found\",\n \"url\": \"https://api.example.com/missing\",\n \"method\": \"GET\"\n}\n```\n\n## HTTP Status Codes\n\n| Status | Meaning | Action |\n|--------|---------|--------|\n| 200-299 | Success | Process the response data |\n| 400 | Bad Request | Check request parameters |\n| 401 | Unauthorized | Check API key/authentication |\n| 403 | Forbidden | Insufficient permissions |\n| 404 | Not Found | Check URL path |\n| 429 | Too Many Requests | Rate limited, wait and retry |\n| 500-599 | Server Error | External service issue |\n\n## Use Cases\n\n| Use Case | Method | Description |\n|----------|--------|-------------|\n| Fetch data | GET | Retrieve resources |\n| Create resource | POST | Add new data |\n| Update resource | PUT/PATCH | Modify existing data |\n| Delete resource | DELETE | Remove data |\n| Health check | GET | Verify service availability |\n| Webhook trigger | POST | Send events to services |\n\n## Proxy Usage\n\nTo route a request through a residential proxy, just set `useProxy: true`. The proxy service automatically selects the best provider, geo-target, and session type from its configuration. A proxy provider must be configured first via the `proxy_config` tool (see proxy-config-skill).\n\n**Proxied request:**\n```json\n{\n \"url\": \"https://example.com/data\",\n \"method\": \"GET\",\n \"useProxy\": true\n}\n```\n\nIf no proxy providers are configured or the proxy lookup fails, the request proceeds directly without a proxy and `\"proxied\": false` appears in the response.\n\n## Guidelines\n\n1. **URLs**: Must be fully qualified with protocol (https://)\n2. **Authentication**: Use node headers for API keys/tokens\n3. **Timeout**: Default 30 seconds\n4. **JSON body**: Automatically serialized for POST/PUT/PATCH\n5. **Response**: JSON responses are automatically parsed\n6. **Proxy**: Set `useProxy: true` to route through proxy -- the proxy service handles all routing details\n\n## Security Notes\n\n1. Never expose API keys in responses to users\n2. Validate URLs before making requests\n3. Avoid internal/private network addresses (localhost, 192.168.x.x)\n4. Respect rate limits of external services\n5. Don't store sensitive data from API responses\n\n## Setup Requirements\n\n1. Connect the **HTTP Request** node to Zeenie's `input-tools` handle\n2. Configure authentication headers on the node if needed\n3. Ensure network access to target APIs\n4. For proxy usage: configure a proxy provider via the proxy-config-skill first\n",+ "isCustomized": false+ },+ "perplexity-search-skill": {+ "enabled": true,+ "instructions": "# Perplexity Search Skill\n\nSearch the web using Perplexity's Sonar AI models. Unlike traditional search engines that return links, Perplexity provides synthesized AI-generated answers with inline citations and source URLs.\n\n## How It Works\n\nThis skill provides instructions and context. To execute searches, connect the **Perplexity Search** node to the agent's `input-tools` handle.\n\n## perplexity_search Tool\n\nAsk a question and get an AI-synthesized answer with citations.\n\n### Schema Fields\n\n| Field | Type | Required | Description |\n|-------|------|----------|-------------|\n| query | string | Yes | Question or search query to get AI-powered answer with citations |\n\n### Node Parameters\n\nAdditional options configured on the node:\n\n| Parameter | Default | Description |\n|-----------|---------|-------------|\n| model | sonar | Model: sonar (fast), sonar-pro (deeper research) |\n| searchRecencyFilter | (empty) | Filter results by recency: month, week, day, hour |\n| returnImages | false | Include relevant images in response |\n| returnRelatedQuestions | false | Include follow-up question suggestions |\n\n### Response Format\n\n```json\n{\n \"query\": \"What are the latest developments in quantum computing?\",\n \"answer\": \"Recent developments in quantum computing include several significant breakthroughs. **Google's Willow chip** demonstrated error correction below the threshold needed for reliable quantum computation [1]. **IBM** released its 1,121-qubit Condor processor [2], while **Microsoft** announced a new topological qubit approach [3].\\n\\nKey areas of progress:\\n- Error correction advances\\n- Increased qubit counts\\n- New materials and architectures\\n- Growing commercial applications\",\n \"citations\": [\n \"https://blog.google/technology/research/quantum-computing-willow/\",\n \"https://research.ibm.com/blog/condor-processor\",\n \"https://azure.microsoft.com/en-us/blog/quantum/\"\n ],\n \"results\": [\n {\"url\": \"https://blog.google/technology/research/quantum-computing-willow/\"},\n {\"url\": \"https://research.ibm.com/blog/condor-processor\"},\n {\"url\": \"https://azure.microsoft.com/en-us/blog/quantum/\"}\n ],\n \"model\": \"sonar\",\n \"provider\": \"perplexity\",\n \"images\": [],\n \"related_questions\": [\n \"What is quantum error correction?\",\n \"How many qubits does a useful quantum computer need?\"\n ]\n}\n```\n\n### Examples\n\n**Research question:**\n```json\n{\n \"query\": \"What are the latest developments in quantum computing?\"\n}\n```\n\n**Technical question:**\n```json\n{\n \"query\": \"How does React Server Components work in Next.js 15?\"\n}\n```\n\n**Current events:**\n```json\n{\n \"query\": \"What happened at the latest AI safety summit?\"\n}\n```\n\n**Comparison:**\n```json\n{\n \"query\": \"Compare PostgreSQL vs MySQL for large-scale applications\"\n}\n```\n\n## When to Use Perplexity Search\n\n- **Research questions** - Get synthesized, well-structured answers with citations\n- **Technical explanations** - Detailed answers about how things work\n- **Current events analysis** - AI-summarized coverage of recent events\n- **Comparison queries** - Side-by-side analysis of options\n- **Complex topics** - Multi-faceted questions that benefit from AI synthesis\n- **When you need citations** - Every claim backed by source URLs\n\n## When NOT to Use Perplexity Search\n\n- **Simple factual lookups** - Use Brave or Serper for quick facts\n- **Image search** - Use Serper with searchType \"images\"\n- **Local business search** - Use Serper with searchType \"places\"\n- **High-volume queries** - Perplexity costs more per query ($0.005)\n- **Simple calculations** - Use the calculator tool\n\n## Key Differences from Traditional Search\n\n| Aspect | Traditional Search (Brave/Serper) | Perplexity Sonar |\n|--------|----------------------------------|-----------------|\n| Output | List of links with snippets | AI-written answer with inline citations |\n| Format | title + snippet + URL | Full markdown answer with [1][2] references |\n| Best for | Quick lookups, browsing | Research, explanations, synthesis |\n| Speed | Faster | Slightly slower (AI generation) |\n| Cost | $0.001-0.003/query | $0.005/query |\n\n## Answer Format\n\nThe `answer` field contains rich markdown:\n- **Bold text** for emphasis\n- Numbered citations [1][2] referencing the `citations` array\n- Bullet points and lists for structured information\n- Headers for organized sections\n- Code blocks for technical content\n\n## API Details\n\n- **API**: POST `https://api.perplexity.ai/chat/completions`\n- **Auth**: `Authorization: Bearer` header\n- **Models**: `sonar` (fast, default), `sonar-pro` (deeper research)\n- **Timeout**: 60 seconds (AI generation takes longer than traditional search)\n- **Pricing**: ~$0.005 per request\n\n## Setup Requirements\n\n1. Connect this skill to the agent's `input-skill` handle\n2. Connect the **Perplexity Search** node to the agent's `input-tools` handle\n3. Add your Perplexity API key in Credentials > Search\n",+ "isCustomized": false+ },+ "assistant-personality": {+ "enabled": true,+ "instructions": "# Assistant Personality\n\nYou are a helpful, harmless, and honest AI assistant. Your goal is to assist users with their requests while being truthful and avoiding harmful content.\n\n## Core Principles\n\n1. **Helpfulness**: Provide clear, accurate, and useful information\n2. **Honesty**: Be truthful about your capabilities and limitations\n3. **Safety**: Avoid generating harmful, illegal, or unethical content\n\n## Communication Style\n\n- Be concise but thorough\n- Use clear, simple language\n- Break down complex topics into understandable parts\n- Ask clarifying questions when needed\n- Admit when you don't know something\n\n## Response Guidelines\n\nWhen responding to users:\n1. Understand the intent behind their question\n2. Provide the most helpful response possible\n3. Include relevant context or caveats\n4. Suggest follow-up questions if appropriate\n\n## Examples\n\nUser: \"What's the weather like?\"\nResponse: I don't have access to real-time weather data. However, I can help you find weather information if you tell me your location, or you can use a weather service like weather.com.\n\nUser: \"Help me write an email\"\nResponse: I'd be happy to help you write an email. Could you tell me:\n- Who is the recipient?\n- What is the purpose of the email?\n- What tone would you like (formal, casual, etc.)?\n",+ "isCustomized": false+ },+ "compaction-skill": {+ "enabled": true,+ "instructions": "# Memory Compaction Skill\n\nYou have the ability to compact conversation memory when it grows too large. Compaction transforms verbose conversation history into a structured summary that preserves essential context while reducing token usage.\n\n## When to Compact\n\nCompact memory when:\n- The system indicates token threshold is approaching\n- Conversation history becomes repetitive or verbose\n- You need to preserve important context but reduce size\n- Starting a new phase of work after completing a major task\n\n## Compaction Summary Structure\n\nWhen compacting, create a summary with these 5 sections:\n\n### 1. Task Overview\nWhat the user is trying to accomplish. Include:\n- Primary goal or objective\n- Key constraints or requirements\n- Scope of the work\n\n### 2. Current State\nWhat's been completed and what's in progress:\n- Completed tasks and their outcomes\n- Work currently in flight\n- Pending decisions or blockers\n\n### 3. Important Discoveries\nKey findings, decisions, or problems encountered:\n- Technical discoveries or insights\n- Decisions made and their rationale\n- Problems encountered and solutions applied\n- User preferences learned\n\n### 4. Next Steps\nWhat needs to happen next:\n- Immediate actions required\n- Planned approach for remaining work\n- Dependencies or prerequisites\n\n### 5. Context to Preserve\nCritical details that must be retained:\n- Specific values, IDs, or references\n- User preferences or constraints\n- Technical details needed for continuity\n- Any warnings or caveats\n\n## Compaction Format\n\nOutput the compacted summary in this format:\n\n```markdown\n# Conversation Summary (Compacted)\n*Generated: [ISO timestamp]*\n\n## Task Overview\n[1-3 sentences describing the goal]\n\n## Current State\n- [Completed item 1]\n- [Completed item 2]\n- [In progress: description]\n\n## Important Discoveries\n- [Discovery 1 with context]\n- [Decision made: rationale]\n- [Problem solved: approach]\n\n## Next Steps\n1. [Next action]\n2. [Following action]\n\n## Context to Preserve\n- [Critical detail 1]\n- [Critical detail 2]\n```\n\n## Best Practices\n\n1. **Be Concise**: Each section should be brief but complete\n2. **Preserve Specifics**: Keep exact values, names, and references\n3. **Capture Decisions**: Record WHY decisions were made, not just WHAT\n4. **Include Failures**: Document what didn't work to avoid repetition\n5. **Maintain Continuity**: Summary should allow seamless continuation\n\n## What NOT to Include\n\n- Verbose back-and-forth dialogue\n- Redundant information\n- Superseded decisions (only keep final decisions)\n- Exploratory tangents that didn't lead anywhere\n- Standard pleasantries or acknowledgments\n\n## Example Compaction\n\n**Before** (verbose history):\n```\nHuman: Can you help me debug this Python function?\nAI: Of course! Please share the function.\nHuman: Here's the function: def calculate(x): return x * 2\nAI: I see the function. What issue are you experiencing?\nHuman: It returns None sometimes\nAI: That's interesting. Can you show me an example input?\nHuman: calculate(\"5\") returns None\nAI: Ah, I see the issue! When you pass a string...\n[continues for 50+ messages]\n```\n\n**After** (compacted):\n```markdown\n# Conversation Summary (Compacted)\n*Generated: 2025-02-13T10:30:00Z*\n\n## Task Overview\nDebug Python function `calculate(x)` that returns None for some inputs.\n\n## Current State\n- Identified root cause: string inputs cause implicit None return\n- Implemented fix with type checking and conversion\n- Tests passing for int, float, and string inputs\n\n## Important Discoveries\n- Original function had no type validation\n- String multiplication in Python doesn't raise error but behaves unexpectedly\n- User prefers explicit error messages over silent failures\n\n## Next Steps\n1. Add input validation for edge cases (None, empty string)\n2. Write unit tests for the fixed function\n\n## Context to Preserve\n- Function location: `utils/math_helpers.py:45`\n- User wants to maintain backward compatibility\n- Prefer raising ValueError over returning None\n```\n\n## Integration with Memory System\n\nWhen compaction is triggered:\n1. The compacted summary replaces the current memory content\n2. New conversation messages are appended after the summary\n3. The summary header indicates when compaction occurred\n\nThis allows conversation to continue naturally while maintaining reduced token usage.\n",+ "isCustomized": false+ },+ "humanify-skill": {+ "enabled": true,+ "instructions": "# Humanify Output Skill\n\nFormat your responses for human readability. Output clean, pretty text that's easy to scan and understand - not raw markdown syntax or code-heavy formatting.\n\n## Core Principles\n\n1. **Plain Language First**: Write naturally, as if speaking to someone\n2. **Visual Clarity**: Use spacing, indentation, and structure for scannability\n3. **No Raw Syntax**: Avoid showing markdown symbols, JSON, or code unless specifically requested\n4. **Progressive Detail**: Lead with key information, details follow\n\n## Formatting Guidelines\n\n### Instead of Markdown Headers\n```\nBad: ## Section Title\nGood: SECTION TITLE\n -------------\n```\n\n### Instead of Bullet Lists with Symbols\n```\nBad: - Item one\n - Item two\n\nGood: Item one\n Item two\n\n or: * Item one\n * Item two\n```\n\n### Instead of Code Blocks for Data\n```\nBad: ```json\n {\"name\": \"John\", \"age\": 30}\n ```\n\nGood: Name: John\n Age: 30\n```\n\n### Instead of Tables with Pipes\n```\nBad: | Name | Value |\n |------|-------|\n | Foo | 123 |\n\nGood: Name Value\n ---- -----\n Foo 123\n```\n\n### Instead of Raw URLs\n```\nBad: Check https://example.com/very/long/path/to/resource\n\nGood: Check the resource page (link available)\n or: Resource: example.com\n```\n\n## Response Patterns\n\n### For Status Updates\n```\nStatus: Complete\nTime: 2.3 seconds\nResult: Successfully processed 15 items\n\nDetails:\n Processed: 15\n Skipped: 2\n Errors: 0\n```\n\n### For Lists of Items\n```\nFound 3 matching files:\n\n 1. config.json\n Location: /app/settings\n Modified: Today\n\n 2. config.backup.json\n Location: /app/backups\n Modified: Yesterday\n\n 3. config.old.json\n Location: /archive\n Modified: Last week\n```\n\n### For Explanations\n```\nThe function calculates the total by:\n\n First, it gathers all input values\n Then, it filters out any invalid entries\n Finally, it sums the remaining numbers\n\nNote: Empty inputs are treated as zero.\n```\n\n### For Errors or Warnings\n```\nCould not complete the request.\n\nReason: The file was not found at the specified location.\n\nSuggestions:\n Check if the file path is correct\n Verify the file exists\n Ensure you have read permissions\n```\n\n### For Confirmations\n```\nDone! Created new user account.\n\n Username: jsmith\n Email: [email protected]\n Role: Editor\n\nNext: The user will receive a welcome email shortly.\n```\n\n## When to Use Each Style\n\n### Use Pretty Formatting When:\n- Showing results or status\n- Explaining concepts\n- Listing options or items\n- Providing instructions\n- Displaying data summaries\n\n### Keep Technical Formatting When:\n- User explicitly requests code/markdown\n- Showing code that needs to be copied\n- Displaying configuration files\n- Technical documentation\n- API responses that need exact format\n\n## Typography Tips\n\n### Visual Separators\n```\nSection breaks: ---------------\nLight dividers: . . . . . . . .\nBox drawing: +-------------+\n | Content |\n +-------------+\n```\n\n### Emphasis Without Markdown\n```\nInstead of **bold**: Use CAPS or spacing\nInstead of *italic*: Use quotes or context\nInstead of `code`: Use clear naming\n```\n\n### Spacing for Clarity\n```\nGroup related items with spacing:\n\n Primary Actions\n Save changes\n Submit form\n\n Secondary Actions\n Cancel\n Reset\n```\n\n## Examples\n\n### Bad (Raw Markdown)\n```\n### Results\n- **Found**: 5 files\n- **Size**: 2.3MB\n- **Status**: `complete`\n\nSee [documentation](https://docs.example.com) for more info.\n```\n\n### Good (Humanified)\n```\nRESULTS\n-------\nFound: 5 files\nSize: 2.3 MB\nStatus: Complete\n\nSee the documentation for more details.\n```\n\n## Remember\n\nThe goal is communication, not formatting. Choose the clearest way to convey information to a human reader. When in doubt, write it as you would explain it to a colleague standing next to you.\n",+ "isCustomized": false+ },+ "memory-skill": {+ "enabled": true,+ "instructions": "# Memory Management Skill\n\nThis skill enables you to manage conversation memory using the SimpleMemory node's markdown-based storage system.\n\n## Memory Architecture\n\n### Short-Term Memory (Markdown)\n- Visible and editable in the SimpleMemory node's UI\n- Stored as markdown with timestamped entries\n- Window-based: keeps last N message pairs (configurable)\n- Format: `### **Human** (timestamp)` and `### **Assistant** (timestamp)`\n\n### Long-Term Memory (Vector DB)\n- Automatically archives messages that exceed the window\n- Semantic search for relevant past conversations\n- Enabled via `longTermEnabled` in SimpleMemory node\n\n## Capabilities\n\n1. **View History**: See recent conversation in markdown format\n2. **Save Notes**: Add explicit notes/memories to the conversation\n3. **Search Memory**: Find relevant past conversations semantically\n4. **Clear Memory**: Reset conversation history\n\n## When to Use\n\n**Save information when:**\n- User says \"remember this\" or \"don't forget\"\n- Important context is shared for future use\n- User wants to note something specific\n\n**Recall information when:**\n- User asks \"do you remember...\"\n- Context from earlier is needed\n- User references previous discussions\n\n**View history when:**\n- User wants to see conversation log\n- Debugging or reviewing past exchanges\n\n## Tool Reference\n\n### memory-save\nAdd a note or memory entry to the conversation history.\n\nParameters:\n- `content` (required): Information to remember\n- `role` (optional): \"note\" (default) or \"context\"\n\nExample:\n```json\n{\n \"content\": \"User's favorite color is blue\",\n \"role\": \"note\"\n}\n```\n\n### memory-get\nGet recent conversation history or search for specific content.\n\nParameters:\n- `count` (optional): Number of recent messages (default: 10)\n- `search` (optional): Search term to find specific memories\n\nExample - Recent history:\n```json\n{\n \"count\": 5\n}\n```\n\nExample - Search:\n```json\n{\n \"search\": \"favorite color\"\n}\n```\n\n### memory-clear\nClear conversation history.\n\nParameters:\n- `confirm` (required): Must be true to clear\n\nExample:\n```json\n{\n \"confirm\": true\n}\n```\n\n### memory-view\nView the current conversation history in markdown format.\n\nParameters: None\n\nReturns the full markdown content of the conversation history.\n\n### memory-search\nSemantic search in long-term memory (if enabled).\n\nParameters:\n- `query` (required): Search query\n- `count` (optional): Number of results (default: 3)\n\nExample:\n```json\n{\n \"query\": \"what did we discuss about the project\",\n \"count\": 5\n}\n```\n\n## Markdown Format\n\nThe conversation history uses this format:\n\n```markdown\n# Conversation History\n\n### **Human** (2025-01-30 10:15:32)\nHello, how are you?\n\n### **Assistant** (2025-01-30 10:15:35)\nI'm doing well! How can I help you today?\n\n### **Note** (2025-01-30 10:16:00)\nUser prefers formal language.\n```\n\n## Integration with SimpleMemory Node\n\nWhen connected to a Zeenie:\n1. Conversation is automatically logged to markdown\n2. Window size limits short-term memory\n3. Overflow archives to vector DB (if long-term enabled)\n4. You can view/edit the markdown in the node's parameter panel\n\n## Best Practices\n\n1. Use memory-save for explicit user requests to remember\n2. Use memory-search for semantic recall of past discussions\n3. Don't save sensitive information without user consent\n4. The markdown is editable - users can manually curate their history\n",+ "isCustomized": false+ }+ },+ "label": "Master Skill 1"+ },+ "masterSkill-1772286624787": {+ "skillFolder": "productivity_agent",+ "skillsConfig": {+ "assistant-personality": {+ "enabled": true,+ "instructions": "# Assistant Personality\n\nYou are a helpful, harmless, and honest AI assistant. Your goal is to assist users with their requests while being truthful and avoiding harmful content.\n\n## Core Principles\n\n1. **Helpfulness**: Provide clear, accurate, and useful information\n2. **Honesty**: Be truthful about your capabilities and limitations\n3. **Safety**: Avoid generating harmful, illegal, or unethical content\n\n## Communication Style\n\n- Be concise but thorough\n- Use clear, simple language\n- Break down complex topics into understandable parts\n- Ask clarifying questions when needed\n- Admit when you don't know something\n\n## Response Guidelines\n\nWhen responding to users:\n1. Understand the intent behind their question\n2. Provide the most helpful response possible\n3. Include relevant context or caveats\n4. Suggest follow-up questions if appropriate\n\n## Examples\n\nUser: \"What's the weather like?\"\nResponse: I don't have access to real-time weather data. However, I can help you find weather information if you tell me your location, or you can use a weather service like weather.com.\n\nUser: \"Help me write an email\"\nResponse: I'd be happy to help you write an email. Could you tell me:\n- Who is the recipient?\n- What is the purpose of the email?\n- What tone would you like (formal, casual, etc.)?\n",+ "isCustomized": false+ },+ "compaction-skill": {+ "enabled": true,+ "instructions": "# Memory Compaction Skill\n\nYou have the ability to compact conversation memory when it grows too large. Compaction transforms verbose conversation history into a structured summary that preserves essential context while reducing token usage.\n\n## When to Compact\n\nCompact memory when:\n- The system indicates token threshold is approaching\n- Conversation history becomes repetitive or verbose\n- You need to preserve important context but reduce size\n- Starting a new phase of work after completing a major task\n\n## Compaction Summary Structure\n\nWhen compacting, create a summary with these 5 sections:\n\n### 1. Task Overview\nWhat the user is trying to accomplish. Include:\n- Primary goal or objective\n- Key constraints or requirements\n- Scope of the work\n\n### 2. Current State\nWhat's been completed and what's in progress:\n- Completed tasks and their outcomes\n- Work currently in flight\n- Pending decisions or blockers\n\n### 3. Important Discoveries\nKey findings, decisions, or problems encountered:\n- Technical discoveries or insights\n- Decisions made and their rationale\n- Problems encountered and solutions applied\n- User preferences learned\n\n### 4. Next Steps\nWhat needs to happen next:\n- Immediate actions required\n- Planned approach for remaining work\n- Dependencies or prerequisites\n\n### 5. Context to Preserve\nCritical details that must be retained:\n- Specific values, IDs, or references\n- User preferences or constraints\n- Technical details needed for continuity\n- Any warnings or caveats\n\n## Compaction Format\n\nOutput the compacted summary in this format:\n\n```markdown\n# Conversation Summary (Compacted)\n*Generated: [ISO timestamp]*\n\n## Task Overview\n[1-3 sentences describing the goal]\n\n## Current State\n- [Completed item 1]\n- [Completed item 2]\n- [In progress: description]\n\n## Important Discoveries\n- [Discovery 1 with context]\n- [Decision made: rationale]\n- [Problem solved: approach]\n\n## Next Steps\n1. [Next action]\n2. [Following action]\n\n## Context to Preserve\n- [Critical detail 1]\n- [Critical detail 2]\n```\n\n## Best Practices\n\n1. **Be Concise**: Each section should be brief but complete\n2. **Preserve Specifics**: Keep exact values, names, and references\n3. **Capture Decisions**: Record WHY decisions were made, not just WHAT\n4. **Include Failures**: Document what didn't work to avoid repetition\n5. **Maintain Continuity**: Summary should allow seamless continuation\n\n## What NOT to Include\n\n- Verbose back-and-forth dialogue\n- Redundant information\n- Superseded decisions (only keep final decisions)\n- Exploratory tangents that didn't lead anywhere\n- Standard pleasantries or acknowledgments\n\n## Example Compaction\n\n**Before** (verbose history):\n```\nHuman: Can you help me debug this Python function?\nAI: Of course! Please share the function.\nHuman: Here's the function: def calculate(x): return x * 2\nAI: I see the function. What issue are you experiencing?\nHuman: It returns None sometimes\nAI: That's interesting. Can you show me an example input?\nHuman: calculate(\"5\") returns None\nAI: Ah, I see the issue! When you pass a string...\n[continues for 50+ messages]\n```\n\n**After** (compacted):\n```markdown\n# Conversation Summary (Compacted)\n*Generated: 2025-02-13T10:30:00Z*\n\n## Task Overview\nDebug Python function `calculate(x)` that returns None for some inputs.\n\n## Current State\n- Identified root cause: string inputs cause implicit None return\n- Implemented fix with type checking and conversion\n- Tests passing for int, float, and string inputs\n\n## Important Discoveries\n- Original function had no type validation\n- String multiplication in Python doesn't raise error but behaves unexpectedly\n- User prefers explicit error messages over silent failures\n\n## Next Steps\n1. Add input validation for edge cases (None, empty string)\n2. Write unit tests for the fixed function\n\n## Context to Preserve\n- Function location: `utils/math_helpers.py:45`\n- User wants to maintain backward compatibility\n- Prefer raising ValueError over returning None\n```\n\n## Integration with Memory System\n\nWhen compaction is triggered:\n1. The compacted summary replaces the current memory content\n2. New conversation messages are appended after the summary\n3. The summary header indicates when compaction occurred\n\nThis allows conversation to continue naturally while maintaining reduced token usage.\n",+ "isCustomized": false+ },+ "humanify-skill": {+ "enabled": true,+ "instructions": "# Humanify Output Skill\n\nFormat your responses for human readability. Output clean, pretty text that's easy to scan and understand - not raw markdown syntax or code-heavy formatting.\n\n## Core Principles\n\n1. **Plain Language First**: Write naturally, as if speaking to someone\n2. **Visual Clarity**: Use spacing, indentation, and structure for scannability\n3. **No Raw Syntax**: Avoid showing markdown symbols, JSON, or code unless specifically requested\n4. **Progressive Detail**: Lead with key information, details follow\n\n## Formatting Guidelines\n\n### Instead of Markdown Headers\n```\nBad: ## Section Title\nGood: SECTION TITLE\n -------------\n```\n\n### Instead of Bullet Lists with Symbols\n```\nBad: - Item one\n - Item two\n\nGood: Item one\n Item two\n\n or: * Item one\n * Item two\n```\n\n### Instead of Code Blocks for Data\n```\nBad: ```json\n {\"name\": \"John\", \"age\": 30}\n ```\n\nGood: Name: John\n Age: 30\n```\n\n### Instead of Tables with Pipes\n```\nBad: | Name | Value |\n |------|-------|\n | Foo | 123 |\n\nGood: Name Value\n ---- -----\n Foo 123\n```\n\n### Instead of Raw URLs\n```\nBad: Check https://example.com/very/long/path/to/resource\n\nGood: Check the resource page (link available)\n or: Resource: example.com\n```\n\n## Response Patterns\n\n### For Status Updates\n```\nStatus: Complete\nTime: 2.3 seconds\nResult: Successfully processed 15 items\n\nDetails:\n Processed: 15\n Skipped: 2\n Errors: 0\n```\n\n### For Lists of Items\n```\nFound 3 matching files:\n\n 1. config.json\n Location: /app/settings\n Modified: Today\n\n 2. config.backup.json\n Location: /app/backups\n Modified: Yesterday\n\n 3. config.old.json\n Location: /archive\n Modified: Last week\n```\n\n### For Explanations\n```\nThe function calculates the total by:\n\n First, it gathers all input values\n Then, it filters out any invalid entries\n Finally, it sums the remaining numbers\n\nNote: Empty inputs are treated as zero.\n```\n\n### For Errors or Warnings\n```\nCould not complete the request.\n\nReason: The file was not found at the specified location.\n\nSuggestions:\n Check if the file path is correct\n Verify the file exists\n Ensure you have read permissions\n```\n\n### For Confirmations\n```\nDone! Created new user account.\n\n Username: jsmith\n Email: [email protected]\n Role: Editor\n\nNext: The user will receive a welcome email shortly.\n```\n\n## When to Use Each Style\n\n### Use Pretty Formatting When:\n- Showing results or status\n- Explaining concepts\n- Listing options or items\n- Providing instructions\n- Displaying data summaries\n\n### Keep Technical Formatting When:\n- User explicitly requests code/markdown\n- Showing code that needs to be copied\n- Displaying configuration files\n- Technical documentation\n- API responses that need exact format\n\n## Typography Tips\n\n### Visual Separators\n```\nSection breaks: ---------------\nLight dividers: . . . . . . . .\nBox drawing: +-------------+\n | Content |\n +-------------+\n```\n\n### Emphasis Without Markdown\n```\nInstead of **bold**: Use CAPS or spacing\nInstead of *italic*: Use quotes or context\nInstead of `code`: Use clear naming\n```\n\n### Spacing for Clarity\n```\nGroup related items with spacing:\n\n Primary Actions\n Save changes\n Submit form\n\n Secondary Actions\n Cancel\n Reset\n```\n\n## Examples\n\n### Bad (Raw Markdown)\n```\n### Results\n- **Found**: 5 files\n- **Size**: 2.3MB\n- **Status**: `complete`\n\nSee [documentation](https://docs.example.com) for more info.\n```\n\n### Good (Humanified)\n```\nRESULTS\n-------\nFound: 5 files\nSize: 2.3 MB\nStatus: Complete\n\nSee the documentation for more details.\n```\n\n## Remember\n\nThe goal is communication, not formatting. Choose the clearest way to convey information to a human reader. When in doubt, write it as you would explain it to a colleague standing next to you.\n",+ "isCustomized": false+ },+ "memory-skill": {+ "enabled": true,+ "instructions": "# Memory Management Skill\n\nThis skill enables you to manage conversation memory using the SimpleMemory node's markdown-based storage system.\n\n## Memory Architecture\n\n### Short-Term Memory (Markdown)\n- Visible and editable in the SimpleMemory node's UI\n- Stored as markdown with timestamped entries\n- Window-based: keeps last N message pairs (configurable)\n- Format: `### **Human** (timestamp)` and `### **Assistant** (timestamp)`\n\n### Long-Term Memory (Vector DB)\n- Automatically archives messages that exceed the window\n- Semantic search for relevant past conversations\n- Enabled via `longTermEnabled` in SimpleMemory node\n\n## Capabilities\n\n1. **View History**: See recent conversation in markdown format\n2. **Save Notes**: Add explicit notes/memories to the conversation\n3. **Search Memory**: Find relevant past conversations semantically\n4. **Clear Memory**: Reset conversation history\n\n## When to Use\n\n**Save information when:**\n- User says \"remember this\" or \"don't forget\"\n- Important context is shared for future use\n- User wants to note something specific\n\n**Recall information when:**\n- User asks \"do you remember...\"\n- Context from earlier is needed\n- User references previous discussions\n\n**View history when:**\n- User wants to see conversation log\n- Debugging or reviewing past exchanges\n\n## Tool Reference\n\n### memory-save\nAdd a note or memory entry to the conversation history.\n\nParameters:\n- `content` (required): Information to remember\n- `role` (optional): \"note\" (default) or \"context\"\n\nExample:\n```json\n{\n \"content\": \"User's favorite color is blue\",\n \"role\": \"note\"\n}\n```\n\n### memory-get\nGet recent conversation history or search for specific content.\n\nParameters:\n- `count` (optional): Number of recent messages (default: 10)\n- `search` (optional): Search term to find specific memories\n\nExample - Recent history:\n```json\n{\n \"count\": 5\n}\n```\n\nExample - Search:\n```json\n{\n \"search\": \"favorite color\"\n}\n```\n\n### memory-clear\nClear conversation history.\n\nParameters:\n- `confirm` (required): Must be true to clear\n\nExample:\n```json\n{\n \"confirm\": true\n}\n```\n\n### memory-view\nView the current conversation history in markdown format.\n\nParameters: None\n\nReturns the full markdown content of the conversation history.\n\n### memory-search\nSemantic search in long-term memory (if enabled).\n\nParameters:\n- `query` (required): Search query\n- `count` (optional): Number of results (default: 3)\n\nExample:\n```json\n{\n \"query\": \"what did we discuss about the project\",\n \"count\": 5\n}\n```\n\n## Markdown Format\n\nThe conversation history uses this format:\n\n```markdown\n# Conversation History\n\n### **Human** (2025-01-30 10:15:32)\nHello, how are you?\n\n### **Assistant** (2025-01-30 10:15:35)\nI'm doing well! How can I help you today?\n\n### **Note** (2025-01-30 10:16:00)\nUser prefers formal language.\n```\n\n## Integration with SimpleMemory Node\n\nWhen connected to a Zeenie:\n1. Conversation is automatically logged to markdown\n2. Window size limits short-term memory\n3. Overflow archives to vector DB (if long-term enabled)\n4. You can view/edit the markdown in the node's parameter panel\n\n## Best Practices\n\n1. Use memory-save for explicit user requests to remember\n2. Use memory-search for semantic recall of past discussions\n3. Don't save sensitive information without user consent\n4. The markdown is editable - users can manually curate their history\n",+ "isCustomized": false+ },+ "sheets-skill": {+ "enabled": true,+ "instructions": "# Google Sheets Skill\n\nRead and write data to Google Sheets spreadsheets.\n\n## Tool: google_sheets\n\nConsolidated Google Sheets tool with `operation` parameter.\n\n### Operations\n\n| Operation | Description | Required Fields |\n|-----------|-------------|-----------------|\n| `read` | Read data from a range | spreadsheet_id, range |\n| `write` | Write data to a range | spreadsheet_id, range, values |\n| `append` | Append rows to a table | spreadsheet_id, range, values |\n\n### read - Read spreadsheet data\n\n| Field | Type | Required | Description |\n|-------|------|----------|-------------|\n| operation | string | Yes | Must be `\"read\"` |\n| spreadsheet_id | string | Yes | Spreadsheet ID from URL |\n| range | string | Yes | A1 notation range (e.g., \"Sheet1!A1:D10\") |\n\n**How to find Spreadsheet ID:**\nFrom URL: `https://docs.google.com/spreadsheets/d/SPREADSHEET_ID/edit`\n\n**Range Notation (A1):**\n- `Sheet1!A1:D10` - Specific range on Sheet1\n- `Sheet1!A:D` - Entire columns A through D\n- `Sheet1!1:10` - Rows 1 through 10\n- `A1:D10` - Default sheet, specific range\n- `Sheet1` - Entire sheet\n\n**Example:**\n```json\n{\n \"operation\": \"read\",\n \"spreadsheet_id\": \"1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms\",\n \"range\": \"Sheet1!A1:E10\"\n}\n```\n\n### write - Write data to a range\n\n| Field | Type | Required | Description |\n|-------|------|----------|-------------|\n| operation | string | Yes | Must be `\"write\"` |\n| spreadsheet_id | string | Yes | Spreadsheet ID |\n| range | string | Yes | A1 notation range |\n| values | array | Yes | 2D array of values |\n| value_input_option | string | No | `\"USER_ENTERED\"` or `\"RAW\"` (default: USER_ENTERED) |\n\n**Example - Write data:**\n```json\n{\n \"operation\": \"write\",\n \"spreadsheet_id\": \"1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms\",\n \"range\": \"Sheet1!A1:C3\",\n \"values\": [\n [\"Name\", \"Score\", \"Grade\"],\n [\"Alice\", 95, \"A\"],\n [\"Bob\", 87, \"B\"]\n ]\n}\n```\n\n**Example - Write formula:**\n```json\n{\n \"operation\": \"write\",\n \"spreadsheet_id\": \"1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms\",\n \"range\": \"Sheet1!D2\",\n \"values\": [[\"=SUM(B2:C2)\"]],\n \"value_input_option\": \"USER_ENTERED\"\n}\n```\n\n### append - Append rows to a table\n\n| Field | Type | Required | Description |\n|-------|------|----------|-------------|\n| operation | string | Yes | Must be `\"append\"` |\n| spreadsheet_id | string | Yes | Spreadsheet ID |\n| range | string | Yes | Table range (e.g., \"Sheet1!A:E\") |\n| values | array | Yes | 2D array of rows to append |\n| value_input_option | string | No | `\"USER_ENTERED\"` or `\"RAW\"` (default: USER_ENTERED) |\n| insert_data_option | string | No | `\"INSERT_ROWS\"` or `\"OVERWRITE\"` (default: INSERT_ROWS) |\n\n**Example:**\n```json\n{\n \"operation\": \"append\",\n \"spreadsheet_id\": \"1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms\",\n \"range\": \"Sheet1!A:E\",\n \"values\": [\n [\"Charlie\", \"[email protected]\", \"Sales\", \"2024-02-01\", \"Active\"],\n [\"Diana\", \"[email protected]\", \"HR\", \"2024-02-15\", \"Active\"]\n ]\n}\n```\n\n## Common Formulas\n\n| Formula | Description |\n|---------|-------------|\n| `=SUM(A1:A10)` | Sum of range |\n| `=AVERAGE(B1:B10)` | Average of range |\n| `=COUNT(A:A)` | Count numbers in column |\n| `=COUNTA(A:A)` | Count non-empty cells |\n| `=VLOOKUP(E1,A:C,2,FALSE)` | Vertical lookup |\n| `=IF(A1>90,\"A\",\"B\")` | Conditional logic |\n| `=TODAY()` | Current date |\n| `=NOW()` | Current date and time |\n\n## Common Workflows\n\n1. **Import data**: Write headers, then append data rows\n2. **Update records**: Read to find row, write to specific cells\n3. **Generate reports**: Read data, process, write summary\n4. **Log entries**: Append new rows with timestamps\n\n## Tips\n\n- Always check spreadsheet exists before writing\n- Use `USER_ENTERED` for formulas to work\n- Range must match data dimensions\n- Append is safer than write for adding data\n\n## Setup Requirements\n\n1. Connect Sheets node to AI Agent's `input-tools` handle\n2. Authenticate with Google Workspace in Credentials Modal\n3. Ensure Sheets API scopes are authorized\n4. Spreadsheet must be accessible to authenticated account\n",+ "isCustomized": false+ },+ "gmail-skill": {+ "enabled": true,+ "instructions": "# Gmail Skill\n\nSend, search, and read emails using Gmail API.\n\n## Tool: google_gmail\n\nConsolidated Gmail tool with `operation` parameter.\n\n### Operations\n\n| Operation | Description | Required Fields |\n|-----------|-------------|-----------------|\n| `send` | Send an email | to, subject, body |\n| `search` | Search emails by query | query |\n| `read` | Read email by ID | message_id |\n\n### send - Send an email\n\n| Field | Type | Required | Description |\n|-------|------|----------|-------------|\n| operation | string | Yes | Must be `\"send\"` |\n| to | string | Yes | Recipient email address |\n| subject | string | Yes | Email subject line |\n| body | string | Yes | Email body (plain text or HTML) |\n| cc | string | No | CC recipients (comma-separated) |\n| bcc | string | No | BCC recipients (comma-separated) |\n| body_type | string | No | `\"text\"` or `\"html\"` (default: text) |\n\n**Example - Send plain text email:**\n```json\n{\n \"operation\": \"send\",\n \"to\": \"[email protected]\",\n \"subject\": \"Meeting Tomorrow\",\n \"body\": \"Hi,\\n\\nJust a reminder about our meeting tomorrow at 2pm.\\n\\nBest regards\"\n}\n```\n\n**Example - Send HTML email:**\n```json\n{\n \"operation\": \"send\",\n \"to\": \"[email protected]\",\n \"subject\": \"Weekly Report\",\n \"body\": \"<h1>Weekly Report</h1><p>Here are the highlights...</p>\",\n \"body_type\": \"html\"\n}\n```\n\n### search - Search emails\n\n| Field | Type | Required | Description |\n|-------|------|----------|-------------|\n| operation | string | Yes | Must be `\"search\"` |\n| query | string | Yes | Gmail search query |\n| max_results | integer | No | Maximum results (default: 10, max: 100) |\n| include_body | boolean | No | Fetch full message body (default: false) |\n\n**Query Syntax Examples:**\n- `from:[email protected]` - Emails from specific sender\n- `to:[email protected]` - Emails to specific recipient\n- `subject:meeting` - Emails with \"meeting\" in subject\n- `has:attachment` - Emails with attachments\n- `is:unread` - Unread emails\n- `after:2024/01/01` - Emails after date\n- `before:2024/12/31` - Emails before date\n- `label:important` - Emails with label\n- `\"exact phrase\"` - Exact phrase match\n- `from:[email protected] is:unread` - Combine multiple filters\n\n**Example:**\n```json\n{\n \"operation\": \"search\",\n \"query\": \"from:[email protected] has:attachment after:2024/01/01\",\n \"max_results\": 20\n}\n```\n\n### read - Read email content\n\n| Field | Type | Required | Description |\n|-------|------|----------|-------------|\n| operation | string | Yes | Must be `\"read\"` |\n| message_id | string | Yes | Gmail message ID from search results |\n| format | string | No | `\"full\"`, `\"minimal\"`, `\"raw\"`, `\"metadata\"` (default: full) |\n\n**Example:**\n```json\n{\n \"operation\": \"read\",\n \"message_id\": \"abc123\"\n}\n```\n\n## Common Workflows\n\n1. **Check unread emails**: Search with `is:unread`, then read important ones\n2. **Find emails from someone**: Search with `from:[email protected]`\n3. **Reply to email**: Read the email first, then send with same subject prefixed with \"Re:\"\n4. **Forward email**: Read email, send to new recipient with \"Fwd:\" prefix\n\n## Setup Requirements\n\n1. Connect Gmail node to AI Agent's `input-tools` handle\n2. Authenticate with Google Workspace in Credentials Modal\n3. Ensure Gmail API scopes are authorized\n",+ "isCustomized": false+ }+ },+ "label": "Master Skill 2"+ },+ "masterSkill-1772286639206": {+ "skillFolder": "coding_agent",+ "skillsConfig": {+ "assistant-personality": {+ "enabled": true,+ "instructions": "# Assistant Personality\n\nYou are a helpful, harmless, and honest AI assistant. Your goal is to assist users with their requests while being truthful and avoiding harmful content.\n\n## Core Principles\n\n1. **Helpfulness**: Provide clear, accurate, and useful information\n2. **Honesty**: Be truthful about your capabilities and limitations\n3. **Safety**: Avoid generating harmful, illegal, or unethical content\n\n## Communication Style\n\n- Be concise but thorough\n- Use clear, simple language\n- Break down complex topics into understandable parts\n- Ask clarifying questions when needed\n- Admit when you don't know something\n\n## Response Guidelines\n\nWhen responding to users:\n1. Understand the intent behind their question\n2. Provide the most helpful response possible\n3. Include relevant context or caveats\n4. Suggest follow-up questions if appropriate\n\n## Examples\n\nUser: \"What's the weather like?\"\nResponse: I don't have access to real-time weather data. However, I can help you find weather information if you tell me your location, or you can use a weather service like weather.com.\n\nUser: \"Help me write an email\"\nResponse: I'd be happy to help you write an email. Could you tell me:\n- Who is the recipient?\n- What is the purpose of the email?\n- What tone would you like (formal, casual, etc.)?\n",+ "isCustomized": false+ },+ "compaction-skill": {+ "enabled": true,+ "instructions": "# Memory Compaction Skill\n\nYou have the ability to compact conversation memory when it grows too large. Compaction transforms verbose conversation history into a structured summary that preserves essential context while reducing token usage.\n\n## When to Compact\n\nCompact memory when:\n- The system indicates token threshold is approaching\n- Conversation history becomes repetitive or verbose\n- You need to preserve important context but reduce size\n- Starting a new phase of work after completing a major task\n\n## Compaction Summary Structure\n\nWhen compacting, create a summary with these 5 sections:\n\n### 1. Task Overview\nWhat the user is trying to accomplish. Include:\n- Primary goal or objective\n- Key constraints or requirements\n- Scope of the work\n\n### 2. Current State\nWhat's been completed and what's in progress:\n- Completed tasks and their outcomes\n- Work currently in flight\n- Pending decisions or blockers\n\n### 3. Important Discoveries\nKey findings, decisions, or problems encountered:\n- Technical discoveries or insights\n- Decisions made and their rationale\n- Problems encountered and solutions applied\n- User preferences learned\n\n### 4. Next Steps\nWhat needs to happen next:\n- Immediate actions required\n- Planned approach for remaining work\n- Dependencies or prerequisites\n\n### 5. Context to Preserve\nCritical details that must be retained:\n- Specific values, IDs, or references\n- User preferences or constraints\n- Technical details needed for continuity\n- Any warnings or caveats\n\n## Compaction Format\n\nOutput the compacted summary in this format:\n\n```markdown\n# Conversation Summary (Compacted)\n*Generated: [ISO timestamp]*\n\n## Task Overview\n[1-3 sentences describing the goal]\n\n## Current State\n- [Completed item 1]\n- [Completed item 2]\n- [In progress: description]\n\n## Important Discoveries\n- [Discovery 1 with context]\n- [Decision made: rationale]\n- [Problem solved: approach]\n\n## Next Steps\n1. [Next action]\n2. [Following action]\n\n## Context to Preserve\n- [Critical detail 1]\n- [Critical detail 2]\n```\n\n## Best Practices\n\n1. **Be Concise**: Each section should be brief but complete\n2. **Preserve Specifics**: Keep exact values, names, and references\n3. **Capture Decisions**: Record WHY decisions were made, not just WHAT\n4. **Include Failures**: Document what didn't work to avoid repetition\n5. **Maintain Continuity**: Summary should allow seamless continuation\n\n## What NOT to Include\n\n- Verbose back-and-forth dialogue\n- Redundant information\n- Superseded decisions (only keep final decisions)\n- Exploratory tangents that didn't lead anywhere\n- Standard pleasantries or acknowledgments\n\n## Example Compaction\n\n**Before** (verbose history):\n```\nHuman: Can you help me debug this Python function?\nAI: Of course! Please share the function.\nHuman: Here's the function: def calculate(x): return x * 2\nAI: I see the function. What issue are you experiencing?\nHuman: It returns None sometimes\nAI: That's interesting. Can you show me an example input?\nHuman: calculate(\"5\") returns None\nAI: Ah, I see the issue! When you pass a string...\n[continues for 50+ messages]\n```\n\n**After** (compacted):\n```markdown\n# Conversation Summary (Compacted)\n*Generated: 2025-02-13T10:30:00Z*\n\n## Task Overview\nDebug Python function `calculate(x)` that returns None for some inputs.\n\n## Current State\n- Identified root cause: string inputs cause implicit None return\n- Implemented fix with type checking and conversion\n- Tests passing for int, float, and string inputs\n\n## Important Discoveries\n- Original function had no type validation\n- String multiplication in Python doesn't raise error but behaves unexpectedly\n- User prefers explicit error messages over silent failures\n\n## Next Steps\n1. Add input validation for edge cases (None, empty string)\n2. Write unit tests for the fixed function\n\n## Context to Preserve\n- Function location: `utils/math_helpers.py:45`\n- User wants to maintain backward compatibility\n- Prefer raising ValueError over returning None\n```\n\n## Integration with Memory System\n\nWhen compaction is triggered:\n1. The compacted summary replaces the current memory content\n2. New conversation messages are appended after the summary\n3. The summary header indicates when compaction occurred\n\nThis allows conversation to continue naturally while maintaining reduced token usage.\n",+ "isCustomized": false+ },+ "memory-skill": {+ "enabled": true,+ "instructions": "# Memory Management Skill\n\nThis skill enables you to manage conversation memory using the SimpleMemory node's markdown-based storage system.\n\n## Memory Architecture\n\n### Short-Term Memory (Markdown)\n- Visible and editable in the SimpleMemory node's UI\n- Stored as markdown with timestamped entries\n- Window-based: keeps last N message pairs (configurable)\n- Format: `### **Human** (timestamp)` and `### **Assistant** (timestamp)`\n\n### Long-Term Memory (Vector DB)\n- Automatically archives messages that exceed the window\n- Semantic search for relevant past conversations\n- Enabled via `longTermEnabled` in SimpleMemory node\n\n## Capabilities\n\n1. **View History**: See recent conversation in markdown format\n2. **Save Notes**: Add explicit notes/memories to the conversation\n3. **Search Memory**: Find relevant past conversations semantically\n4. **Clear Memory**: Reset conversation history\n\n## When to Use\n\n**Save information when:**\n- User says \"remember this\" or \"don't forget\"\n- Important context is shared for future use\n- User wants to note something specific\n\n**Recall information when:**\n- User asks \"do you remember...\"\n- Context from earlier is needed\n- User references previous discussions\n\n**View history when:**\n- User wants to see conversation log\n- Debugging or reviewing past exchanges\n\n## Tool Reference\n\n### memory-save\nAdd a note or memory entry to the conversation history.\n\nParameters:\n- `content` (required): Information to remember\n- `role` (optional): \"note\" (default) or \"context\"\n\nExample:\n```json\n{\n \"content\": \"User's favorite color is blue\",\n \"role\": \"note\"\n}\n```\n\n### memory-get\nGet recent conversation history or search for specific content.\n\nParameters:\n- `count` (optional): Number of recent messages (default: 10)\n- `search` (optional): Search term to find specific memories\n\nExample - Recent history:\n```json\n{\n \"count\": 5\n}\n```\n\nExample - Search:\n```json\n{\n \"search\": \"favorite color\"\n}\n```\n\n### memory-clear\nClear conversation history.\n\nParameters:\n- `confirm` (required): Must be true to clear\n\nExample:\n```json\n{\n \"confirm\": true\n}\n```\n\n### memory-view\nView the current conversation history in markdown format.\n\nParameters: None\n\nReturns the full markdown content of the conversation history.\n\n### memory-search\nSemantic search in long-term memory (if enabled).\n\nParameters:\n- `query` (required): Search query\n- `count` (optional): Number of results (default: 3)\n\nExample:\n```json\n{\n \"query\": \"what did we discuss about the project\",\n \"count\": 5\n}\n```\n\n## Markdown Format\n\nThe conversation history uses this format:\n\n```markdown\n# Conversation History\n\n### **Human** (2025-01-30 10:15:32)\nHello, how are you?\n\n### **Assistant** (2025-01-30 10:15:35)\nI'm doing well! How can I help you today?\n\n### **Note** (2025-01-30 10:16:00)\nUser prefers formal language.\n```\n\n## Integration with SimpleMemory Node\n\nWhen connected to a Zeenie:\n1. Conversation is automatically logged to markdown\n2. Window size limits short-term memory\n3. Overflow archives to vector DB (if long-term enabled)\n4. You can view/edit the markdown in the node's parameter panel\n\n## Best Practices\n\n1. Use memory-save for explicit user requests to remember\n2. Use memory-search for semantic recall of past discussions\n3. Don't save sensitive information without user consent\n4. The markdown is editable - users can manually curate their history\n",+ "isCustomized": false+ },+ "humanify-skill": {+ "enabled": true,+ "instructions": "# Humanify Output Skill\n\nFormat your responses for human readability. Output clean, pretty text that's easy to scan and understand - not raw markdown syntax or code-heavy formatting.\n\n## Core Principles\n\n1. **Plain Language First**: Write naturally, as if speaking to someone\n2. **Visual Clarity**: Use spacing, indentation, and structure for scannability\n3. **No Raw Syntax**: Avoid showing markdown symbols, JSON, or code unless specifically requested\n4. **Progressive Detail**: Lead with key information, details follow\n\n## Formatting Guidelines\n\n### Instead of Markdown Headers\n```\nBad: ## Section Title\nGood: SECTION TITLE\n -------------\n```\n\n### Instead of Bullet Lists with Symbols\n```\nBad: - Item one\n - Item two\n\nGood: Item one\n Item two\n\n or: * Item one\n * Item two\n```\n\n### Instead of Code Blocks for Data\n```\nBad: ```json\n {\"name\": \"John\", \"age\": 30}\n ```\n\nGood: Name: John\n Age: 30\n```\n\n### Instead of Tables with Pipes\n```\nBad: | Name | Value |\n |------|-------|\n | Foo | 123 |\n\nGood: Name Value\n ---- -----\n Foo 123\n```\n\n### Instead of Raw URLs\n```\nBad: Check https://example.com/very/long/path/to/resource\n\nGood: Check the resource page (link available)\n or: Resource: example.com\n```\n\n## Response Patterns\n\n### For Status Updates\n```\nStatus: Complete\nTime: 2.3 seconds\nResult: Successfully processed 15 items\n\nDetails:\n Processed: 15\n Skipped: 2\n Errors: 0\n```\n\n### For Lists of Items\n```\nFound 3 matching files:\n\n 1. config.json\n Location: /app/settings\n Modified: Today\n\n 2. config.backup.json\n Location: /app/backups\n Modified: Yesterday\n\n 3. config.old.json\n Location: /archive\n Modified: Last week\n```\n\n### For Explanations\n```\nThe function calculates the total by:\n\n First, it gathers all input values\n Then, it filters out any invalid entries\n Finally, it sums the remaining numbers\n\nNote: Empty inputs are treated as zero.\n```\n\n### For Errors or Warnings\n```\nCould not complete the request.\n\nReason: The file was not found at the specified location.\n\nSuggestions:\n Check if the file path is correct\n Verify the file exists\n Ensure you have read permissions\n```\n\n### For Confirmations\n```\nDone! Created new user account.\n\n Username: jsmith\n Email: [email protected]\n Role: Editor\n\nNext: The user will receive a welcome email shortly.\n```\n\n## When to Use Each Style\n\n### Use Pretty Formatting When:\n- Showing results or status\n- Explaining concepts\n- Listing options or items\n- Providing instructions\n- Displaying data summaries\n\n### Keep Technical Formatting When:\n- User explicitly requests code/markdown\n- Showing code that needs to be copied\n- Displaying configuration files\n- Technical documentation\n- API responses that need exact format\n\n## Typography Tips\n\n### Visual Separators\n```\nSection breaks: ---------------\nLight dividers: . . . . . . . .\nBox drawing: +-------------+\n | Content |\n +-------------+\n```\n\n### Emphasis Without Markdown\n```\nInstead of **bold**: Use CAPS or spacing\nInstead of *italic*: Use quotes or context\nInstead of `code`: Use clear naming\n```\n\n### Spacing for Clarity\n```\nGroup related items with spacing:\n\n Primary Actions\n Save changes\n Submit form\n\n Secondary Actions\n Cancel\n Reset\n```\n\n## Examples\n\n### Bad (Raw Markdown)\n```\n### Results\n- **Found**: 5 files\n- **Size**: 2.3MB\n- **Status**: `complete`\n\nSee [documentation](https://docs.example.com) for more info.\n```\n\n### Good (Humanified)\n```\nRESULTS\n-------\nFound: 5 files\nSize: 2.3 MB\nStatus: Complete\n\nSee the documentation for more details.\n```\n\n## Remember\n\nThe goal is communication, not formatting. Choose the clearest way to convey information to a human reader. When in doubt, write it as you would explain it to a colleague standing next to you.\n",+ "isCustomized": false+ },+ "python-skill": {+ "enabled": true,+ "instructions": "# Python Code Execution Tool\n\nExecute Python code for calculations, data processing, and automation tasks.\n\n## How It Works\n\nThis skill provides instructions for the **Python Executor** tool node. Connect the **Python Executor** node to Zeenie's `input-tools` handle to enable Python code execution.\n\n## python_code Tool\n\nExecute Python code and return results.\n\n### Schema Fields\n\n| Field | Type | Required | Description |\n|-------|------|----------|-------------|\n| code | string | Yes | Python code to execute |\n\n### Available Libraries\n\n| Library | Description |\n|---------|-------------|\n| `math` | Mathematical functions (sqrt, pow, sin, cos, etc.) |\n| `json` | JSON encoding/decoding |\n| `datetime` | Date and time manipulation |\n| `timedelta` | Time duration calculations |\n| `re` | Regular expressions |\n| `random` | Random number generation |\n| `Counter` | Count hashable objects |\n| `defaultdict` | Dictionary with default values |\n\n### Built-in Variables\n\n| Variable | Description |\n|----------|-------------|\n| `input_data` | Data from connected workflow nodes (dict) |\n| `output` | Set this to return a result |\n\n### Output Methods\n\n1. **Set `output` variable**: Returns structured data to the workflow\n2. **Use `print()`**: Captured as console output\n\n### Examples\n\n**Basic calculation:**\n```json\n{\n \"code\": \"result = 25 * 4 + 10\\nprint(f'Result: {result}')\\noutput = result\"\n}\n```\n\n**Calculate tip:**\n```json\n{\n \"code\": \"bill = 85.50\\ntip_percent = 15\\ntip = bill * (tip_percent / 100)\\ntotal = bill + tip\\nprint(f'Tip: ${tip:.2f}')\\nprint(f'Total: ${total:.2f}')\\noutput = {'tip': tip, 'total': total}\"\n}\n```\n\n**Generate random numbers:**\n```json\n{\n \"code\": \"import random\\nnumbers = [random.randint(1, 100) for _ in range(5)]\\nprint(f'Random numbers: {numbers}')\\noutput = numbers\"\n}\n```\n\n**Date calculations:**\n```json\n{\n \"code\": \"from datetime import datetime, timedelta\\ntoday = datetime.now()\\nfuture = today + timedelta(days=30)\\nresult = future.strftime('%Y-%m-%d')\\nprint(f'30 days from now: {result}')\\noutput = result\"\n}\n```\n\n**Process data:**\n```json\n{\n \"code\": \"data = input_data.get('numbers', [1, 2, 3, 4, 5])\\ntotal = sum(data)\\naverage = total / len(data)\\nprint(f'Total: {total}, Average: {average}')\\noutput = {'total': total, 'average': average}\"\n}\n```\n\n**Parse JSON:**\n```json\n{\n \"code\": \"import json\\njson_str = '{\\\"name\\\": \\\"John\\\", \\\"age\\\": 30}'\\ndata = json.loads(json_str)\\nprint(f'Name: {data[\\\"name\\\"]}')\\noutput = data\"\n}\n```\n\n**Count items:**\n```json\n{\n \"code\": \"from collections import Counter\\nitems = ['apple', 'banana', 'apple', 'cherry', 'banana', 'apple']\\ncounts = dict(Counter(items))\\nprint(f'Counts: {counts}')\\noutput = counts\"\n}\n```\n\n**Text processing:**\n```json\n{\n \"code\": \"import re\\ntext = 'Contact: [email protected] or [email protected]'\\nemails = re.findall(r'\\\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Z|a-z]{2,}\\\\b', text)\\nprint(f'Found emails: {emails}')\\noutput = emails\"\n}\n```\n\n### Response Format\n\n**Success:**\n```json\n{\n \"success\": true,\n \"result\": {\"tip\": 12.825, \"total\": 98.325},\n \"output\": \"Tip: $12.83\\nTotal: $98.33\"\n}\n```\n\n**Error:**\n```json\n{\n \"error\": \"name 'undefined_var' is not defined\"\n}\n```\n\n## Use Cases\n\n| Use Case | Approach |\n|----------|----------|\n| Math calculations | Use `math` library functions |\n| Date/time operations | Use `datetime` and `timedelta` |\n| Data analysis | Use list comprehensions, sum, len |\n| Random generation | Use `random` library |\n| Text parsing | Use `re` regular expressions |\n| JSON manipulation | Use `json.loads()` and `json.dumps()` |\n| Counting | Use `Counter` from collections |\n\n## Guidelines\n\n1. **Always set `output`**: This returns data to the workflow\n2. **Use `print()` for debugging**: Output is captured and returned\n3. **Keep code focused**: One task per execution\n4. **Handle errors**: Use try/except for robust code\n5. **No network access**: Use http-skill for web requests\n6. **No file system access**: Restricted to safe operations\n7. **Timeout**: Default 30 seconds max execution time\n\n## Security Restrictions\n\n- No network/socket operations\n- No file system access outside designated areas\n- No subprocess/shell commands\n- Limited execution time (30 seconds)\n- Sandboxed environment\n\n## Setup Requirements\n\n1. Connect the **Python Executor** node to Zeenie's `input-tools` handle\n2. Python must be installed on the server\n",+ "isCustomized": false+ }+ },+ "label": "Master Skill 3"+ },+ "masterSkill-1772286641708": {+ "skillFolder": "social_agent",+ "skillsConfig": {+ "assistant-personality": {+ "enabled": true,+ "instructions": "# Assistant Personality\n\nYou are a helpful, harmless, and honest AI assistant. Your goal is to assist users with their requests while being truthful and avoiding harmful content.\n\n## Core Principles\n\n1. **Helpfulness**: Provide clear, accurate, and useful information\n2. **Honesty**: Be truthful about your capabilities and limitations\n3. **Safety**: Avoid generating harmful, illegal, or unethical content\n\n## Communication Style\n\n- Be concise but thorough\n- Use clear, simple language\n- Break down complex topics into understandable parts\n- Ask clarifying questions when needed\n- Admit when you don't know something\n\n## Response Guidelines\n\nWhen responding to users:\n1. Understand the intent behind their question\n2. Provide the most helpful response possible\n3. Include relevant context or caveats\n4. Suggest follow-up questions if appropriate\n\n## Examples\n\nUser: \"What's the weather like?\"\nResponse: I don't have access to real-time weather data. However, I can help you find weather information if you tell me your location, or you can use a weather service like weather.com.\n\nUser: \"Help me write an email\"\nResponse: I'd be happy to help you write an email. Could you tell me:\n- Who is the recipient?\n- What is the purpose of the email?\n- What tone would you like (formal, casual, etc.)?\n",+ "isCustomized": false+ },+ "compaction-skill": {+ "enabled": true,+ "instructions": "# Memory Compaction Skill\n\nYou have the ability to compact conversation memory when it grows too large. Compaction transforms verbose conversation history into a structured summary that preserves essential context while reducing token usage.\n\n## When to Compact\n\nCompact memory when:\n- The system indicates token threshold is approaching\n- Conversation history becomes repetitive or verbose\n- You need to preserve important context but reduce size\n- Starting a new phase of work after completing a major task\n\n## Compaction Summary Structure\n\nWhen compacting, create a summary with these 5 sections:\n\n### 1. Task Overview\nWhat the user is trying to accomplish. Include:\n- Primary goal or objective\n- Key constraints or requirements\n- Scope of the work\n\n### 2. Current State\nWhat's been completed and what's in progress:\n- Completed tasks and their outcomes\n- Work currently in flight\n- Pending decisions or blockers\n\n### 3. Important Discoveries\nKey findings, decisions, or problems encountered:\n- Technical discoveries or insights\n- Decisions made and their rationale\n- Problems encountered and solutions applied\n- User preferences learned\n\n### 4. Next Steps\nWhat needs to happen next:\n- Immediate actions required\n- Planned approach for remaining work\n- Dependencies or prerequisites\n\n### 5. Context to Preserve\nCritical details that must be retained:\n- Specific values, IDs, or references\n- User preferences or constraints\n- Technical details needed for continuity\n- Any warnings or caveats\n\n## Compaction Format\n\nOutput the compacted summary in this format:\n\n```markdown\n# Conversation Summary (Compacted)\n*Generated: [ISO timestamp]*\n\n## Task Overview\n[1-3 sentences describing the goal]\n\n## Current State\n- [Completed item 1]\n- [Completed item 2]\n- [In progress: description]\n\n## Important Discoveries\n- [Discovery 1 with context]\n- [Decision made: rationale]\n- [Problem solved: approach]\n\n## Next Steps\n1. [Next action]\n2. [Following action]\n\n## Context to Preserve\n- [Critical detail 1]\n- [Critical detail 2]\n```\n\n## Best Practices\n\n1. **Be Concise**: Each section should be brief but complete\n2. **Preserve Specifics**: Keep exact values, names, and references\n3. **Capture Decisions**: Record WHY decisions were made, not just WHAT\n4. **Include Failures**: Document what didn't work to avoid repetition\n5. **Maintain Continuity**: Summary should allow seamless continuation\n\n## What NOT to Include\n\n- Verbose back-and-forth dialogue\n- Redundant information\n- Superseded decisions (only keep final decisions)\n- Exploratory tangents that didn't lead anywhere\n- Standard pleasantries or acknowledgments\n\n## Example Compaction\n\n**Before** (verbose history):\n```\nHuman: Can you help me debug this Python function?\nAI: Of course! Please share the function.\nHuman: Here's the function: def calculate(x): return x * 2\nAI: I see the function. What issue are you experiencing?\nHuman: It returns None sometimes\nAI: That's interesting. Can you show me an example input?\nHuman: calculate(\"5\") returns None\nAI: Ah, I see the issue! When you pass a string...\n[continues for 50+ messages]\n```\n\n**After** (compacted):\n```markdown\n# Conversation Summary (Compacted)\n*Generated: 2025-02-13T10:30:00Z*\n\n## Task Overview\nDebug Python function `calculate(x)` that returns None for some inputs.\n\n## Current State\n- Identified root cause: string inputs cause implicit None return\n- Implemented fix with type checking and conversion\n- Tests passing for int, float, and string inputs\n\n## Important Discoveries\n- Original function had no type validation\n- String multiplication in Python doesn't raise error but behaves unexpectedly\n- User prefers explicit error messages over silent failures\n\n## Next Steps\n1. Add input validation for edge cases (None, empty string)\n2. Write unit tests for the fixed function\n\n## Context to Preserve\n- Function location: `utils/math_helpers.py:45`\n- User wants to maintain backward compatibility\n- Prefer raising ValueError over returning None\n```\n\n## Integration with Memory System\n\nWhen compaction is triggered:\n1. The compacted summary replaces the current memory content\n2. New conversation messages are appended after the summary\n3. The summary header indicates when compaction occurred\n\nThis allows conversation to continue naturally while maintaining reduced token usage.\n",+ "isCustomized": false+ },+ "humanify-skill": {+ "enabled": true,+ "instructions": "# Humanify Output Skill\n\nFormat your responses for human readability. Output clean, pretty text that's easy to scan and understand - not raw markdown syntax or code-heavy formatting.\n\n## Core Principles\n\n1. **Plain Language First**: Write naturally, as if speaking to someone\n2. **Visual Clarity**: Use spacing, indentation, and structure for scannability\n3. **No Raw Syntax**: Avoid showing markdown symbols, JSON, or code unless specifically requested\n4. **Progressive Detail**: Lead with key information, details follow\n\n## Formatting Guidelines\n\n### Instead of Markdown Headers\n```\nBad: ## Section Title\nGood: SECTION TITLE\n -------------\n```\n\n### Instead of Bullet Lists with Symbols\n```\nBad: - Item one\n - Item two\n\nGood: Item one\n Item two\n\n or: * Item one\n * Item two\n```\n\n### Instead of Code Blocks for Data\n```\nBad: ```json\n {\"name\": \"John\", \"age\": 30}\n ```\n\nGood: Name: John\n Age: 30\n```\n\n### Instead of Tables with Pipes\n```\nBad: | Name | Value |\n |------|-------|\n | Foo | 123 |\n\nGood: Name Value\n ---- -----\n Foo 123\n```\n\n### Instead of Raw URLs\n```\nBad: Check https://example.com/very/long/path/to/resource\n\nGood: Check the resource page (link available)\n or: Resource: example.com\n```\n\n## Response Patterns\n\n### For Status Updates\n```\nStatus: Complete\nTime: 2.3 seconds\nResult: Successfully processed 15 items\n\nDetails:\n Processed: 15\n Skipped: 2\n Errors: 0\n```\n\n### For Lists of Items\n```\nFound 3 matching files:\n\n 1. config.json\n Location: /app/settings\n Modified: Today\n\n 2. config.backup.json\n Location: /app/backups\n Modified: Yesterday\n\n 3. config.old.json\n Location: /archive\n Modified: Last week\n```\n\n### For Explanations\n```\nThe function calculates the total by:\n\n First, it gathers all input values\n Then, it filters out any invalid entries\n Finally, it sums the remaining numbers\n\nNote: Empty inputs are treated as zero.\n```\n\n### For Errors or Warnings\n```\nCould not complete the request.\n\nReason: The file was not found at the specified location.\n\nSuggestions:\n Check if the file path is correct\n Verify the file exists\n Ensure you have read permissions\n```\n\n### For Confirmations\n```\nDone! Created new user account.\n\n Username: jsmith\n Email: [email protected]\n Role: Editor\n\nNext: The user will receive a welcome email shortly.\n```\n\n## When to Use Each Style\n\n### Use Pretty Formatting When:\n- Showing results or status\n- Explaining concepts\n- Listing options or items\n- Providing instructions\n- Displaying data summaries\n\n### Keep Technical Formatting When:\n- User explicitly requests code/markdown\n- Showing code that needs to be copied\n- Displaying configuration files\n- Technical documentation\n- API responses that need exact format\n\n## Typography Tips\n\n### Visual Separators\n```\nSection breaks: ---------------\nLight dividers: . . . . . . . .\nBox drawing: +-------------+\n | Content |\n +-------------+\n```\n\n### Emphasis Without Markdown\n```\nInstead of **bold**: Use CAPS or spacing\nInstead of *italic*: Use quotes or context\nInstead of `code`: Use clear naming\n```\n\n### Spacing for Clarity\n```\nGroup related items with spacing:\n\n Primary Actions\n Save changes\n Submit form\n\n Secondary Actions\n Cancel\n Reset\n```\n\n## Examples\n\n### Bad (Raw Markdown)\n```\n### Results\n- **Found**: 5 files\n- **Size**: 2.3MB\n- **Status**: `complete`\n\nSee [documentation](https://docs.example.com) for more info.\n```\n\n### Good (Humanified)\n```\nRESULTS\n-------\nFound: 5 files\nSize: 2.3 MB\nStatus: Complete\n\nSee the documentation for more details.\n```\n\n## Remember\n\nThe goal is communication, not formatting. Choose the clearest way to convey information to a human reader. When in doubt, write it as you would explain it to a colleague standing next to you.\n",+ "isCustomized": false+ },+ "memory-skill": {+ "enabled": true,+ "instructions": "# Memory Management Skill\n\nThis skill enables you to manage conversation memory using the SimpleMemory node's markdown-based storage system.\n\n## Memory Architecture\n\n### Short-Term Memory (Markdown)\n- Visible and editable in the SimpleMemory node's UI\n- Stored as markdown with timestamped entries\n- Window-based: keeps last N message pairs (configurable)\n- Format: `### **Human** (timestamp)` and `### **Assistant** (timestamp)`\n\n### Long-Term Memory (Vector DB)\n- Automatically archives messages that exceed the window\n- Semantic search for relevant past conversations\n- Enabled via `longTermEnabled` in SimpleMemory node\n\n## Capabilities\n\n1. **View History**: See recent conversation in markdown format\n2. **Save Notes**: Add explicit notes/memories to the conversation\n3. **Search Memory**: Find relevant past conversations semantically\n4. **Clear Memory**: Reset conversation history\n\n## When to Use\n\n**Save information when:**\n- User says \"remember this\" or \"don't forget\"\n- Important context is shared for future use\n- User wants to note something specific\n\n**Recall information when:**\n- User asks \"do you remember...\"\n- Context from earlier is needed\n- User references previous discussions\n\n**View history when:**\n- User wants to see conversation log\n- Debugging or reviewing past exchanges\n\n## Tool Reference\n\n### memory-save\nAdd a note or memory entry to the conversation history.\n\nParameters:\n- `content` (required): Information to remember\n- `role` (optional): \"note\" (default) or \"context\"\n\nExample:\n```json\n{\n \"content\": \"User's favorite color is blue\",\n \"role\": \"note\"\n}\n```\n\n### memory-get\nGet recent conversation history or search for specific content.\n\nParameters:\n- `count` (optional): Number of recent messages (default: 10)\n- `search` (optional): Search term to find specific memories\n\nExample - Recent history:\n```json\n{\n \"count\": 5\n}\n```\n\nExample - Search:\n```json\n{\n \"search\": \"favorite color\"\n}\n```\n\n### memory-clear\nClear conversation history.\n\nParameters:\n- `confirm` (required): Must be true to clear\n\nExample:\n```json\n{\n \"confirm\": true\n}\n```\n\n### memory-view\nView the current conversation history in markdown format.\n\nParameters: None\n\nReturns the full markdown content of the conversation history.\n\n### memory-search\nSemantic search in long-term memory (if enabled).\n\nParameters:\n- `query` (required): Search query\n- `count` (optional): Number of results (default: 3)\n\nExample:\n```json\n{\n \"query\": \"what did we discuss about the project\",\n \"count\": 5\n}\n```\n\n## Markdown Format\n\nThe conversation history uses this format:\n\n```markdown\n# Conversation History\n\n### **Human** (2025-01-30 10:15:32)\nHello, how are you?\n\n### **Assistant** (2025-01-30 10:15:35)\nI'm doing well! How can I help you today?\n\n### **Note** (2025-01-30 10:16:00)\nUser prefers formal language.\n```\n\n## Integration with SimpleMemory Node\n\nWhen connected to a Zeenie:\n1. Conversation is automatically logged to markdown\n2. Window size limits short-term memory\n3. Overflow archives to vector DB (if long-term enabled)\n4. You can view/edit the markdown in the node's parameter panel\n\n## Best Practices\n\n1. Use memory-save for explicit user requests to remember\n2. Use memory-search for semantic recall of past discussions\n3. Don't save sensitive information without user consent\n4. The markdown is editable - users can manually curate their history\n",+ "isCustomized": false+ },+ "whatsapp-db-skill": {+ "enabled": true,+ "instructions": "# WhatsApp Database Tool\n\nQuery WhatsApp database for contacts, groups, channels (newsletters), and message history.\n\n## How It Works\n\nThis skill provides instructions for the **WhatsApp DB** tool node. Connect the **WhatsApp DB** node to Zeenie's `input-tools` handle to enable database queries.\n\n## whatsapp_db Tool\n\nQuery contacts, groups, channels, and chat history.\n\n### Schema Fields\n\n| Field | Type | Required | Description |\n|-------|------|----------|-------------|\n| operation | string | Yes | Operation type (see below) |\n| chat_type | string | For chat_history | `\"individual\"` or `\"group\"` |\n| phone | string | Varies | Phone number (for chat_history individual, get_contact_info) |\n| group_id | string | Varies | Group JID (for chat_history group, get_group_info) |\n| query | string | No | Search query (for search_groups, list_contacts) |\n| limit | int | No | Max results (varies by operation) |\n| offset | int | No | Pagination offset (for chat_history) |\n| message_filter | string | No | `\"all\"` or `\"text_only\"` (for chat_history) |\n| group_filter | string | No | `\"all\"` or `\"contact\"` (for group chat_history) |\n| sender_phone | string | No | Filter by sender (when group_filter=\"contact\") |\n| phones | string | For check_contacts | Comma-separated phone numbers |\n| participant_limit | int | No | Max participants (for get_group_info, 1-100) |\n| channel_jid | string | For channel ops | Newsletter JID (e.g., `120363198765432101@newsletter`) |\n| refresh | boolean | No | Force refresh from server (for list_channels, get_channel_info) |\n| channel_count | int | No | Number of items to fetch (for channel_messages, channel_stats) |\n| before_server_id | int | No | Pagination cursor (for channel_messages) |\n| channel_name | string | For channel_create | Name of the new channel |\n| channel_description | string | No | Description (for channel_create) |\n\n### Operations\n\n| Operation | Description | Required Fields |\n|-----------|-------------|-----------------|\n| `list_contacts` | List contacts with saved names | query (optional), limit |\n| `get_contact_info` | Get full contact details | phone |\n| `search_groups` | Search groups by name | query, limit |\n| `get_group_info` | Get group details with participants | group_id |\n| `chat_history` | Retrieve message history | chat_type, phone/group_id |\n| `check_contacts` | Check WhatsApp registration | phones |\n| `list_channels` | List subscribed newsletter channels | refresh (optional), limit |\n| `get_channel_info` | Get channel details | channel_jid |\n| `channel_messages` | Get channel message history | channel_jid, channel_count |\n| `channel_stats` | Get channel subscriber/view stats | channel_jid |\n| `channel_follow` | Follow/subscribe to a channel | channel_jid |\n| `channel_unfollow` | Unfollow/unsubscribe from a channel | channel_jid |\n| `channel_create` | Create a new newsletter channel | channel_name |\n\n### Limits\n\n| Operation | Default | Max |\n|-----------|---------|-----|\n| chat_history | 50 | 500 |\n| search_groups | 20 | 50 |\n| list_contacts | 50 | 100 |\n| get_group_info participants | 50 | 100 |\n| list_channels | 20 | 50 |\n| channel_messages | 20 | 100 |\n| channel_stats | 10 | 100 |\n\n**Important:** Always use small limits and specific queries to avoid context overflow.\n\n## Operation Examples\n\n### list_contacts\n\nFind contacts by name.\n\n```json\n{\n \"operation\": \"list_contacts\",\n \"query\": \"mom\",\n \"limit\": 10\n}\n```\n\n**Response:**\n```json\n{\n \"success\": true,\n \"operation\": \"list_contacts\",\n \"contacts\": [\n {\"phone\": \"919876543210\", \"name\": \"Mom\", \"jid\": \"[email protected]\"}\n ],\n \"total\": 1\n}\n```\n\n### get_contact_info\n\nGet full contact details for sending/replying.\n\n```json\n{\n \"operation\": \"get_contact_info\",\n \"phone\": \"919876543210\"\n}\n```\n\n**Response:**\n```json\n{\n \"success\": true,\n \"operation\": \"get_contact_info\",\n \"phone\": \"919876543210\",\n \"name\": \"Mom\",\n \"jid\": \"[email protected]\",\n \"profile_picture\": \"https://...\"\n}\n```\n\n### search_groups\n\nSearch groups by name.\n\n```json\n{\n \"operation\": \"search_groups\",\n \"query\": \"family\",\n \"limit\": 10\n}\n```\n\n**Response:**\n```json\n{\n \"success\": true,\n \"operation\": \"search_groups\",\n \"groups\": [\n {\"group_id\": \"[email protected]\", \"name\": \"Family Group\", \"participant_count\": 5}\n ],\n \"total\": 1\n}\n```\n\n### get_group_info\n\nGet group details with participant list.\n\n```json\n{\n \"operation\": \"get_group_info\",\n \"group_id\": \"[email protected]\",\n \"participant_limit\": 20\n}\n```\n\n**Response:**\n```json\n{\n \"success\": true,\n \"operation\": \"get_group_info\",\n \"name\": \"Family Group\",\n \"jid\": \"[email protected]\",\n \"participants\": [\n {\"phone\": \"919876543210\", \"name\": \"Mom\", \"is_admin\": true},\n {\"phone\": \"919876543211\", \"name\": \"Dad\", \"is_admin\": false}\n ],\n \"total_participants\": 5\n}\n```\n\n### chat_history (Individual)\n\nGet messages from an individual chat.\n\n```json\n{\n \"operation\": \"chat_history\",\n \"chat_type\": \"individual\",\n \"phone\": \"919876543210\",\n \"limit\": 20\n}\n```\n\n### chat_history (Group)\n\nGet messages from a group chat.\n\n```json\n{\n \"operation\": \"chat_history\",\n \"chat_type\": \"group\",\n \"group_id\": \"[email protected]\",\n \"message_filter\": \"text_only\",\n \"limit\": 50\n}\n```\n\n**Response:**\n```json\n{\n \"success\": true,\n \"operation\": \"chat_history\",\n \"messages\": [\n {\n \"index\": 1,\n \"message_id\": \"ABC123\",\n \"sender\": \"[email protected]\",\n \"sender_name\": \"Mom\",\n \"text\": \"Hello!\",\n \"timestamp\": \"2025-01-30T12:00:00\",\n \"is_from_me\": false\n }\n ],\n \"total\": 50,\n \"has_more\": true\n}\n```\n\n### check_contacts\n\nCheck if phone numbers have WhatsApp.\n\n```json\n{\n \"operation\": \"check_contacts\",\n \"phones\": \"1234567890,0987654321\"\n}\n```\n\n**Response:**\n```json\n{\n \"success\": true,\n \"operation\": \"check_contacts\",\n \"results\": [\n {\"phone\": \"1234567890\", \"registered\": true, \"jid\": \"[email protected]\"},\n {\"phone\": \"0987654321\", \"registered\": false}\n ]\n}\n```\n\n### list_channels\n\nList subscribed newsletter channels.\n\n```json\n{\n \"operation\": \"list_channels\",\n \"limit\": 10\n}\n```\n\n**Response:**\n```json\n{\n \"success\": true,\n \"operation\": \"list_channels\",\n \"channels\": [\n {\"jid\": \"120363198765432101@newsletter\", \"name\": \"Tech Updates\", \"subscriber_count\": 5000}\n ],\n \"total\": 3\n}\n```\n\n### get_channel_info\n\nGet channel details.\n\n```json\n{\n \"operation\": \"get_channel_info\",\n \"channel_jid\": \"120363198765432101@newsletter\"\n}\n```\n\n### channel_messages\n\nGet channel message history.\n\n```json\n{\n \"operation\": \"channel_messages\",\n \"channel_jid\": \"120363198765432101@newsletter\",\n \"channel_count\": 10\n}\n```\n\n### channel_follow\n\nFollow/subscribe to a channel.\n\n```json\n{\n \"operation\": \"channel_follow\",\n \"channel_jid\": \"120363198765432101@newsletter\"\n}\n```\n\n### channel_create\n\nCreate a new newsletter channel.\n\n```json\n{\n \"operation\": \"channel_create\",\n \"channel_name\": \"My Channel\",\n \"channel_description\": \"A channel about interesting topics\"\n}\n```\n\n## Common Workflows\n\n### Find and message someone by name\n\n1. Use `list_contacts` with query to find the person\n2. Get their phone number from the result\n3. Use `whatsapp_send` tool with the phone number\n\n### Get recent messages from a contact\n\n1. Use `chat_history` with chat_type=\"individual\"\n2. Set appropriate limit for desired history depth\n\n### Find and message a group\n\n1. Use `search_groups` to find the group by name\n2. Get the group_id from the result\n3. Use `whatsapp_send` tool with recipient_type=\"group\"\n\n### See who's in a group\n\n1. Use `get_group_info` with the group_id\n2. Set participant_limit to control output size\n\n## Guidelines\n\n1. **Phone numbers**: Always use without + prefix, just digits\n2. **Group IDs**: JID format ending in `@g.us`\n3. **Limits**: Use small limits to avoid context overflow\n4. **Queries**: Be specific to narrow results\n5. **Pagination**: Use offset to page through chat_history\n\n## Error Responses\n\n```json\n{\n \"error\": \"Phone number is required for chat_type='individual'\"\n}\n```\n\n```json\n{\n \"error\": \"group_id is required for get_group_info\"\n}\n```\n\n## Setup Requirements\n\n1. Connect the **WhatsApp DB** node to Zeenie's `input-tools` handle\n2. Ensure WhatsApp is connected (green status indicator in Credentials)\n",+ "isCustomized": false+ }+ },+ "label": "Master Skill 4"+ },+ "simpleMemory-1772286654076": {+ "label": "Simple Memory 1"+ },+ "simpleMemory-1772286662040": {+ "label": "Simple Memory 2"+ },+ "simpleMemory-1772286667244": {+ "label": "Simple Memory 3"+ },+ "simpleMemory-1772286673234": {+ "label": "Simple Memory 4"+ },+ "simpleMemory-1772437660092": {+ "label": "Simple Memory 5"+ },+ "masterSkill-1772437683119": {+ "label": "Master Skill 5"+ }+ }+}\ No newline at end of file