Skill: lucasseeley/workspace-casual-lucas (version 1.0.3)

# workspace-casual-lucas **Description:** Provides a casual interface for interacting with your OpenClaw workspace. Supports listing files, running commands, reading files, and other workspace automation tasks. **Commands:** - `run`: Handle casual commands from the user. Examples: - "List files in my workspace" - "Run dir C:\Users\lucas\OpenClawWorkspace" - "Read file C:\Users\lucas\OpenClawWorkspace\SKILL.md" **Author:** LucasSeeley

path: index.js
content: const fs = require("fs");
const { execSync } = require("child_process");
const path = require("path");

module.exports = {
  // List workspace files
  list_workspace: ({ path }) => {
    const workspacePath = path || "C:\\Users\\lucas\\OpenClawWorkspace";
    try {
      return fs.readdirSync(workspacePath);
    } catch (err) {
      return `Error listing workspace: ${err.message}`;
    }
  },

  // Run any command
  run_command: ({ command }) => {
    try {
      const output = execSync(command, { encoding: "utf8" });
      return output;
    } catch (err) {
      return `Error running command: ${err.message}`;
    }
  },

  // Open a file
  open_file: ({ file }) => {
    const resolvedPath = path.resolve(file);
    if (fs.existsSync(resolvedPath)) {
      return fs.readFileSync(resolvedPath, "utf8");
    } else {
      return "File does not exist.";
    }
  }
};


path: skill.json
content: {
  "name": "workspace-casual-lucas",
  "version": "1.0.1",
  "description": "Casual interface for OpenClaw workspace commands",
  "main": "index.js",
  "author": "LucasSeeley",
  "commands": [
    {
      "name": "list_workspace",
      "description": "List files in the OpenClaw workspace",
      "arguments": [
        {
          "name": "path",
          "type": "string",
          "default": "C:\\Users\\lucas\\OpenClawWorkspace"
        }
      ]
    },
    {
      "name": "run_command",
      "description": "Run a shell command",
      "arguments": [
        {
          "name": "command",
          "type": "string"
        }
      ]
    },
    {
      "name": "open_file",
      "description": "Open a specific file",
      "arguments": [
        {
          "name": "file",
          "type": "string"
        }
      ]
    }
  ]
}


path: triggers.json
content: [
  {
    "pattern": "(?i).*list files.*workspace.*",
    "description": "List files in the OpenClaw workspace",
    "run": "list_workspace",
    "arguments": {
      "path": "C:\\Users\\lucas\\OpenClawWorkspace"
    },
    "channels": ["whatsapp"]
  },
  {
    "pattern": "(?i).*run command (.*)",
    "description": "Run any command in the workspace",
    "run": "run_command",
    "arguments": {
      "command": "$1"
    },
    "channels": ["whatsapp"]
  },
  {
    "pattern": "(?i).*open file (.*)",
    "description": "Open a specific file in the workspace",
    "run": "open_file",
    "arguments": {
      "file": "$1"
    },
    "channels": ["whatsapp"]
  }
]


Security scan verdicts — ClawScan: suspicious | static analysis: suspicious | VirusTotal: suspicious | SkillSpector: suspicious (CRITICAL)