Skip to content
Back to skills

Ls

ASecurity

List files and directories in the workspace

  • 62 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 23, 2026
ai-agents

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 23, 2026

npx -y skills add tashfeenahmed/scallopbot --skill ls --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ls?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ls
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tashfeenahmed-scallopbot/badge)](https://www.skillsdirectory.com/skills/tashfeenahmed-scallopbot)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ls
description: List files and directories in the workspace
user-invocable: false
triggers: [ls, list, dir, directory, files, folders]
scripts:
  run: "scripts/run.ts"
inputSchema:
  type: object
  properties:
    path:
      type: string
      description: "Directory path to list (relative to workspace, default: '.')"
    all:
      type: boolean
      description: "Include hidden files (default: false)"
    long:
      type: boolean
      description: "Show detailed info including size and modification time (default: false)"
  required: []
metadata:
  openclaw:
    emoji: "\U0001F4C2"
    requires:
      bins: []
---

# List Directory Skill

List files and directories in the workspace.

## When to Use

Use the ls skill for:

- **Exploring directories**: See what files exist in a folder
- **Understanding project structure**: Get an overview of files and folders
- **Checking for files**: Verify if a file or directory exists

## Input Format

```json
{
  "path": "src",
  "all": false,
  "long": true
}
```

### Parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `path` | string | No | `.` | Directory to list (relative to workspace) |
| `all` | boolean | No | false | Include hidden files |
| `long` | boolean | No | false | Show size, type, and modification time |

## Output Format

```json
{
  "success": true,
  "output": "src/\npackage.json\ntsconfig.json",
  "exitCode": 0
}
```

## Limitations

- Maximum 500 entries returned
- Paths validated to stay within workspace boundaries

Files in this skill

  • SKILL.md1.5 KB
  • scripts/run.test.ts5.1 KB
  • scripts/run.ts5.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.