Folders

Index important directories and perform safe folder operations with proper security checks.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Folders" with this command: npx skills add ivangdavila/folders

Folder Index

Maintain a lightweight index at ~/.config/folder-index.json to know where important things are without rescanning.

{
  "folders": [
    {"path": "/Users/alex/projects/webapp", "type": "project", "note": "Main client project"}
  ]
}

When user asks "where is X" or "find my project Y", check the index first. If not found, do targeted discovery then offer to add the result.

Discovery

When asked to find or index folders:

  • Scan likely locations: ~/projects, ~/Documents, ~/code, ~/dev, ~/work
  • Detect projects by markers: .git, package.json, pubspec.yaml, Cargo.toml, go.mod, pyproject.toml, *.sln
  • Stop at first marker (don't recurse into node_modules, vendor, build)
  • Propose what was found, don't auto-add: "Found 8 projects in ~/code. Add to index?"

Path Security

  • Canonicalize paths (resolve ~, .., symlinks) before any operation
  • Reject system paths: /, /etc, /var, /usr, /System, /Library, C:\Windows, C:\Program Files
  • Skip symlinks during traversal, report them separately

Destructive Operations

  • Use OS trash instead of permanent delete
  • State recoverability: "node_modules: recoverable with npm install"
  • Build artifacts safe to delete: node_modules, pycache, .gradle, build/, target/, Pods/, .next/

Platform Quirks

  • macOS: .DS_Store alone = effectively empty. Treat .app as single item.
  • Windows: Paths >260 chars need \\?\ prefix.
  • Network drives: Warn before bulk ops — may be slow or offline.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

Agent Causal

Analyze experiment data with A/B tests and Difference-in-Differences to recommend shipping, continuing, or rolling back changes with detailed audit trails.

Registry SourceRecently Updated
Security

Code Review Inspector

Automated code review checking for bugs, security issues, best practices, performance problems, and code style

Registry SourceRecently Updated
250Profile unavailable
Security

Docker Optimizer

Optimize Dockerfiles with multi-stage builds, layer caching, security best practices, and size reduction techniques

Registry SourceRecently Updated
260Profile unavailable
Security

Skill Auditor

Audit core: a classification taxonomy and a severity scoring function, kept orthogonal. Operates on the whole skill bundle (SKILL.md plus any referenced scri...

Registry SourceRecently Updated
1250Profile unavailable